I am using violin chart (@sgratzl/chartjs-chart-boxplot 3.9.0). I am trying to show violins only for the X values that I have data.
Recently I was using chartjs-chart-box-and-violin-plot 3.0.0 and for the missing data I was passing null values. Now the chart is showing diamonds on the bottom of the chart like there is 0 value.
I tried with different empty values: null, [], undefined, NaN.
How to pass data when I have empty values or is there any option that I am missing? I don't want to show any violin or diamond in the columns without data.
I am using violin chart (
@sgratzl/chartjs-chart-boxplot 3.9.0
). I am trying to show violins only for the X values that I have data. Recently I was usingchartjs-chart-box-and-violin-plot 3.0.0
and for the missing data I was passing null values. Now the chart is showing diamonds on the bottom of the chart like there is 0 value.I tried with different empty values:
null
,[]
,undefined
,NaN
.How to pass data when I have empty values or is there any option that I am missing? I don't want to show any violin or diamond in the columns without data.