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

Problem in binding data

1 Answer 93 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Santosh
Top achievements
Rank 1
Santosh asked on 12 May 2008, 01:28 PM
Hi,
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>

In RadChart1 i am showing Amount spent on transaction in the week. weekly amount is display in pie chart.

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

1 Answer, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 12 May 2008, 01:37 PM
Hello Santosh,

This has been fixed in the latest RadChart -- 2008.1.415. You can download it and give it a try.

Regards,
Ves
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Chart (Obsolete)
Asked by
Santosh
Top achievements
Rank 1
Answers by
Ves
Telerik team
Share this question
or