How to set the scrollposition when sweeping mode.

Need help in implementing some specific function to your LightningChart Ultimate powered application? Post a question and get code snippets from other LightningChart Ultimate community members.

Moderator: Arction_LasseP

ehdrnsep
Posts: 48
Joined: Mon Jan 12, 2015 6:52 am

How to set the scrollposition when sweeping mode.

Post by ehdrnsep » Mon Jul 13, 2015 12:09 pm

What should have multiple chart Sweeping mode when scrollPosition this match?

Use the "ScrollPosition" it had matched "XAxisScrollMode.Scrolling" mode when.

this.chart.ViewXY.XAxes[0].ScrollPosition = scrollPos;
Attachments
sweeping.png
sweeping.png (51.81 KiB) Viewed 7663 times

User avatar
ArctionPasi
Posts: 1365
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland

Re: How to set the scrollposition when sweeping mode.

Post by ArctionPasi » Mon Jul 13, 2015 12:18 pm

Can you please try to explain with other words, I don't understand your question, sorry.

ScrollPosition should be set to same value than the latest X value in the series. ScrollPosition setting makes the Sweeping, Scrolling and Stepping effects in real-time monitoring views.
LightningChart Support Team, PT

ehdrnsep
Posts: 48
Joined: Mon Jan 12, 2015 6:52 am

Re: How to set the scrollposition when sweeping mode.

Post by ehdrnsep » Tue Jul 14, 2015 1:16 am

I did not get to speak English using Google Translate. T_T
I'm Sorry.
There was a problem in my business logic.
Thank you. :oops: