From: William Entriken Date: Mon, 4 May 2015 19:28:03 +0000 (-0400) Subject: Merge pull request #856 from tannerlinsley/editable-chart-config X-Git-Tag: v2.0-alpha~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8063de6b8a744b0ad117d20ef7c9138147212f3;p=thirdparty%2FChart.js.git Merge pull request #856 from tannerlinsley/editable-chart-config Data now editable right from chart config --- a8063de6b8a744b0ad117d20ef7c9138147212f3 diff --cc src/Chart.Line.js index dbc974cbb,a3acb6a5d..bc88488a9 --- a/src/Chart.Line.js +++ b/src/Chart.Line.js @@@ -62,9 -59,11 +62,12 @@@ name: "Line", defaults : defaultConfig, initialize: function(data){ + // Save data as a source for updating of values & methods + this.data = data; + //Declare the extension of the default point, to cater for the options passed in to the constructor this.PointClass = Chart.Point.extend({ + offsetGridLines : this.options.offsetGridLines, strokeWidth : this.options.pointDotStrokeWidth, radius : this.options.pointDotRadius, display: this.options.pointDot,