Skip to content

Commit 6badeac

Browse files
committed
Improvement - VueUiCandlestick - Set axis lines and ticks stroke-linecap to round
1 parent 0793716 commit 6badeac

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/components/vue-ui-candlestick.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,6 +525,7 @@ defineExpose({
525525
:y2="drawingArea.bottom"
526526
:stroke="candlestickConfig.style.layout.grid.stroke"
527527
:stroke-width="candlestickConfig.style.layout.grid.strokeWidth"
528+
stroke-linecap="round"
528529
/>
529530
<line
530531
data-cy="candlestick-grid-x-axis"
@@ -534,6 +535,7 @@ defineExpose({
534535
:y2="drawingArea.bottom"
535536
:stroke="candlestickConfig.style.layout.grid.stroke"
536537
:stroke-width="candlestickConfig.style.layout.grid.strokeWidth"
538+
stroke-linecap="round"
537539
/>
538540
</g>
539541

@@ -548,7 +550,8 @@ defineExpose({
548550
:y1="yLabel.y"
549551
:y2="yLabel.y"
550552
:stroke="candlestickConfig.style.layout.grid.stroke"
551-
:stroke-width="candlestickConfig.style.layout.grid.strokeWidth"
553+
:stroke-width="candlestickConfig.style.layout.grid.strokeWidth"
554+
stroke-linecap="round"
552555
/>
553556
<text
554557
v-if="yLabel.value >= niceScale.min && yLabel.value <= niceScale.max"

0 commit comments

Comments
 (0)