According to the ChartJs documentation for line charts you should be able to set spanGaps=true thus connecting datapoints though you have gaps in your dataseries (http://www.chartjs.org/docs/#line-chart)
Should this work for PrimeNg line charts as well? Because I cannot make it work.
Below is my dataset.
Code: Select all
{"labels":[135,200,250,258,259,260,300],"label":"Mortality Ross 508","data":[50.00000,55.00000,60.00000,null,null,null,55.00000],"fill":false,"borderColor":"#41f480","borderDash":["15","5"],"backgroundColor":"#41f480","yAxisID":"2","lineTension":0.00000,"borderWidth":1.00000,"spanGaps":true,"pointRadius":7.0,"pointStyle":"circle","pointHoverRadius":8.0,"pointBorderWidth":2,"pointHoverBorderWidth":2}
Bent