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

[Solved] Rad chart :StackedBarChartSeries100

1 Answer 75 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Kingsley
Top achievements
Rank 1
Kingsley asked on 10 Nov 2010, 10:28 PM
Hi Chaps,
I am currently testing out the RadChart Control and it looks amazing!
i have downloaded the Examples and am working with them, I created a Stacked Barchart100 and wanted to try the zooming features on my on data, i have been able to zoom and scroll along the Y axis but i can't do the same on the X-axis can some some one explain how this works a code snippet would help a lot,
also do you customize the series mapping Colours of the Stacked bars ?

kind regard

Kingsley

1 Answer, 1 is accepted

Sort by
0
Evgeni "Zammy" Petrov
Telerik team
answered on 12 Nov 2010, 05:25 PM
Hello Kingsley,

Thank you for contacting us.

It is important to note that you need to turn off AutoRange otherwise it will not work.
Here is a code snippet:

ZoomScrollSettings zoomSettings = new ZoomScrollSettings();
zoomSettings.MinZoomRange = 0.1;
zoomSettings.ScrollMode = ScrollMode.ScrollAndZoom;
this.RC1.DefaultView.ChartArea.ZoomScrollSettingsX = zoomSettings;
this.RC1.DefaultView.ChartArea.AxisX.AutoRange = false

You can check out this help topic for styling chart items:
http://www.telerik.com/help/silverlight/radchart-styling-and-appearance-styling-chart-series.html#Styling_Series_via_PaletteBrushes

Best wishes,
Evgeni "Zammy" Petrov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Chart
Asked by
Kingsley
Top achievements
Rank 1
Answers by
Evgeni "Zammy" Petrov
Telerik team
Share this question
or