Displaying chary based on chartypes selected from dropdown

Thread is closed for posting
2 posts, 0 answers
  1. sabarishbabu
    sabarishbabu avatar
    136 posts
    Member since:
    Apr 2009

    Posted 08 Oct 2009 Link to this post


     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
  2. Schlurk
    Schlurk avatar
    812 posts
    Member since:
    May 2009

    Posted 08 Oct 2009 Link to this post

    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.
Back to Top