Chartjs-Chart.js mixed chart with different data points

0👍

It works if length of data arrays are equals.
You have 3 options:

  • Decrease line chart data array length to 3 (same as bar charts).
  • Extend bar charts data length to length of line chart data array (fill empty items with null), also for labels array.
  • Define new x-axis for line chart.

Leave a comment