According to ChartJs documentation, you may try forcing the Time Unit of the corresponding Axis to the unit that you want, in this case, week:
var chart = new Chart(ctx, {
type: 'line',
data: data,
options: {
scales: {
xAxes: [{
type: 'time',
time: {
unit: 'week'
}
}]
}
}
});
For more options, check the docs: https://www.chartjs.org/docs/latest/axes/cartesian/time.html#time-units