-
-
Notifications
You must be signed in to change notification settings - Fork 372
/
path-gap-clip.html
717 lines (648 loc) 路 60.6 KB
/
path-gap-clip.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Path & Gap Clipping</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../dist/uPlot.min.css">
<style>
.u-under {
background: #e0e0e0;
}
</style>
</head>
<body>
<script src="../dist/uPlot.iife.js"></script>
<script>
const data0 = [
[1577454300,1577456100,1577457900,1577459700,1577461500,1577463300,1577465100,1577466900,1577468700,1577470500,1577472300,1577474100,1577475900,1577477700,1577479500,1577481300,1577483100,1577484900,1577486700,1577488500,1577490300,1577492100,1577493900,1577495700,1577497500,1577499300,1577501100,1577502900,1577504700,1577506500,1577508300,1577510100,1577511900,1577513700,1577515500,1577517300,1577519100,1577520900,1577522700,1577524500,1577526300,1577528100,1577529900,1577531700,1577533500,1577535300,1577537100,1577538900,1577540700,1577542500,1577544300,1577546100,1577547900,1577549700,1577551500,1577553300,1577555100,1577556900,1577558700,1577560500,1577562300,1577564100,1577565900,1577567700,1577569500,1577571300,1577573100,1577574900,1577576700,1577578500,1577580300,1577582100,1577583900,1577585700,1577587500,1577589300,1577591100,1577592900,1577594700,1577596500,1577598300,1577600100,1577601900,1577603700,1577605500,1577607300,1577609100,1577610900,1577612700,1577614500,1577616300,1577618100,1577619900,1577621700,1577623500,1577625300,1577627100,1577628900,1577630700,1577632500,1577634300,1577636100,1577637900,1577639700,1577641500,1577643300,1577645100,1577646900,1577648700,1577650500,1577652300,1577654100,1577655900,1577657700,1577659500,1577661300,1577663100,1577664900,1577666700,1577668500,1577670300,1577672100,1577673900,1577675700,1577677500,1577679300,1577681100,1577682900,1577684700,1577686500,1577688300,1577690100,1577691900,1577693700,1577695500,1577697300,1577699100,1577700900,1577702700,1577704500,1577706300,1577708100,1577709900,1577711700,1577713500,1577715300,1577717100,1577718900,1577720700,1577722500,1577724300,1577726100,1577727900,1577729700,1577731500,1577733300,1577735100,1577736900,1577738700,1577740500,1577742300,1577744100,1577745900,1577747700,1577749500,1577751300,1577753100,1577754900,1577756700,1577758500,1577760300,1577762100,1577763900,1577765700,1577767500,1577769300,1577771100,1577772900,1577774700,1577776500,1577778300,1577780100,1577781900,1577783700,1577785500,1577787300,1577789100,1577790900,1577792700,1577794500,1577796300,1577798100,1577799900,1577801700,1577803500,1577805300,1577807100,1577808900,1577810700,1577812500,1577814300,1577816100,1577817900,1577819700,1577821500,1577823300,1577825100,1577826900,1577828700,1577830500,1577832300,1577834100,1577835900,1577837700,1577839500,1577841300,1577843100,1577844900,1577846700,1577848500,1577850300,1577852100,1577853900,1577855700,1577857500,1577859300,1577861100,1577862900,1577864700,1577866500,1577868300,1577870100,1577871900,1577873700,1577875500,1577877300,1577879100,1577880900,1577882700,1577884500,1577886300,1577888100,1577889900,1577891700,1577893500,1577895300,1577897100,1577898900,1577900700,1577902500,1577904300,1577906100,1577907900,1577909700,1577911500,1577913300,1577915100,1577916900,1577918700,1577920500,1577922300,1577924100,1577925900,1577927700,1577929500,1577931300,1577933100,1577934900,1577936700,1577938500,1577940300,1577942100,1577943900,1577945700,1577947500,1577949300,1577951100,1577952900,1577954700,1577956500,1577958300,1577960100,1577961900,1577963700,1577965500,1577967300,1577969100,1577970900,1577972700,1577974500,1577976300,1577978100,1577979900,1577981700,1577983500,1577985300,1577987100,1577988900,1577990700,1577992500,1577994300,1577996100,1577997900,1577999700],
[3.32985,3.32603,3.32248,3.32429,3.32547,3.32787,3.33767,3.34354,3.34796,3.35712,3.36171,3.36533,3.36772,3.37051,3.37194,3.37467,3.37503,3.36468,3.35415,3.35369,3.35973,3.36224,3.36377,3.36775,3.37091,3.37111,3.37098,3.36971,3.36905,3.36887,3.36688,3.36355,3.36252,3.36281,3.36469,3.36552,3.36791,3.37096,3.37341,3.37513,3.37924,3.38275,3.38457,3.38424,3.36298,3.36052,3.35512,3.35313,3.35264,3.35273,3.35401,3.35525,3.3555,3.35593,3.35717,3.35774,3.3593,3.35996,3.36197,3.36494,3.36926,3.37211,3.37515,3.37836,3.37404,3.37365,3.37516,3.35175,3.35219,3.35177,3.35255,3.35729,3.37003,3.36236,3.36375,3.35634,3.34864,3.34854,3.35044,3.35555,3.36044,3.3677,3.36988,3.37031,3.37136,3.37194,3.37173,3.3736,3.37448,3.37612,3.37564,3.37556,3.36119,3.35911,3.3591,3.36176,3.36446,3.36652,3.36752,3.36951,3.37107,3.37172,3.37334,3.37277,3.35053,3.35044,3.34555,3.34351,3.34356,3.34501,3.35046,3.35287,3.3592,3.36528,3.37107,3.37632,3.37637,3.37026,3.3587,3.35829,3.3529,3.35087,3.34625,3.34635,3.3473,3.34805,3.34821,3.35199,3.37824,3.38528,3.38745,3.38602,3.38585,3.37496,3.37176,3.34609,3.34663,3.36161,3.36448,3.36631,3.36839,3.37107,3.3675,3.34889,3.3485,3.34665,3.34601,3.34685,3.34847,3.35114,3.35333,3.35559,3.35954,3.36334,3.36629,3.36293,3.3605,3.35714,3.35381,3.3529,3.34938,3.34977,3.35116,3.35507,3.35272,3.35241,3.35225,3.35442,3.35506,3.35146,3.33588,3.3353,3.33554,3.33643,3.34152,3.34966,3.35671,3.3618,3.36936,3.37332,3.36578,3.35194,3.34429,3.34334,3.3446,3.35209,3.36051,3.36591,3.37038,3.36694,3.35342,3.33233,3.33176,3.33364,3.33738,3.34456,3.35014,3.35502,3.36218,3.3652,3.36762,3.36675,3.38665,3.36594,3.35872,3.34448,3.33432,3.3352,3.33431,3.33504,3.3307,3.33082,3.35223,3.35848,3.37078,3.36733,3.36806,3.35283,3.32003,3.31501,3.31655,3.32182,3.33301,3.3477,3.36572,3.37567,3.38447,3.38536,3.37224,3.36332,3.34157,3.34029,3.3413,3.34729,3.35236,3.35817,3.3619,3.3683,3.36914,3.3524,3.34989,3.33745,3.33281,3.33387,3.33225,3.33279,3.33336,3.34342,3.35514,3.36806,3.37299,3.3444,3.34403,3.34688,3.34922,3.3531,3.35786,3.36029,3.36458,3.34007,3.32713,3.32707,3.32868,3.35356,3.35208,3.35554,3.35678,3.35427,3.34905,3.34116,3.33779,3.33758,3.34714,3.35974,3.37247,3.37697,3.37577,3.37406,3.37016,3.36552,3.36253,3.34298,3.33887,3.33833,3.33876,3.33995,3.34204,3.34677,3.35494,3.36018,3.36417,3.36475,3.36435,3.36498,3.36476,3.36494,3.35111,3.3504,3.34998,3.35075,3.35189,3.35277,3.35369,3.35613],
[3.33179,3.33205,3.32641,3.32664,3.33147,3.33808,3.34519,3.34881,3.36024,3.36219,3.36708,3.36816,3.37144,3.37268,3.37521,3.37638,3.37727,3.37646,3.36502,3.36003,3.36241,3.36404,3.3682,3.37187,3.37308,3.37326,3.37322,3.37224,3.37028,3.36962,3.36901,3.36712,3.36532,3.3666,3.36731,3.36829,3.37155,3.3739,3.37553,3.37991,3.38356,3.38495,3.38573,3.38599,3.38514,3.36314,3.36073,3.35558,3.35353,3.35405,3.35543,3.35599,3.35737,3.35773,3.35842,3.35998,3.36041,3.36316,3.36656,3.37082,3.37508,3.38254,3.38369,3.38551,3.38095,3.37826,3.37708,3.3758,3.36349,3.35299,3.35825,3.37183,3.37271,3.37507,3.36873,3.36637,3.35687,3.35322,3.35553,3.36399,3.36781,3.37453,3.37498,3.37223,3.37237,3.3728,3.37437,3.3748,3.37668,3.37775,3.37707,3.37796,3.37623,3.36632,3.36278,3.36478,3.36708,3.368,3.37016,3.37111,3.37441,3.37924,3.38073,3.37827,3.3728,3.35429,3.35282,3.34675,3.34515,3.35058,3.35324,3.36505,3.36906,3.37194,3.3767,3.38055,3.38108,3.37634,3.37046,3.35994,3.35921,3.35408,3.35128,3.3478,3.3496,3.34886,3.35201,3.38008,3.3879,3.39083,3.39177,3.39224,3.39233,3.3891,3.376,3.37184,3.36227,3.36471,3.3676,3.37008,3.38063,3.3789,3.37546,3.36792,3.34979,3.3486,3.34726,3.34849,3.3513,3.35936,3.36467,3.36696,3.36632,3.36723,3.36795,3.3675,3.36552,3.365,3.35815,3.36239,3.36057,3.36132,3.35989,3.35647,3.35573,3.35486,3.3563,3.35727,3.36,3.36025,3.353,3.33691,3.33756,3.3449,3.35287,3.36303,3.36895,3.37106,3.38231,3.38299,3.37343,3.36583,3.35235,3.3456,3.35315,3.36119,3.36774,3.37253,3.37262,3.37233,3.36725,3.35378,3.33365,3.33765,3.34643,3.35331,3.35558,3.36423,3.36569,3.37275,3.37316,3.38701,3.39026,3.3903,3.36698,3.3589,3.34747,3.33849,3.33865,3.34055,3.33676,3.35418,3.35913,3.37123,3.37625,3.37793,3.37588,3.37433,3.35694,3.32006,3.32289,3.33652,3.35269,3.36915,3.37706,3.38735,3.40345,3.41474,3.41387,3.37277,3.36685,3.34749,3.35019,3.35389,3.35994,3.36263,3.36965,3.37219,3.37187,3.36948,3.35272,3.35031,3.33813,3.33451,3.33401,3.33604,3.34864,3.35712,3.37361,3.37416,3.3772,3.37478,3.35227,3.35101,3.35459,3.35912,3.368,3.36948,3.36805,3.36483,3.34007,3.33341,3.35506,3.36029,3.36073,3.36049,3.35847,3.35797,3.35556,3.3526,3.34276,3.34721,3.36142,3.37334,3.38092,3.37917,3.37719,3.37587,3.37444,3.37255,3.3658,3.36261,3.34375,3.33955,3.34045,3.3432,3.34742,3.35731,3.36402,3.36739,3.36642,3.36671,3.36578,3.36599,3.36579,3.36544,3.36514,3.35184,3.35148,3.35192,3.35409,3.35402,3.35621,3.36439],
[3.331215742637645,3.329586677777775,3.3258977833333403,3.3252567666666706,3.326661094444449,3.333341349999996,3.3413611284046665,3.3457218555555595,3.3530265777777832,3.359201672222221,3.3642365277777735,3.3667543555555564,3.3692932388888828,3.3713636444444384,3.373862388888888,3.3752966944444434,3.3762163500000018,3.370885194444444,3.359907527777777,3.357335722222227,3.3612809833333315,3.363195466666664,3.3653871666666673,3.3695324444444448,3.371756866666663,3.3720832499999984,3.371831511111109,3.370694505555555,3.3693835888888866,3.369102777777774,3.3681063888888847,3.3656925111111113,3.364079911111109,3.36381874444444,3.365243283333326,3.3666337444444414,3.369681316666662,3.3723596333333323,3.3745950555555555,3.3771991833333384,3.3815086444444513,3.3838227111111143,3.38517618333334,3.3854355444444475,3.372684549999994,3.3618913555555494,3.3582624888888892,3.3542791777777814,3.3528255999999983,3.353454072222229,3.354801038888899,3.3555973166666724,3.3559821345191816,3.3565705500000043,3.357863694444451,3.359094627777782,3.3598731888888835,3.361242172222214,3.3638310333333297,3.367030383333331,3.3716332166666643,3.3748716111111134,3.3798937000000064,3.3809752055555604,3.3794371166666726,3.376905333333334,3.3760695722222236,3.3670979333333397,3.3556319500000065,3.3523215833333326,3.3539643333333364,3.363940905555549,3.3715220611111048,3.37084652222222,3.3661681999999953,3.3623433722222185,3.3505144944444503,3.3499818055555606,3.352790117384015,3.3602900055555507,3.364613183333332,3.37146262222222,3.372675527777775,3.371332972222222,3.3720508171206163,3.3724067000000018,3.372973505555552,3.374216711111113,3.3753830666666635,3.3767785333333347,3.376088055555563,3.3762678722222246,3.3681319277777746,3.361932366666664,3.35998614785992,3.3638321222222194,3.365514522222222,3.367357261111108,3.3686930944444384,3.3702620666666583,3.372427983333329,3.374463966666666,3.376660761111115,3.3738395500000036,3.3598074388888888,3.3522276111111102,3.348856844444451,3.345205738888892,3.3441770500000034,3.3479568888888944,3.3517957611111124,3.3562168611111147,3.3642115722222172,3.3699300333333335,3.373133522222215,3.378304511111119,3.3792529722222224,3.372384022222217,3.3649579888888868,3.359066616666668,3.356800272222227,3.352407561111112,3.3478312277777813,3.3469843388888947,3.3482200388888943,3.348358755555563,3.3493774777777765,3.367107466666665,3.384145738888893,3.3871166277777833,3.3888767333333387,3.3888686500000076,3.3884780777777834,3.377835644444447,3.3738007611111103,3.3587424166666664,3.3548977000000013,3.3631108222222195,3.3661344999999967,3.367817187326288,3.373070183333332,3.3738117833333305,3.3719011111111055,3.354520611111122,3.3490039833333376,3.347823127777783,3.3469543000000015,3.3475556555555595,3.349854722222229,3.3522713222222182,3.354992400000005,3.3592733388888854,3.362536322222219,3.365527427777777,3.367344922222215,3.3646229222222157,3.3619367388888843,3.3615998111111143,3.3550219833333372,3.35652025,3.35695848888889,3.3555311277777724,3.354369172222227,3.356092044444437,3.354015266666666,3.353636233333335,3.35445963333334,3.3556322444444495,3.3568521277777834,3.3545462444444487,3.342845044444442,3.3359545444444403,3.336417016666664,3.33863299444444,3.34749789444445,3.3534271388888928,3.3610627777777733,3.3650552722222185,3.3771980833333424,3.3778568611111144,3.3692201166666624,3.360876648137858,3.3490342388888936,3.344293444444441,3.348254572222228,3.3580246944444427,3.3633948722222193,3.3691906388888846,3.3714420888888856,3.3704321333333276,3.361433233333334,3.3373494111111057,3.332817477777774,3.335569438888885,3.341799416666666,3.349557183333338,3.352745850000005,3.360776205555551,3.3644253999999982,3.369353999999996,3.3695472611111037,3.372391699999998,3.388780194444451,3.3722164277777744,3.3623602333333373,3.3533192277777832,3.338012772222217,3.3372059166666577,3.336345922222219,3.3364598833333314,3.3336110666666627,3.337266322222221,3.3556812111111145,3.365327672222216,3.3733411611111124,3.3752648611111096,3.3716258944444406,3.3607657500000014,3.330616550000004,3.3165116666666674,3.3197719388888927,3.3279082777777806,3.3404990666666663,3.3607489166666658,3.3710637888888852,3.381525405555558,3.39148906111111,3.398584044444444,3.391504107837689,3.3698408888888833,3.344995166666665,3.342529649999997,3.345674772222224,3.3503873722222255,3.3556358722222215,3.361211133333328,3.365687277777775,3.370644533333328,3.370905933333329,3.364471438888883,3.350838677777781,3.347671777777782,3.334787561111111,3.3342532333333352,3.33334565,3.3338517777777765,3.3399702666666684,3.3496732833333356,3.3610648611111142,3.371192055555551,3.3756582611111146,3.352940494444447,3.3463436277777845,3.3482023388888944,3.352355122222227,3.355669411111116,3.363916227777772,3.366023605555552,3.365999488888884,3.361011283333333,3.331586927777779,3.3287798611111166,3.335396288888888,3.3578490666666716,3.3571092777777762,3.358905233333336,3.3576360222222323,3.3570552611111175,3.3515092000000055,3.3467843666666663,3.340087783333324,3.341857627777779,3.3518191944444466,3.367352322222217,3.3769189494163476,3.377568983333335,3.376379650000004,3.3749684444444443,3.373331727777777,3.3680930944444425,3.363765877777774,3.3504882777777762,3.3410983277777713,3.338801594444435,3.3394432833333294,3.340972505555552,3.344195133333336,3.3515608111111184,3.3582421500000024,3.363585349999996,3.364960727777775,3.3654384388888876,3.3650204888888875,3.365305011111101,3.365335955555548,3.365199144444441,3.3588243944444423,3.3514402944444464,3.350916600000011,3.3513555888888895,3.3526632944444503,3.3531121166666704,3.354841922222227,3.360952844444436],
];
// add gap
data0.forEach((d, si) => {
if (si > 0) {
for (let i = 35; i < 50; i++)
d[i] = null;
}
});
const opts0 = {
title: "Scale range exceeds data range (zoom out)",
width: 756,
height: 475,
scales: {
x: {
min: 1577454300 - 3600 * 8,
max: 1577999700 + 3600 * 8,
}
},
series: [
{},
{
label: "Low",
stroke: "green",
band: true,
spanGaps: false,
// points: {show: false},
},
{
label: "High",
stroke: "green",
band: true,
spanGaps: false,
// points: {show: false},
}
],
bands: [
{
show: true,
series: [2,1],
// values: null,
fill: "rgba(0, 255, 0, .2)",
},
],
};
let u0 = new uPlot(opts0, data0, document.body);
</script>
<script>
const opts1 = {
title: "Gaps in a band",
width: 800,
height: 400,
series: [
{},
{
label: "Low",
stroke: "red",
spanGaps: false,
},
{
label: "High",
stroke: "red",
spanGaps: false,
},
{
label: "Avg",
stroke: "green",
spanGaps: false,
},
],
bands: [
{
show: true,
series: [2,1],
// values: null,
fill: "rgba(0, 255, 0, .2)",
},
],
};
const data1 = [
[1572679693.747, 1572679694.747, 1572679695.747, 1572679696.747, 1572679697.747, 1572679698.746, 1572679699.746],
[9.5,10.5,11.5,null,13.5,14.5,15.5],
[10.5,11.5,12.5,null,14.5,15.5,16.5],
[10,11,12,13,14,15,16],
];
let u1 = new uPlot(opts1, data1, document.body);
</script>
<script>
const opts9 = {
title: "Gaps in stepped after",
width: 800,
height: 400,
scales: {
x: {
time: false,
}
},
series: [
{},
{
label: "step after",
stroke: "blue",
fill: "rgba(0,0,255,0.3)",
width: 2,
paths: uPlot.paths.stepped({
align: 1,
// ascDesc: true,
}),
},
{
label: "linear",
stroke: "red",
width: 2,
},
{
label: "spline",
stroke: "orange",
width: 2,
paths: uPlot.paths.spline(),
},
],
};
let vals9 = [null,null,null,1,1,1,1,1,null,null,2,2,null,1,undefined,undefined,null,1,1,1,1,2,2,2,undefined,undefined];
// let vals9 = [2,null,1,null,1,1];
// let vals9 = [2,null,1];
const data9 = [
vals9.map((v, i) => i),
vals9,
vals9.map((v, i) => v == null ? v : v + 0.1),
vals9.map((v, i) => v == null ? v : v + 0.2),
];
let u9 = new uPlot(opts9, data9, document.body);
const opts9_2 = {
title: "Gaps in stepped before",
width: 800,
height: 400,
scales: {
x: {
time: false,
}
},
series: [
{},
{
label: "step before",
stroke: "red",
fill: "rgba(255,0,0,0.3)",
width: 2,
paths: uPlot.paths.stepped({
align: -1,
// ascDesc: true,
}),
},
{
label: "linear",
stroke: "blue",
width: 2,
},
{
label: "spline",
stroke: "orange",
width: 2,
paths: uPlot.paths.spline(),
},
],
};
let u9_2 = new uPlot(opts9_2, data9, document.body);
</script>
<script>
{
const _ = null;
const s_blue = [
[0,4,6],
[1,0,1],
];
const s_red = [
[0,1,2,3,4,5,6,7,8,9],
[_,_,3,4,5,_,3,2,1,0],
];
const l_green = [
[1,8],
[4.90,1.55],
];
const l_yellow = [
[0,5,9],
[1.11,_,4.44],
];
const l_sin = [
[0,1,3,4,5,7,8,9],
[
Math.sin(00 * (Math.PI / 180)) * 5,
Math.sin(10 * (Math.PI / 180)) * 5,
Math.sin(30 * (Math.PI / 180)) * 5,
_,
Math.sin(50 * (Math.PI / 180)) * 5,
Math.sin(70 * (Math.PI / 180)) * 5,
Math.sin(80 * (Math.PI / 180)) * 5,
Math.sin(90 * (Math.PI / 180)) * 5,
],
];
let data = uPlot.join([
s_blue,
s_red,
l_green,
l_yellow,
l_sin,
]);
const opts = {
title: "Gaps in stepped after",
width: 800,
height: 400,
scales: {
x: {
time: false,
}
},
series: [
{},
{
label: "on/off",
stroke: "blue",
fill: "rgba(0,0,255,0.3)",
width: 2,
paths: uPlot.paths.stepped({ align: 1, alignGaps: 1 }),
},
{
label: "[0..5]",
stroke: "red",
fill: "rgba(255,0,0,0.3)",
width: 2,
paths: uPlot.paths.stepped({ align: 1, alignGaps: 1 }),
},
{
label: "dataset03",
stroke: "green",
width: 2,
},
{
label: "dataset04",
stroke: "yellow",
width: 2,
},
{
label: "dataset05 sin",
stroke: "black",
width: 2,
},
],
};
let u = new uPlot(opts, data, document.body);
}
</script>
<script>
{
const _ = null;
const s_blue = [
[0,4,6],
[1,0,1],
];
const s_red = [
[0,1,2,3,4,5,6,7,8,9],
[_,_,3,4,5,_,3,2,1,0],
];
const l_green = [
[1,8],
[4.90,1.55],
];
const l_yellow = [
[0,5,9],
[1.11,_,4.44],
];
const l_sin = [
[0,1,3,4,5,7,8,9],
[
Math.sin(00 * (Math.PI / 180)) * 5,
Math.sin(10 * (Math.PI / 180)) * 5,
Math.sin(30 * (Math.PI / 180)) * 5,
_,
Math.sin(50 * (Math.PI / 180)) * 5,
Math.sin(70 * (Math.PI / 180)) * 5,
Math.sin(80 * (Math.PI / 180)) * 5,
Math.sin(90 * (Math.PI / 180)) * 5,
],
];
let data = uPlot.join([
s_blue,
s_red,
l_green,
l_yellow,
l_sin,
]);
const opts = {
title: "Gaps in stepped before",
width: 800,
height: 400,
scales: {
x: {
time: false,
}
},
series: [
{},
{
label: "on/off",
stroke: "blue",
fill: "rgba(0,0,255,0.3)",
width: 2,
paths: uPlot.paths.stepped({ align: -1, alignGaps: -1 }),
},
{
label: "[0..5]",
stroke: "red",
fill: "rgba(255,0,0,0.3)",
width: 2,
paths: uPlot.paths.stepped({ align: -1, alignGaps: -1 }),
},
{
label: "dataset03",
stroke: "green",
width: 2,
},
{
label: "dataset04",
stroke: "yellow",
width: 2,
},
{
label: "dataset05 sin",
stroke: "black",
width: 2,
},
],
};
let u = new uPlot(opts, data, document.body);
}
</script>
<script>
let tables10 = [
[
[1607676419481,1607680019481,1607683619481,1607687219481,1607690819481,1607694419481,1607698019481,1607698019482],
[10,20,30,40,50,60,70,90],
],
[
[1607676419481,1607677962338,1607679505195,1607681048052,1607682590909,1607684133766,1607685676623,1607687219480,1607688762337,1607690305194,1607691848051,1607693390908,1607694933765,1607696476622,1607698019479],
[1,null,40,null,90,null,null,100,null,null,100,null,null,80,null],
]
];
let alignedData10 = uPlot.join(tables10, tables10.map(t => t.map(s => 2)));
const opts10 = {
width: 1200,
height: 600,
title: 'Align & null-fill vs "real" null gaps',
ms: 1,
series: [
{},
{
// show: false,
stroke: "red",
fill: "rgba(255,0,0,0.1)",
spanGaps: false,
},
{
// show: false,
stroke: "green",
fill: "rgba(0,255,0,0.1)",
spanGaps: false,
},
],
};
let u10 = new uPlot(opts10, alignedData10, document.body);
</script>
<script>
let tables = [
[
[3,5,6,7,20],
[2,3,4,10,5],
],
[
[1,2,3,4,5,17],
[7,2,1,null,6,13],
],
[
[9,14,15,16],
[9,5,null,1],
]
];
let alignedData = uPlot.join(tables);
const opts2 = {
width: 1200,
height: 600,
title: 'Align & null-fill vs "real" null gaps',
scales: {
x: {
time: false,
},
},
series: [
{},
{
// show: false,
stroke: "red",
fill: "rgba(255,0,0,0.1)",
spanGaps: false,
},
{
// show: false,
stroke: "green",
fill: "rgba(0,255,0,0.1)",
spanGaps: false,
},
{
// show: false,
stroke: "blue",
fill: "rgba(0,0,255,0.1)",
spanGaps: false,
},
],
};
let u2 = new uPlot(opts2, alignedData, document.body);
setInterval(() => {
[u0, u1, u2, u10].forEach(u => {
u.series.forEach(s => {
s.spanGaps = !s.spanGaps;
});
u.redraw();
})
}, 1000);
</script>
<script>
let data3 = [
[1578811651,1578811652,1578811653,1578811654,1578811655,1578811656,1578811657,1578811658,1578811659,1578811660,1578811661,1578811662,1578811663,1578811664,1578811665,1578811666,1578811667,1578811668,1578811669,1578811670,1578811671,1578811672,1578811673,1578811674,1578811675,1578811676,1578811677,1578811678,1578811679,1578811680,1578811681,1578811682,1578811683,1578811684,1578811685,1578811686,1578811687,1578811688,1578811689,1578811690,1578811691,1578811692,1578811693,1578811694,1578811695,1578811696,1578811697,1578811698,1578811699,1578811700,1578811701,1578811702,1578811703,1578811704,1578811705,1578811706,1578811707,1578811708,1578811709,1578811710,1578811711,1578811712,1578811713,1578811714,1578811715,1578811716,1578811717,1578811718,1578811719,1578811720,1578811721,1578811722,1578811723,1578811724,1578811725,1578811726,1578811727,1578811728,1578811729,1578811730,1578811731,1578811732,1578811733,1578811734,1578811735,1578811736,1578811737,1578811738,1578811739,1578811740,1578811741,1578811742,1578811743,1578811744,1578811745,1578811746,1578811747,1578811748,1578811749,1578811750,1578811751,1578811752,1578811753,1578811754,1578811755,1578811756,1578811757,1578811758,1578811759,1578811760,1578811761,1578811762,1578811763,1578811764,1578811765,1578811766,1578811767,1578811768,1578811769,1578811770,1578811771,1578811772,1578811773,1578811774,1578811775,1578811776,1578811777,1578811778,1578811779,1578811780,1578811781,1578811782,1578811783,1578811784,1578811785,1578811786,1578811787,1578811788,1578811789,1578811790,1578811791,1578811792,1578811793,1578811794,1578811795,1578811796,1578811797,1578811798,1578811799,1578811800,1578811801,1578811802,1578811803,1578811804,1578811805,1578811806,1578811807,1578811808,1578811809,1578811810,1578811811,1578811812,1578811813,1578811814,1578811815,1578811816,1578811817,1578811818,1578811819,1578811820,1578811821,1578811822,1578811823,1578811824,1578811825,1578811826,1578811827,1578811828,1578811829,1578811830,1578811831,1578811832,1578811833,1578811834,1578811835,1578811836,1578811837,1578811838,1578811839,1578811840,1578811841,1578811842,1578811843,1578811844,1578811845,1578811846,1578811847,1578811848,1578811849,1578811850,1578811851,1578811852,1578811853,1578811854,1578811855,1578811856,1578811857,1578811858,1578811859,1578811860,1578811861,1578811862,1578811863,1578811864,1578811865,1578811866,1578811867,1578811868,1578811869,1578811870,1578811871,1578811872,1578811873,1578811874,1578811875,1578811876,1578811877,1578811878,1578811879,1578811880,1578811881,1578811882,1578811883,1578811884,1578811885,1578811886,1578811887,1578811888,1578811889,1578811890,1578811891,1578811892,1578811893,1578811894,1578811895,1578811896,1578811897,1578811898,1578811899,1578811900,1578811901,1578811902,1578811903,1578811904,1578811905,1578811906,1578811907,1578811908,1578811909,1578811910,1578811911,1578811912,1578811913,1578811914,1578811915,1578811916,1578811917,1578811918,1578811919,1578811920,1578811921,1578811922,1578811923,1578811924,1578811925,1578811926,1578811927,1578811928,1578811929,1578811930,1578811931,1578811932,1578811933,1578811934,1578811935,1578811936,1578811937,1578811938,1578811939,1578811940,1578811941,1578811942,1578811943,1578811944,1578811945,1578811946,1578811947,1578811948,1578811949,1578811950,1578811951,1578811952,1578811953,1578811954,1578811955,1578811956,1578811957,1578811958,1578811959,1578811960,1578811961,1578811962,1578811963,1578811964,1578811965,1578811966,1578811967,1578811968,1578811969,1578811970,1578811971,1578811972,1578811973,1578811974,1578811975,1578811976,1578811977,1578811978,1578811979,1578811980,1578811981,1578811982,1578811983,1578811984,1578811985,1578811986,1578811987,1578811988,1578811989,1578811990,1578811991,1578811992,1578811993,1578811994,1578811995,1578811996,1578811997,1578811998,1578811999,1578812000,1578812001,1578812002,1578812003,1578812004,1578812005,1578812006,1578812007,1578812008,1578812009,1578812010,1578812011,1578812012,1578812013,1578812014,1578812015,1578812016,1578812017,1578812018,1578812019,1578812020,1578812021,1578812022,1578812023,1578812024,1578812025,1578812026,1578812027,1578812028,1578812029,1578812030,1578812031,1578812032,1578812033,1578812034,1578812035,1578812036,1578812037,1578812038,1578812039,1578812040,1578812041,1578812042,1578812043,1578812044,1578812045,1578812046,1578812047,1578812048,1578812049,1578812050,1578812051,1578812052,1578812053,1578812054,1578812055,1578812056,1578812057,1578812058,1578812059,1578812060,1578812061,1578812062,1578812063,1578812064,1578812065,1578812066,1578812067,1578812068,1578812069,1578812070,1578812071,1578812072,1578812073,1578812074,1578812075,1578812076,1578812077,1578812078,1578812079,1578812080,1578812081,1578812082,1578812083,1578812084,1578812085,1578812086,1578812087,1578812088,1578812089,1578812090,1578812091,1578812092,1578812093,1578812094,1578812095,1578812096,1578812097,1578812098,1578812099,1578812100,1578812101,1578812102,1578812103,1578812104,1578812105,1578812106,1578812107,1578812108,1578812109,1578812110,1578812111,1578812112,1578812113,1578812114,1578812115,1578812116,1578812117,1578812118,1578812119,1578812120,1578812121,1578812122,1578812123,1578812124,1578812125,1578812126,1578812127,1578812128,1578812129,1578812130,1578812131,1578812132,1578812133,1578812134,1578812135,1578812136,1578812137,1578812138,1578812139,1578812140,1578812141,1578812142,1578812143,1578812144,1578812145,1578812146,1578812147,1578812148,1578812149,1578812150,1578812151,1578812152,1578812153,1578812154,1578812155,1578812156,1578812157,1578812158,1578812159,1578812160,1578812161,1578812162,1578812163,1578812164,1578812165,1578812166,1578812167,1578812168,1578812169,1578812170,1578812171,1578812172,1578812173,1578812174,1578812175,1578812176,1578812177,1578812178,1578812179,1578812180,1578812181,1578812182,1578812183,1578812184,1578812185,1578812186,1578812187,1578812188,1578812189,1578812190,1578812191,1578812192,1578812193,1578812194,1578812195,1578812196,1578812197,1578812198,1578812199,1578812200,1578812201,1578812202,1578812203,1578812204,1578812205,1578812206,1578812207,1578812208,1578812209,1578812210,1578812211,1578812212,1578812213,1578812214,1578812215,1578812216,1578812217,1578812218,1578812219,1578812220,1578812221,1578812222,1578812223,1578812224,1578812225,1578812226,1578812227,1578812228,1578812229,1578812230,1578812231,1578812232,1578812233,1578812234,1578812235,1578812236,1578812237,1578812238,1578812239,1578812240,1578812241,1578812242,1578812243,1578812244,1578812245,1578812246,1578812247,1578812248,1578812249,1578812250,1578812251,1578812252,1578812253,1578812254,1578812255,1578812256,1578812257,1578812258,1578812259,1578812260,1578812261,1578812262,1578812263,1578812264,1578812265,1578812266,1578812267,1578812268,1578812269,1578812270,1578812271,1578812272,1578812273,1578812274,1578812275,1578812276,1578812277,1578812278,1578812279,1578812280,1578812281,1578812282,1578812283,1578812284,1578812285,1578812286,1578812287,1578812288,1578812289,1578812290,1578812291,1578812292,1578812293,1578812294,1578812295,1578812296,1578812297,1578812298,1578812299,1578812300,1578812301,1578812302,1578812303,1578812304,1578812305,1578812306,1578812307,1578812308,1578812309,1578812310,1578812311,1578812312,1578812313,1578812314,1578812315,1578812316,1578812317,1578812318,1578812319,1578812320,1578812321,1578812322,1578812323,1578812324,1578812325,1578812326,1578812327,1578812328,1578812329,1578812330,1578812331,1578812332,1578812333,1578812334,1578812335,1578812336,1578812337,1578812338,1578812339,1578812340,1578812341,1578812342,1578812343,1578812344,1578812345,1578812346,1578812347,1578812348,1578812349,1578812350,1578812351,1578812352,1578812353,1578812354,1578812355,1578812356,1578812357,1578812358,1578812359,1578812360,1578812361,1578812362,1578812363,1578812364,1578812365,1578812366,1578812367,1578812368,1578812369,1578812370,1578812371,1578812372,1578812373,1578812374,1578812375,1578812376,1578812377,1578812378,1578812379,1578812380,1578812381,1578812382,1578812383,1578812384,1578812385,1578812386,1578812387,1578812388,1578812389,1578812390,1578812391,1578812392,1578812393,1578812394,1578812395,1578812396,1578812397,1578812398,1578812399,1578812400,1578812401,1578812402,1578812403,1578812404,1578812405,1578812406,1578812407,1578812408,1578812409,1578812410,1578812411,1578812412,1578812413,1578812414,1578812415,1578812416,1578812417,1578812418,1578812419,1578812420,1578812421,1578812422,1578812423,1578812424,1578812425,1578812426,1578812427,1578812428,1578812429,1578812430,1578812431,1578812432,1578812433,1578812434,1578812435,1578812436,1578812437,1578812438,1578812439,1578812440,1578812441,1578812442,1578812443,1578812444,1578812445,1578812446,1578812447,1578812448,1578812449,1578812450,1578812451,1578812452,1578812453,1578812454,1578812455,1578812456,1578812457,1578812458,1578812459,1578812460,1578812461,1578812462,1578812463,1578812464,1578812465,1578812466,1578812467,1578812468,1578812469,1578812470,1578812471,1578812472,1578812473,1578812474,1578812475,1578812476,1578812477,1578812478,1578812479,1578812480,1578812481,1578812482,1578812483,1578812484,1578812485,1578812486,1578812487,1578812488,1578812489,1578812490,1578812491,1578812492,1578812493,1578812494,1578812495,1578812496,1578812497,1578812498,1578812499,1578812500,1578812501,1578812502,1578812503,1578812504,1578812505,1578812506,1578812507,1578812508,1578812509,1578812510,1578812511,1578812512,1578812513,1578812514,1578812515,1578812516,1578812517,1578812518,1578812519,1578812520,1578812521,1578812522,1578812523,1578812524,1578812525,1578812526,1578812527,1578812528,1578812529,1578812530,1578812531,1578812532,1578812533,1578812534,1578812535,1578812536,1578812537,1578812538,1578812539,1578812540,1578812541,1578812542,1578812543,1578812544,1578812545,1578812546,1578812547,1578812548,1578812549,1578812608,1578812609,1578812610,1578812611,1578812612,1578812613,1578812614,1578812615,1578812616,1578812617,1578812618,1578812619,1578812620,1578812621,1578812622,1578812623,1578812624,1578812625,1578812626,1578812627,1578812628,1578812629,1578812630,1578812631,1578812632,1578812633,1578812634,1578812635,1578812636,1578812637,1578812638,1578812639,1578812640,1578812641,1578812642,1578812643,1578812644,1578812645,1578812646,1578812647,1578812648,1578812649,1578812650,1578812651,1578812652,1578812653,1578812654,1578812655,1578812656,1578812657,1578812658,1578812659,1578812660,1578812661,1578812662,1578812663,1578812664,1578812665,1578812666,1578812667,1578812668,1578812669,1578812670,1578812671,1578812672,1578812673,1578812674,1578812675,1578812676,1578812677,1578812678,1578812679,1578812680,1578812681,1578812682,1578812683,1578812684,1578812685,1578812686,1578812687,1578812688,1578812689,1578812690,1578812691,1578812692,1578812693,1578812694,1578812695,1578812696,1578812697,1578812698,1578812699,1578812700,1578812701,1578812702,1578812703,1578812704,1578812705,1578812706,1578812707,1578812708,1578812709,1578812710,1578812711,1578812712,1578812713,1578812714,1578812715,1578812716,1578812717,1578812718,1578812719,1578812720,1578812721,1578812722,1578812723,1578812724,1578812725,1578812726,1578812727,1578812728,1578812729,1578812730,1578812731,1578812732,1578812733,1578812734,1578812735,1578812736,1578812737,1578812738,1578812739,1578812740,1578812741,1578812742,1578812743,1578812744,1578812745,1578812746,1578812747,1578812748,1578812749,1578812750,1578812751,1578812752,1578812753,1578812754,1578812755,1578812756,1578812757,1578812758,1578812759,1578812760,1578812761,1578812762,1578812763,1578812764,1578812765,1578812766,1578812767,1578812768,1578812769,1578812770,1578812771,1578812772,1578812773,1578812774,1578812775,1578812776,1578812777,1578812778,1578812779,1578812780,1578812781,1578812782,1578812783,1578812784,1578812785,1578812786,1578812787,1578812788,1578812789,1578812790,1578812791,1578812792,1578812793,1578812794,1578812795,1578812796,1578812797,1578812798,1578812799,1578812800,1578812801,1578812802,1578812803,1578812804,1578812805,1578812806,1578812807,1578812808,1578812809,1578812810,1578812811,1578812812,1578812813,1578812814,1578812815,1578812816,1578812817,1578812818,1578812819,1578812820,1578812821,1578812822,1578812823,1578812824,1578812825,1578812826,1578812827,1578812828,1578812829,1578812830,1578812831,1578812832,1578812833,1578812834,1578812835,1578812836,1578812837,1578812838,1578812839,1578812840,1578812841,1578812842,1578812843,1578812844,1578812845,1578812846,1578812847,1578812848,1578812849,1578812850,1578812851,1578812852,1578812853,1578812854,1578812855,1578812856,1578812857,1578812858,1578812859,1578812860,1578812861,1578812862,1578812863,1578812864,1578812865,1578812866,1578812867,1578812868,1578812869,1578812870,1578812871,1578812872,1578812873,1578812874,1578812875,1578812876,1578812877,1578812878,1578812879,1578812880,1578812881,1578812882,1578812883,1578812884,1578812885,1578812886,1578812887,1578812888,1578812889,1578812890,1578812891,1578812892,1578812893,1578812894,1578812895,1578812896,1578812897,1578812898,1578812899,1578812900,1578812901,1578812902,1578812903,1578812904,1578812905,1578812906,1578812907,1578812908,1578812909,1578812910,1578812911,1578812912,1578812913,1578812914,1578812915,1578812916,1578812917,1578812918,1578812919,1578812920,1578812921,1578812922,1578812923,1578812924,1578812925,1578812926,1578812927,1578812928,1578812929,1578812930,1578812931,1578812932,1578812933,1578812934,1578812935,1578812936,1578812937,1578812938,1578812939,1578812940,1578812941,1578812942,1578812943,1578812944,1578812945,1578812946,1578812947,1578812948,1578812949,1578812950,1578812951,1578812952,1578812953,1578812954,1578812955,1578812956,1578812957,1578812958,1578812959,1578812960,1578812961,1578812962,1578812963,1578812964,1578812965,1578812966,1578812967,1578812968,1578812969,1578812970,1578812971,1578812972,1578812973,1578812974,1578812975,1578812976,1578812977,1578812978,1578812979,1578812980,1578812981,1578812982,1578812983,1578812984,1578812985,1578812986,1578812987,1578812988,1578812989,1578812990,1578812991,1578812992,1578812993,1578812994,1578812995,1578812996,1578812997,1578812998,1578812999,1578813000,1578813001,1578813002,1578813003,1578813004,1578813005,1578813006,1578813007,1578813008,1578813009,1578813010,1578813011,1578813012,1578813013,1578813014,1578813015,1578813016,1578813017,1578813018,1578813019,1578813020,1578813021,1578813022,1578813023,1578813024,1578813025,1578813026,1578813027,1578813028,1578813029,1578813030,1578813031,1578813032,1578813033,1578813034,1578813035,1578813036,1578813037,1578813038,1578813039,1578813040,1578813041,1578813042,1578813043,1578813044,1578813045,1578813046,1578813047,1578813048,1578813049,1578813050,1578813051,1578813052,1578813053,1578813054,1578813055,1578813056,1578813057,1578813058,1578813059,1578813060,1578813061,1578813062,1578813063,1578813064,1578813065,1578813066,1578813067,1578813068,1578813069,1578813070,1578813071,1578813072,1578813073,1578813074,1578813075,1578813076,1578813077,1578813078,1578813079,1578813080,1578813081,1578813082,1578813083,1578813084,1578813085,1578813086,1578813087,1578813088,1578813089,1578813090,1578813091,1578813092,1578813093,1578813094,1578813095,1578813096,1578813097,1578813098,1578813099,1578813100,1578813101,1578813102,1578813103,1578813104,1578813105,1578813106,1578813107,1578813108,1578813109,1578813110,1578813111,1578813112,1578813113,1578813114,1578813115,1578813116,1578813117,1578813118,1578813119,1578813120,1578813121,1578813122,1578813123,1578813124,1578813125,1578813126,1578813127,1578813128,1578813129,1578813130,1578813131,1578813132,1578813133,1578813134,1578813135,1578813136,1578813137,1578813138,1578813139,1578813140,1578813141,1578813142,1578813143,1578813144,1578813145,1578813146,1578813147,1578813148,1578813149,1578813150,1578813151,1578813152,1578813153,1578813154,1578813155,1578813156,1578813157,1578813158,1578813159,1578813160,1578813161,1578813162,1578813163,1578813164,1578813165,1578813166,1578813167,1578813168,1578813169,1578813170,1578813171,1578813172,1578813173,1578813174,1578813175,1578813176,1578813177,1578813178,1578813179,1578813180,1578813181,1578813182,1578813183,1578813184,1578813185,1578813186,1578813187,1578813188,1578813189,1578813190,1578813191,1578813192,1578813193,1578813194,1578813195,1578813196,1578813197,1578813198,1578813199,1578813200,1578813201,1578813202,1578813203,1578813204,1578813205,1578813206,1578813207,1578813208,1578813209,1578813210,1578813211,1578813212,1578813213,1578813214,1578813215,1578813216,1578813217,1578813218,1578813219,1578813220,1578813221,1578813222,1578813223,1578813224,1578813225,1578813226,1578813227,1578813228,1578813229,1578813230,1578813231,1578813232,1578813233,1578813234,1578813235,1578813236,1578813237,1578813238,1578813239,1578813240,1578813241,1578813242,1578813243,1578813244,1578813245,1578813246,1578813247,1578813248,1578813249,1578813250,1578813251,1578813252,1578813253,1578813254,1578813255,1578813256,1578813257,1578813258,1578813259,1578813260,1578813261,1578813262,1578813263,1578813264,1578813265,1578813266,1578813267,1578813268,1578813269,1578813270,1578813271,1578813272,1578813273,1578813274,1578813275,1578813276,1578813277,1578813278,1578813279,1578813280,1578813281,1578813282,1578813283,1578813284,1578813285,1578813286,1578813287,1578813288,1578813289,1578813290,1578813291,1578813292,1578813293,1578813294,1578813295,1578813296,1578813297,1578813298,1578813299,1578813300,1578813301,1578813302,1578813303,1578813304,1578813305,1578813306,1578813307,1578813308,1578813309,1578813310,1578813311,1578813312,1578813313,1578813314,1578813315,1578813316,1578813317,1578813318,1578813319,1578813320,1578813321,1578813322,1578813323,1578813324,1578813325,1578813326,1578813327,1578813328,1578813329,1578813330,1578813331,1578813332,1578813333,1578813334,1578813335,1578813336,1578813337,1578813338,1578813339,1578813340,1578813341,1578813342,1578813343,1578813344,1578813345,1578813346,1578813347,1578813348,1578813349,1578813350,1578813351,1578813352,1578813353,1578813354,1578813355,1578813356,1578813357,1578813358,1578813359,1578813360,1578813361,1578813362,1578813363,1578813364,1578813365,1578813366,1578813367,1578813368,1578813369,1578813370,1578813371,1578813372,1578813373,1578813374,1578813375,1578813376,1578813377,1578813378,1578813379,1578813380,1578813381,1578813382,1578813383,1578813384,1578813385,1578813386,1578813387,1578813388,1578813389,1578813390,1578813391,1578813392,1578813393,1578813394,1578813395,1578813396,1578813397,1578813398,1578813399,1578813400,1578813401,1578813402,1578813403,1578813404,1578813405,1578813406,1578813407,1578813408,1578813409,1578813410,1578813411,1578813412,1578813413,1578813414,1578813415,1578813416,1578813417,1578813418,1578813419,1578813420,1578813421,1578813422,1578813423,1578813424,1578813425,1578813426,1578813427,1578813428,1578813429,1578813430,1578813431,1578813432,1578813433,1578813434,1578813435,1578813436,1578813437,1578813438,1578813439,1578813440,1578813441,1578813442,1578813443,1578813444,1578813445,1578813446,1578813447,1578813448,1578813449,1578813450,1578813451,1578813452,1578813453,1578813454,1578813455,1578813456,1578813457,1578813458,1578813459,1578813460,1578813461,1578813462,1578813463,1578813464,1578813465,1578813466,1578813467,1578813468,1578813469,1578813470,1578813471,1578813472,1578813473,1578813474,1578813475,1578813476,1578813477,1578813478,1578813479,1578813480,1578813481,1578813482,1578813483,1578813484,1578813485,1578813486,1578813487,1578813488,1578813489,1578813490,1578813491,1578813492,1578813493,1578813494,1578813495,1578813496,1578813497,1578813498,1578813499,1578813500,1578813501,1578813502,1578813503,1578813504,1578813505,1578813506,1578813507,1578813508,1578813509,1578813510,1578813511,1578813512,1578813513,1578813514,1578813515,1578813516,1578813517,1578813518,1578813519,1578813520,1578813521,1578813522,1578813523,1578813524,1578813525,1578813526,1578813527,1578813528,1578813529,1578813530,1578813531,1578813532,1578813533,1578813534,1578813535,1578813536,1578813537,1578813538,1578813539,1578813540,1578813541,1578813542,1578813543,1578813544,1578813545,1578813546,1578813547,1578813548,1578813549,1578813550,1578813551,1578813552,1578813553,1578813554,1578813555,1578813556,1578813557,1578813558,1578813559,1578813560,1578813561,1578813562,1578813563,1578813564,1578813565,1578813566,1578813567,1578813568,1578813569,1578813570,1578813571,1578813572,1578813573,1578813574,1578813575,1578813576,1578813577,1578813578,1578813579,1578813580,1578813581,1578813582,1578813583,1578813584,1578813585,1578813586,1578813587,1578813588,1578813589,1578813590,1578813591,1578813592,1578813593,1578813594,1578813595,1578813596,1578813597,1578813598,1578813599,1578813600,1578813601,1578813602,1578813603,1578813604,1578813605,1578813606,1578813607,1578813608,1578813609,1578813610,1578813611,1578813612,1578813613,1578813614,1578813615,1578813616,1578813617,1578813618,1578813619,1578813620,1578813621,1578813622,1578813623,1578813624,1578813625,1578813626,1578813627,1578813628,1578813629,1578813630,1578813631,1578813632,1578813633,1578813634,1578813635,1578813636,1578813637,1578813638,1578813639,1578813640,1578813641,1578813642,1578813643,1578813644,1578813645,1578813646,1578813647,1578813648,1578813649,1578813650,1578813651,1578813652,1578813653,1578813654,1578813655,1578813656,1578813657,1578813658,1578813659,1578813660,1578813661,1578813662,1578813663,1578813664,1578813665,1578813666,1578813667,1578813668,1578813669,1578813670,1578813671,1578813672,1578813673,1578813674,1578813675,1578813676,1578813677,1578813678,1578813679,1578813680,1578813681,1578813682,1578813683,1578813684,1578813685,1578813686,1578813687,1578813688,1578813689,1578813690,1578813691,1578813692,1578813693,1578813694,1578813695,1578813696,1578813697,1578813698,1578813699,1578813700,1578813701,1578813702,1578813703,1578813704,1578813705,1578813706,1578813707,1578813708,1578813709,1578813710,1578813711,1578813712,1578813713,1578813714,1578813715,1578813716,1578813717,1578813718,1578813719,1578813720,1578813721,1578813722,1578813723,1578813724,1578813725,1578813726,1578813727,1578813728,1578813729,1578813730,1578813731,1578813732,1578813733,1578813734,1578813735,1578813736,1578813737,1578813738,1578813739,1578813740,1578813741,1578813742,1578813743,1578813744,1578813745,1578813746,1578813747,1578813748,1578813749,1578813750,1578813751,1578813752,1578813753,1578813754,1578813755,1578813756,1578813757,1578813758,1578813759,1578813760,1578813761,1578813762,1578813763,1578813764,1578813765,1578813766,1578813767,1578813768,1578813769,1578813770,1578813771,1578813772,1578813773,1578813774,1578813775,1578813776,1578813777,1578813778,1578813779,1578813780,1578813781,1578813782,1578813783,1578813784,1578813785,1578813786,1578813787,1578813788,1578813789,1578813790,1578813791,1578813792,1578813793,1578813794,1578813795,1578813796,1578813797,1578813798,1578813799,1578813800,1578813801,1578813802,1578813803,1578813804,1578813805,1578813806,1578813807,1578813808,1578813809,1578813810,1578813811,1578813812,1578813813,1578813814,1578813815,1578813816,1578813817,1578813818,1578813819,1578813820,1578813821,1578813822,1578813823,1578813824,1578813825,1578813826,1578813827,1578813828,1578813829,1578813830,1578813831,1578813832,1578813833,1578813834,1578813835,1578813836,1578813837,1578813838,1578813839,1578813840,1578813841,1578813842,1578813843,1578813844,1578813845,1578813846,1578813847,1578813848,1578813849,1578813850,1578813851,1578813852,1578813853,1578813854,1578813855,1578813856,1578813857,1578813858,1578813859,1578813860,1578813861,1578813862,1578813863,1578813864,1578813865,1578813866,1578813867,1578813868,1578813869,1578813870,1578813871,1578813872,1578813873,1578813874,1578813875,1578813876,1578813877,1578813878,1578813879,1578813880,1578813881,1578813882,1578813883,1578813884,1578813885,1578813886,1578813887,1578813888,1578813889,1578813890,1578813891,1578813892,1578813893,1578813894,1578813895,1578813896,1578813897,1578813898,1578813899,1578813900,1578813901,1578813902,1578813903,1578813904,1578813905,1578813906,1578813907,1578813908,1578813909,1578813910,1578813911,1578813912,1578813913,1578813914,1578813915,1578813916,1578813917,1578813918,1578813919,1578813920,1578813921,1578813922,1578813923,1578813924,1578813925,1578813926,1578813927,1578813928,1578813929,1578813930,1578813931,1578813932,1578813933,1578813934,1578813935,1578813936],
[3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.19,null,3.24,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31,3.31],
];
// data3[0] = data[0].slice(0, 1000);
// data3[1] = data[1].slice(0, 1000);
// data3[2] = data[1].slice(0, 1000);
let height = 475;
let width = 300;
data3[0][899] = 1578812550;
const opts3 = {
title: "Single-null pixel-outro bug test",
width,
height,
scales: {
x: {
dir: -1,
range: [
1578812057,
1578812879,
],
}
},
series: [
{},
{
label: "Low",
stroke: "red",
fill: "rgba(255, 0, 0, .2)",
},
],
};
let u3 = new uPlot(opts3, data3, document.body);
let data4 = data3.slice();
data4[0] = data4[0].slice();
data4[0][899] = 1578812608;
const opts4 = {
title: "Single-null pixel-intro bug test",
width,
height,
scales: {
x: {
// dir: -1,
range: [
1578812057,
1578812879,
],
}
},
series: [
{},
{
label: "Low",
stroke: "red",
fill: "rgba(255, 0, 0, .2)",
},
],
};
let u4 = new uPlot(opts4, data4, document.body);
const _ = null;
const data5 = [
[0,1,2,3,3.001,5,6,7,8,9],
[1,1,1,1,_,1,1,1,1,1],
];
const opts5 = {
title: "Single-null pixel-intro bug test",
width: 500,
height: 250,
scales: {
x: {
time: false,
}
},
axes: [
{
space: 30,
}
],
series: [
{},
{
label: "Low",
stroke: "red",
fill: "rgba(255, 0, 0, .2)",
},
],
};
let u5 = new uPlot(opts5, data5, document.body);
const data6 = [
[0,1,2,3,4.999,5,6,7,8,9],
[1,1,1,1,_,1,1,1,1,1],
];
const opts6 = {
title: "Single-null pixel-intro bug test",
width: 500,
height: 250,
scales: {
x: {
time: false,
}
},
axes: [
{
space: 30,
}
],
series: [
{},
{
label: "Low",
stroke: "red",
fill: "rgba(255, 0, 0, .2)",
},
],
};
let u6 = new uPlot(opts6, data6, document.body);
const data7 = [
[0,1,2,3,4.999,5,5.001,7,8,9],
[1,1,1,1,_,1,1,1,1,1],
];
const opts7 = {
title: "Single-null pixel-intro bug test",
width: 500,
height: 250,
scales: {
x: {
time: false,
}
},
axes: [
{
space: 30,
}
],
series: [
{},
{
label: "Low",
stroke: "red",
fill: "rgba(255, 0, 0, .2)",
},
],
};
let u7 = new uPlot(opts7, data7, document.body);
const data8 = [
[0,1,2,3,4.999,5,5.001,7,8,9],
[1,1,1,1,_,1,_,1,1,1],
];
const opts8 = {
title: "Single-null pixel-intro bug test",
width: 500,
height: 250,
scales: {
x: {
time: false,
}
},
axes: [
{
space: 30,
}
],
series: [
{},
{
label: "Low",
stroke: "red",
fill: "rgba(255, 0, 0, .2)",
},
],
};
let u8 = new uPlot(opts8, data8, document.body);
let data99 = [
// [42000,71999,77999,78033,79800,92400,98400],
[42000, 71999, 77999, 78000, 79800, 92400, 98400],
[ 10, 20, null, 30, undefined, 40, undefined],
];
let opts99 = {
title: "Undefined",
width: 600,
height: 300,
scales: {
x: {
time: false,
}
},
series: [
{},
{
show: true,
spanGaps: false,
stroke: "red",
}
]
};
let u99 = new uPlot(opts99, data99, document.body);
</script>
</body>
</html>