Not drawing null values using chart.js

前端 未结 5 1691
别那么骄傲
别那么骄傲 2021-02-05 12:00

I\'m using Chart.js to draw a chart.. My dataset have some null values, Actually chart.js plot a line between points that are previous and successor of the null values in this w

5条回答
  •  天命终不由人
    2021-02-05 12:59

    You can use ChartNew.js and If you prefer that points between missing values are not linked, set option extrapolateMissingData: false. That worked for me.

提交回复
热议问题