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.
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.