Home forums Chart Support Display Shared Tooltip Includes X Axis

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #14730

    I would like to use a shared tooltip, but I want to also include the x axis value.

    I see that it is possible to do separately a shared tooltip which allows a nice combination for all y values in the vertical section that the mouse is hovering over. However, it doesn’t display my x value in the tooltip. I see that there is a content: attribute I can add, but that overrides the nice shared functionality. The toolTipShared attribute on the data: attribute doesn’t help either.

    What am I missing?

    • This topic was modified 3 years, 11 months ago by Alexander. Reason: x instead of y


    You can use contentFormatter to achieve this. Please refer this jsfiddle.
    Suyash Singh
    Team CanvasJS


    I see! Thank you.

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

You must be logged in to reply to this topic.