Closed dmrickey closed 5 years ago
Simple mistake. I didn't take into account the styling. What apparently was happening was the div (the tooltip) was being added to the bottom. Though I'm not sure why it was stretching repeatedly instead of once since I couldn't get to the bottom once it started happening. But once I added in the css from the example for the tooltip it worked as expected.
Expected Behavior
https://www.chartjs.org/samples/latest/tooltips/custom-line.html https://github.com/chartjs/Chart.js/blob/master/samples/tooltips/custom-line.html
Actual Behavior
I'm trying to get the example to work. I've copied the source in and stepped through it and I can see the html is correct, but I'm getting lost at what I'm seeing on the screen. When I hover over the tooltip, it gets stuck in a loop and the graph expands vertically until closed. I've copied the source from the example (also linked above).
the options being passed in
(above stuff was copied from code, and is objects defined in js (so quotes for properties), below was copied from
copy(this.chartData.datasets)
in the chrome debugger so is json (hence quotes for properties). Some sample datasetsEnvironment