chart
chart copied to clipboard
Add scaleLabel property to XAxis and YAxis
This allows cartesian axes to be labeled as described in the official documentation for Chart.js 2.x.x: https://www.chartjs.org/docs/latest/axes/labelling.html
For simplicity this reuses the existing ScaleLabel class, which is missing the lineHeight and padding properties described in the official documentation.