How to add Horizontal Scrollbar?

2 posts, 1 answers
  1. Michele Denison
    Michele Denison avatar
    8 posts
    Member since:
    Oct 2009

    Posted 10 May 2013 Link to this post

    Can anyone help?
    ive follow this example from the demo:
    ive added more BarSeries to it, instead of getting a scrollbar, the bar gets pushed together. Is there a way to keep the size of the bars and get a horizontal scrollbar?

    EDIT: NOT Barseries, i meant ReprentativeName. Meaning the more ReprentaiveName i added,, the more the bars gets pushed together.

  2. Answer
    Petar Kirov
    Petar Kirov avatar
    425 posts

    Posted 15 May 2013 Link to this post

    Hi Michele,

    The width of the bar is depends on the chart width / number of bars. The RadChartView does not provide a way of automatically showing its PanZoomBar(s) (scroll bar(s)) if the number of data points is more than certain threshold. To achieve your requirement, you will have to write code that every time data gets added/removed checks if the PanZoomBar should shown and the amount of zoom that should be applied (if needed).

    To help you get started, I am attaching a sample project.

    Petar Kirov
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top