Forum Replies Created by Ernest

Viewing 5 posts - 1 through 5 (of 5 total)
  • in reply to: How to add buttons or labels on Chart? #11767

    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!

    in reply to: axisX label set #11740

    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!!!!!! :)

    in reply to: axisX label set #11738

    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!

    in reply to: Something wrong about the stackedArea and the div display #11721

    I see. Thanks for the answer!

    in reply to: Something wrong about the stackedArea and the div display #11716

    Hi, Sanjoy,
    Here’s the example:
    exp1
    it’s the original code from this site
    exp2
    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 :)

Viewing 5 posts - 1 through 5 (of 5 total)