Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Chart > scrollbar for chart

Not answered scrollbar for chart

Feed from this thread
  • Sangeetha avatar

    Posted on Oct 19, 2010 (permalink)

    Hi

    If I use separate scroll bars for chart, then my UI does not look good since either the chart or the x axis labels are overlapped with the separate scrollbar, Instead can i use the radchart scroll bar itself?
    If i use the following I am not able to see the scrollbar on the chart.

    radChart1.VerticalScroll.Enabled =true;
    radChart1.VerticalScroll.Visible=true;
    radChart1.HorizantalScroll.Enabled =true;
    radChart1.HorizantalScroll.Visible=true;

    Reply

  • Yavor Yavor admin's avatar

    Posted on Oct 21, 2010 (permalink)

    Hello Sangeetha,

    In order for the scrolling to work you have to add appropriate ZoomScrollSettings like this:

    ZoomScrollSettings zoomSettings = new ZoomScrollSettings();
    zoomSettings.MinZoomRange = 0.1;
    zoomSettings.RangeEnd = 0.3;
    zoomSettings.RangeStart = 0.2;
    zoomSettings.ScrollMode = ScrollMode.ScrollAndZoom;
    this.radChart.DefaultView.ChartArea.ZoomScrollSettingsX = zoomSettings;

    If you need only scrolling then you can just set the ScrollMode to ScrollOnly. You can find more information in our help system in this topic.

    Sincerely yours,
    Yavor Ivanov
    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

    Reply

  • Ales avatar

    Posted on Dec 2, 2011 (permalink)

    Hi,

    does it works for WinForms ?
    I havent find the keyword ....DefaultView...fort radChart component...!

    mfg

    Reply

  • Giuseppe Giuseppe admin's avatar

    Posted on Dec 5, 2011 (permalink)

    Hi Ales,

    Sorry for the confusion.

    RadChart for WinForms does not support zooming/scrolling -- the code snippet in our previous reply is relevant to RadChart for WPF and Silverlight.


    Best wishes,
    Giuseppe
    the Telerik team

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

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Chart > scrollbar for chart
Related resources for "scrollbar for chart"

[ Features | Demos | Documentation | Knowledge Base | Telerik TV | Code Library | Step-by-step Tutorial | Blogs | Self-Paced Trainer ]