Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1690
Moving crosshairPoint
posted

Hi,

I am trying to make a moving crosshairPoint, i.e. based on igVideoPlayer progress event set positions of igDataChart's crosshairPoint to corresponding series item:

progress: function (evt, ui) {

     ...

     $("#chart").igDataChart("option", "crosshairPoint", { x: data[i].Timestamp, y: data[i].Rating });

}

However I see on a screen just horizontal line, i.e. X coordinate is wrong and crosshair point is somewhere outside the chart. For positioning I use the same array which is specified in chart's dataSource. Did I miss something ?

Thanks,

Ed