diff --git a/docs/00-Getting-Started.md b/docs/00-Getting-Started.md index 7cb1097aa..8690197af 100644 --- a/docs/00-Getting-Started.md +++ b/docs/00-Getting-Started.md @@ -132,8 +132,8 @@ Chart.defaults.global = { // Boolean - Determines whether to draw tooltips on the canvas or not showTooltips: true, - // Function - Determines whether to execute the externalTooltips function instead of drawing the built in tooltips (See [Advanced - External Tooltips](#advanced-usage-external-tooltips)) - externalTooltips: false, + // Function - Determines whether to execute the customTooltips function instead of drawing the built in tooltips (See [Advanced - External Tooltips](#advanced-usage-custom-tooltips)) + customTooltips: false, // Array - Array of string names to attach tooltip events tooltipEvents: ["mousemove", "touchstart", "touchmove"], diff --git a/docs/06-Advanced.md b/docs/06-Advanced.md index d6cbf3a03..9911bedb4 100644 --- a/docs/06-Advanced.md +++ b/docs/06-Advanced.md @@ -72,11 +72,11 @@ myLineChart.generateLegend(); ### External Tooltips -You can enable external tooltips in the global or chart configuration like so: +You can enable custom tooltips in the global or chart configuration like so: ```javascript var myPieChart = new Chart(ctx).Pie(data, { - externalTooltips: function(tooltip) { + customTooltips: function(tooltip) { // tooltip will be false if tooltip is not visible or should be hidden if (!tooltip) { @@ -100,7 +100,7 @@ var myPieChart = new Chart(ctx).Pie(data, { }); ``` -See files `sample/pie-externalTooltips.html` and `sample/line-externalTooltips.html` for examples on how to get started. +See files `sample/pie-customTooltips.html` and `sample/line-customTooltips.html` for examples on how to get started. ### Writing new chart types diff --git a/samples/line-externalTooltips.html b/samples/line-customTooltips.html similarity index 98% rename from samples/line-externalTooltips.html rename to samples/line-customTooltips.html index 67eab85ee..4dc46e1ab 100644 --- a/samples/line-externalTooltips.html +++ b/samples/line-customTooltips.html @@ -50,7 +50,7 @@