Skip to content

Commit fd4b1c3

Browse files
committed
bar datalabels improvement - WIP
1 parent afc350f commit fd4b1c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/charts/common/bar/DataLabels.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ export default class BarDataLabels {
255255
offY -
256256
3
257257

258-
let valIsNegative = this.barCtx.series[i][j] <= 0
258+
let valIsNegative = this.barCtx.series[i][j] < 0
259259

260260
let newX = x
261261
if (this.barCtx.isReversed) {

0 commit comments

Comments
 (0)