Hi,
I'm trying to manualy trigger an hover event on my chart so it would display the tooltips for the last records on loading.
This is something documented in the official docs
var curve1 = Math.floor(Math.random()*2),
curve2 = Math.floor(Math.random()*2),
point1 = Math.floor(Math.random()*14),
point2 = Math.floor(Math.random()*14);
Plotly.Fx.hover('myDiv',[
{curveNumber:curve1, pointNumber:point1},
{curveNumber:curve2, pointNumber:point2}
]);
but I'm having some difficulties on how to implement it with the vue-plotly component
<vue-plotly :data="data" :layout="layout" :options="options"/>
In advance, many thanks for the help
Hi,
I'm trying to manualy trigger an hover event on my chart so it would display the tooltips for the last records on loading.
This is something documented in the official docs
but I'm having some difficulties on how to implement it with the vue-plotly component
In advance, many thanks for the help