From: Tanner Linsley Date: Thu, 8 Jan 2015 17:13:14 +0000 (-0700) Subject: Updated Samples X-Git-Tag: v2.0-alpha~38^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F856%2Fhead;p=thirdparty%2FChart.js.git Updated Samples Samples now include a “Randomize Data” button which utilizes the latest changes. --- diff --git a/samples/bar.html b/samples/bar.html index 5bf4b5bae..c386c50fa 100644 --- a/samples/bar.html +++ b/samples/bar.html @@ -3,15 +3,17 @@ Bar Chart +
- + diff --git a/samples/doughnut.html b/samples/doughnut.html index fdf7539a8..879f72f68 100644 --- a/samples/doughnut.html +++ b/samples/doughnut.html @@ -3,6 +3,7 @@ Doughnut Chart + +
+ diff --git a/src/Chart.Doughnut.js b/src/Chart.Doughnut.js index d3786f3fb..7b819f329 100644 --- a/src/Chart.Doughnut.js +++ b/src/Chart.Doughnut.js @@ -135,7 +135,6 @@ label : segment.label }); }, this); - console.log(this.data, this.segments); } else{ // Data size changed without properly inserting, just redraw the chart this.initialize(this.data); diff --git a/src/Chart.PolarArea.js b/src/Chart.PolarArea.js index 326b5a373..bd40486c3 100644 --- a/src/Chart.PolarArea.js +++ b/src/Chart.PolarArea.js @@ -204,7 +204,6 @@ value: segment.value, }); },this); - console.log(this.data, this.segments); } else{ // Data size changed without properly inserting, just redraw the chart this.initialize(this.data);