google / google-visualization-issues

288 stars 35 forks source link

Area chart Disproportion when scaleType is log #3012

Open stoufa06 opened 4 months ago

stoufa06 commented 4 months ago

You can notice between 0 sec and 1 sec half graph consumed, the rest of 1.5 hour consume less than half.

image

The full code here with full data

https://codepen.io/Stoufa-Stoufa/pen/QWXNbYj

dlaliberte commented 4 months ago

Thanks for your report. The handling of log scale around 0 is funkey, of course, since the log of 0 is undefined. It looks like you have a 0s data value: [0, 0, 0], 527, "Power: 527 watts\nDuration: 00:00\nDistance: 2.73 m" which would cause this 0 to 1 second region to be displayed, and the scaling in that region is linear, by the way. The width of this region probably shouldn't take up half the total width, however, so that is a bug, but how much space it should take is somewhat arbitrary. It could be based on the number of data points within the linear region.

stoufa06 commented 4 months ago

@dlaliberte There is exactly 5425 data points with the linear region. The whole graph is about workout activity of 01h:30m:25s captured power values each sec of the activity. Take a look at the example. All the data is there.

stoufa06 commented 4 months ago

@dlaliberte If i change the [0, 0, 0] value to [0, 0, 1] the graph gap disproportion disappears.

image
dlaliberte commented 4 months ago

So if you shift all your data to start after a very small amount of time after 0 time, then the chart should be accurate and use log scale throughout. Perhaps the bug is assuming that, when there is a 0 value, it should be linear between 0 and the first tick, which happens to be 1 in your first example. In the second, there is no 0 value, so that bug is avoided.

dlaliberte commented 4 months ago

It also doesn't know how to draw any more tick values between 0 and that first tick value. So maybe if you provided more explicit tick values between 0 and 1, that would make the spacing more properly log scale, leaving a smaller linear region.

stoufa06 commented 4 months ago

@dlaliberte If you look closely the horizontal axis is time (timeofday), means there are no values between 0 sec and 1sec. All the values are contiguous, 1sec,2sec,3sec ...
If you look also closely in the example there is console.log of the ticks, the ticks are not so close

image
dlaliberte commented 4 months ago

When you said "exactly 5425 data points with the linear region" I assumed you were saying your data values in your datatable include exactly 5425 data points. But now you are saying there are no values between 0 and 1 second. So maybe you meant there are exactly 5425 pixels of space in the linear region. How many pixels you see depends on your window size.

In any event, as I said, if you have a 0 data value, then the chart will create a linear region between 0 and that first tick, whatever it is. The space required for the linear region is the problem, and it is too large and currently not adjustable.

One possible workaround is to use the hAxis.viewWindow option with say, min: 0.9. That will cut off the 0 point in your data, and cut off the low end of the chart to be no less than 0.9.

stoufa06 commented 4 months ago

@dlaliberte i have included an example in the first post in codepen. There are 5425 data points (not pixels). The horizontal axis time based. No value between 0 and 1. Values are consecutive incremetal by 1 sec.

[
    [[0, 0, 0], 527, "Power: 527 watts\nDuration: 00:00\nDistance: 2.73 m"],
    [[0, 0, 1], 522, "Power: 522 watts\nDuration: 00:01\nDistance: 5.34 m"],
    [[0, 0, 2], 520, "Power: 520 watts\nDuration: 00:02\nDistance: 8.32 m"],
    [[0, 0, 3], 496, "Power: 496 watts\nDuration: 00:03\nDistance: 11.83 m"],
    [[0, 0, 4], 483, "Power: 483 watts\nDuration: 00:04\nDistance: 15.69 m"],
    [[0, 0, 5], 471, "Power: 471 watts\nDuration: 00:05\nDistance: 19.99 m"],
    [[0, 0, 6], 463, "Power: 463 watts\nDuration: 00:06\nDistance: 24.69 m"],
    [[0, 0, 7], 448, "Power: 448 watts\nDuration: 00:07\nDistance: 29.84 m"],
    [[0, 0, 8], 443, "Power: 443 watts\nDuration: 00:08\nDistance: 35.38 m"],
    [[0, 0, 9], 432, "Power: 432 watts\nDuration: 00:09\nDistance: 40.6 m"],
    [[0, 0, 10], 420, "Power: 420 watts\nDuration: 00:10\nDistance: 46.04 m"],
    [[0, 0, 11], 405, "Power: 405 watts\nDuration: 00:11\nDistance: 52.6 m"],
    [[0, 0, 12], 390, "Power: 390 watts\nDuration: 00:12\nDistance: 60.13 m"],
    [[0, 0, 13], 379, "Power: 379 watts\nDuration: 00:13\nDistance: 68.25 m"],
    [[0, 0, 14], 368, "Power: 368 watts\nDuration: 00:14\nDistance: 76.94 m"],
    [[0, 0, 15], 358, "Power: 358 watts\nDuration: 00:15\nDistance: 86.5 m"],
    [[0, 0, 16], 349, "Power: 349 watts\nDuration: 00:16\nDistance: 97.04 m"],
    [[0, 0, 17], 342, "Power: 342 watts\nDuration: 00:17\nDistance: 108.36 m"],
    [[0, 0, 18], 338, "Power: 338 watts\nDuration: 00:18\nDistance: 120.04 m"],
    [[0, 0, 19], 338, "Power: 338 watts\nDuration: 00:19\nDistance: 132.32 m"],
    [[0, 0, 20], 338, "Power: 338 watts\nDuration: 00:20\nDistance: 144.76 m"],
    [[0, 0, 21], 337, "Power: 337 watts\nDuration: 00:21\nDistance: 158.14 m"],
    [[0, 0, 22], 335, "Power: 335 watts\nDuration: 00:22\nDistance: 171.88 m"],
    [[0, 0, 23], 333, "Power: 333 watts\nDuration: 00:23\nDistance: 185.87 m"],
    [[0, 0, 24], 331, "Power: 331 watts\nDuration: 00:24\nDistance: 200.09 m"],
    [[0, 0, 25], 330, "Power: 330 watts\nDuration: 00:25\nDistance: 214.51 m"],
    [[0, 0, 26], 329, "Power: 329 watts\nDuration: 00:26\nDistance: 229.51 m"],
    [[0, 0, 27], 327, "Power: 327 watts\nDuration: 00:27\nDistance: 244.45 m"],
    [[0, 0, 28], 325, "Power: 325 watts\nDuration: 00:28\nDistance: 259.58 m"],
    [[0, 0, 29], 323, "Power: 323 watts\nDuration: 00:29\nDistance: 274.32 m"],
    [[0, 0, 30], 322, "Power: 322 watts\nDuration: 00:30\nDistance: 288.13 m"],
    [[0, 0, 31], 320, "Power: 320 watts\nDuration: 00:31\nDistance: 300.75 m"],
    [[0, 0, 32], 320, "Power: 320 watts\nDuration: 00:32\nDistance: 311.82 m"],
    [[0, 0, 33], 321, "Power: 321 watts\nDuration: 00:33\nDistance: 321.96 m"],
    [[0, 0, 34], 321, "Power: 321 watts\nDuration: 00:34\nDistance: 330.01 m"],
    [[0, 0, 35], 322, "Power: 322 watts\nDuration: 00:35\nDistance: 336.43 m"],
    [[0, 0, 36], 322, "Power: 322 watts\nDuration: 00:36\nDistance: 341.04 m"],
    [[0, 0, 37], 322, "Power: 322 watts\nDuration: 00:37\nDistance: 345.7 m"],
    [[0, 0, 38], 322, "Power: 322 watts\nDuration: 00:38\nDistance: 350.59 m"],
    [[0, 0, 39], 322, "Power: 322 watts\nDuration: 00:39\nDistance: 355.77 m"],
    [[0, 0, 40], 322, "Power: 322 watts\nDuration: 00:40\nDistance: 361.3 m"],
    [[0, 0, 41], 322, "Power: 322 watts\nDuration: 00:41\nDistance: 367.14 m"],
    [[0, 0, 42], 323, "Power: 323 watts\nDuration: 00:42\nDistance: 373.2 m"],
    [[0, 0, 43], 323, "Power: 323 watts\nDuration: 00:43\nDistance: 379.48 m"],
    [[0, 0, 44], 324, "Power: 324 watts\nDuration: 00:44\nDistance: 385.9 m"],
    [[0, 0, 45], 324, "Power: 324 watts\nDuration: 00:45\nDistance: 392.42 m"],
    [[0, 0, 46], 324, "Power: 324 watts\nDuration: 00:46\nDistance: 399.38 m"],
    [[0, 0, 47], 324, "Power: 324 watts\nDuration: 00:47\nDistance: 406.58 m"],
    [[0, 0, 48], 324, "Power: 324 watts\nDuration: 00:48\nDistance: 413.87 m"],
    [[0, 0, 49], 323, "Power: 323 watts\nDuration: 00:49\nDistance: 421.3 m"],
    [[0, 0, 50], 322, "Power: 322 watts\nDuration: 00:50\nDistance: 428.96 m"],
    [[0, 0, 51], 321, "Power: 321 watts\nDuration: 00:51\nDistance: 436.75 m"],
    [[0, 0, 52], 321, "Power: 321 watts\nDuration: 00:52\nDistance: 444.83 m"],
    [[0, 0, 53], 320, "Power: 320 watts\nDuration: 00:53\nDistance: 452.95 m"],
    [[0, 0, 54], 319, "Power: 319 watts\nDuration: 00:54\nDistance: 461.09 m"],
    [[0, 0, 55], 318, "Power: 318 watts\nDuration: 00:55\nDistance: 469.34 m"],
    [[0, 0, 56], 316, "Power: 316 watts\nDuration: 00:56\nDistance: 477.59 m"],
    [[0, 0, 57], 315, "Power: 315 watts\nDuration: 00:57\nDistance: 485.91 m"],
    [[0, 0, 58], 313, "Power: 313 watts\nDuration: 00:58\nDistance: 494.32 m"],
    [[0, 0, 59], 312, "Power: 312 watts\nDuration: 00:59\nDistance: 502.99 m"],
    [[0, 1, 0], 310, "Power: 310 watts\nDuration: 01:00\nDistance: 511.84 m"],
    [[0, 1, 1], 309, "Power: 309 watts\nDuration: 01:01\nDistance: 520.83 m"],
    [[0, 1, 2], 308, "Power: 308 watts\nDuration: 01:02\nDistance: 530.03 m"],
    [[0, 1, 3], 308, "Power: 308 watts\nDuration: 01:03\nDistance: 539.62 m"],
    [[0, 1, 4], 307, "Power: 307 watts\nDuration: 01:04\nDistance: 549.43 m"],
    [[0, 1, 5], 307, "Power: 307 watts\nDuration: 01:05\nDistance: 559.47 m"],
    [[0, 1, 6], 307, "Power: 307 watts\nDuration: 01:06\nDistance: 569.7 m"],
    [[0, 1, 7], 306, "Power: 306 watts\nDuration: 01:07\nDistance: 579.88 m"],
    [[0, 1, 8], 306, "Power: 306 watts\nDuration: 01:08\nDistance: 589.44 m"],
    [[0, 1, 9], 306, "Power: 306 watts\nDuration: 01:09\nDistance: 598.53 m"],
    [[0, 1, 10], 305, "Power: 305 watts\nDuration: 01:10\nDistance: 607.61 m"],
    [[0, 1, 11], 305, "Power: 305 watts\nDuration: 01:11\nDistance: 617.03 m"],
    [[0, 1, 12], 304, "Power: 304 watts\nDuration: 01:12\nDistance: 626.74 m"],
    [[0, 1, 13], 303, "Power: 303 watts\nDuration: 01:13\nDistance: 636.77 m"],
    [[0, 1, 14], 302, "Power: 302 watts\nDuration: 01:14\nDistance: 647.21 m"],
    [[0, 1, 15], 300, "Power: 300 watts\nDuration: 01:15\nDistance: 657.79 m"],
    [[0, 1, 16], 299, "Power: 299 watts\nDuration: 01:16\nDistance: 667.84 m"],
    [[0, 1, 17], 299, "Power: 299 watts\nDuration: 01:17\nDistance: 676.4 m"],
    [[0, 1, 18], 298, "Power: 298 watts\nDuration: 01:18\nDistance: 683 m"],
    [[0, 1, 19], 298, "Power: 298 watts\nDuration: 01:19\nDistance: 687.92 m"],
    [[0, 1, 20], 298, "Power: 298 watts\nDuration: 01:20\nDistance: 691.47 m"],
    [[0, 1, 21], 297, "Power: 297 watts\nDuration: 01:21\nDistance: 694.69 m"],
    [[0, 1, 22], 296, "Power: 296 watts\nDuration: 01:22\nDistance: 698.44 m"],
    [[0, 1, 23], 296, "Power: 296 watts\nDuration: 01:23\nDistance: 702.01 m"],
    [[0, 1, 24], 295, "Power: 295 watts\nDuration: 01:24\nDistance: 705.58 m"],
    [[0, 1, 25], 295, "Power: 295 watts\nDuration: 01:25\nDistance: 709.6 m"],
    [[0, 1, 26], 294, "Power: 294 watts\nDuration: 01:26\nDistance: 714.23 m"],
    [[0, 1, 27], 293, "Power: 293 watts\nDuration: 01:27\nDistance: 719.16 m"],
    [[0, 1, 28], 292, "Power: 292 watts\nDuration: 01:28\nDistance: 724.47 m"],
    [[0, 1, 29], 292, "Power: 292 watts\nDuration: 01:29\nDistance: 729.8 m"],
    [[0, 1, 30], 291, "Power: 291 watts\nDuration: 01:30\nDistance: 735.04 m"],
    [[0, 1, 31], 291, "Power: 291 watts\nDuration: 01:31\nDistance: 740.53 m"],
    [[0, 1, 32], 291, "Power: 291 watts\nDuration: 01:32\nDistance: 746.23 m"],
    [[0, 1, 33], 290, "Power: 290 watts\nDuration: 01:33\nDistance: 752 m"],
    [[0, 1, 34], 290, "Power: 290 watts\nDuration: 01:34\nDistance: 758.03 m"],
    [[0, 1, 35], 290, "Power: 290 watts\nDuration: 01:35\nDistance: 764.1 m"],
    [[0, 1, 36], 289, "Power: 289 watts\nDuration: 01:36\nDistance: 770.47 m"],
    [[0, 1, 37], 289, "Power: 289 watts\nDuration: 01:37\nDistance: 776.75 m"],
    [[0, 1, 38], 289, "Power: 289 watts\nDuration: 01:38\nDistance: 783.12 m"],
    [[0, 1, 39], 288, "Power: 288 watts\nDuration: 01:39\nDistance: 789.74 m"],
    [[0, 1, 40], 289, "Power: 289 watts\nDuration: 01:40\nDistance: 796.49 m"],
    [[0, 1, 41], 289, "Power: 289 watts\nDuration: 01:41\nDistance: 803.33 m"],
    [[0, 1, 42], 289, "Power: 289 watts\nDuration: 01:42\nDistance: 810.3 m"],
    [[0, 1, 43], 289, "Power: 289 watts\nDuration: 01:43\nDistance: 817.58 m"],
    [[0, 1, 44], 289, "Power: 289 watts\nDuration: 01:44\nDistance: 824.58 m"],
    [[0, 1, 45], 289, "Power: 289 watts\nDuration: 01:45\nDistance: 831.82 m"],
    [[0, 1, 46], 289, "Power: 289 watts\nDuration: 01:46\nDistance: 839.04 m"],
    [[0, 1, 47], 289, "Power: 289 watts\nDuration: 01:47\nDistance: 846.21 m"],
    [[0, 1, 48], 289, "Power: 289 watts\nDuration: 01:48\nDistance: 853.48 m"],
    [[0, 1, 49], 288, "Power: 288 watts\nDuration: 01:49\nDistance: 860.64 m"],
    [[0, 1, 50], 288, "Power: 288 watts\nDuration: 01:50\nDistance: 867.88 m"],
    [[0, 1, 51], 287, "Power: 287 watts\nDuration: 01:51\nDistance: 874.84 m"],
    [[0, 1, 52], 286, "Power: 286 watts\nDuration: 01:52\nDistance: 881.82 m"],
    [[0, 1, 53], 286, "Power: 286 watts\nDuration: 01:53\nDistance: 888.85 m"],
    [[0, 1, 54], 285, "Power: 285 watts\nDuration: 01:54\nDistance: 896.06 m"],
    [[0, 1, 55], 283, "Power: 283 watts\nDuration: 01:55\nDistance: 903.32 m"],
    [[0, 1, 56], 282, "Power: 282 watts\nDuration: 01:56\nDistance: 910.45 m"],
    [[0, 1, 57], 281, "Power: 281 watts\nDuration: 01:57\nDistance: 917.65 m"],
    [[0, 1, 58], 281, "Power: 281 watts\nDuration: 01:58\nDistance: 925.16 m"],
    [[0, 1, 59], 280, "Power: 280 watts\nDuration: 01:59\nDistance: 932.61 m"],
    [[0, 2, 0], 279, "Power: 279 watts\nDuration: 02:00\nDistance: 939.8 m"],
    [[0, 2, 1], 279, "Power: 279 watts\nDuration: 02:01\nDistance: 947.22 m"],
    [[0, 2, 2], 278, "Power: 278 watts\nDuration: 02:02\nDistance: 954.63 m"],
    [[0, 2, 3], 277, "Power: 277 watts\nDuration: 02:03\nDistance: 961.86 m"],
    [[0, 2, 4], 276, "Power: 276 watts\nDuration: 02:04\nDistance: 969.43 m"],
    [[0, 2, 5], 276, "Power: 276 watts\nDuration: 02:05\nDistance: 977.05 m"],
    [[0, 2, 6], 275, "Power: 275 watts\nDuration: 02:06\nDistance: 984.77 m"],
    [[0, 2, 7], 274, "Power: 274 watts\nDuration: 02:07\nDistance: 992.19 m"],
    [[0, 2, 8], 273, "Power: 273 watts\nDuration: 02:08\nDistance: 999.25 m"],
    [[0, 2, 9], 272, "Power: 272 watts\nDuration: 02:09\nDistance: 1.01 km"],
    [[0, 2, 10], 271, "Power: 271 watts\nDuration: 02:10\nDistance: 1.01 km"],
    [[0, 2, 11], 270, "Power: 270 watts\nDuration: 02:11\nDistance: 1.02 km"],
    [[0, 2, 12], 269, "Power: 269 watts\nDuration: 02:12\nDistance: 1.03 km"],
    [[0, 2, 13], 268, "Power: 268 watts\nDuration: 02:13\nDistance: 1.04 km"],
    [[0, 2, 14], 266, "Power: 266 watts\nDuration: 02:14\nDistance: 1.04 km"],
    [[0, 2, 15], 264, "Power: 264 watts\nDuration: 02:15\nDistance: 1.05 km"],
    [[0, 2, 16], 263, "Power: 263 watts\nDuration: 02:16\nDistance: 1.06 km"],
    [[0, 2, 17], 261, "Power: 261 watts\nDuration: 02:17\nDistance: 1.07 km"],
    [[0, 2, 18], 259, "Power: 259 watts\nDuration: 02:18\nDistance: 1.07 km"],
    [[0, 2, 19], 257, "Power: 257 watts\nDuration: 02:19\nDistance: 1.08 km"],
    [[0, 2, 20], 256, "Power: 256 watts\nDuration: 02:20\nDistance: 1.09 km"],
    [[0, 2, 21], 255, "Power: 255 watts\nDuration: 02:21\nDistance: 1.1 km"],
    [[0, 2, 22], 255, "Power: 255 watts\nDuration: 02:22\nDistance: 1.1 km"],
    [[0, 2, 23], 255, "Power: 255 watts\nDuration: 02:23\nDistance: 1.11 km"],
    [[0, 2, 24], 256, "Power: 256 watts\nDuration: 02:24\nDistance: 1.12 km"],
    [[0, 2, 25], 257, "Power: 257 watts\nDuration: 02:25\nDistance: 1.13 km"],
    [[0, 2, 26], 258, "Power: 258 watts\nDuration: 02:26\nDistance: 1.13 km"],
    [[0, 2, 27], 259, "Power: 259 watts\nDuration: 02:27\nDistance: 1.14 km"],
    [[0, 2, 28], 259, "Power: 259 watts\nDuration: 02:28\nDistance: 1.15 km"],
    [[0, 2, 29], 259, "Power: 259 watts\nDuration: 02:29\nDistance: 1.16 km"],
    [[0, 2, 30], 259, "Power: 259 watts\nDuration: 02:30\nDistance: 1.16 km"],
    [[0, 2, 31], 259, "Power: 259 watts\nDuration: 02:31\nDistance: 1.17 km"],
    [[0, 2, 32], 258, "Power: 258 watts\nDuration: 02:32\nDistance: 1.18 km"],
    [[0, 2, 33], 256, "Power: 256 watts\nDuration: 02:33\nDistance: 1.19 km"],
    ...
    [[1, 24, 49], 175, "Power: 175 watts\nDuration: 01:24:49\nDistance: 41.85 km"],
    [[1, 24, 50], 175, "Power: 175 watts\nDuration: 01:24:50\nDistance: 41.86 km"],
    [[1, 24, 51], 175, "Power: 175 watts\nDuration: 01:24:51\nDistance: 41.87 km"],
    [[1, 24, 52], 175, "Power: 175 watts\nDuration: 01:24:52\nDistance: 41.87 km"],
    [[1, 24, 53], 175, "Power: 175 watts\nDuration: 01:24:53\nDistance: 41.88 km"],
    [[1, 24, 54], 175, "Power: 175 watts\nDuration: 01:24:54\nDistance: 41.89 km"],
    [[1, 24, 55], 175, "Power: 175 watts\nDuration: 01:24:55\nDistance: 41.9 km"],
    [[1, 24, 56], 175, "Power: 175 watts\nDuration: 01:24:56\nDistance: 41.91 km"],
    [[1, 24, 57], 175, "Power: 175 watts\nDuration: 01:24:57\nDistance: 41.92 km"],
    [[1, 24, 58], 175, "Power: 175 watts\nDuration: 01:24:58\nDistance: 41.93 km"],
    [[1, 24, 59], 175, "Power: 175 watts\nDuration: 01:24:59\nDistance: 41.94 km"],
    [[1, 25, 0], 175, "Power: 175 watts\nDuration: 01:25:00\nDistance: 41.95 km"],
    [[1, 25, 1], 175, "Power: 175 watts\nDuration: 01:25:01\nDistance: 41.96 km"],
    [[1, 25, 2], 175, "Power: 175 watts\nDuration: 01:25:02\nDistance: 41.96 km"],
    [[1, 25, 3], 175, "Power: 175 watts\nDuration: 01:25:03\nDistance: 41.97 km"],
    [[1, 25, 4], 175, "Power: 175 watts\nDuration: 01:25:04\nDistance: 41.98 km"],
    [[1, 25, 5], 175, "Power: 175 watts\nDuration: 01:25:05\nDistance: 41.99 km"],
    [[1, 25, 6], 175, "Power: 175 watts\nDuration: 01:25:06\nDistance: 42 km"],
    [[1, 25, 7], 175, "Power: 175 watts\nDuration: 01:25:07\nDistance: 42.01 km"],
    [[1, 25, 8], 175, "Power: 175 watts\nDuration: 01:25:08\nDistance: 42.02 km"],
    [[1, 25, 9], 175, "Power: 175 watts\nDuration: 01:25:09\nDistance: 42.03 km"],
    [[1, 25, 10], 175, "Power: 175 watts\nDuration: 01:25:10\nDistance: 42.04 km"],
    [[1, 25, 11], 175, "Power: 175 watts\nDuration: 01:25:11\nDistance: 42.04 km"],
    [[1, 25, 12], 175, "Power: 175 watts\nDuration: 01:25:12\nDistance: 42.05 km"],
    [[1, 25, 13], 175, "Power: 175 watts\nDuration: 01:25:13\nDistance: 42.06 km"],
    [[1, 25, 14], 175, "Power: 175 watts\nDuration: 01:25:14\nDistance: 42.07 km"],
    [[1, 25, 15], 175, "Power: 175 watts\nDuration: 01:25:15\nDistance: 42.08 km"],
    [[1, 25, 16], 175, "Power: 175 watts\nDuration: 01:25:16\nDistance: 42.09 km"],
    [[1, 25, 17], 175, "Power: 175 watts\nDuration: 01:25:17\nDistance: 42.1 km"],
    [[1, 25, 18], 175, "Power: 175 watts\nDuration: 01:25:18\nDistance: 42.1 km"],
    [[1, 25, 19], 175, "Power: 175 watts\nDuration: 01:25:19\nDistance: 42.11 km"],
    [[1, 25, 20], 175, "Power: 175 watts\nDuration: 01:25:20\nDistance: 42.12 km"],
    [[1, 25, 21], 175, "Power: 175 watts\nDuration: 01:25:21\nDistance: 42.13 km"],
    [[1, 25, 22], 175, "Power: 175 watts\nDuration: 01:25:22\nDistance: 42.14 km"],
    [[1, 25, 23], 175, "Power: 175 watts\nDuration: 01:25:23\nDistance: 42.15 km"],
    [[1, 25, 24], 175, "Power: 175 watts\nDuration: 01:25:24\nDistance: 42.15 km"],
    [[1, 25, 25], 175, "Power: 175 watts\nDuration: 01:25:25\nDistance: 42.16 km"],
    [[1, 25, 26], 175, "Power: 175 watts\nDuration: 01:25:26\nDistance: 42.17 km"],
    [[1, 25, 27], 175, "Power: 175 watts\nDuration: 01:25:27\nDistance: 42.18 km"],
    [[1, 25, 28], 175, "Power: 175 watts\nDuration: 01:25:28\nDistance: 42.19 km"],
    [[1, 25, 29], 175, "Power: 175 watts\nDuration: 01:25:29\nDistance: 42.2 km"],
    [[1, 25, 30], 175, "Power: 175 watts\nDuration: 01:25:30\nDistance: 42.2 km"],
    [[1, 25, 31], 175, "Power: 175 watts\nDuration: 01:25:31\nDistance: 42.21 km"],
    [[1, 25, 32], 175, "Power: 175 watts\nDuration: 01:25:32\nDistance: 42.22 km"],
    [[1, 25, 33], 175, "Power: 175 watts\nDuration: 01:25:33\nDistance: 42.23 km"],
    [[1, 25, 34], 175, "Power: 175 watts\nDuration: 01:25:34\nDistance: 42.24 km"],
    [[1, 25, 35], 175, "Power: 175 watts\nDuration: 01:25:35\nDistance: 42.25 km"],
    [[1, 25, 36], 175, "Power: 175 watts\nDuration: 01:25:36\nDistance: 42.25 km"],
    [[1, 25, 37], 175, "Power: 175 watts\nDuration: 01:25:37\nDistance: 42.26 km"],
    [[1, 25, 38], 175, "Power: 175 watts\nDuration: 01:25:38\nDistance: 42.27 km"],
    [[1, 25, 39], 175, "Power: 175 watts\nDuration: 01:25:39\nDistance: 42.28 km"],
    [[1, 25, 40], 175, "Power: 175 watts\nDuration: 01:25:40\nDistance: 42.29 km"],
    [[1, 25, 41], 175, "Power: 175 watts\nDuration: 01:25:41\nDistance: 42.29 km"],
    [[1, 25, 42], 175, "Power: 175 watts\nDuration: 01:25:42\nDistance: 42.3 km"],
    [[1, 25, 43], 175, "Power: 175 watts\nDuration: 01:25:43\nDistance: 42.31 km"],
    [[1, 25, 44], 175, "Power: 175 watts\nDuration: 01:25:44\nDistance: 42.32 km"],
    [[1, 25, 45], 175, "Power: 175 watts\nDuration: 01:25:45\nDistance: 42.33 km"],
    [[1, 25, 46], 175, "Power: 175 watts\nDuration: 01:25:46\nDistance: 42.33 km"],
    [[1, 25, 47], 175, "Power: 175 watts\nDuration: 01:25:47\nDistance: 42.34 km"],
    [[1, 25, 48], 175, "Power: 175 watts\nDuration: 01:25:48\nDistance: 42.35 km"],
    [[1, 25, 49], 175, "Power: 175 watts\nDuration: 01:25:49\nDistance: 42.36 km"],
    [[1, 25, 50], 175, "Power: 175 watts\nDuration: 01:25:50\nDistance: 42.36 km"],
    [[1, 25, 51], 175, "Power: 175 watts\nDuration: 01:25:51\nDistance: 42.37 km"],
    [[1, 25, 52], 175, "Power: 175 watts\nDuration: 01:25:52\nDistance: 42.38 km"],
    [[1, 25, 53], 175, "Power: 175 watts\nDuration: 01:25:53\nDistance: 42.39 km"],
    [[1, 25, 54], 175, "Power: 175 watts\nDuration: 01:25:54\nDistance: 42.4 km"],
    [[1, 25, 55], 175, "Power: 175 watts\nDuration: 01:25:55\nDistance: 42.41 km"],
    [[1, 25, 56], 175, "Power: 175 watts\nDuration: 01:25:56\nDistance: 42.41 km"],
    [[1, 25, 57], 175, "Power: 175 watts\nDuration: 01:25:57\nDistance: 42.42 km"],
    [[1, 25, 58], 175, "Power: 175 watts\nDuration: 01:25:58\nDistance: 42.43 km"],
    [[1, 25, 59], 175, "Power: 175 watts\nDuration: 01:25:59\nDistance: 42.44 km"],
    [[1, 26, 0], 175, "Power: 175 watts\nDuration: 01:26:00\nDistance: 42.45 km"],
    [[1, 26, 1], 175, "Power: 175 watts\nDuration: 01:26:01\nDistance: 42.45 km"],
    [[1, 26, 2], 175, "Power: 175 watts\nDuration: 01:26:02\nDistance: 42.46 km"],
    [[1, 26, 3], 175, "Power: 175 watts\nDuration: 01:26:03\nDistance: 42.47 km"],
    [[1, 26, 4], 175, "Power: 175 watts\nDuration: 01:26:04\nDistance: 42.48 km"],
    [[1, 26, 5], 175, "Power: 175 watts\nDuration: 01:26:05\nDistance: 42.49 km"],
    [[1, 26, 6], 175, "Power: 175 watts\nDuration: 01:26:06\nDistance: 42.5 km"],
    [[1, 26, 7], 175, "Power: 175 watts\nDuration: 01:26:07\nDistance: 42.5 km"],
    [[1, 26, 8], 175, "Power: 175 watts\nDuration: 01:26:08\nDistance: 42.51 km"],
    [[1, 26, 9], 175, "Power: 175 watts\nDuration: 01:26:09\nDistance: 42.52 km"],
    [[1, 26, 10], 175, "Power: 175 watts\nDuration: 01:26:10\nDistance: 42.53 km"],
    [[1, 26, 11], 175, "Power: 175 watts\nDuration: 01:26:11\nDistance: 42.54 km"],
    [[1, 26, 12], 175, "Power: 175 watts\nDuration: 01:26:12\nDistance: 42.55 km"],
    [[1, 26, 13], 175, "Power: 175 watts\nDuration: 01:26:13\nDistance: 42.55 km"],
    [[1, 26, 14], 175, "Power: 175 watts\nDuration: 01:26:14\nDistance: 42.56 km"],
    [[1, 26, 15], 175, "Power: 175 watts\nDuration: 01:26:15\nDistance: 42.57 km"],
    [[1, 26, 16], 175, "Power: 175 watts\nDuration: 01:26:16\nDistance: 42.58 km"],
    [[1, 26, 17], 175, "Power: 175 watts\nDuration: 01:26:17\nDistance: 42.59 km"],
    [[1, 26, 18], 175, "Power: 175 watts\nDuration: 01:26:18\nDistance: 42.6 km"],
    [[1, 26, 19], 175, "Power: 175 watts\nDuration: 01:26:19\nDistance: 42.6 km"],
    [[1, 26, 20], 175, "Power: 175 watts\nDuration: 01:26:20\nDistance: 42.61 km"],
    [[1, 26, 21], 175, "Power: 175 watts\nDuration: 01:26:21\nDistance: 42.62 km"],
    [[1, 26, 22], 175, "Power: 175 watts\nDuration: 01:26:22\nDistance: 42.63 km"],
    [[1, 26, 23], 175, "Power: 175 watts\nDuration: 01:26:23\nDistance: 42.64 km"],
    [[1, 26, 24], 175, "Power: 175 watts\nDuration: 01:26:24\nDistance: 42.65 km"],
    [[1, 26, 25], 175, "Power: 175 watts\nDuration: 01:26:25\nDistance: 42.66 km"],
    [[1, 26, 26], 175, "Power: 175 watts\nDuration: 01:26:26\nDistance: 42.66 km"],
    [[1, 26, 27], 175, "Power: 175 watts\nDuration: 01:26:27\nDistance: 42.67 km"],
    [[1, 26, 28], 175, "Power: 175 watts\nDuration: 01:26:28\nDistance: 42.68 km"],
    [[1, 26, 29], 175, "Power: 175 watts\nDuration: 01:26:29\nDistance: 42.69 km"],
    [[1, 26, 30], 175, "Power: 175 watts\nDuration: 01:26:30\nDistance: 42.7 km"],
    [[1, 26, 31], 175, "Power: 175 watts\nDuration: 01:26:31\nDistance: 42.71 km"],
    [[1, 26, 32], 175, "Power: 175 watts\nDuration: 01:26:32\nDistance: 42.71 km"],
    [[1, 26, 33], 175, "Power: 175 watts\nDuration: 01:26:33\nDistance: 42.72 km"],
    [[1, 26, 34], 175, "Power: 175 watts\nDuration: 01:26:34\nDistance: 42.73 km"],
    [[1, 26, 35], 175, "Power: 175 watts\nDuration: 01:26:35\nDistance: 42.74 km"],
    [[1, 26, 36], 175, "Power: 175 watts\nDuration: 01:26:36\nDistance: 42.75 km"],
    [[1, 26, 37], 175, "Power: 175 watts\nDuration: 01:26:37\nDistance: 42.76 km"],
    [[1, 26, 38], 175, "Power: 175 watts\nDuration: 01:26:38\nDistance: 42.76 km"],
    [[1, 26, 39], 175, "Power: 175 watts\nDuration: 01:26:39\nDistance: 42.77 km"],
    [[1, 26, 40], 175, "Power: 175 watts\nDuration: 01:26:40\nDistance: 42.78 km"],
    [[1, 26, 41], 175, "Power: 175 watts\nDuration: 01:26:41\nDistance: 42.79 km"],
    [[1, 26, 42], 175, "Power: 175 watts\nDuration: 01:26:42\nDistance: 42.8 km"],
    [[1, 26, 43], 175, "Power: 175 watts\nDuration: 01:26:43\nDistance: 42.8 km"],
    [[1, 26, 44], 175, "Power: 175 watts\nDuration: 01:26:44\nDistance: 42.81 km"],
    [[1, 26, 45], 175, "Power: 175 watts\nDuration: 01:26:45\nDistance: 42.82 km"],
    [[1, 26, 46], 175, "Power: 175 watts\nDuration: 01:26:46\nDistance: 42.83 km"],
    [[1, 26, 47], 175, "Power: 175 watts\nDuration: 01:26:47\nDistance: 42.84 km"],
    [[1, 26, 48], 175, "Power: 175 watts\nDuration: 01:26:48\nDistance: 42.85 km"],
    [[1, 26, 49], 175, "Power: 175 watts\nDuration: 01:26:49\nDistance: 42.85 km"],
    [[1, 26, 50], 175, "Power: 175 watts\nDuration: 01:26:50\nDistance: 42.86 km"],
    [[1, 26, 51], 175, "Power: 175 watts\nDuration: 01:26:51\nDistance: 42.87 km"],
    [[1, 26, 52], 175, "Power: 175 watts\nDuration: 01:26:52\nDistance: 42.88 km"],
    [[1, 26, 53], 175, "Power: 175 watts\nDuration: 01:26:53\nDistance: 42.88 km"],
    [[1, 26, 54], 175, "Power: 175 watts\nDuration: 01:26:54\nDistance: 42.89 km"],
    [[1, 26, 55], 175, "Power: 175 watts\nDuration: 01:26:55\nDistance: 42.9 km"],
    [[1, 26, 56], 175, "Power: 175 watts\nDuration: 01:26:56\nDistance: 42.91 km"],
    [[1, 26, 57], 175, "Power: 175 watts\nDuration: 01:26:57\nDistance: 42.91 km"],
    [[1, 26, 58], 175, "Power: 175 watts\nDuration: 01:26:58\nDistance: 42.92 km"],
    [[1, 26, 59], 175, "Power: 175 watts\nDuration: 01:26:59\nDistance: 42.93 km"],
    [[1, 27, 0], 175, "Power: 175 watts\nDuration: 01:27:00\nDistance: 42.94 km"],
    [[1, 27, 1], 175, "Power: 175 watts\nDuration: 01:27:01\nDistance: 42.94 km"],
    [[1, 27, 2], 175, "Power: 175 watts\nDuration: 01:27:02\nDistance: 42.95 km"],
    [[1, 27, 3], 175, "Power: 175 watts\nDuration: 01:27:03\nDistance: 42.96 km"],
    [[1, 27, 4], 175, "Power: 175 watts\nDuration: 01:27:04\nDistance: 42.96 km"],
    [[1, 27, 5], 175, "Power: 175 watts\nDuration: 01:27:05\nDistance: 42.97 km"],
    [[1, 27, 6], 175, "Power: 175 watts\nDuration: 01:27:06\nDistance: 42.98 km"],
    [[1, 27, 7], 175, "Power: 175 watts\nDuration: 01:27:07\nDistance: 42.98 km"],
    [[1, 27, 8], 175, "Power: 175 watts\nDuration: 01:27:08\nDistance: 42.99 km"],
    [[1, 27, 9], 175, "Power: 175 watts\nDuration: 01:27:09\nDistance: 43 km"],
    [[1, 27, 10], 175, "Power: 175 watts\nDuration: 01:27:10\nDistance: 43 km"],
    [[1, 27, 11], 175, "Power: 175 watts\nDuration: 01:27:11\nDistance: 43.01 km"],
    [[1, 27, 12], 175, "Power: 175 watts\nDuration: 01:27:12\nDistance: 43.02 km"],
    [[1, 27, 13], 175, "Power: 175 watts\nDuration: 01:27:13\nDistance: 43.02 km"],
    [[1, 27, 14], 175, "Power: 175 watts\nDuration: 01:27:14\nDistance: 43.03 km"],
    [[1, 27, 15], 175, "Power: 175 watts\nDuration: 01:27:15\nDistance: 43.04 km"],
    [[1, 27, 16], 175, "Power: 175 watts\nDuration: 01:27:16\nDistance: 43.04 km"],
    [[1, 27, 17], 175, "Power: 175 watts\nDuration: 01:27:17\nDistance: 43.05 km"],
    [[1, 27, 18], 175, "Power: 175 watts\nDuration: 01:27:18\nDistance: 43.06 km"],
    [[1, 27, 19], 175, "Power: 175 watts\nDuration: 01:27:19\nDistance: 43.06 km"],
    [[1, 27, 20], 175, "Power: 175 watts\nDuration: 01:27:20\nDistance: 43.07 km"],
    [[1, 27, 21], 175, "Power: 175 watts\nDuration: 01:27:21\nDistance: 43.07 km"],
    [[1, 27, 22], 175, "Power: 175 watts\nDuration: 01:27:22\nDistance: 43.08 km"],
    [[1, 27, 23], 175, "Power: 175 watts\nDuration: 01:27:23\nDistance: 43.09 km"],
    [[1, 27, 24], 175, "Power: 175 watts\nDuration: 01:27:24\nDistance: 43.09 km"],
    [[1, 27, 25], 175, "Power: 175 watts\nDuration: 01:27:25\nDistance: 43.1 km"],
    [[1, 27, 26], 175, "Power: 175 watts\nDuration: 01:27:26\nDistance: 43.11 km"],
    [[1, 27, 27], 175, "Power: 175 watts\nDuration: 01:27:27\nDistance: 43.11 km"],
    [[1, 27, 28], 175, "Power: 175 watts\nDuration: 01:27:28\nDistance: 43.12 km"],
    [[1, 27, 29], 175, "Power: 175 watts\nDuration: 01:27:29\nDistance: 43.13 km"],
    [[1, 27, 30], 175, "Power: 175 watts\nDuration: 01:27:30\nDistance: 43.13 km"],
    [[1, 27, 31], 175, "Power: 175 watts\nDuration: 01:27:31\nDistance: 43.14 km"],
    [[1, 27, 32], 175, "Power: 175 watts\nDuration: 01:27:32\nDistance: 43.14 km"],
    [[1, 27, 33], 175, "Power: 175 watts\nDuration: 01:27:33\nDistance: 43.15 km"],
    [[1, 27, 34], 175, "Power: 175 watts\nDuration: 01:27:34\nDistance: 43.16 km"],
    [[1, 27, 35], 175, "Power: 175 watts\nDuration: 01:27:35\nDistance: 43.16 km"],
    [[1, 27, 36], 175, "Power: 175 watts\nDuration: 01:27:36\nDistance: 43.17 km"],
    [[1, 27, 37], 175, "Power: 175 watts\nDuration: 01:27:37\nDistance: 43.17 km"],
    [[1, 27, 38], 175, "Power: 175 watts\nDuration: 01:27:38\nDistance: 43.18 km"],
    [[1, 27, 39], 175, "Power: 175 watts\nDuration: 01:27:39\nDistance: 43.19 km"],
    [[1, 27, 40], 175, "Power: 175 watts\nDuration: 01:27:40\nDistance: 43.19 km"],
    [[1, 27, 41], 175, "Power: 175 watts\nDuration: 01:27:41\nDistance: 43.2 km"],
    [[1, 27, 42], 175, "Power: 175 watts\nDuration: 01:27:42\nDistance: 43.2 km"],
    [[1, 27, 43], 175, "Power: 175 watts\nDuration: 01:27:43\nDistance: 43.21 km"],
    [[1, 27, 44], 175, "Power: 175 watts\nDuration: 01:27:44\nDistance: 43.22 km"],
    [[1, 27, 45], 175, "Power: 175 watts\nDuration: 01:27:45\nDistance: 43.22 km"],
    [[1, 27, 46], 175, "Power: 175 watts\nDuration: 01:27:46\nDistance: 43.23 km"],
    [[1, 27, 47], 175, "Power: 175 watts\nDuration: 01:27:47\nDistance: 43.24 km"],
    [[1, 27, 48], 175, "Power: 175 watts\nDuration: 01:27:48\nDistance: 43.24 km"],
    [[1, 27, 49], 175, "Power: 175 watts\nDuration: 01:27:49\nDistance: 43.25 km"],
    [[1, 27, 50], 175, "Power: 175 watts\nDuration: 01:27:50\nDistance: 43.26 km"],
    [[1, 27, 51], 175, "Power: 175 watts\nDuration: 01:27:51\nDistance: 43.26 km"],
    [[1, 27, 52], 175, "Power: 175 watts\nDuration: 01:27:52\nDistance: 43.27 km"],
    [[1, 27, 53], 175, "Power: 175 watts\nDuration: 01:27:53\nDistance: 43.28 km"],
    [[1, 27, 54], 175, "Power: 175 watts\nDuration: 01:27:54\nDistance: 43.28 km"],
    [[1, 27, 55], 174, "Power: 174 watts\nDuration: 01:27:55\nDistance: 43.29 km"],
    [[1, 27, 56], 174, "Power: 174 watts\nDuration: 01:27:56\nDistance: 43.3 km"],
    [[1, 27, 57], 174, "Power: 174 watts\nDuration: 01:27:57\nDistance: 43.31 km"],
    [[1, 27, 58], 174, "Power: 174 watts\nDuration: 01:27:58\nDistance: 43.31 km"],
    [[1, 27, 59], 174, "Power: 174 watts\nDuration: 01:27:59\nDistance: 43.32 km"],
    [[1, 28, 0], 175, "Power: 175 watts\nDuration: 01:28:00\nDistance: 43.33 km"],
    [[1, 28, 1], 175, "Power: 175 watts\nDuration: 01:28:01\nDistance: 43.33 km"],
    [[1, 28, 2], 175, "Power: 175 watts\nDuration: 01:28:02\nDistance: 43.34 km"],
    [[1, 28, 3], 175, "Power: 175 watts\nDuration: 01:28:03\nDistance: 43.34 km"],
    [[1, 28, 4], 175, "Power: 175 watts\nDuration: 01:28:04\nDistance: 43.35 km"],
    [[1, 28, 5], 175, "Power: 175 watts\nDuration: 01:28:05\nDistance: 43.36 km"],
    [[1, 28, 6], 175, "Power: 175 watts\nDuration: 01:28:06\nDistance: 43.36 km"],
    [[1, 28, 7], 175, "Power: 175 watts\nDuration: 01:28:07\nDistance: 43.37 km"],
    [[1, 28, 8], 175, "Power: 175 watts\nDuration: 01:28:08\nDistance: 43.38 km"],
    [[1, 28, 9], 175, "Power: 175 watts\nDuration: 01:28:09\nDistance: 43.38 km"],
    [[1, 28, 10], 175, "Power: 175 watts\nDuration: 01:28:10\nDistance: 43.39 km"],
    [[1, 28, 11], 175, "Power: 175 watts\nDuration: 01:28:11\nDistance: 43.4 km"],
    [[1, 28, 12], 174, "Power: 174 watts\nDuration: 01:28:12\nDistance: 43.4 km"],
    [[1, 28, 13], 174, "Power: 174 watts\nDuration: 01:28:13\nDistance: 43.41 km"],
    [[1, 28, 14], 174, "Power: 174 watts\nDuration: 01:28:14\nDistance: 43.42 km"],
    [[1, 28, 15], 174, "Power: 174 watts\nDuration: 01:28:15\nDistance: 43.42 km"],
    [[1, 28, 16], 174, "Power: 174 watts\nDuration: 01:28:16\nDistance: 43.43 km"],
    [[1, 28, 17], 174, "Power: 174 watts\nDuration: 01:28:17\nDistance: 43.44 km"],
    [[1, 28, 18], 174, "Power: 174 watts\nDuration: 01:28:18\nDistance: 43.44 km"],
    [[1, 28, 19], 174, "Power: 174 watts\nDuration: 01:28:19\nDistance: 43.45 km"],
    [[1, 28, 20], 174, "Power: 174 watts\nDuration: 01:28:20\nDistance: 43.46 km"],
    [[1, 28, 21], 174, "Power: 174 watts\nDuration: 01:28:21\nDistance: 43.46 km"],
    [[1, 28, 22], 174, "Power: 174 watts\nDuration: 01:28:22\nDistance: 43.47 km"],
    [[1, 28, 23], 174, "Power: 174 watts\nDuration: 01:28:23\nDistance: 43.48 km"],
    [[1, 28, 24], 174, "Power: 174 watts\nDuration: 01:28:24\nDistance: 43.49 km"],
    [[1, 28, 25], 174, "Power: 174 watts\nDuration: 01:28:25\nDistance: 43.5 km"],
    [[1, 28, 26], 174, "Power: 174 watts\nDuration: 01:28:26\nDistance: 43.5 km"],
    [[1, 28, 27], 174, "Power: 174 watts\nDuration: 01:28:27\nDistance: 43.51 km"],
    [[1, 28, 28], 174, "Power: 174 watts\nDuration: 01:28:28\nDistance: 43.52 km"],
    [[1, 28, 29], 174, "Power: 174 watts\nDuration: 01:28:29\nDistance: 43.53 km"],
    [[1, 28, 30], 174, "Power: 174 watts\nDuration: 01:28:30\nDistance: 43.54 km"],
    [[1, 28, 31], 174, "Power: 174 watts\nDuration: 01:28:31\nDistance: 43.55 km"],
    [[1, 28, 32], 174, "Power: 174 watts\nDuration: 01:28:32\nDistance: 43.55 km"],
    [[1, 28, 33], 174, "Power: 174 watts\nDuration: 01:28:33\nDistance: 43.56 km"],
    [[1, 28, 34], 174, "Power: 174 watts\nDuration: 01:28:34\nDistance: 43.57 km"],
    [[1, 28, 35], 174, "Power: 174 watts\nDuration: 01:28:35\nDistance: 43.58 km"],
    [[1, 28, 36], 174, "Power: 174 watts\nDuration: 01:28:36\nDistance: 43.59 km"],
    [[1, 28, 37], 174, "Power: 174 watts\nDuration: 01:28:37\nDistance: 43.6 km"],
    [[1, 28, 38], 174, "Power: 174 watts\nDuration: 01:28:38\nDistance: 43.61 km"],
    [[1, 28, 39], 174, "Power: 174 watts\nDuration: 01:28:39\nDistance: 43.62 km"],
    [[1, 28, 40], 174, "Power: 174 watts\nDuration: 01:28:40\nDistance: 43.63 km"],
    [[1, 28, 41], 174, "Power: 174 watts\nDuration: 01:28:41\nDistance: 43.64 km"],
    [[1, 28, 42], 174, "Power: 174 watts\nDuration: 01:28:42\nDistance: 43.65 km"],
    [[1, 28, 43], 174, "Power: 174 watts\nDuration: 01:28:43\nDistance: 43.66 km"],
    [[1, 28, 44], 174, "Power: 174 watts\nDuration: 01:28:44\nDistance: 43.67 km"],
    [[1, 28, 45], 174, "Power: 174 watts\nDuration: 01:28:45\nDistance: 43.68 km"],
    [[1, 28, 46], 174, "Power: 174 watts\nDuration: 01:28:46\nDistance: 43.69 km"],
    [[1, 28, 47], 174, "Power: 174 watts\nDuration: 01:28:47\nDistance: 43.7 km"],
    [[1, 28, 48], 174, "Power: 174 watts\nDuration: 01:28:48\nDistance: 43.71 km"],
    [[1, 28, 49], 174, "Power: 174 watts\nDuration: 01:28:49\nDistance: 43.72 km"],
    [[1, 28, 50], 174, "Power: 174 watts\nDuration: 01:28:50\nDistance: 43.73 km"],
    [[1, 28, 51], 174, "Power: 174 watts\nDuration: 01:28:51\nDistance: 43.74 km"],
    [[1, 28, 52], 174, "Power: 174 watts\nDuration: 01:28:52\nDistance: 43.75 km"],
    [[1, 28, 53], 174, "Power: 174 watts\nDuration: 01:28:53\nDistance: 43.76 km"],
    [[1, 28, 54], 174, "Power: 174 watts\nDuration: 01:28:54\nDistance: 43.78 km"],
    [[1, 28, 55], 174, "Power: 174 watts\nDuration: 01:28:55\nDistance: 43.79 km"],
    [[1, 28, 56], 174, "Power: 174 watts\nDuration: 01:28:56\nDistance: 43.8 km"],
    [[1, 28, 57], 174, "Power: 174 watts\nDuration: 01:28:57\nDistance: 43.81 km"],
    [[1, 28, 58], 174, "Power: 174 watts\nDuration: 01:28:58\nDistance: 43.82 km"],
    [[1, 28, 59], 174, "Power: 174 watts\nDuration: 01:28:59\nDistance: 43.82 km"],
    [[1, 29, 0], 174, "Power: 174 watts\nDuration: 01:29:00\nDistance: 43.83 km"],
    [[1, 29, 1], 174, "Power: 174 watts\nDuration: 01:29:01\nDistance: 43.84 km"],
    [[1, 29, 2], 174, "Power: 174 watts\nDuration: 01:29:02\nDistance: 43.85 km"],
    [[1, 29, 3], 174, "Power: 174 watts\nDuration: 01:29:03\nDistance: 43.86 km"],
    [[1, 29, 4], 174, "Power: 174 watts\nDuration: 01:29:04\nDistance: 43.87 km"],
    [[1, 29, 5], 174, "Power: 174 watts\nDuration: 01:29:05\nDistance: 43.88 km"],
    [[1, 29, 6], 174, "Power: 174 watts\nDuration: 01:29:06\nDistance: 43.89 km"],
    [[1, 29, 7], 174, "Power: 174 watts\nDuration: 01:29:07\nDistance: 43.9 km"],
    [[1, 29, 8], 174, "Power: 174 watts\nDuration: 01:29:08\nDistance: 43.91 km"],
    [[1, 29, 9], 174, "Power: 174 watts\nDuration: 01:29:09\nDistance: 43.92 km"],
    [[1, 29, 10], 174, "Power: 174 watts\nDuration: 01:29:10\nDistance: 43.93 km"],
    [[1, 29, 11], 174, "Power: 174 watts\nDuration: 01:29:11\nDistance: 43.94 km"],
    [[1, 29, 12], 174, "Power: 174 watts\nDuration: 01:29:12\nDistance: 43.96 km"],
    [[1, 29, 13], 174, "Power: 174 watts\nDuration: 01:29:13\nDistance: 43.97 km"],
    [[1, 29, 14], 174, "Power: 174 watts\nDuration: 01:29:14\nDistance: 43.98 km"],
    [[1, 29, 15], 173, "Power: 173 watts\nDuration: 01:29:15\nDistance: 43.99 km"],
    [[1, 29, 16], 173, "Power: 173 watts\nDuration: 01:29:16\nDistance: 44 km"],
    [[1, 29, 17], 173, "Power: 173 watts\nDuration: 01:29:17\nDistance: 44.01 km"],
    [[1, 29, 18], 173, "Power: 173 watts\nDuration: 01:29:18\nDistance: 44.02 km"],
    [[1, 29, 19], 173, "Power: 173 watts\nDuration: 01:29:19\nDistance: 44.03 km"],
    [[1, 29, 20], 173, "Power: 173 watts\nDuration: 01:29:20\nDistance: 44.04 km"],
    [[1, 29, 21], 173, "Power: 173 watts\nDuration: 01:29:21\nDistance: 44.05 km"],
    [[1, 29, 22], 173, "Power: 173 watts\nDuration: 01:29:22\nDistance: 44.06 km"],
    [[1, 29, 23], 173, "Power: 173 watts\nDuration: 01:29:23\nDistance: 44.07 km"],
    [[1, 29, 24], 173, "Power: 173 watts\nDuration: 01:29:24\nDistance: 44.08 km"],
    [[1, 29, 25], 173, "Power: 173 watts\nDuration: 01:29:25\nDistance: 44.09 km"],
    [[1, 29, 26], 173, "Power: 173 watts\nDuration: 01:29:26\nDistance: 44.1 km"],
    [[1, 29, 27], 173, "Power: 173 watts\nDuration: 01:29:27\nDistance: 44.11 km"],
    [[1, 29, 28], 173, "Power: 173 watts\nDuration: 01:29:28\nDistance: 44.12 km"],
    [[1, 29, 29], 173, "Power: 173 watts\nDuration: 01:29:29\nDistance: 44.13 km"],
    [[1, 29, 30], 173, "Power: 173 watts\nDuration: 01:29:30\nDistance: 44.14 km"],
    [[1, 29, 31], 173, "Power: 173 watts\nDuration: 01:29:31\nDistance: 44.15 km"],
    [[1, 29, 32], 173, "Power: 173 watts\nDuration: 01:29:32\nDistance: 44.16 km"],
    [[1, 29, 33], 173, "Power: 173 watts\nDuration: 01:29:33\nDistance: 44.17 km"],
    [[1, 29, 34], 173, "Power: 173 watts\nDuration: 01:29:34\nDistance: 44.17 km"],
    [[1, 29, 35], 173, "Power: 173 watts\nDuration: 01:29:35\nDistance: 44.18 km"],
    [[1, 29, 36], 173, "Power: 173 watts\nDuration: 01:29:36\nDistance: 44.18 km"],
    [[1, 29, 37], 173, "Power: 173 watts\nDuration: 01:29:37\nDistance: 44.19 km"],
    [[1, 29, 38], 173, "Power: 173 watts\nDuration: 01:29:38\nDistance: 44.19 km"],
    [[1, 29, 39], 173, "Power: 173 watts\nDuration: 01:29:39\nDistance: 44.2 km"],
    [[1, 29, 40], 173, "Power: 173 watts\nDuration: 01:29:40\nDistance: 44.2 km"],
    [[1, 29, 41], 173, "Power: 173 watts\nDuration: 01:29:41\nDistance: 44.21 km"],
    [[1, 29, 42], 173, "Power: 173 watts\nDuration: 01:29:42\nDistance: 44.21 km"],
    [[1, 29, 43], 173, "Power: 173 watts\nDuration: 01:29:43\nDistance: 44.21 km"],
    [[1, 29, 44], 173, "Power: 173 watts\nDuration: 01:29:44\nDistance: 44.22 km"],
    [[1, 29, 45], 173, "Power: 173 watts\nDuration: 01:29:45\nDistance: 44.22 km"],
    [[1, 29, 46], 173, "Power: 173 watts\nDuration: 01:29:46\nDistance: 44.22 km"],
    [[1, 29, 47], 173, "Power: 173 watts\nDuration: 01:29:47\nDistance: 44.23 km"],
    [[1, 29, 48], 173, "Power: 173 watts\nDuration: 01:29:48\nDistance: 44.23 km"],
    [[1, 29, 49], 173, "Power: 173 watts\nDuration: 01:29:49\nDistance: 44.24 km"],
    [[1, 29, 50], 173, "Power: 173 watts\nDuration: 01:29:50\nDistance: 44.24 km"],
    [[1, 29, 51], 173, "Power: 173 watts\nDuration: 01:29:51\nDistance: 44.24 km"],
    [[1, 29, 52], 173, "Power: 173 watts\nDuration: 01:29:52\nDistance: 44.24 km"],
    [[1, 29, 53], 173, "Power: 173 watts\nDuration: 01:29:53\nDistance: 44.25 km"],
    [[1, 29, 54], 173, "Power: 173 watts\nDuration: 01:29:54\nDistance: 44.25 km"],
    [[1, 29, 55], 173, "Power: 173 watts\nDuration: 01:29:55\nDistance: 44.25 km"],
    [[1, 29, 56], 173, "Power: 173 watts\nDuration: 01:29:56\nDistance: 44.26 km"],
    [[1, 29, 57], 173, "Power: 173 watts\nDuration: 01:29:57\nDistance: 44.26 km"],
    [[1, 29, 58], 173, "Power: 173 watts\nDuration: 01:29:58\nDistance: 44.27 km"],
    [[1, 29, 59], 173, "Power: 173 watts\nDuration: 01:29:59\nDistance: 44.27 km"],
    [[1, 30, 0], 173, "Power: 173 watts\nDuration: 01:30:00\nDistance: 44.28 km"],
    [[1, 30, 1], 172, "Power: 172 watts\nDuration: 01:30:01\nDistance: 44.28 km"],
    [[1, 30, 2], 172, "Power: 172 watts\nDuration: 01:30:02\nDistance: 44.28 km"],
    [[1, 30, 3], 172, "Power: 172 watts\nDuration: 01:30:03\nDistance: 44.29 km"],
    [[1, 30, 4], 172, "Power: 172 watts\nDuration: 01:30:04\nDistance: 44.29 km"],
    [[1, 30, 5], 172, "Power: 172 watts\nDuration: 01:30:05\nDistance: 44.29 km"],
    [[1, 30, 6], 172, "Power: 172 watts\nDuration: 01:30:06\nDistance: 44.3 km"],
    [[1, 30, 7], 172, "Power: 172 watts\nDuration: 01:30:07\nDistance: 44.3 km"],
    [[1, 30, 8], 172, "Power: 172 watts\nDuration: 01:30:08\nDistance: 44.31 km"],
    [[1, 30, 9], 172, "Power: 172 watts\nDuration: 01:30:09\nDistance: 44.31 km"],
    [[1, 30, 10], 172, "Power: 172 watts\nDuration: 01:30:10\nDistance: 44.31 km"],
    [[1, 30, 11], 172, "Power: 172 watts\nDuration: 01:30:11\nDistance: 44.31 km"],
    [[1, 30, 12], 172, "Power: 172 watts\nDuration: 01:30:12\nDistance: 44.32 km"],
    [[1, 30, 13], 172, "Power: 172 watts\nDuration: 01:30:13\nDistance: 44.32 km"],
    [[1, 30, 14], 172, "Power: 172 watts\nDuration: 01:30:14\nDistance: 44.32 km"],
    [[1, 30, 15], 172, "Power: 172 watts\nDuration: 01:30:15\nDistance: 44.33 km"],
    [[1, 30, 16], 172, "Power: 172 watts\nDuration: 01:30:16\nDistance: 44.33 km"],
    [[1, 30, 17], 172, "Power: 172 watts\nDuration: 01:30:17\nDistance: 44.34 km"],
    [[1, 30, 18], 172, "Power: 172 watts\nDuration: 01:30:18\nDistance: 44.34 km"],
    [[1, 30, 19], 172, "Power: 172 watts\nDuration: 01:30:19\nDistance: 44.34 km"],
    [[1, 30, 20], 172, "Power: 172 watts\nDuration: 01:30:20\nDistance: 44.35 km"],
    [[1, 30, 21], 172, "Power: 172 watts\nDuration: 01:30:21\nDistance: 44.35 km"],
    [[1, 30, 22], 172, "Power: 172 watts\nDuration: 01:30:22\nDistance: 44.36 km"],
    [[1, 30, 23], 172, "Power: 172 watts\nDuration: 01:30:23\nDistance: 44.36 km"],
    [[1, 30, 24], 172, "Power: 172 watts\nDuration: 01:30:24\nDistance: 44.37 km"],
    [[1, 30, 25], 172, "Power: 172 watts\nDuration: 01:30:25\nDistance: 44.37 km"],
    [[1, 30, 26], 172, "Power: 172 watts\nDuration: 01:30:26\nDistance: 44.37 km"]
]
stoufa06 commented 4 months ago

@dlaliberte The good news is that your workaround has worked: hAxis.viewWindow : [0,0,1] The bad new is there are 2 other problems :

Ticks :

[
    {
        "v": [0, 0, 1],
        "f": "1s"
    },
    {
        "v": [0, 0, 15],
        "f": "15s"
    },
    {
        "v": [0, 0, 30],
        "f": "30s"
    },
    {
        "v": [0, 1, 0],
        "f": "1m"
    },
    {
        "v": [0, 5, 0],
        "f": "5m"
    },
    {
        "v": [0, 10, 0],
        "f": "10m"
    },
    {
        "v": [0, 15, 0],
        "f": "15m"
    },
    {
        "v": [0, 20, 0],
        "f": "20m"
    },
    {
        "v": [0, 30, 0],
        "f": "30m"
    },
    {
        "v": [0, 45, 0],
        "f": "45m"
    },
    {
        "v": [1, 0, 0],
        "f": "1.0h"
    },
    {
        "v": [1, 30, 0],
        "f": "1.5h"
    }
]

Not Aligned 15m tick and graph value time is 27:29

image

Not Aligned 30m tick and graph value time is 53:58

image

3 ticks missing at the end: 45m, 1h, 1.5h

image
dlaliberte commented 3 months ago

I can't tell exactly what is going on with the alignment of data values and ticks, but it does appear to be one or two more bugs.

In any event, a far better workaround would be to shift all of your data up by 1 second, so there would be no 0 time value to cause the generation of a too-large linear region. This ought to avoid the misalignment problem as well.

stoufa06 commented 3 months ago

@dlaliberte I have already tried to remove the zero first value. Misalignment problem is not related to it. I think it is related with log scale. When i specify logScale : true, horizontal axis labels disappears. So i have to specify ticks manually. I was wondering if we can get the source code to debug it. Not sure if there are any repo.

dlaliberte commented 3 months ago

The source code for this chart will be released soon, say within a month or two.

If the misalignment problem was not present when you simply removed the zero first value, then that problem is probably due to a combination of the viewWindow and log scale.

But if you could add 1 second to all your data, then it will all be correct, as offsets from 0, and then also there will be no zero first value, so there will be no linear region. Please try that.

stoufa06 commented 3 months ago

@dlaliberte I have tried many combinations. when log scale is applied nothing works as expected. Ticks does not display, zoom does not work, gridlines ticks, minorgridlines ticks. I have to move on from this. It is taking too much time and not really worth it.

dlaliberte commented 3 months ago

Have you tried this: add 1 second to all your data.

stoufa06 commented 3 months ago

@dlaliberte One second shift

    $secs = ($this->timeSerie[$interval] ?? 0) + 1;
image image
stoufa06 commented 3 months ago

@dlaliberte Besides, one second shift does not make sens, i have to display real data to user.