Rad chart :StackedBarChartSeries100

2 posts, 0 answers
  1. Kingsley
    Kingsley avatar
    1 posts
    Member since:
    Nov 2010

    Posted 10 Nov 2010 Link to this post

    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
  2. Evgeni "Zammy" Petrov
    Admin
    Evgeni "Zammy" Petrov avatar
    168 posts

    Posted 12 Nov 2010 Link to this post

    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
Back to Top