Skip to content

Commit 8d79a8f

Browse files
committed
Fix - VueUiCandlestick - Fixed Y axis scale steps config option not applied
1 parent 6badeac commit 8d79a8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/vue-ui-candlestick.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ const extremes = computed(() => {
212212
});
213213
214214
const niceScale = computed(() => {
215-
return calculateNiceScale(extremes.value.min, extremes.value.max, 10)
215+
return calculateNiceScale(extremes.value.min, extremes.value.max, candlestickConfig.value.style.layout.grid.yAxis.dataLabels.steps)
216216
})
217217
218218
function convertToPlot(item, index) {

0 commit comments

Comments
 (0)