@@ -11,7 +11,7 @@ const { local, build, vduiLocal, vduiBuild, toggleTable, toggleLabels, toggleSta
11
11
const dataset = ref ([
12
12
{
13
13
name: " Long name serie" ,
14
- series: [- 90 , - 80 , - 60 , - 30 , 0 , 30 , 60 , 80 , 90 , 80 , 60 , 30 , 0 , - 30 , - 60 , - 80 , - 90 ],
14
+ series: [- 80 , - 60 , - 30 , 0 , 30 , 60 , 80 , 60 , 30 , 0 , - 30 , - 60 , - 80 ],
15
15
comments: [" " , " " , " " , " " , " This is a comment that can be long, or that can be short but it depends." ],
16
16
type: " line" ,
17
17
smooth: true ,
@@ -143,6 +143,9 @@ const model = ref([
143
143
{ key: ' chart.grid.labels.yAxis.gap' , def: 12 , min: 0 , max: 200 , type: ' number' },
144
144
{ key: ' chart.grid.labels.yAxis.labelWidth' , def: 40 , min: 0 , max: 100 , type: ' number' },
145
145
{ key: ' chart.grid.labels.yAxis.showBaseline' , def: true , type: ' checkbox' },
146
+ { key: ' chart.grid.labels.yAxis.scaleMin' , def: - 90 , type: ' number' , min: - 1000 , max: 1000 },
147
+ { key: ' chart.grid.labels.yAxis.scaleMax' , def: 90 , type: ' number' , min: - 1000 , max: 1000 },
148
+
146
149
{ key: ' chart.grid.labels.xAxis.showBaseline' , def: true , type: ' checkbox' },
147
150
{ key: ' chart.grid.labels.zeroLine.show' , def: true , type: ' checkbox' },
148
151
@@ -282,7 +285,7 @@ const config = computed(() => {
282
285
labels: {
283
286
... c .line .labels ,
284
287
formatter : ({value, config}) => {
285
- console .log (config)
288
+ // console.log(config)
286
289
return ` f - ${ value} `
287
290
}
288
291
}
0 commit comments