I want to show dataLabels only if its value is not 0. and dont want to show 0 on UI charts.ts code is mentioned below:
plotOptions: {
series: {
states: {
inactive: {
opacity: 1,
},
},
dataLabels: {
enabled: true,
inside: true,
format: '{y}',
showInLegend: false,
},
stacking: 'normal',
},
bar: {
stacking: 'normal',
borderWidth: 0,
states: {
hover: {
enabled: false,
},
},
},
},