File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 675675 :data-cy =" `xy-bar-label-x-${i}-${j}`"
676676 v-if =" plot && (!Object.hasOwn(serie, 'dataLabels') || serie.dataLabels === true) && FINAL_CONFIG.bar.labels.show"
677677 :x =" mutableConfig.useIndividualScale && mutableConfig.isStacked ? plot.x + slot.line / 2 : calcRectX(plot) + calcRectWidth() / 2 - barPeriodGap / 2"
678- :y =" checkNaN(plot.y) + (plot.value > 0 ? FINAL_CONFIG.bar.labels.offsetY : - FINAL_CONFIG.bar.labels.offsetY * 3)"
678+ :y =" checkNaN(plot.y) + (plot.value >= 0 ? FINAL_CONFIG.bar.labels.offsetY : - FINAL_CONFIG.bar.labels.offsetY * 3)"
679679 text-anchor =" middle"
680680 :font-size =" fontSizes.plotLabels"
681681 :fill =" FINAL_CONFIG.bar.labels.color"
778778 :data-cy =" `xy-line-label-x-${i}-${j}`"
779779 v-if =" plot && !Object.hasOwn(serie, 'dataLabels') || serie.dataLabels === true"
780780 :x =" plot.x"
781- :y =" plot.y + (plot.value > 0 ? FINAL_CONFIG.line.labels.offsetY : - FINAL_CONFIG.line.labels.offsetY * 3)"
781+ :y =" plot.y + (plot.value >= 0 ? FINAL_CONFIG.line.labels.offsetY : - FINAL_CONFIG.line.labels.offsetY * 3)"
782782 text-anchor =" middle"
783783 :font-size =" fontSizes.plotLabels"
784784 :fill =" FINAL_CONFIG.line.labels.color"
You can’t perform that action at this time.
0 commit comments