Skip to content

Commit 6728ff5

Browse files
committed
Fix - VueUiRidgeline - Add missing condition to display zeroLine
1 parent e7cad9a commit 6728ff5

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/components/vue-ui-ridgeline.vue

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -760,10 +760,13 @@ defineExpose({
760760

761761
<!-- ZERO LINE -->
762762
<path
763+
v-if="FINAL_CONFIG.style.chart.zeroLine.show"
763764
:stroke="FINAL_CONFIG.style.chart.zeroLine.useSerieColor ? dp.color : FINAL_CONFIG.style.chart.zeroLine.stroke"
764765
:stroke-dasharray="FINAL_CONFIG.style.chart.zeroLine.strokeDasharray"
765-
:stroke-width="FINAL_CONFIG.style.chart.zeroLine.strokeWidth" :d="dp.zeroPath"
766-
stroke-linecap="round" />
766+
:stroke-width="FINAL_CONFIG.style.chart.zeroLine.strokeWidth"
767+
:d="dp.zeroPath"
768+
stroke-linecap="round"
769+
/>
767770

768771
<!-- MAX POINT INDICATOR -->
769772
<template v-if="FINAL_CONFIG.style.chart.areas.maxPoint.show && dp.plots.length > 1">

0 commit comments

Comments
 (0)