Levi Dooley
Levi Dooley
Well that sucks. That means it isn't compatible with https://github.com/nagix/chartjs-plugin-streaming since it uses a "realtime" axis.
Until this gets fixed, if you're also using the streaming plugin, you can get it to work with "realtime" scales by making a small change to the crosshair plugin's JS....
@raymond1927 Any chance you have more than one chart on that page? If so, any charts which should not have the crosshair need to disable this plugin. Otherwise, this plugin...
@raymond1927 In the place where you'd normally put the options for the plugin, just use `false`. https://www.chartjs.org/docs/latest/developers/plugins.html#disable-plugins ``` options={ suppressTooltips: true, responsive: true, scales: { xAxes: [{ type: 'time' }]...