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
- Kirey Vadim asked 5 years ago
- last edited 5 years ago
- You must login to post comments
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
- Nazar Rudnyk answered 4 years ago
- You must login to post comments
Please login first to submit.