how can i change the chart type RRS feed

  • Question

  • how can i change the chart type in chart control in .net 3.5 framework please help me.
    Wednesday, April 8, 2009 5:46 AM


  • Hi,

    If you mean the appearance of the series in the chart, use this in codebehind:


    "Series1"].ChartType = ...

    or in the aspx or ascx:



    asp:Series Name="Series1" ChartType="StackedArea100" BorderColor="180, 26, 59, 105" Color="220, 65, 140, 240"></asp:Series>

    Keep in mind that the appearance is set at the series, not at the chat or chartarea, this gives you the possibility to mix different appearances in one chart.

    Good luck,


    Wednesday, April 8, 2009 2:20 PM