]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Add scaleLabel to core.scale
authorTanner Linsley <tannerlinsley@gmail.com>
Thu, 24 Sep 2015 21:45:56 +0000 (15:45 -0600)
committerTanner Linsley <tannerlinsley@gmail.com>
Thu, 24 Sep 2015 21:45:56 +0000 (15:45 -0600)
src/core/core.scale.js

index a50c7c2da77534f4f83d922c80a602328d4d1fa6..b11ed5f98a51b6cdc9bcbe2135305a5f87ec285c 100644 (file)
                        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,