From: etimberg Date: Sat, 15 Oct 2016 21:04:22 +0000 (-0400) Subject: Add new properties for the caretX,caretY point of a tooltip. Useful for custom tooltips. X-Git-Tag: v2.4.0~1^2~17 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a0388eff4cc38d69872190675bb17d49af841a93;p=thirdparty%2FChart.js.git Add new properties for the caretX,caretY point of a tooltip. Useful for custom tooltips. The custom tooltip sample was updated as well to use the new properties. --- diff --git a/docs/09-Advanced.md b/docs/09-Advanced.md index 5ea957179..db346bc94 100644 --- a/docs/09-Advanced.md +++ b/docs/09-Advanced.md @@ -173,6 +173,8 @@ var myPieChart = new Chart(ctx, { // tooltip.text // tooltip.x // tooltip.y + // tooltip.caretX + // tooltip.caretY // etc... } } diff --git a/samples/line-customTooltips.html b/samples/line-customTooltips.html index 6695cb663..9272caff8 100644 --- a/samples/line-customTooltips.html +++ b/samples/line-customTooltips.html @@ -4,7 +4,6 @@ Line Chart with Custom Tooltips -