mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 12:19:08 +02:00
e251d06ef5
This will work with both relative and absolute position for the chart and will apply the tooltips appropriately. I have tested in a normal context and then also using the chart in the second column of two column table i.e. in a different position on the screen. Without this, the default tooltips will appear at the same position no matter where the chart is placed. They will appear misplaced. The fix I have provided allows the tooltips to appear smoothly with the chart, no matter where it is placed on the web page. |
||
---|---|---|
.. | ||
AnimationCallbacks | ||
timeScale | ||
bar-multi-axis.html | ||
bar-stacked.html | ||
bar.html | ||
bubble.html | ||
combo-bar-line.html | ||
doughnut.html | ||
line-customTooltips.html | ||
line-legend.html | ||
line-logarithmic.html | ||
line-multi-axis.html | ||
line-skip-points.html | ||
line-stacked-area.html | ||
line-x-axis-filter.html | ||
line.html | ||
pie.html | ||
polar-area.html | ||
radar-skip-points.html | ||
radar.html | ||
scatter-logX.html | ||
scatter-multi-axis.html | ||
scatter.html | ||
tooltip-hooks.html |