@@ -8,7 +8,7 @@ import convertArrayToObject from "./convertModel";
88const dataset = ref ([
99 {
1010 name: " S0" ,
11- series: [0 , 0 , 1 , 1 , 1 , 0 , 0 , 1 , 1 , 1 ],
11+ series: [1 , 0 , 1 , 1 , 1 , 0 , 0 , 1 , 1 , 1 , 1 ],
1212 type: " line" ,
1313 smooth: false ,
1414 useArea: true ,
@@ -17,28 +17,28 @@ const dataset = ref([
1717 },
1818 {
1919 name: " S1" ,
20- series: [0 ,1 ,1 ,1 ,1 ,1 ,0 ,0 , 1 , 1 , 0 ],
20+ series: [0 ,1 ,1 ,1 ,1 ,1 ,0 ,0 , 1 , 1 , 1 ],
2121 type: " line" ,
2222 smooth: false ,
2323 useArea: true ,
2424 scaleSteps: 2 ,
2525 },
2626 {
2727 name: " S2" ,
28- series: [0 ,0 ,0 ,1 ,1 ,0 ,0 ,1 ,1 ,1 ],
28+ series: [0 ,0 ,0 ,1 ,1 ,0 ,0 ,1 ,1 ,1 , 1 ],
2929 type: " line" ,
3030 smooth: false ,
3131 useArea: true ,
3232 scaleSteps: 2
3333 },
3434 {
3535 name: " S3" ,
36- series: [23.12 , 23.12 , 23.05 , 23.07 , 23.65 , 23.69 , 23.72 , 23.21 , 23.36 , 23.41 ],
36+ series: [23.12 , 23.12 , 23.05 , 23.07 , null , 23.69 , 23.72 , 23.25 , 23.36 , 23.41 , 23.65 ],
3737 type: " line" ,
3838 smooth: false ,
3939 useArea: true ,
4040 scaleSteps: 5 ,
41- autoScaling: true ,
41+ autoScaling: false ,
4242 stackRatio: 0.5
4343 },
4444 ])
@@ -146,14 +146,14 @@ const model = ref([
146146 { key: ' line.radius' , def: 6 , type: ' number' , min: 0 , max: 20 , label: ' radius' , category: ' line' },
147147 { key: ' line.useGradient' , def: true , type: ' checkbox' , label: ' useGradient' , category: ' line' },
148148 { key: ' line.strokeWidth' , def: 2 , type: ' number' , min: 1 , max: 20 , label: ' thickness' , category: ' line' },
149- { key: ' line.labels.show' , def: false , type: ' checkbox' , label: ' showDataLabels' , category: ' line' },
149+ { key: ' line.labels.show' , def: true , type: ' checkbox' , label: ' showDataLabels' , category: ' line' },
150150 { key: ' line.labels.offsetY' , def: - 8 , type: ' number' , min: - 100 , max: 100 , label: ' offsetYDataLabels' , category: ' line' },
151151 { key: ' line.labels.rounding' , def: 0 , type: ' number' , min: 0 , max: 6 , label: ' rounding' , category: ' line' },
152152 { key: ' line.labels.color' , def: ' #1A1A1A' , type: ' color' , label: ' textColor' , category: ' line' },
153153 { key: ' line.area.useGradient' , def: true , type: ' checkbox' , label: ' useGradient' , category: ' line' },
154154 { key: ' line.area.opacity' , def: 20 , type: ' range' , min: 0 , max: 100 , label: ' opacity' , category: ' line' },
155155
156- { key: ' plot.radius' , def: 0 , type: ' number' , min: 0 , max: 20 , label: ' radius' , category: ' plot' },
156+ { key: ' plot.radius' , def: 6 , type: ' number' , min: 0 , max: 20 , label: ' radius' , category: ' plot' },
157157 { key: ' plot.useGradient' , def: true , type: ' checkbox' , label: ' useGradient' , category: ' plot' },
158158 { key: ' plot.strokeWidth' , def: 2 , type: ' number' , min: 1 , max: 20 , label: ' thickness' , category: ' plot' },
159159 { key: ' plot.labels.show' , def: true , type: ' checkbox' , label: ' showDataLabels' , category: ' plot' },
0 commit comments