9π
I solved this problem by tilting the texts, so that they donβt overlap.
Just add minRotation: 30
to ticks: {} object.
ticks: {
fontFamily: 'Lato',
fontColor: "#fff",
fontSize: 14,
minRotation: 30
}
- [Chartjs]-Line graph with linear timescale in Chart.js
- [Chartjs]-How to show percentage (%) in chart js
Source:stackexchange.com