DateTime Data in ZoomBandChart of LightningChart.js

Viewed 53

In LightningChart.js I need to show datetime on X axis of Zoom band Chart as shown in the picture. It is showing me datetime in milliseconds now. How to show datetime in its original form?

Also tried following code

const zoomBandChart = dashboard.createZoomBandChart({ columnIndex: 0, columnSpan: 1, rowIndex: 1, rowSpan: 1, axis: chart.getDefaultAxisX().setTickStrategy( AxisTickStrategies.DateTime, // Use a mutator to set the origin date for this Axis' TickStrategy (tickStrategy) => tickStrategy.setDateOrigin(dateOrigin) ) }).setTitle('Scroll')

enter image description here

0 Answers
Related