maq webster
maq webster

Reputation: 21

Date time axis on zoom band chart of LigtningChart JS

In zoom band chart of Lightning chart JS i need to show date time on axis x of zoom band chart but it showing me mill seconds. kindly refer image to understand my issue. date time showing proper on XY chart but not on zoom band chart. Thanks

enter image description here

Upvotes: 1

Views: 154

Answers (1)

Niilo Keinänen
Niilo Keinänen

Reputation: 2572

Please use ZoomBandChart.getDefaultAxisX() to get the rebellious axis and also use setTickStrategy() to set it to use DateTime ticks.

zoomBandChart.getDefaultAxisX().setTickStrategy(AxisTickStrategies.DateTime)

Upvotes: 2

Related Questions