This is a migrated thread and some comments may be shown as answers.

Changing RADchart SeriesItem with Javascript

2 Answers 61 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Dan
Top achievements
Rank 1
Dan asked on 11 Jan 2012, 11:19 AM
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 Answers, 1 is accepted

Sort by
0
Richard
Top achievements
Rank 1
answered on 11 Jan 2012, 05:36 PM
Dan:

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.

Cheers!
0
Evgenia
Telerik team
answered on 16 Jan 2012, 09:08 AM
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.

Greetings,
Evgenia
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
Tags
Chart (Obsolete)
Asked by
Dan
Top achievements
Rank 1
Answers by
Richard
Top achievements
Rank 1
Evgenia
Telerik team
Share this question
or