@@ -11,7 +11,7 @@ const { local, build, vduiLocal, vduiBuild, toggleTable, toggleLabels, toggleSta
11
11
const crazyDs = [];
12
12
const crazyDs2 = [];
13
13
const crazyDs3 = []
14
- for (let i = 0 ; i < 20 ; i += 1 ) {
14
+ for (let i = 0 ; i < 200 ; i += 1 ) {
15
15
crazyDs .push (Math .random () + (Math .random () > 0.5 ? Math .random () * 100 : 0 ))
16
16
crazyDs2 .push (Math .random () + (Math .random () > 0.5 ? Math .random () * - 10 : - 10 ))
17
17
crazyDs3 .push (Math .random () + (Math .random () > 0.5 ? Math .random () * - 5 : Math .random () * 5 ))
@@ -29,24 +29,14 @@ const dataset = ref([
29
29
{
30
30
name: " S0" ,
31
31
series: crazyDs3,
32
- type: " bar " ,
32
+ type: " line " ,
33
33
useArea: false ,
34
34
dataLabels: true ,
35
35
scaleSteps: 2 ,
36
36
prefix: ' $' ,
37
37
suffix: ' £' ,
38
38
rounding: 1 ,
39
39
},
40
- {
41
- name: " S3" ,
42
- series: [23.12 , 23.12 , 23.05 , 23.07 , null , 23.69 , 23.72 , 23.25 , 23.36 , 23.41 , 23.65 ],
43
- type: " line" ,
44
- smooth: false ,
45
- useArea: true ,
46
- scaleSteps: 5 ,
47
- autoScaling: false ,
48
- stackRatio: 0.5
49
- },
50
40
])
51
41
52
42
async function getData () {
@@ -82,6 +72,7 @@ async function longpolling ()
82
72
83
73
84
74
const model = ref ([
75
+ { key: ' downsample.threshold' , def: 120000 , type: ' number' , min: 0 ,max: 10000000 },
85
76
{ key: ' responsive' , def: false , type: " checkbox" },
86
77
{ key: ' userOptions.show' , def: true , type: ' checkbox' },
87
78
{ key: ' userOptions.buttons.pdf' , def: true , type: ' checkbox' },
@@ -110,8 +101,8 @@ const model = ref([
110
101
{ key: ' style.chart.zoom.highlightColor' , def: ' #4A4A4A' , type: ' color' },
111
102
{ key: ' style.chart.zoom.fontSize' , def: 14 , type: ' number' , min: 8 , max: 42 },
112
103
{ key: ' style.chart.zoom.useResetSlot' , def: false , type: ' checkbox' },
113
- { key: ' style.chart.zoom.startIndex' , def: 0 , type: ' number' , min: 0 , max: 1000 },
114
- { key: ' style.chart.zoom.endIndex' , def: 20 , type: ' number' , min: 0 , max: 1000 },
104
+ { key: ' style.chart.zoom.startIndex' , def: null , type: ' number' , min: 0 , max: 1000 },
105
+ { key: ' style.chart.zoom.endIndex' , def: null , type: ' number' , min: 0 , max: 1000 },
115
106
{ key: ' style.chart.zoom.enableRangeHandles' , def: true , type: ' checkbox' },
116
107
{ key: ' style.chart.zoom.enableSelectionDrag' , def: true , type: ' checkbox' },
117
108
@@ -147,6 +138,7 @@ const model = ref([
147
138
{ key: ' style.chart.grid.y.axisName' , def: ' Y AXIS' , type: ' text' },
148
139
{ key: ' style.chart.grid.y.axisThickness' , def: 2 , type: ' number' , min: 1 , max: 6 },
149
140
{ key: ' style.chart.grid.y.axisLabels.show' , def: true , type: ' checkbox' },
141
+ { key: ' style.chart.grid.y.axisLabels.bold' , def: true , type: ' checkbox' },
150
142
{ key: ' style.chart.grid.y.axisLabels.fontSizeRatio' , def: 0.7 , type: ' number' , min: 0.1 , max: 2 , step: 0.1 },
151
143
{ key: ' style.chart.grid.y.axisLabels.color' , def: ' #1A1A1A' , type: ' color' },
152
144
{ key: ' style.chart.grid.y.axisLabels.offsetX' , def: 0 , type: ' number' , min: - 100 , max: 100 },
@@ -161,6 +153,7 @@ const model = ref([
161
153
{ key: ' style.chart.grid.y.timeLabels.offsetY' , def: 30 , type: ' number' , min: - 100 , max: 100 },
162
154
{ key: ' style.chart.grid.y.timeLabels.color' , def: ' #1A1A1A' , type: ' color' },
163
155
{ key: ' style.chart.grid.y.timeLabels.modulo' , def: 8 , type: ' number' , min: 1 , max: 100 },
156
+ { key: ' style.chart.grid.y.timeLabels.bold' , def: true , type: ' checkbox' },
164
157
{ key: ' style.chart.grid.x.showAxis' , def: true , type: ' checkbox' },
165
158
{ key: ' style.chart.grid.x.axisName' , def: ' X AXIS' , type: ' text' },
166
159
{ key: ' style.chart.grid.x.axisColor' , def: ' #1A1A1A' , type: ' color' },
@@ -179,6 +172,7 @@ const model = ref([
179
172
180
173
{ key: ' style.chart.area.opacity' , def: 60 , type: ' number' , min: 10 , max: 100 },
181
174
{ key: ' style.chart.dataLabels.show' , def: false , type: ' checkbox' },
175
+ { key: ' style.chart.dataLabels.bold' , def: true , type: ' checkbox' },
182
176
{ key: ' style.chart.dataLabels.fontSizeRatio' , def: 1 , type: ' number' , min: 0.1 , max: 2 , step: 0.1 },
183
177
{ key: ' style.chart.dataLabels.useSerieColor' , def: true , type: ' checkbox' },
184
178
{ key: ' style.chart.dataLabels.color' , def: ' #1A1A1A' , type: ' color' },
0 commit comments