@@ -233,8 +233,8 @@ const model = ref([
233233 { key: ' chart.zoom.minimap.indicatorColor' , def: ' #1A1A1A' , type: ' color' },
234234 { key: ' chart.zoom.minimap.verticalHandles' , def: false , type: ' checkbox' },
235235
236- { key: ' chart.zoom.startIndex' , def: 2 , type: ' number' , min: 0 , max: 100 },
237- { key: ' chart.zoom.endIndex' , def: 6 , type: ' number' , min: 0 , max: 100 },
236+ { key: ' chart.zoom.startIndex' , def: null , type: ' number' , min: 0 , max: 100 },
237+ { key: ' chart.zoom.endIndex' , def: null , type: ' number' , min: 0 , max: 100 },
238238
239239 { key: ' chart.padding.top' , def: 36 , type: ' number' , min: 0 , max: 100 , label: " top" , category: ' padding' },
240240 { key: ' chart.padding.right' , def: 36 , type: ' number' , min: 0 , max: 100 , label: ' right' , category: ' padding' },
@@ -419,6 +419,14 @@ const size = ref({
419419 width: 1000
420420})
421421
422+ const timeValues = computed (() => {
423+ const arr = [];
424+ for (let i = 0 ; i < 30 ; i += 1 ) {
425+ arr .push (` ${ i >= 10 ? i : ' 0' + String (i)} -01-2026` )
426+ }
427+ return arr
428+ })
429+
422430const config = computed (() => {
423431 const c = convertArrayToObject (model .value );
424432 if (testCustomTooltip .value ) {
@@ -521,23 +529,7 @@ const config = computed(() => {
521529 },
522530 xAxisLabels: {
523531 ... c .chart .grid .labels .xAxisLabels ,
524- values: [
525- " JANUARY IS KIND OF LONG" ,
526- " FEBRUARY IS KIND OF LONG TOO" ,
527- " MARCH" ,
528- " APRIL" ,
529- " MAY" ,
530- " JUNE" ,
531- " JULY" ,
532- " AUGUST" ,
533- " SEPTEMBER" ,
534- " OCTOBER" ,
535- " NOVEMBER IS KIND OF LONG TOO" ,
536- " DECEMBER" ,
537- " JANUARY+" ,
538- " FEBRUARY+" ,
539- " MARCH+"
540- ]
532+ values: timeValues .value
541533 }
542534 }
543535 }
0 commit comments