From: jatiny17 <31595495+jatiny17@users.noreply.github.com> Date: Thu, 31 Oct 2019 22:14:37 +0000 (+0530) Subject: Adding title for the axes (#6571) X-Git-Tag: v3.0.0-alpha~278 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae7a3c27a3b3ddc3a4c105ab47b89375a6242569;p=thirdparty%2FChart.js.git Adding title for the axes (#6571) Create sample to show how to add an axis title --- diff --git a/samples/samples.js b/samples/samples.js index bb0463f7e..2548f48e3 100644 --- a/samples/samples.js +++ b/samples/samples.js @@ -139,6 +139,9 @@ }, { title: 'Toggle Scale Type', path: 'scales/toggle-scale-type.html' + }, { + title: 'Axes Labels', + path: 'scales/axes-labels.html' }] }, { title: 'Legend', diff --git a/samples/scales/axes-labels.html b/samples/scales/axes-labels.html new file mode 100644 index 000000000..b76bdaf96 --- /dev/null +++ b/samples/scales/axes-labels.html @@ -0,0 +1,163 @@ + + + +
+