I have requirements like plotting a graph for 'salesman wise sales', 'department-wise income ' etc... When I try giving string values in x-axis i am getting errors like below.
Couldn't parse Ahmed as a date
please help.
I have requirements like plotting a graph for 'salesman wise sales', 'department-wise income ' etc... When I try giving string values in x-axis i am getting errors like below.
Couldn't parse Ahmed as a date
please help.
The values other than
date
orfloat
are prohibited forx-values
. See Data Format. However you may put yourstring
values in anarray
and use indexes instead of actualstring
values.See
xValueParser
,valueFormatter
andaxisLabelFormatter
as well.