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

@@ -27,7 +27,7 @@
"codemirror-editor-vue3": "^2.8.0",
"dayjs": "^1.11.6",
"feather-icons": "^4.28.0",
"frappe-ui": "^0.1.143",
"frappe-ui": "^0.1.147",
"highlight.js": "^11.11.1",
"lucide-vue-next": "^0.383.0",
"markdown-it": "^14.0.0",

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: [