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

Displaying chary based on chartypes selected from dropdown

1 Answer 22 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
sabarishbabu
Top achievements
Rank 1
sabarishbabu asked on 08 Oct 2009, 06:57 AM
Hi,

 I have dropdown list to display the chartypes like pie, bar, lines etc.

Based on selected chartypes, it should display the chart.

i have one radchart control in aspx page.

How can do it dynamically in serverside?

i know we have to write the code in dropdown selectindexchanged event.But  it should display charts based on type selected in dropdown.

Any help will be appreciated

thanks for your help

1 Answer, 1 is accepted

Sort by
0
Schlurk
Top achievements
Rank 2
answered on 08 Oct 2009, 09:00 PM
You would have to manually change each series in the chart as follows:

 
this.RadChart1.Series[0].Type = ChartSeriesType.Point; 

If you just remove .Point and then type "." you should be able to see all the options available.
Tags
Chart (Obsolete)
Asked by
sabarishbabu
Top achievements
Rank 1
Answers by
Schlurk
Top achievements
Rank 2
Share this question
or