Closed pmatatias closed 3 months ago
I just found workaround for this, by add conditional labelAccessorFn
. Maybe for someone who face same issue, you can try this,
labelAccessorFn: (LinearSales row, _) => row.sales == 0 ? '' : '${row.year}: ${row.sales}'
Thank you.
Is it possible to hide the label when the value is 0?
for example:
Current result:
or when i set the
showLeaderLines:false
, its only hide the line.what i expect is, i can conditionally hide and show label. maybe something like:
expected results :
TIA