This is a part of my code where my chart is populated by the a list(myList). I want to see only 12 bars in my chart, so when the list goes over 12 items,the user needs to use the scroll to see the rest of the bars. This code is executed on "onclick" of a button,
-when it is first clicked and the list has more than 12 items, everything works as expected.
-when it is clicked a second time and the list has less than 12 items, I do see the correct bars but I see the scrollAndZoom where I have put "zoomSettings.ScrollMode = ScrollMode.None; "
-on a third click when the list has more than 12 items, I see the scrollbar, but I can not go to then next 12 items....Any help?
if (mytList.Count > 12)
ZoomScrollSettings zoomSettings = new ZoomScrollSettings();
If there are less than 12 items, the ScrollBar would not be displayed. When there are more than 12 items, RangeEnd would update so that only the first 12 would be visible. You may scroll to view the rest but please note that unless XValue/XCategory is mapped, the corresponding X-Axis labels would not update and would only display the given range of 1 to 12. Perhaps this answers your third point about not being able to go to the next items.
Hope this helps.
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