From: Levi Thomason Date: Mon, 2 Nov 2015 07:03:14 +0000 (-0800) Subject: fix getting started global chart config typo X-Git-Tag: 2.0.0-beta1~32^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1606%2Fhead;p=thirdparty%2FChart.js.git fix getting started global chart config typo --- diff --git a/docs/00-Getting-Started.md b/docs/00-Getting-Started.md index 39db54b37..0b32323e9 100644 --- a/docs/00-Getting-Started.md +++ b/docs/00-Getting-Started.md @@ -103,7 +103,7 @@ Chart.defaults.global = { // Legend callback function. // @param {Chart} chart : the chart object to generate a legend for - legendCallback: legendCallback: function(chart) { + legendCallback: function(chart) { var text = []; text.push(''); return text.join(""); - } + }, animation: { duration: 1000, @@ -222,4 +222,4 @@ If for example, you wanted all charts created to be responsive, and resize when Chart.defaults.global.responsive = true; ``` -Now, every time we create a chart, `options.responsive` will be `true`. \ No newline at end of file +Now, every time we create a chart, `options.responsive` will be `true`.