You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are several issues with Highcharts 2.2.0 when attempting to use a logarithmic Y-axis with a datetime X-axis. If the Y-axis extremes are not explicitly set to something like [0.1, 10000.0], it fails to render at all. Even if you set that and it renders the series initially, subsequent calls to series.setData with an updated series does not render the new points, and the console has lots of errors like this:
Error: Problem parsing d="M -7.9 202.8 L 2.1 202.8 L 5.7 181.2 L 9.3 181.7 L 12.8 188.7 L 16.4 182.4 L 20.8 189.9 L 24.3
183.4 L 27.9 219.3 L 31.5 272.5 L 35.1 257.6 L 38.7 215.1 L 42.3 300.8 L 45.9 249.4 L 50.2 240.7 L 53.8 248.4 L 57.4
222.2 L 61 291.9 L 64.6 250.5 L 68.2 233.4 L 71.8 307.9 L 76.1 248.4 L 79.7 230.5 L 83.2 233.4 L 86.8 211.7 L 90.4 326.4
L 94.7 280.1 L 98.3 221.6 L 101.9 185.4 L 105.5 181.7 L 109.1 205.2 L 112.7 184.4 L 116.3 186.8 L 119.9 191.9 L 124.2
188.7 L 127.8 203.2 L 131.4 200.6 L 135 183.4 L 138.6 187.1 L 142.1 197.4 L 145.7 202.5 L 149.3 195.4 L 152.9 206 L
157.2 190.4 L 160.8 195.4 L 164.4 180.5 L 168 179.5 L 171.6 207.3 L 175.2 358.1 L 178.8 228.5 L 182.4 218.8 L 186.7
236.5 L 190.3 218.8 L 193.9 260.2 L 197.5 229.1 L 201.1 216.7 L 204.6 227.1 L 208.2 212.2 L 211.8 294.7 L 215.4 239.9 L
219 267.5 L 223.3 212.2 L 226.9 258.9 L 230.5 316.2 L 234.1 234.2 L 237.7 282.2 L 241.3 245.4 L 244.9 213.6 L 248.5
202.1 L 252.1 195.1 L 256.4 189.9 L 260 186.8 L 263.5 186 L 267.1 203.2 L 270.7 210.8 L 274.3 202.1 L 277.9 185.2 L
281.5 210.3 L 285.8 204.4 L 289.4 184.7 L 293 182.4 L 296.6 196.7 L 300.2 180 L 303.8 195.4 L 307.4 205.2 L 311 206.9 L
314.5 195.1 L 318.9 180.7 L 322.5 263 L 326 223.4 L 329.6 241.6 L 333.2 421.6 L 336.8 247.4 L 340.4 227.1 L 344 316.2 L
347.6 274.3 L 351.9 294.7 L 355.5 261.5 L 359.1 247.4 L 362.7 235.7 L 366.3 244.4 L 369.9 219.3 L 373.5 217.2 L 377
339.6 L 380.6 244.4 L 384.2 278.1 L 388.5 213.6 L 392.1 242.5 L 395.7 198.4 L 399.3 187.6 L 402.9 196.1 L 406.5 209.4 L
410.1 210.8 L 413.7 182.1 L 417.3 185.4 L 421.6 195.7 L 425.2 203.2 L 428.8 208.1 L 432.4 200.2 L 435.9 194.1 L 439.5
182.4 L 443.1 206.4 L 446.7 205.6 L 450.3 195.7 L 454.6 179.3 L 458.2 191.9 L 461.8 189.3 L 465.4 191 L 469 304.2 L
472.6 291.9 L 476.2 211.7 L 479.8 219.9 L 483.4 304.2 L 487.7 234.2 L 491.3 347.9 L 494.9 223.4 L 498.4 278.1 L 502
216.1 L 505.6 230.5 L 509.9 282.2 L 513.5 225.2 L 517.1 221.6 L 520.7 214.1 L 524.3 248.4 L 527.9 332.5 L 531.5 219.9 L
535.1 211.7 L 538.7 216.1 L 543 185.7 L 546.6 182.6 L 550.2 205.6 L 553.8 204 L 557.3 189.6 L 560.9 210.8 L 564.5 187.1
L 568.1 203.2 L 572.4 180.5 L 576 189 L 579.6 184.9 L 583.2 198.8 L 586.8 188.7 L 590.4 192.2 L 594 201.7 L 598.3 183.1
L 601.9 198.4 L 605.5 183.4 L 609.1 203.6 L 612.7 185.7 L 616.2 220.4 L 619.8 270.7 L 623.4 421.6 L 627 311.8 L 630.6
216.1 L 634.9 264.4 L 638.5 212.2 L 642.1 230.5 L 645.7 248.4 L 649.3 269.1 L 652.9 289.3 L 656.5 245.4 L 660.1 239 L
663.7 214.6 L 668 224 L 671.6 389.9 L 675.2 251.6 L 678.7 307.9 L 682.3 238.2 L 685.9 321 L 689.5 188.2 L 693.1 200.6 L
696.7 192.9 L 701 186 L 704.6 187.9 L 708.2 209 L 711.8 183.6 L 715.4 210.3 L 719 202.5 L 722.6 193.5 L 726.2 194.1 L
729.7 203.6 L 733.3 192.2 L 737.6 199.5 L 741.2 187.1 L 744.8 183.6 L 748.4 192.9 L 752 208.1 L 755.6 187.9 L 759.2
187.6 L 762.8 332.5 L 766.4 245.4 L 770.7 214.1 L 774.3 253.9 L 777.9 216.7 L 781.5 257.6 L 785.1 211.7 L 788.6 235.7 L
792.2 270.7 L 795.8 269.1 L 799.4 347.9 L 803.7 214.1 L 807.3 265.9 L 810.9 326.4 L 814.5 235.7 L 818.1 421.6 L 821.7
332.5 L 825.3 239.9 L 828.9 218.8 L 833.2 212.2 L 836.8 200.6 L 840.4 195.1 L 844 190.2 L 847.6 182.4 L 851.9 180.7 L
855.5 205.2 L 859 186.2 L 862.6 206 L 866.2 183.4 L 869.8 180.9 L 873.4 209 L 877 179.8 L 880.6 191 L 884.2 191.3 L
888.5 180 L 892.1 194.1 L 895.7 203.2 L 899.3 195.4 L 902.9 208.1 L 906.5 190.7 L 910 282.2 L 913.6 251.6 L 917.9 234.2
L 921.5 241.6 L 925.1 300.8 L 928.7 274.3 L 932.3 321 L 935.9 297.6 L 939.5 264.4 L 943.8 311.8 L 947.4 261.5 L 951
253.9 L 954.6 218.8 L 958.2 282.2 L 961.8 311.8 L 965.4 219.9 L 969 232.7 L 972.5 284.5 L 976.9 212.7 L 980.4 233.4 L
984 196.1 L 987.6 199.9 L 991.2 181.7 L 994.8 186 L 999.1 203.6 L 1002.7 199.9 L 1006.3 185.2 L 1009.9 182.6 L 1013.5
183.1 L 1017.1 182.6 L 1020.7 182.1 L 1024.3 187.9 L 1027.9 206.4 L 1032.2 179.5 L 1035.8 199.9 L 1039.3 201 L 1042.9
179.3 L 1046.5 206.9 L 1050.1 209 L 1053.7 195.7 L 1058 244.4 L 1061.6 270.7 L 1065.2 297.6 L 1068.8 221 L 1072.4
213.1 L 1076 278.1 L 1079.6 222.8 L 1083.2 311.8 L 1086.8 247.4 L 1091.1 Infinity L 1094.7 265.9 L 1098.3 300.8 L
1101.8 239.9 L 1105.4 332.5 L 1109 236.5 L 1112.6 252.7 L 1116.2 225.8 L 1119.8 216.7 L 1124.1 219.3 L 1127.7 278.1 L
1131.3 184.9 L 1134.9 207.3 L 1138.5 179.3 L 1142.1 205.2 L 1145.7 198.4 L 1149.3 200.6 L 1153.6 181.9 L 1157.2 194.4
L 1160.7 186.5 L 1164.3 180.2 L 1167.9 192.2 L 1171.5 201.7 L 1175.1 190.4 L 1178.7 190.2 L 1182.3 187.6 L 1185.9
184.7 L 1190.2 183.1 L 1193.8 184.9 L 1197.4 209 L 1201 179.3 L 1204.6 211.3 L 1208.2 222.8 L 1211.7 307.9 L 1216.1
214.6 L 1219.6 218.2 L 1223.2 263 L 1226.8 258.9 L 1230.4 223.4 L 1234 235 L 1237.6 215.1 L 1241.2 316.2 L 1245.5
294.7 L 1249.1 224.6 L 1252.7 225.8 L 1256.3 347.9 L 1260.6 280.1 L 1264.2 289.3 L 1267.8 248.4 L 1271.4 215.6 L 1275
222.2 L 1278.6 201.7 L 1282.9 195.4 L 1286.5 189.6 L 1290 184.4 L 1300 184.4"
The text was updated successfully, but these errors were encountered:
The error is in the data - the data set in this example contains 0 values, which don't apply to a log axis. When you omit setting yAxis.min, Highcharts correctly throws this error in the console. However, when you set min to 0.1, it slips the error checker and tries to plot the 0 values. So the bug fix is to extend the error check to look for zero or subzero dataMin as well as axis min.
PS: The connection to datetime x axis is a coincident, it doesn't really have anything to do with the real issue.
There are several issues with Highcharts 2.2.0 when attempting to use a
logarithmic
Y-axis with adatetime
X-axis. If the Y-axis extremes are not explicitly set to something like [0.1, 10000.0], it fails to render at all. Even if you set that and it renders the series initially, subsequent calls toseries.setData
with an updated series does not render the new points, and the console has lots of errors like this:The text was updated successfully, but these errors were encountered: