Home Forums Chart Support tooltip vs legend

tooltip vs legend

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

    Hello,
    First of all, we love CanvasJS!
    We’re using the tooltip to display the values as the user mouses through the graph.
    Some users report that the tooltip placement obscures the graph.
    After reading the docs to try to find a solution…. 2 questions:
    1) Is there a way to position the tooltip so it is not overlaying the graph?
    2) Ideally, can we just put the values in the legend, that way we know they won’t obscure the graph?
    Either approach would suffice.

    Thanks!

    #13266

    @sboutros,

    You can fix the position of toolTip with the help of css. Please check this jsfiddle for the same.

    If you like to show values in legend by disabling toolTip, you can set toolTip.enabled to false and change legendText dynamically on mouseover event on every dataPoint. Please check this jsfiddle for the same.


    Vishwas R
    Team CanvasJS

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

You must be logged in to reply to this topic.