SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components

0
0

How to make chart axis (date axis in my case) to move with scrolling?

Because currently labels staying on it’s positions and just refreshing its values.

let xAxis = SCIDateTimeAxis()
xAxis.axisId = ChartWrapper.SURFACE_MAIN_X_AXIS_ID
xAxis.autoRange = .never
xAxis.visibleRange = sharedXRange
xAxis.style.drawMajorBands = false
xAxis.style.drawMajorTicks = false
xAxis.style.drawMinorTicks = false
xAxis.style.drawMinorGridLines = true
xAxis.textFormatting = "HH:mm:ss"
xAxs.style.drawLabels = true

Best regards, Vadim

Version
latest
Attachments
  • You must to post comments
0
0

Hello Vadim,

That’s look very strange, I’ve tried in our examples demo, and can’t reproduce such behaviour, please see the attached video. I would ask you to provide some runnable sample, so we can reproduce it on our side.

Also, you might want to try our upcoming SciChart iOS v3.x which is currently available in BETA, and has heavily reworked and improved, in particular axes drawing.

Best Regards,
Nazar R.
SciChart Developer

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.