i have created RadChart1 like this.
<
radC:RadChart ID="RadChart1" runat="server" Skin="Vista" Width="465px" Height="260px" DefaultType="Pie">
<ChartTitle>
<TextBlock Text="Amount spent">
</TextBlock>
</ChartTitle>
<Series>
<radC:ChartSeries Type="Pie" DefaultLabelValue="#%" Appearance-LegendDisplayMode="ItemLabels">
</radC:ChartSeries>
</Series>
<PlotArea Appearance-Dimensions-Margins="50,220,5,5" />
</radC:RadChart>
i used code to bind value in radchar
ds =
Transactions.SearchTransByTransactionType(Convert.ToInt32(PWSddlTransactionType.SelectedValue));
RadChart2.DataSource = ds;
RadChart2.Series[0].DataXColumn = "KeyId";
RadChart2.Series[0].DataYColumn = "Total";
RadChart2.Series[0].DefaultLabelValue = "#Y";
RadChart2.DataBind();
using this code i am binding value to the radchart.
Problem is
when first time data bind to the radchart it display correctly. after changing date, I retrive data from the database and bind to the radchart but in the chart it shows the previous data plus new data's combination
i need to remove previously binded value and bind new value to the radchart? how i will be solve this issue
thanks & regards
Santosh Lonkar