0

I am trying to add a MouseDragStart listener when drag on axis x, but I can not find related API in lightning API document, can anyone suggest me which API should I use? chart

KeplerJoe
  • 7
  • 3

1 Answers1

0

There is no API to attach an event to MouseDragStart on the axis.

If it's enough for you to know when the axis scale has changed, then you can attach a listener to the onScaleChange event. This event is fired when the start or end value of the axis changes.

Snekw
  • 2,590
  • 1
  • 15
  • 24
  • by the way, i meet a problem that number on axisx is a little fuzzy, i noticed that lightningchart is canvas, i want to know whether lightningjs support svg or not, and how can i fix this probleem – KeplerJoe Oct 10 '20 at 11:05
  • We are aware of the fuzzy text issue and are working to fix it in a future release. LightningChart JS doesn't support SVG. – Snekw Oct 12 '20 at 05:38
  • hello,Snekw, how can i change Themes after created a chart? i only find that themes should be setted when creat a chart in API Doucmention, but how about after created? – KeplerJoe Oct 12 '20 at 05:45