Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Chart > Chart zoom

Not answered Chart zoom

Feed from this thread
  • Ales avatar

    Posted on Dec 5, 2011 (permalink)

    Hi all,

    knows somebody how to :
    1) zoom-in, zoom-out chart by mous click ?
    2) scrool min and max values in X axes ?

    For scrolling I have used :

                    myChart.PlotArea.XAxis.AutoScale = false;
                    myChart.PlotArea.XAxis.IsZeroBased = false;
                    myChart.PlotArea.XAxis.AddRange(0, 20, 1);

                    myChart.HorizontalScroll.Enabled = true;
                    myChart.HorizontalScroll.Visible = true;
                    myChart.HorizontalScroll.Minimum = 0;
                    myChart.HorizontalScroll.Maximum = 2000;
                    myChart.HorizontalScroll.SmallChange = 1;
                    myChart.HorizontalScroll.LargeChange = 100;

    but i see only fisrt 20 values...is not possible scrool to another.

    Thanks for your help

    Reply

  • Ves Ves admin's avatar

    Posted on Dec 7, 2011 (permalink)

    Hi Ales,

    I am afraid zooming and scrolling is not directly supported in RadChart for Windows Forms. You can check Nikolay's suggestion to place the chart in a panel and use automatic scrolling.

    Best regards,
    Ves
    the Telerik team

    Q3’11 of RadControls for WinForms is available for download (see what's new). Get it today.

    Reply

  • David avatar

    Posted on Feb 15, 2012 (permalink)

    Could you set the charts visible attribute to false, then draw the chart as a bitmap into a container setting it to stretch then grow and shrink the container to pseudo zoom? Crazy idea but...

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Chart > Chart zoom