From: Tanner Linsley Date: Thu, 24 Sep 2015 21:45:56 +0000 (-0600) Subject: Add scaleLabel to core.scale X-Git-Tag: 2.0.0-alpha4~12^2~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73729877546e9bb0445e72a97978860685ccb0aa;p=thirdparty%2FChart.js.git Add scaleLabel to core.scale --- diff --git a/src/core/core.scale.js b/src/core/core.scale.js index a50c7c2da..b11ed5f98 100644 --- a/src/core/core.scale.js +++ b/src/core/core.scale.js @@ -20,6 +20,20 @@ offsetGridLines: false, }, + // scale label + scaleLabel: { + fontColor: '#666', + fontFamily: 'Helvetica Neue', + fontSize: 12, + fontStyle: 'normal', + + // actual label + labelString: '', + + // display property + show: false, + }, + // label settings ticks: { show: true,