Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
850
XamDataChart HorizontalZoombar set scroll position.
posted

Hi, I have a chart with a HorizontalZoombar. Currently when it draws, the scroll bar is set to the far right (last item on the timeline) and the user has to scroll to the left to view the first chart entries. I would like it to default to the exact opposite - scroll defaults to the left and user needs to scroll right to view latest entries.

I have tried setting WindowPositionHorizontal but it has no effect.

Cheers

Peter

Parents
No Data
Reply
  • 34810
    Offline posted

    Hello Peter,

    I have been investigating into the behavior you are seeing and I am curious what you are currently setting to have the scroll-bar set to the far-right. Normally, the WindowPositionHorizontal should work in this case as long as you are also setting the WindowScaleHorizontal, but I am under the impression that you may be setting the WindowRect at another point, as this is what the XamDataChart’s HorizontalScrollbar tied to.

    Can you please confirm whether or not you are using the WindowRect or perhaps setting the XamDataChart’s viewport in another way?

    Please let me know if you have any other questions or concerns on this matter.

Children