0

Tick display in auto panning line graph due to Screen Resolution

Lucas Miranda 8 lat temu 0

I'm plotting a LineGraph using DateTimeAxis and real-time data by setting a Refresh function called from time to time (basically every second or so). It will add Points to the series based on the data at the time.


This is all done and working well. Problem is, when using a screen with a resolution of 1920x1080, the tick marks get a little crazy. I'm showing just the MajorTicks, and the default values display ticks every 2 seconds. But then, randomly, when it pans, sometimes it shows up the ticks every one second. Then, it goes back to the 'every 2 seconds' state. And it keeps going back and forth.


This only happens in this specific screen resolution.