Chart.js
Chart.js copied to clipboard
Year Line Graph
Is there any way to create a line graph with data points for every day in a year - but only display the month titles?
@jbhorsewriter7 you can do this in v2 using the new time scale. Some time scale samples are available at: https://github.com/nnnick/Chart.js/tree/v2.0-dev/samples/timeScale
V2 documentation is available at http://nnnick.github.io/Chart.js/docs-v2/
In your config you'd probably want
scales: {
xAxes: [{
time: {
unit: 'month'
}
}]
}