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

how to change xcategory of Area3DSeriesDefinition

1 Answer 12 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Huo
Top achievements
Rank 1
Huo asked on 19 Jan 2011, 04:17 AM
I'm using the chart of Area3DSeriesDefinition,in the example, the axis-X value is auto generated, now , I want to change the axis-x value,how can i do it ? 
I have tried to use DataSeries as bellow, but axis-x is not changed
            DataSeries dataSerie = new DataSeries();
            dataSerie.Definition = new Area3DSeriesDefinition() { ShowItemLabels = true };
            dataSerie.Add(new DataPoint() {XCategory ="A", YValue = 1});
            dataSerie.Add(new DataPoint() { XCategory = "b", YValue = 10 });
            RadChart1.DefaultView.ChartArea.DataSeries.Add(dataSerie);

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 21 Jan 2011, 09:37 AM
Hello Huo,

Indeed, the behavior which you mentioned is observed. The XCategory setting/value will not be applied when using 3d. You can use another 2d definition, for example a line or a bar, to verify that the setting will be applied as expected. This issue is logged in out system, and our developers will look into this for one of the future versions of the control.

Regards,
Yavor
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Tags
Chart
Asked by
Huo
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or