Scrolling and Zooming not working with Telerik.Windows.Controls.Charting v2.0.50727

2 posts, 0 answers
  1. Gautam
    Gautam avatar
    4 posts
    Member since:
    Sep 2010

    Posted 22 Dec 2010 Link to this post

    Hi team,

    I need to use the telerik chart control for scrolling and zooming, available in the assembly Telerik.Windows.Controls.Charting v2.0.50727 and after a lot of forum search and research, I found no solution to the issue where the automatic handling of scrolling and zooming is not really supported by this verion of telerik.

    I have set the following zooming and scrolling in the code:

    ZoomScrollSettings

     

    zoomScrollSettings = new ZoomScrollSettings();
    zoomScrollSettings.MinZoomRange = .01;
    zoomScrollSettings.RangeStart = 0;
    zoomScrollSettings.RangeEnd =
    Convert.ToDouble(this.NumberOfXAxisPointsToDisplay / Convert.ToDouble(maxDataPoints));
    zoomScrollSettings.ScrollMode =
    ScrollMode.ScrollOnly;
    this.chrtMain.SamplingSettings.SamplingThreshold = this.NumberOfXAxisPointsToDisplay * 100;
    this.customChartArea.ZoomScrollSettingsX = zoomScrollSettings;
    this.customChartArea.ZoomScrollSettingsX.PropertyChanged += new PropertyChangedEventHandler(ZoomScrollSettingsX_PropertyChanged);

    Also, I have used the databinding feature by providing the datapoints collection as the itemsource value as follows:
    this.chrtMain.ItemsSource = _AllDataPoints;
    where _AllDataPoints is a List of List of custom data point class.

    Am I missing out anything in the above settings or this is not really supported?

    Thanks,
    Gautam

     

  2. Evgeni "Zammy" Petrov
    Admin
    Evgeni "Zammy" Petrov avatar
    168 posts

    Posted 23 Dec 2010 Link to this post

    Hello Gautam,

     The version number you have supplied does not look like a valid one. Our versioning goes like: 
    [year].[q].[date].[runtime-version]  (example: 2010.3.1223.35)
    What you have supplied looks like .NET runtime version, RadChart is supported on .NET 3.5 and 4.0.

    What do you mean by automatic handling of scrolling and zooming? Can you please provide more details about the specific issues you see? Thanks.

    Best wishes,
    Evgeni "Zammy" Petrov
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
Back to Top