From 92841cd38abfb2057d88396948368a6a978f07b0 Mon Sep 17 00:00:00 2001 From: Levi Thomason Date: Sun, 1 Nov 2015 23:03:14 -0800 Subject: [PATCH] fix getting started global chart config typo --- docs/00-Getting-Started.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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`. -- 2.47.2