Hi, That’s exactly what I need, but how can I make it animated that each time I click the legend and switch to another chart?
Thanks!
Hi,
It worked! With ur method, I checked my array. And I did store the String type to the ArrayList() al4, but when it pass to the JavaScript by using the method “out.print()”, it’ll get rid off the ” ” characters, so it should be like this ” out.print(“\””+al4.get(i)+”\””)”, then the “2016-xx-xx” will stored in the array of JavaScript.
Thanks for ur time!!!!!! :)
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!
I see. Thanks for the answer!
Hi, Sanjoy, Here’s the example: it’s the original code from this site And it’s the result, it shows that the blue line display the “First Quarter” data, but the red line display “Second Quarter” + “First Quarter” data, and I just want them to display their own data, so what can I do?
Thanks again :)