Chart Js Line Chart Line Thickness. All of the supported data structures can be used with line charts. By Eva January 15 2021.
To display grid on Axis X set the Grid Thickness to a number greater than zero. The global line chart settings are stored in Chartdefaultsline. Existing charts are not changed.
StijnWesterhof As I explained lines in canvas then also in Chartjs are drawn as a rectangle with a width of 0.
I checked all the chart options there and did not get a way to implement it. For example to configure all line charts with spanGaps true you would do. The data property of a dataset for a line. BackgroundColor is used to color the line points.
