Home Forums Chart Support Display Shared Tooltip Includes X Axis

Display Shared Tooltip Includes X Axis

Viewing 3 posts - 1 through 3 (of 3 total)
  • #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 7 years, 6 months ago by Alexander. Reason: x instead of y
    #14733

    @harmonickey,

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

    #14738

    I see! Thank you.

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

You must be logged in to reply to this topic.