Changing RADchart SeriesItem with Javascript

Thread is closed for posting
3 posts, 0 answers
  1. Dan
    Dan avatar
    1 posts
    Member since:
    Dec 2011

    Posted 11 Jan 2012 Link to this post

    Is it possible to change the Yvalue of a chart series item using a javascript funtion?

    I have a pie chart that is displaying two values, i would like a value to change on the chart when the contents of a corresponding input box is changed. ie two input boxes determine the values displayed on the pie chart.

    I think this can be done with C# in the code behind, but i don't know C# very well and as the page needs to be loaded into the sitefinity CMS i would like  to get pie chart and input boxes to work in a page with just html and javascript.

    can it be done?

    Any advice greatly appreciated.
  2. Richard
    Richard avatar
    479 posts
    Member since:
    Nov 2011

    Posted 11 Jan 2012 Link to this post


    I don't believe that you can access the RadChart series from the client-side using Javascript. See the how to set value to radchart properties and draw chart on client with javascript? forum thread for a similar request. It can be done using server-side code. If you decide to do so and need help, let me know.

  3. Evgenia
    Evgenia avatar
    1437 posts

    Posted 16 Jan 2012 Link to this post

    Hi Dan,

    Unfortunately RadChart currently does not provide this functionality, all the updates should be performed server-side. We are sorry for the inconvenience caused.

    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Back to Top