having multiple Line Chart in same page supported?

5 posts, 1 answers
  1. leo
    leo avatar
    6 posts
    Member since:
    Jan 2015

    Posted 19 Jan 2015 Link to this post

    Hi,

    I am using JSP, I just want to know if I can create a line chart with different data on it. I am planning to put the script to createChart inside the loop along with the json for its data. :)


    Is this possible, because I have read something on the internet that this is not supported.
  2. Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2622 posts

    Posted 21 Jan 2015 Link to this post

    Hi Leo,

    In order to display different data on Kendo UI Chart I would suggest to bind it to dataSource (like in most of the demos). Hence when this dataSource is changed the chart will automatically refresh.

    Regards,
    Iliana Nikolova
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. leo
    leo avatar
    6 posts
    Member since:
    Jan 2015

    Posted 22 Jan 2015 in reply to Iliana Nikolova Link to this post

    Thank you for your answer.

    Your answer was about the chart refreshing when the datasource is changed, right?
    But, is it possible to have two line charts with different datasource on the same page?
  4. Answer
    Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2622 posts

    Posted 23 Jan 2015 Link to this post

    Hi Leo,

    First of all I would like to apologize - it appears I misunderstood your question. As for the number of Kendo UI charts on the same page - you can display as many charts as you want. Take a look at this example - although it is for bullet chart it demonstrates how to display multiple charts with different dataSources.

    Regards,
    Iliana Nikolova
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  5. leo
    leo avatar
    6 posts
    Member since:
    Jan 2015

    Posted 27 Jan 2015 in reply to Iliana Nikolova Link to this post

    Fixed now. Thanks! :D
Back to Top