@@ -6,14 +6,37 @@ import Box from "./Box.vue";
66import convertArrayToObject from " ./convertModel" ;
77import { useArena } from " ../src/useArena" ;
88
9+ // const dataset = ref([
10+ // {
11+ // name: "Serie 1",
12+ // series: [100, 200],
13+ // },
14+ // {
15+ // name: "Serie 2",
16+ // series: [50, 100],
17+ // },
18+ // ]);
19+
920const dataset = ref ([
1021 {
1122 name: " Serie 1" ,
12- series: [11111.11 , 22222.22 ],
23+ series: [10 , 20 , 30 ],
1324 },
1425 {
1526 name: " Serie 2" ,
16- series: [13333.33 , 11111.22 ],
27+ series: [- 10 , - 20 , - 30 ],
28+ },
29+ {
30+ name: " Serie 3" ,
31+ series: [- 5 , 5 , - 5 , - 10 ],
32+ },
33+ {
34+ name: " Serie 4" ,
35+ series: [- 5 , 5 , - 5 ],
36+ },
37+ {
38+ name: " Serie 4" ,
39+ series: [5 , - 5 , 5 ],
1740 },
1841]);
1942
@@ -97,7 +120,7 @@ const model = ref([
97120 { key: ' style.chart.grid.scale.ticks' , def: 10 , type: ' select' , options: [2 , 5 , 10 , 20 ]},
98121
99122 { key: ' style.chart.grid.x.showAxis' , def: true , type: ' checkbox' },
100- { key: ' style.chart.grid.x.showHorizontalLines' , def: false , type: ' checkbox' },
123+ { key: ' style.chart.grid.x.showHorizontalLines' , def: true , type: ' checkbox' },
101124 { key: ' style.chart.grid.x.axisColor' , def: ' #E1E5E8' , type: ' color' },
102125 { key: ' style.chart.grid.x.axisThickness' , def: 2 , type: ' number' , min: 0 , max: 12 },
103126 { key: ' style.chart.grid.x.axisName.show' , def: true , type: ' checkbox' },
0 commit comments