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

Problem Changing of ChartArea.DataSeries Definition

1 Answer 31 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Armen
Top achievements
Rank 1
Armen asked on 02 Oct 2012, 12:47 PM
Hi team,

I am using multiple ChartAreas in my application and I would like to change RadChart show types(i.e change from stackedbarchart to stacked100barchart) from property window. I have try to implement it in different ways, one of them is derive ChartArea add properties 'BarCombineMode' and 'ChartOrientation' and change the ChartArea Dataseries definitions on properties changed. Unfortunatly it doesn't work the labels are updated, but bars not.
Could anybody help?

P.S. Just let me know if needed for more information?
Thanks,
Armen

1 Answer, 1 is accepted

Sort by
0
Petar Kirov
Telerik team
answered on 05 Oct 2012, 12:14 PM
Hello Armen,

As I already answered your question in the support ticket started by you, I will copy my answer and close this forum thread. From the support ticket:

"...I believe the problem is that you are not calling the Rebind() method of the chart and it doesn't detect properly that the series definition has changed. Here is an example of that. " 

  • In case you need a faster and precise response, please start a new support ticket as it gets higher priority than Forum posts.
  • Please avoid duplicate questions so that it is easier for both sides to follow the conversation.
  • If you have any further questions on the same topic I would suggest that you ask them in the other thread. 

Kind regards,
Petar Kirov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
Chart
Asked by
Armen
Top achievements
Rank 1
Answers by
Petar Kirov
Telerik team
Share this question
or