This is a migrated thread and some comments may be shown as answers.

How to add Horizontal Scrollbar?

1 Answer 80 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Michele Denison
Top achievements
Rank 1
Michele Denison asked on 10 May 2013, 11:55 AM
Can anyone help?
ive follow this example from the demo: http://demos.telerik.com/silverlight/#ChartView/Gallery/Bar
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.

cheers

1 Answer, 1 is accepted

Sort by
0
Accepted
Petar Kirov
Telerik team
answered on 15 May 2013, 12:15 PM
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.
 

Regards,
Petar Kirov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
Chart
Asked by
Michele Denison
Top achievements
Rank 1
Answers by
Petar Kirov
Telerik team
Share this question
or