Home forums Using CanvasJS axisX label set Reply To: axisX label set



Vishwas R,

I’ve tried that way to fix it, but the result is:

it just add “” to the wrong “numeric” X label.
So, what can I do to let the system consider it as an String?

Or if the definition is wrong at the very beginning?
Here’s my definition code:

it’s a jsp page and al4() is an ArrayList<String> type of Java, it stores bunch of date String:
2016-08-04, 2016-08-05, 2016-08-08, 2016-08-09, 2016-08-10..
with the combination code I pass the Java ArrayList item to the JavaScript Array item
So can you give me some advise to fix it?
Thank you!