Home Forums Chart Support Vertical line charts hover tracking X axis instead of Y when displaying tooltip

Vertical line charts hover tracking X axis instead of Y when displaying tooltip

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

    Hi, I am trying to implement hover tracking based on y-axis instead of the x-axis in vertical line charts. Is it possible to implement this?

    Fiddle: https://jsfiddle.net/c4sfr25g/

    Attached a fiddle for your reference, In the fiddle you see the tooltips only appear on hovering along the x-axis and do not work with the y-axis. If this functionality is not present, would it be possible to add it to the list of feature requests? Thanks!!

    #45167

    @aunni,

    As of now, the tooltip is shown based on nearest x-values irrespective of y-values. In order to show tooltip based on y-values in a vertical line chart, you can create line chart and rotate it as shown in this JSFiddle.

    Vertical line chart with tooltip based on y-axis by rotating line chart

    —-
    Manoj Mohan
    Team CanvasJS

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

You must be logged in to reply to this topic.