Can chartjs draw this kind of line chart with intervals like that?
line chart
that is my options:
const options11 = { responsive: true, maintainAspectRatio: true, aspectRatio: 2, scales: { x: { title: { display: true, text: 'Date' }, ticks: { autoSkip: true, maxTicksLimit: 12, // 调整此值以减少X轴的标签数量 } }, y: { title: { display: true, text: 'Variance' } } }, layout: { padding: { right: 10, } }, plugins: { legend: { display: true }, title: { display: false, }, datalabels: { display: false, }, filler: { propagate: false }, 'samples-filler-analyser': { target: 'chart-analyser' } }, interaction: { intersect: false } };
Ranger Lone is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.