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

new series not visible

1 Answer 44 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Martin
Top achievements
Rank 1
Martin asked on 03 Nov 2008, 04:44 PM
I have a ajax chart that contains a barchart series bound to a sql data source.  In code I am adding a new series (a calculated trend line).  The code to create, populate, and add the series is in the chart init method.  The code runs, but the new serices (line) is not visible.  Any assistance would be appreciated.

1 Answer, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 06 Nov 2008, 03:31 PM
Hi Martin,

When databindng RadChart the series you have added in Init method is lost. You can databind RadChart explicitly in Page_Load by calling DataBind method and move the code for adding the trend series after the chart has been databound. Hope this helps.

Sincerely,
Ves
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Chart (Obsolete)
Asked by
Martin
Top achievements
Rank 1
Answers by
Ves
Telerik team
Share this question
or