fix: restricted minimum chart interval to 1

This commit is contained in:
Jannat Patel
2025-05-26 11:34:52 +05:30
parent b8714f4abe
commit 532dbbea4a
3 changed files with 262 additions and 259 deletions

View File

@@ -21,7 +21,7 @@
<NumberChart
class="border rounded-md"
:config="{ title: __('Courses'), value: batch.courses?.length || 0 }"
:config="{ title: __('Courses'), value: batch.data.courses?.length || 0 }"
/>
<NumberChart
@@ -43,7 +43,9 @@
},
yAxis: {
title: __('Number of Students'),
minInterval: 1,
echartOptions: {
minInterval: 1,
},
},
swapXY: true,
series: [