I'm using ChartJS to visualize a database data by week. I currently have data for the 1st week of this year and the beginning of the chart is on the axis.
My question is, how can I change the starting position on the X axis by 20 pixels, but keep the line from the axis? Thanks
UPDATE
I added this code and the starting position moved off the axis.
options: {
scales: {
xAxes: [{
offset: true
}]
}
}
I still have to add 2 lines from the axis to the point