Home Forums Chart Support Access Y-Axis Values and Color Corresponding To Current Crosshair Position

Access Y-Axis Values and Color Corresponding To Current Crosshair Position

Viewing 2 posts - 1 through 2 (of 2 total)
  • #25775

    On a chart with the crosshairs enabled, is it possible to access the y-axis value(s) and color corresponding to the current crosshair position? With other chart packages, it is possible to access the data via the tooltip (i.e. the data displayed in the tooltip) or the legend. What are the options with CanvasJS?

    #25814

    @bfailing,

    Sorry, crosshair updated / changed event is not available as of now. However, you can get the current value through labelFormatter of crosshair and the dataSeries in contentFormatter of toolTip.

    If this doesn’t fulfill your requirement, kindly share JSFiddle and brief us more about your requirement so that we can help you to resolve it.

    —-
    Manoj Mohan
    Team CanvasJS

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.