corrade-nucleus-nucleons – Diff between revs 1 and 11
?pathlinks?
Rev 1 | Rev 11 | |||
---|---|---|---|---|
Line 1... | Line 1... | |||
1 | /** |
1 | /** |
|
2 | * @license Highcharts JS v5.0.10 (2017-03-31) |
2 | * @license Highcharts JS v5.0.12 (2017-05-24) |
|
3 | * Boost module |
3 | * Boost module |
|
4 | * |
4 | * |
|
5 | * (c) 2010-2017 Highsoft AS |
5 | * (c) 2010-2017 Highsoft AS |
|
6 | * Author: Torstein Honsi |
6 | * Author: Torstein Honsi |
|
7 | * |
7 | * |
|
Line 113... | Line 113... | |||
113 | * |
113 | * |
|
114 | * @default 5000 |
114 | * @default 5000 |
|
115 | * @apioption series.boostThreshold |
115 | * @apioption series.boostThreshold |
|
116 | */ |
116 | */ |
|
Line 117... | Line 117... | |||
117 | |
117 | |
|
Line 118... | Line 118... | |||
118 | /* global Float32Array, Image */ |
118 | /* global Float32Array */ |
|
119 | |
119 | |
|
120 | |
120 | |
|
Line 282... | Line 282... | |||
282 | whitesmoke: '#f5f5f5', |
282 | whitesmoke: '#f5f5f5', |
|
283 | yellow: '#ffff00', |
283 | yellow: '#ffff00', |
|
284 | yellowgreen: '#9acd32' |
284 | yellowgreen: '#9acd32' |
|
285 | }; |
285 | }; |
|
Line 286... | Line -... | |||
286 | |
- | ||
287 | |
286 | |
|
288 | /* |
- | ||
289 | * Returns true if the chart is in series boost mode |
- | ||
290 | * @param chart {Highchart.Chart} - the chart to check |
- | ||
291 | * @returns {Boolean} - true if the chart is in series boost mode |
- | ||
292 | */ |
287 | /** |
|
293 | function isChartSeriesBoosting(chart) { |
288 | * Tolerant max() funciton |
|
294 | return chart.series.length >= pick( |
- | ||
295 | chart.options.boost && chart.options.boost.seriesThreshold, // docs |
- | ||
296 | 10 |
- | ||
297 | ); |
- | ||
298 | } |
- | ||
299 | |
- | ||
300 | /* |
- | ||
301 | * Returns true if the series is in boost mode |
- | ||
302 | * @param series {Highchart.Series} - the series to check |
- | ||
303 | * @returns {boolean} - true if the series is in boost mode |
289 | * @return {number} max value |
|
304 | */ |
- | ||
305 | function isSeriesBoosting(series) { |
290 | */ |
|
306 | function patientMax() { |
291 | function patientMax() { |
|
307 | var args = Array.prototype.slice.call(arguments), |
292 | var args = Array.prototype.slice.call(arguments), |
|
Line 308... | Line 293... | |||
308 | r = -Number.MAX_VALUE; |
293 | r = -Number.MAX_VALUE; |
|
Line 318... | Line 303... | |||
318 | }); |
303 | }); |
|
Line 319... | Line 304... | |||
319 | |
304 | |
|
320 | return r; |
305 | return r; |
|
Line -... | Line 306... | |||
- | 306 | } |
||
- | 307 | |
||
- | 308 | /* |
||
- | 309 | * Returns true if we should force chart series boosting |
||
- | 310 | */ |
||
- | 311 | function shouldForceChartSeriesBoosting(chart) { |
||
- | 312 | // If there are more than five series currently boosting, |
||
- | 313 | // we should boost the whole chart to avoid running out of webgl contexts. |
||
- | 314 | var sboostCount = 0, |
||
- | 315 | series; |
||
- | 316 | |
||
- | 317 | if (chart.series.length > 1) { |
||
- | 318 | for (var i = 0; i < chart.series.length; i++) { |
||
- | 319 | series = chart.series[i]; |
||
- | 320 | if (patientMax( |
||
- | 321 | series.processedXData, |
||
- | 322 | series.options.data, |
||
- | 323 | series.points |
||
- | 324 | ) >= (series.options.boostThreshold || Number.MAX_VALUE)) { |
||
- | 325 | sboostCount++; |
||
- | 326 | } |
||
- | 327 | } |
||
- | 328 | } |
||
- | 329 | |
||
- | 330 | return sboostCount > 5; |
||
- | 331 | } |
||
- | 332 | |
||
- | 333 | /* |
||
- | 334 | * Returns true if the chart is in series boost mode |
||
- | 335 | * @param chart {Highchart.Chart} - the chart to check |
||
- | 336 | * @returns {Boolean} - true if the chart is in series boost mode |
||
- | 337 | */ |
||
- | 338 | function isChartSeriesBoosting(chart) { |
||
- | 339 | return shouldForceChartSeriesBoosting(chart) || chart.series.length >= pick( |
||
- | 340 | chart.options.boost && chart.options.boost.seriesThreshold, |
||
- | 341 | 50 |
||
- | 342 | ); |
||
- | 343 | } |
||
- | 344 | |
||
- | 345 | /* |
||
- | 346 | * Returns true if the series is in boost mode |
||
- | 347 | * @param series {Highchart.Series} - the series to check |
||
- | 348 | * @returns {boolean} - true if the series is in boost mode |
||
321 | } |
349 | */ |
|
322 | |
350 | function isSeriesBoosting(series) { |
|
323 | return isChartSeriesBoosting(series.chart) || |
351 | return isChartSeriesBoosting(series.chart) || |
|
324 | patientMax( |
352 | patientMax( |
|
325 | series.processedXData, |
353 | series.processedXData, |
|
Line 1095... | Line 1123... | |||
1095 | < 0) {<= preAllocated.length - 4) { points = series.points || false,=>> |
1123 | < 0) {<= preAllocated.length - 4) { points = series.points || false,=>> |
|
1096 | < 0) {<= preAllocated.length - 4) { lastX = false,=>> |
1124 | < 0) {<= preAllocated.length - 4) { lastX = false,=>> |
|
1097 | < 0) {<= preAllocated.length - 4) { minVal,=>> |
1125 | < 0) {<= preAllocated.length - 4) { minVal,=>> |
|
1098 | < 0) {<= preAllocated.length - 4) { color,=>> |
1126 | < 0) {<= preAllocated.length - 4) { color,=>> |
|
1099 | < 0) {<= preAllocated.length - 4) { scolor,=>> |
1127 | < 0) {<= preAllocated.length - 4) { scolor,=>> |
|
1100 | < 0) {<= preAllocated.length - 4) { sdata = isStacked ? series.data : (xData || rawData);=>> |
1128 | < 0) {<= preAllocated.length - 4) { sdata = isStacked ? series.data : (xData || rawData),=>> |
|
- | 1129 | < 0) {<= preAllocated.length - 4) { closestLeft = {=>> |
||
- | 1130 | < 0) {<= preAllocated.length - 4) { x: Number.MIN_VALUE,=>> |
||
- | 1131 | < 0) {<= preAllocated.length - 4) { y: 0=>> |
||
- | 1132 | < 0) {<= preAllocated.length - 4) { },=>> |
||
- | 1133 | < 0) {<= preAllocated.length - 4) { closestRight = {=>> |
||
- | 1134 | < 0) {<= preAllocated.length - 4) { x: Number.MIN_VALUE,=>> |
||
- | 1135 | < 0) {<= preAllocated.length - 4) { y: 0=>> |
||
- | 1136 | < 0) {<= preAllocated.length - 4) { };=>> |
||
Line 1101... | Line 1137... | |||
1101 | < 0) {<= preAllocated.length - 4) { =>> |
1137 | < 0) {<= preAllocated.length - 4) { =>> |
|
1102 | < 0) {<= preAllocated.length - 4) { if (options.boostData && options.boostData.length > 0) {=>> |
1138 | < 0) {<= preAllocated.length - 4) { if (options.boostData && options.boostData.length > 0) {=>> |
|
1103 | < 0) {<= preAllocated.length - 4) { return;=>> |
1139 | < 0) {<= preAllocated.length - 4) { return;=>> |
|
Line 1174... | Line 1210... | |||
1174 | < 0) {<= preAllocated.length - 4) { swidth,=>> |
1210 | < 0) {<= preAllocated.length - 4) { swidth,=>> |
|
1175 | < 0) {<= preAllocated.length - 4) { pointAttr;=>> |
1211 | < 0) {<= preAllocated.length - 4) { pointAttr;=>> |
|
Line 1176... | Line 1212... | |||
1176 | < 0) {<= preAllocated.length - 4) { =>> |
1212 | < 0) {<= preAllocated.length - 4) { =>> |
|
1177 | < 0) {<= preAllocated.length - 4) { if (plotY !== undefined && !isNaN(plotY) && point.y !== null) {=>> |
1213 | < 0) {<= preAllocated.length - 4) { if (plotY !== undefined && !isNaN(plotY) && point.y !== null) {=>> |
|
1178 | < 0) {<= preAllocated.length - 4) { shapeArgs = point.shapeArgs;=>> |
- | ||
- | 1214 | < 0) {<= preAllocated.length - 4) { shapeArgs = point.shapeArgs;=>> |
||
- | 1215 | < 0) {<= preAllocated.length - 4) { =>> |
||
1179 | < 0) {<= preAllocated.length - 4) { pointAttr = (point.pointAttr && point.pointAttr['']) ||=>> |
1216 | < 0) {<= preAllocated.length - 4) { =>> |
|
- | 1217 | < 0) {<= preAllocated.length - 4) { pointAttr = point.series.colorAttribs(point);=>> |
||
1180 | < 0) {<= preAllocated.length - 4) { point.series.pointAttribs(point);=>> |
1218 | < 0) {<= preAllocated.length - 4) { =>> |
|
Line 1181... | Line 1219... | |||
1181 | < 0) {<= preAllocated.length - 4) { swidth = pointAttr['stroke-width'];=>> |
1219 | < 0) {<= preAllocated.length - 4) { swidth = pointAttr['stroke-width'] || 0;=>> |
|
1182 | < 0) {<= preAllocated.length - 4) { =>> |
1220 | < 0) {<= preAllocated.length - 4) { =>> |
|
1183 | < 0) {<= preAllocated.length - 4) { // Handle point colors=>> |
1221 | < 0) {<= preAllocated.length - 4) { // Handle point colors=>> |
|
1184 | < 0) {<= preAllocated.length - 4) { color = H.color(pointAttr.fill).rgba;=>> |
1222 | < 0) {<= preAllocated.length - 4) { color = H.color(pointAttr.fill).rgba;=>> |
|
Line 1342... | Line 1380... | |||
1342 | < 0) {<= preAllocated.length - 4) { =>> |
1380 | < 0) {<= preAllocated.length - 4) { =>> |
|
1343 | < 0) {<= preAllocated.length - 4) { if (!series.requireSorting) {=>> |
1381 | < 0) {<= preAllocated.length - 4) { if (!series.requireSorting) {=>> |
|
1344 | < 0) {<= preAllocated.length - 4) { isYInside = y >= yMin && y <= yMax;=>> |
1382 | < 0) {<= preAllocated.length - 4) { isYInside = y >= yMin && y <= yMax;=>> |
|
Line -... | Line 1383... | |||
- | 1383 | < 0) {<= preAllocated.length - 4) { }=>> |
||
- | 1384 | < 0) {<= preAllocated.length - 4) { =>> |
||
- | 1385 | < 0) {<= preAllocated.length - 4) { if (x > xMax && closestRight.x < xMax) {=>> |
||
- | 1386 | < 0) {<= preAllocated.length - 4) { closestRight.x = x;=>> |
||
- | 1387 | < 0) {<= preAllocated.length - 4) { closestRight.y = y;=>> |
||
- | 1388 | < 0) {<= preAllocated.length - 4) { }=>> |
||
- | 1389 | < 0) {<= preAllocated.length - 4) { =>> |
||
- | 1390 | < 0) {<= preAllocated.length - 4) { if (x < xMin && closestLeft.x < xMin) {=>> |
||
- | 1391 | < 0) {<= preAllocated.length - 4) { closestLeft.x = x;=>> |
||
- | 1392 | < 0) {<= preAllocated.length - 4) { closestLeft.y = y;=>> |
||
1345 | < 0) {<= preAllocated.length - 4) { }=>> |
1393 | < 0) {<= preAllocated.length - 4) { }=>> |
|
1346 | < 0) {<= preAllocated.length - 4) { =>> |
1394 | < 0) {<= preAllocated.length - 4) { =>> |
|
1347 | < 0) {<= preAllocated.length - 4) { if ((!y || !isYInside)) {=>> |
1395 | < 0) {<= preAllocated.length - 4) { if (y !== 0 && (!y || !isYInside)) {=>> |
|
Line 1348... | Line 1396... | |||
1348 | < 0) {<= preAllocated.length - 4) { return;=>> |
1396 | < 0) {<= preAllocated.length - 4) { return;=>> |
|
1349 | < 0) {<= preAllocated.length - 4) { }=>> |
1397 | < 0) {<= preAllocated.length - 4) { }=>> |
|
Line 1425... | Line 1473... | |||
1425 | < 0) {<= preAllocated.length - 4) { =>> |
1473 | < 0) {<= preAllocated.length - 4) { =>> |
|
Line 1426... | Line 1474... | |||
1426 | < 0) {<= preAllocated.length - 4) { lastX = x;=>> |
1474 | < 0) {<= preAllocated.length - 4) { lastX = x;=>> |
|
1427 | < 0) {<= preAllocated.length - 4) { =>> |
1475 | < 0) {<= preAllocated.length - 4) { =>> |
|
- | 1476 | < 0) {<= preAllocated.length - 4) { //return true;=>> |
||
- | 1477 | < 0) {<= preAllocated.length - 4) { });=>> |
||
- | 1478 | < 0) {<= preAllocated.length - 4) { =>> |
||
- | 1479 | < 0) {<= preAllocated.length - 4) { function pushSupplementPoint(point) {=>> |
||
- | 1480 | < 0) {<= preAllocated.length - 4) { if (!settings.useGPUTranslations) {=>> |
||
- | 1481 | < 0) {<= preAllocated.length - 4) { inst.skipTranslation = true;=>> |
||
- | 1482 | < 0) {<= preAllocated.length - 4) { point.x = xAxis.toPixels(point.x, true);=>> |
||
- | 1483 | < 0) {<= preAllocated.length - 4) { point.y = yAxis.toPixels(point.y, true);=>> |
||
- | 1484 | < 0) {<= preAllocated.length - 4) { }=>> |
||
- | 1485 | < 0) {<= preAllocated.length - 4) { =>> |
||
- | 1486 | < 0) {<= preAllocated.length - 4) { // We should only do this for lines, and we should ignore markers=>> |
||
- | 1487 | < 0) {<= preAllocated.length - 4) { // since there's no point here that would have a marker.=>> |
||
- | 1488 | < 0) {<= preAllocated.length - 4) { =>> |
||
- | 1489 | < 0) {<= preAllocated.length - 4) { vertice(=>> |
||
- | 1490 | < 0) {<= preAllocated.length - 4) { point.x,=>> |
||
- | 1491 | < 0) {<= preAllocated.length - 4) { point.y,=>> |
||
- | 1492 | < 0) {<= preAllocated.length - 4) { 0,=>> |
||
- | 1493 | < 0) {<= preAllocated.length - 4) { 2=>> |
||
- | 1494 | < 0) {<= preAllocated.length - 4) { );=>> |
||
- | 1495 | < 0) {<= preAllocated.length - 4) { }=>> |
||
- | 1496 | < 0) {<= preAllocated.length - 4) { =>> |
||
- | 1497 | < 0) {<= preAllocated.length - 4) { if (!lastX) {=>> |
||
- | 1498 | < 0) {<= preAllocated.length - 4) { // There are no points within the selected range=>> |
||
- | 1499 | < 0) {<= preAllocated.length - 4) { pushSupplementPoint(closestLeft);=>> |
||
1428 | < 0) {<= preAllocated.length - 4) { //return true;=>> |
1500 | < 0) {<= preAllocated.length - 4) { pushSupplementPoint(closestRight);=>> |
|
Line 1429... | Line 1501... | |||
1429 | < 0) {<= preAllocated.length - 4) { });=>> |
1501 | < 0) {<= preAllocated.length - 4) { }=>> |
|
1430 | < 0) {<= preAllocated.length - 4) { }=>> |
1502 | < 0) {<= preAllocated.length - 4) { }=>> |
|
1431 | < 0) {<= preAllocated.length - 4) { =>> |
1503 | < 0) {<= preAllocated.length - 4) { =>> |
|
Line 1564... | Line 1636... | |||
1564 | < 0) {<= preAllocated.length - 4) { shader.bind();=>> |
1636 | < 0) {<= preAllocated.length - 4) { shader.bind();=>> |
|
Line 1565... | Line 1637... | |||
1565 | < 0) {<= preAllocated.length - 4) { =>> |
1637 | < 0) {<= preAllocated.length - 4) { =>> |
|
1566 | < 0) {<= preAllocated.length - 4) { gl.viewport(0, 0, width, height);=>> |
1638 | < 0) {<= preAllocated.length - 4) { gl.viewport(0, 0, width, height);=>> |
|
Line -... | Line 1639... | |||
- | 1639 | < 0) {<= preAllocated.length - 4) { shader.setPMatrix(orthoMatrix(width, height));=>> |
||
1567 | < 0) {<= preAllocated.length - 4) { shader.setPMatrix(orthoMatrix(width, height));=>> |
1640 | < 0) {<= preAllocated.length - 4) { =>> |
|
- | 1641 | < 0) {<= preAllocated.length - 4) { if (settings.lineWidth > 1 && !H.isMS) {=>> |
||
Line 1568... | Line 1642... | |||
1568 | < 0) {<= preAllocated.length - 4) { =>> |
1642 | < 0) {<= preAllocated.length - 4) { gl.lineWidth(settings.lineWidth);=>> |
|
1569 | < 0) {<= preAllocated.length - 4) { gl.lineWidth(settings.lineWidth);=>> |
1643 | < 0) {<= preAllocated.length - 4) { }=>> |
|
Line 1570... | Line 1644... | |||
1570 | < 0) {<= preAllocated.length - 4) { =>> |
1644 | < 0) {<= preAllocated.length - 4) { =>> |
|
Line 1614... | Line 1688... | |||
1614 | < 0) {<= preAllocated.length - 4) { if (!settings.useAlpha) {=>> |
1688 | < 0) {<= preAllocated.length - 4) { if (!settings.useAlpha) {=>> |
|
1615 | < 0) {<= preAllocated.length - 4) { color[3] = 1.0;=>> |
1689 | < 0) {<= preAllocated.length - 4) { color[3] = 1.0;=>> |
|
1616 | < 0) {<= preAllocated.length - 4) { }=>> |
1690 | < 0) {<= preAllocated.length - 4) { }=>> |
|
Line 1617... | Line 1691... | |||
1617 | < 0) {<= preAllocated.length - 4) { =>> |
1691 | < 0) {<= preAllocated.length - 4) { =>> |
|
1618 | < 0) {<= preAllocated.length - 4) { //Blending=>> |
1692 | < 0) {<= preAllocated.length - 4) { //Blending=>> |
|
1619 | < 0) {<= preAllocated.length - 4) { if (options.boostBlending === 'add') { // docs=>> |
1693 | < 0) {<= preAllocated.length - 4) { if (options.boostBlending === 'add') {=>> |
|
1620 | < 0) {<= preAllocated.length - 4) { gl.blendFunc(gl.SRC_ALPHA, gl.ONE);=>> |
1694 | < 0) {<= preAllocated.length - 4) { gl.blendFunc(gl.SRC_ALPHA, gl.ONE);=>> |
|
Line 1621... | Line 1695... | |||
1621 | < 0) {<= preAllocated.length - 4) { gl.blendEquation(gl.FUNC_ADD);=>> |
1695 | < 0) {<= preAllocated.length - 4) { gl.blendEquation(gl.FUNC_ADD);=>> |
|
1622 | < 0) {<= preAllocated.length - 4) { =>> |
1696 | < 0) {<= preAllocated.length - 4) { =>> |
|
Line 1626... | Line 1700... | |||
1626 | < 0) {<= preAllocated.length - 4) { } else if (options.boostBlending === 'darken') {=>> |
1700 | < 0) {<= preAllocated.length - 4) { } else if (options.boostBlending === 'darken') {=>> |
|
1627 | < 0) {<= preAllocated.length - 4) { gl.blendFunc(gl.ONE, gl.ONE);=>> |
1701 | < 0) {<= preAllocated.length - 4) { gl.blendFunc(gl.ONE, gl.ONE);=>> |
|
1628 | < 0) {<= preAllocated.length - 4) { gl.blendEquation(gl.FUNC_MIN);=>> |
1702 | < 0) {<= preAllocated.length - 4) { gl.blendEquation(gl.FUNC_MIN);=>> |
|
Line 1629... | Line 1703... | |||
1629 | < 0) {<= preAllocated.length - 4) { =>> |
1703 | < 0) {<= preAllocated.length - 4) { =>> |
|
1630 | < 0) {<= preAllocated.length - 4) { } else {=>> |
1704 | < 0) {<= preAllocated.length - 4) { } else {=>> |
|
1631 | < 0) {<= preAllocated.length - 4) { gl.blendFunc(gl.SRC_ALPHA, gl.ONE_MINUS_SRC_ALPHA); //, gl.ONE, gl.ZERO);=>> |
1705 | < 0) {<= preAllocated.length - 4) { //gl.blendFunc(gl.SRC_ALPHA, gl.ONE_MINUS_SRC_ALPHA);//, gl.ONE, gl.ZERO);=>> |
|
- | 1706 | < 0) {<= preAllocated.length - 4) { //gl.blendEquation(gl.FUNC_ADD);=>> |
||
1632 | < 0) {<= preAllocated.length - 4) { gl.blendEquation(gl.FUNC_ADD);=>> |
1707 | < 0) {<= preAllocated.length - 4) { gl.blendFuncSeparate(gl.SRC_ALPHA, gl.ONE_MINUS_SRC_ALPHA, gl.ONE, gl.ONE_MINUS_SRC_ALPHA);=>> |
|
Line 1633... | Line 1708... | |||
1633 | < 0) {<= preAllocated.length - 4) { }=>> |
1708 | < 0) {<= preAllocated.length - 4) { }=>> |
|
Line 1634... | Line 1709... | |||
1634 | < 0) {<= preAllocated.length - 4) { =>> |
1709 | < 0) {<= preAllocated.length - 4) { =>> |
|
Line 1735... | Line 1810... | |||
1735 | < 0) {<= preAllocated.length - 4) { * Init OpenGL =>> |
1810 | < 0) {<= preAllocated.length - 4) { * Init OpenGL =>> |
|
1736 | < 0) {<= preAllocated.length - 4) { * @param canvas {HTMLCanvas} - the canvas to render to=>> |
1811 | < 0) {<= preAllocated.length - 4) { * @param canvas {HTMLCanvas} - the canvas to render to=>> |
|
1737 | < 0) {<= preAllocated.length - 4) { */=>> |
1812 | < 0) {<= preAllocated.length - 4) { */=>> |
|
1738 | < 0) {<= preAllocated.length - 4) { function init(canvas, noFlush) {=>> |
1813 | < 0) {<= preAllocated.length - 4) { function init(canvas, noFlush) {=>> |
|
1739 | < 0) {<= preAllocated.length - 4) { var i = 0,=>> |
1814 | < 0) {<= preAllocated.length - 4) { var i = 0,=>> |
|
1740 | < 0) {<= preAllocated.length - 4) { activeContext,=>> |
- | ||
1741 | < 0) {<= preAllocated.length - 4) { contexts = [=>> |
1815 | < 0) {<= preAllocated.length - 4) { contexts = [=>> |
|
1742 | < 0) {<= preAllocated.length - 4) { 'webgl',=>> |
1816 | < 0) {<= preAllocated.length - 4) { 'webgl',=>> |
|
1743 | < 0) {<= preAllocated.length - 4) { 'experimental-webgl',=>> |
1817 | < 0) {<= preAllocated.length - 4) { 'experimental-webgl',=>> |
|
1744 | < 0) {<= preAllocated.length - 4) { 'moz-webgl',=>> |
1818 | < 0) {<= preAllocated.length - 4) { 'moz-webgl',=>> |
|
1745 | < 0) {<= preAllocated.length - 4) { 'webkit-3d'=>> |
1819 | < 0) {<= preAllocated.length - 4) { 'webkit-3d'=>> |
|
Line 1756... | Line 1830... | |||
1756 | < 0) {<= preAllocated.length - 4) { }=>> |
1830 | < 0) {<= preAllocated.length - 4) { }=>> |
|
Line 1757... | Line 1831... | |||
1757 | < 0) {<= preAllocated.length - 4) { =>> |
1831 | < 0) {<= preAllocated.length - 4) { =>> |
|
1758 | < 0) {<= preAllocated.length - 4) { for (; i < contexts.length; i++) {=>> |
1832 | < 0) {<= preAllocated.length - 4) { for (; i < contexts.length; i++) {=>> |
|
1759 | < 0) {<= preAllocated.length - 4) { gl = canvas.getContext(contexts[i]);=>> |
1833 | < 0) {<= preAllocated.length - 4) { gl = canvas.getContext(contexts[i]);=>> |
|
1760 | < 0) {<= preAllocated.length - 4) { if (gl) {=>> |
- | ||
1761 | < 0) {<= preAllocated.length - 4) { activeContext = contexts[i];=>> |
1834 | < 0) {<= preAllocated.length - 4) { if (gl) {=>> |
|
1762 | < 0) {<= preAllocated.length - 4) { break;=>> |
1835 | < 0) {<= preAllocated.length - 4) { break;=>> |
|
1763 | < 0) {<= preAllocated.length - 4) { }=>> |
1836 | < 0) {<= preAllocated.length - 4) { }=>> |
|
Line 1764... | Line 1837... | |||
1764 | < 0) {<= preAllocated.length - 4) { }=>> |
1837 | < 0) {<= preAllocated.length - 4) { }=>> |
|
Line 2228... | Line 2301... | |||
2228 | < 0) {<= preAllocated.length - 4) { }=>> |
2301 | < 0) {<= preAllocated.length - 4) { }=>> |
|
Line 2229... | Line 2302... | |||
2229 | < 0) {<= preAllocated.length - 4) { =>> |
2302 | < 0) {<= preAllocated.length - 4) { =>> |
|
2230 | < 0) {<= preAllocated.length - 4) { return false;=>> |
2303 | < 0) {<= preAllocated.length - 4) { return false;=>> |
|
Line -... | Line 2304... | |||
- | 2304 | < 0) {<= preAllocated.length - 4) { }=>> |
||
- | 2305 | < 0) {<= preAllocated.length - 4) { =>> |
||
- | 2306 | < 0) {<= preAllocated.length - 4) { /* Used for treemap|heatmap.drawPoints */=>> |
||
- | 2307 | < 0) {<= preAllocated.length - 4) { function pointDrawHandler(proceed) {=>> |
||
- | 2308 | < 0) {<= preAllocated.length - 4) { if (!isSeriesBoosting(this)) {=>> |
||
- | 2309 | < 0) {<= preAllocated.length - 4) { return proceed.call(this);=>> |
||
- | 2310 | < 0) {<= preAllocated.length - 4) { }=>> |
||
- | 2311 | < 0) {<= preAllocated.length - 4) { =>> |
||
- | 2312 | < 0) {<= preAllocated.length - 4) { //Make sure we have a valid OGL context=>> |
||
- | 2313 | < 0) {<= preAllocated.length - 4) { var renderer = createAndAttachRenderer(this.chart, this);=>> |
||
- | 2314 | < 0) {<= preAllocated.length - 4) { =>> |
||
- | 2315 | < 0) {<= preAllocated.length - 4) { if (renderer) {=>> |
||
- | 2316 | < 0) {<= preAllocated.length - 4) { allocateIfNotSeriesBoosting(renderer, this);=>> |
||
- | 2317 | < 0) {<= preAllocated.length - 4) { renderer.pushSeries(this);=>> |
||
- | 2318 | < 0) {<= preAllocated.length - 4) { }=>> |
||
- | 2319 | < 0) {<= preAllocated.length - 4) { =>> |
||
- | 2320 | < 0) {<= preAllocated.length - 4) { renderIfNotSeriesBoosting(renderer, this);=>> |
||
- | 2321 | < 0) {<= preAllocated.length - 4) { }=>> |
||
- | 2322 | < 0) {<= preAllocated.length - 4) { =>> |
||
2231 | < 0) {<= preAllocated.length - 4) { }=>> |
2323 | < 0) {<= preAllocated.length - 4) { =>> |
|
2232 | < 0) {<= preAllocated.length - 4) { =>> |
2324 | < 0) {<= preAllocated.length - 4) { =>> |
|
Line 2233... | Line 2325... | |||
2233 | < 0) {<= preAllocated.length - 4) { ////////////////////////////////////////////////////////////////////////////////=>> |
2325 | < 0) {<= preAllocated.length - 4) { ////////////////////////////////////////////////////////////////////////////////=>> |
|
2234 | < 0) {<= preAllocated.length - 4) { // We're wrapped in a closure, so just return if there's no webgl support=>> |
2326 | < 0) {<= preAllocated.length - 4) { // We're wrapped in a closure, so just return if there's no webgl support=>> |
|
2235 | < 0) {<= preAllocated.length - 4) { =>> |
2327 | < 0) {<= preAllocated.length - 4) { =>> |
|
2236 | < 0) {<= preAllocated.length - 4) { if (!hasWebGLSupport()) {=>> |
2328 | < 0) {<= preAllocated.length - 4) { if (!hasWebGLSupport()) {=>> |
|
2237 | < 0) {<= preAllocated.length - 4) { if (typeof H.initCanvasBoost !== 'undefined') {=>> |
2329 | < 0) {<= preAllocated.length - 4) { if (typeof H.initCanvasBoost !== 'undefined') {=>> |
|
2238 | < 0) {<= preAllocated.length - 4) { // Fallback to canvas boost =>> |
2330 | < 0) {<= preAllocated.length - 4) { // Fallback to canvas boost =>> |
|
2239 | < 0) {<= preAllocated.length - 4) { H.initCanvasBoost();=>> |
2331 | < 0) {<= preAllocated.length - 4) { H.initCanvasBoost();=>> |
|
2240 | < 0) {<= preAllocated.length - 4) { } else {=>> |
- | ||
2241 | < 0) {<= preAllocated.length - 4) { H.error(26);=>> |
2332 | < 0) {<= preAllocated.length - 4) { } else {=>> |
|
2242 | < 0) {<= preAllocated.length - 4) { }=>> |
- | ||
2243 | < 0) {<= preAllocated.length - 4) { //eslint-disable=>> |
- | ||
Line 2244... | Line 2333... | |||
2244 | < 0) {<= preAllocated.length - 4) { return;=>> |
2333 | < 0) {<= preAllocated.length - 4) { H.error(26);=>> |
|
2245 | < 0) {<= preAllocated.length - 4) { //eslint-enable=>> |
2334 | < 0) {<= preAllocated.length - 4) { }=>> |
|
Line 2246... | Line 2335... | |||
2246 | < 0) {<= preAllocated.length - 4) { }=>> |
2335 | < 0) {<= preAllocated.length - 4) { } else {=>> |
|
2247 | < 0) {<= preAllocated.length - 4) { =>> |
2336 | < 0) {<= preAllocated.length - 4) { =>> |
|
2248 | < 0) {<= preAllocated.length - 4) { ////////////////////////////////////////////////////////////////////////////////=>> |
2337 | < 0) {<= preAllocated.length - 4) { ////////////////////////////////////////////////////////////////////////////=>> |
|
Line 2327... | Line 2416... | |||
2327 | < 0) {<= preAllocated.length - 4) { yMax = yExtremes.max,=>> |
2416 | < 0) {<= preAllocated.length - 4) { yMax = yExtremes.max,=>> |
|
2328 | < 0) {<= preAllocated.length - 4) { pointTaken = {},=>> |
2417 | < 0) {<= preAllocated.length - 4) { pointTaken = {},=>> |
|
2329 | < 0) {<= preAllocated.length - 4) { lastClientX,=>> |
2418 | < 0) {<= preAllocated.length - 4) { lastClientX,=>> |
|
2330 | < 0) {<= preAllocated.length - 4) { sampling = !!series.sampling,=>> |
2419 | < 0) {<= preAllocated.length - 4) { sampling = !!series.sampling,=>> |
|
2331 | < 0) {<= preAllocated.length - 4) { points,=>> |
2420 | < 0) {<= preAllocated.length - 4) { points,=>> |
|
2332 | < 0) {<= preAllocated.length - 4) { // r = options.marker && options.marker.radius,=>> |
- | ||
2333 | < 0) {<= preAllocated.length - 4) { // cvsDrawPoint = this.cvsDrawPoint,=>> |
- | ||
2334 | < 0) {<= preAllocated.length - 4) { // cvsLineTo = options.lineWidth ? this.cvsLineTo : false,=>> |
- | ||
2335 | < 0) {<= preAllocated.length - 4) { // cvsMarker = r <= 1 ? this.cvsMarkerSquare : this.cvsMarkerCircle,=>> |
- | ||
2336 | < 0) {<= preAllocated.length - 4) { enableMouseTracking = options.enableMouseTracking !== false,=>> |
2421 | < 0) {<= preAllocated.length - 4) { enableMouseTracking = options.enableMouseTracking !== false,=>> |
|
2337 | < 0) {<= preAllocated.length - 4) { // lastPoint,=>> |
- | ||
2338 | < 0) {<= preAllocated.length - 4) { threshold = options.threshold,=>> |
2422 | < 0) {<= preAllocated.length - 4) { threshold = options.threshold,=>> |
|
2339 | < 0) {<= preAllocated.length - 4) { yBottom = yAxis.getThreshold(threshold),=>> |
2423 | < 0) {<= preAllocated.length - 4) { yBottom = yAxis.getThreshold(threshold),=>> |
|
2340 | < 0) {<= preAllocated.length - 4) { hasThreshold = isNumber(threshold),=>> |
- | ||
2341 | < 0) {<= preAllocated.length - 4) { // translatedThreshold = yBottom,=>> |
- | ||
2342 | < 0) {<= preAllocated.length - 4) { // doFill = this.fill,=>> |
- | ||
2343 | < 0) {<= preAllocated.length - 4) { isRange = series.pointArrayMap &&=>> |
2424 | < 0) {<= preAllocated.length - 4) { isRange = series.pointArrayMap &&=>> |
|
2344 | < 0) {<= preAllocated.length - 4) { series.pointArrayMap.join(',') === 'low,high',=>> |
2425 | < 0) {<= preAllocated.length - 4) { series.pointArrayMap.join(',') === 'low,high',=>> |
|
2345 | < 0) {<= preAllocated.length - 4) { isStacked = !!options.stacking,=>> |
2426 | < 0) {<= preAllocated.length - 4) { isStacked = !!options.stacking,=>> |
|
2346 | < 0) {<= preAllocated.length - 4) { cropStart = series.cropStart || 0,=>> |
2427 | < 0) {<= preAllocated.length - 4) { cropStart = series.cropStart || 0,=>> |
|
2347 | < 0) {<= preAllocated.length - 4) { requireSorting = series.requireSorting,=>> |
2428 | < 0) {<= preAllocated.length - 4) { requireSorting = series.requireSorting,=>> |
|
2348 | < 0) {<= preAllocated.length - 4) { wasNull,=>> |
- | ||
2349 | < 0) {<= preAllocated.length - 4) { connectNulls = options.connectNulls,=>> |
- | ||
2350 | < 0) {<= preAllocated.length - 4) { useRaw = !xData,=>> |
2429 | < 0) {<= preAllocated.length - 4) { useRaw = !xData,=>> |
|
2351 | < 0) {<= preAllocated.length - 4) { minVal,=>> |
2430 | < 0) {<= preAllocated.length - 4) { minVal,=>> |
|
2352 | < 0) {<= preAllocated.length - 4) { maxVal,=>> |
2431 | < 0) {<= preAllocated.length - 4) { maxVal,=>> |
|
2353 | < 0) {<= preAllocated.length - 4) { minI,=>> |
2432 | < 0) {<= preAllocated.length - 4) { minI,=>> |
|
2354 | < 0) {<= preAllocated.length - 4) { maxI,=>> |
2433 | < 0) {<= preAllocated.length - 4) { maxI,=>> |
|
2355 | < 0) {<= preAllocated.length - 4) { // fillColor = series.fillOpacity ?=>> |
- | ||
2356 | < 0) {<= preAllocated.length - 4) { // new Color(series.color).setOpacity(=>> |
- | ||
2357 | < 0) {<= preAllocated.length - 4) { // pick(options.fillOpacity, 0.75)=>> |
- | ||
2358 | < 0) {<= preAllocated.length - 4) { // ).get() : series.color,=>> |
- | ||
Line 2359... | Line 2434... | |||
2359 | < 0) {<= preAllocated.length - 4) { =>> |
2434 | < 0) {<= preAllocated.length - 4) { =>> |
|
2360 | < 0) {<= preAllocated.length - 4) { addKDPoint = function(clientX, plotY, i) {=>> |
2435 | < 0) {<= preAllocated.length - 4) { addKDPoint = function(clientX, plotY, i) {=>> |
|
2361 | < 0) {<= preAllocated.length - 4) { //Shaves off about 60ms compared to repeated concatination=>> |
2436 | < 0) {<= preAllocated.length - 4) { //Shaves off about 60ms compared to repeated concatination=>> |
|
Line 2467... | Line 2542... | |||
2467 | < 0) {<= preAllocated.length - 4) { isYInside = y >= yMin && y <= yMax;=>> |
2542 | < 0) {<= preAllocated.length - 4) { isYInside = y >= yMin && y <= yMax;=>> |
|
2468 | < 0) {<= preAllocated.length - 4) { }=>> |
2543 | < 0) {<= preAllocated.length - 4) { }=>> |
|
Line 2469... | Line 2544... | |||
2469 | < 0) {<= preAllocated.length - 4) { =>> |
2544 | < 0) {<= preAllocated.length - 4) { =>> |
|
Line 2470... | Line 2545... | |||
2470 | < 0) {<= preAllocated.length - 4) { if (!isNull && x >= xMin && x <= xMax && isYInside) {=>> |
2545 | < 0) {<= preAllocated.length - 4) { if (!isNull && x >= xMin && x <= xMax && isYInside) {=>> |
|
2471 | < 0) {<= preAllocated.length - 4) { =>> |
2546 | < 0) {<= preAllocated.length - 4) { =>> |
|
2472 | < 0) {<= preAllocated.length - 4) { // We use ceil to allow the KD tree to work with sub pixels,=>> |
2547 | < 0) {<= preAllocated.length - 4) { // We use ceil to allow the KD tree to work with sub=>> |
|
Line 2473... | Line 2548... | |||
2473 | < 0) {<= preAllocated.length - 4) { // which can be used in boost to space pixels=>> |
2548 | < 0) {<= preAllocated.length - 4) { // pixels, which can be used in boost to space pixels=>> |
|
2474 | < 0) {<= preAllocated.length - 4) { clientX = Math.ceil(xAxis.toPixels(x, true));=>> |
2549 | < 0) {<= preAllocated.length - 4) { clientX = Math.ceil(xAxis.toPixels(x, true));=>> |
|
2475 | < 0) {<= preAllocated.length - 4) { =>> |
2550 | < 0) {<= preAllocated.length - 4) { =>> |
|
Line 2505... | Line 2580... | |||
2505 | < 0) {<= preAllocated.length - 4) { } else {=>> |
2580 | < 0) {<= preAllocated.length - 4) { } else {=>> |
|
2506 | < 0) {<= preAllocated.length - 4) { plotY = Math.ceil(yAxis.toPixels(y, true));=>> |
2581 | < 0) {<= preAllocated.length - 4) { plotY = Math.ceil(yAxis.toPixels(y, true));=>> |
|
2507 | < 0) {<= preAllocated.length - 4) { addKDPoint(clientX, plotY, i);=>> |
2582 | < 0) {<= preAllocated.length - 4) { addKDPoint(clientX, plotY, i);=>> |
|
2508 | < 0) {<= preAllocated.length - 4) { }=>> |
2583 | < 0) {<= preAllocated.length - 4) { }=>> |
|
2509 | < 0) {<= preAllocated.length - 4) { }=>> |
2584 | < 0) {<= preAllocated.length - 4) { }=>> |
|
2510 | < 0) {<= preAllocated.length - 4) { wasNull = isNull && !connectNulls;=>> |
- | ||
2511 | < 0) {<= preAllocated.length - 4) { }=>> |
2585 | < 0) {<= preAllocated.length - 4) { }=>> |
|
Line 2512... | Line 2586... | |||
2512 | < 0) {<= preAllocated.length - 4) { =>> |
2586 | < 0) {<= preAllocated.length - 4) { =>> |
|
2513 | < 0) {<= preAllocated.length - 4) { return !chartDestroyed;=>> |
2587 | < 0) {<= preAllocated.length - 4) { return !chartDestroyed;=>> |
|
Line 2514... | Line 2588... | |||
2514 | < 0) {<= preAllocated.length - 4) { }=>> |
2588 | < 0) {<= preAllocated.length - 4) { }=>> |
|
2515 | < 0) {<= preAllocated.length - 4) { =>> |
2589 | < 0) {<= preAllocated.length - 4) { =>> |
|
2516 | < 0) {<= preAllocated.length - 4) { function doneProcessing() {=>> |
2590 | < 0) {<= preAllocated.length - 4) { function doneProcessing() {=>> |
|
2517 | < 0) {<= preAllocated.length - 4) { fireEvent(series, 'renderedCanvas');=>> |
2591 | < 0) {<= preAllocated.length - 4) { fireEvent(series, 'renderedCanvas');=>> |
|
2518 | < 0) {<= preAllocated.length - 4) { // Pass tests in Pointer. =>> |
2592 | < 0) {<= preAllocated.length - 4) { // Pass tests in Pointer. =>> |
|
2519 | < 0) {<= preAllocated.length - 4) { // Replace this with a single property, and replace when zooming in=>> |
2593 | < 0) {<= preAllocated.length - 4) { // Replace this with a single property, and replace when zooming=>> |
|
2520 | < 0) {<= preAllocated.length - 4) { // below boostThreshold.=>> |
2594 | < 0) {<= preAllocated.length - 4) { // in below boostThreshold.=>> |
|
Line 2521... | Line 2595... | |||
2521 | < 0) {<= preAllocated.length - 4) { series.directTouch = false;=>> |
2595 | < 0) {<= preAllocated.length - 4) { series.directTouch = false;=>> |
|
- | 2596 | < 0) {<= preAllocated.length - 4) { series.options.stickyTracking = true;=>> |
||
2522 | < 0) {<= preAllocated.length - 4) { series.options.stickyTracking = true;=>> |
2597 | < 0) {<= preAllocated.length - 4) { =>> |
|
2523 | < 0) {<= preAllocated.length - 4) { =>> |
2598 | < 0) {<= preAllocated.length - 4) { // Go back to prototype, ready to build=>> |
|
Line 2524... | Line 2599... | |||
2524 | < 0) {<= preAllocated.length - 4) { delete series.buildKDTree; // Go back to prototype, ready to build=>> |
2599 | < 0) {<= preAllocated.length - 4) { delete series.buildKDTree;=>> |
|
2525 | < 0) {<= preAllocated.length - 4) { series.buildKDTree();=>> |
2600 | < 0) {<= preAllocated.length - 4) { series.buildKDTree();=>> |
|
Line 2533... | Line 2608... | |||
2533 | < 0) {<= preAllocated.length - 4) { chart.renderer.forExport ? Number.MAX_VALUE : undefined=>> |
2608 | < 0) {<= preAllocated.length - 4) { chart.renderer.forExport ? Number.MAX_VALUE : undefined=>> |
|
2534 | < 0) {<= preAllocated.length - 4) { );=>> |
2609 | < 0) {<= preAllocated.length - 4) { );=>> |
|
2535 | < 0) {<= preAllocated.length - 4) { }=>> |
2610 | < 0) {<= preAllocated.length - 4) { }=>> |
|
2536 | < 0) {<= preAllocated.length - 4) { });=>> |
2611 | < 0) {<= preAllocated.length - 4) { });=>> |
|
Line 2537... | Line -... | |||
2537 | < 0) {<= preAllocated.length - 4) { =>> |
- | ||
2538 | < 0) {<= preAllocated.length - 4) { /* Used for treemap|heatmap.drawPoints */=>> |
- | ||
2539 | < 0) {<= preAllocated.length - 4) { function pointDrawHandler(proceed) {=>> |
- | ||
2540 | < 0) {<= preAllocated.length - 4) { if (!isSeriesBoosting(this)) {=>> |
- | ||
2541 | < 0) {<= preAllocated.length - 4) { return proceed.call(this);=>> |
- | ||
2542 | < 0) {<= preAllocated.length - 4) { }=>> |
- | ||
2543 | < 0) {<= preAllocated.length - 4) { =>> |
- | ||
2544 | < 0) {<= preAllocated.length - 4) { //Make sure we have a valid OGL context=>> |
- | ||
2545 | < 0) {<= preAllocated.length - 4) { var renderer = createAndAttachRenderer(this.chart, this);=>> |
- | ||
2546 | < 0) {<= preAllocated.length - 4) { =>> |
- | ||
2547 | < 0) {<= preAllocated.length - 4) { if (renderer) {=>> |
- | ||
2548 | < 0) {<= preAllocated.length - 4) { allocateIfNotSeriesBoosting(renderer, this);=>> |
- | ||
2549 | < 0) {<= preAllocated.length - 4) { renderer.pushSeries(this);=>> |
- | ||
2550 | < 0) {<= preAllocated.length - 4) { }=>> |
- | ||
2551 | < 0) {<= preAllocated.length - 4) { =>> |
- | ||
2552 | < 0) {<= preAllocated.length - 4) { renderIfNotSeriesBoosting(renderer, this);=>> |
- | ||
2553 | < 0) {<= preAllocated.length - 4) { }=>> |
- | ||
2554 | < 0) {<= preAllocated.length - 4) { =>> |
2612 | < 0) {<= preAllocated.length - 4) { =>> |
|
2555 | < 0) {<= preAllocated.length - 4) { /*=>> |
2613 | < 0) {<= preAllocated.length - 4) { /*=>> |
|
2556 | < 0) {<= preAllocated.length - 4) { * We need to handle heatmaps separatly, since we can't perform the size/color=>> |
2614 | < 0) {<= preAllocated.length - 4) { * We need to handle heatmaps separatly, since we can't perform the=>> |
|
2557 | < 0) {<= preAllocated.length - 4) { * calculations in the shader easily.=>> |
2615 | < 0) {<= preAllocated.length - 4) { * size/color calculations in the shader easily.=>> |
|
2558 | < 0) {<= preAllocated.length - 4) { *=>> |
2616 | < 0) {<= preAllocated.length - 4) { *=>> |
|
2559 | < 0) {<= preAllocated.length - 4) { * This likely needs future optimization.=>> |
2617 | < 0) {<= preAllocated.length - 4) { * This likely needs future optimization.=>> |
|
2560 | < 0) {<= preAllocated.length - 4) { *=>> |
2618 | < 0) {<= preAllocated.length - 4) { *=>> |
|
2561 | < 0) {<= preAllocated.length - 4) { */=>> |
2619 | < 0) {<= preAllocated.length - 4) { */=>> |
|
Line 2567... | Line 2625... | |||
2567 | < 0) {<= preAllocated.length - 4) { }=>> |
2625 | < 0) {<= preAllocated.length - 4) { }=>> |
|
2568 | < 0) {<= preAllocated.length - 4) { }=>> |
2626 | < 0) {<= preAllocated.length - 4) { }=>> |
|
2569 | < 0) {<= preAllocated.length - 4) { );=>> |
2627 | < 0) {<= preAllocated.length - 4) { );=>> |
|
Line 2570... | Line 2628... | |||
2570 | < 0) {<= preAllocated.length - 4) { =>> |
2628 | < 0) {<= preAllocated.length - 4) { =>> |
|
2571 | < 0) {<= preAllocated.length - 4) { if (seriesTypes.bubble) {=>> |
2629 | < 0) {<= preAllocated.length - 4) { if (seriesTypes.bubble) {=>> |
|
- | 2630 | < 0) {<= preAllocated.length - 4) { // By default, the bubble series does not use the KD-tree, so force it=>> |
||
2572 | < 0) {<= preAllocated.length - 4) { // By default, the bubble series does not use the KD-tree, so force it to.=>> |
2631 | < 0) {<= preAllocated.length - 4) { // to.=>> |
|
2573 | < 0) {<= preAllocated.length - 4) { delete seriesTypes.bubble.prototype.buildKDTree;=>> |
2632 | < 0) {<= preAllocated.length - 4) { delete seriesTypes.bubble.prototype.buildKDTree;=>> |
|
Line 2574... | Line 2633... | |||
2574 | < 0) {<= preAllocated.length - 4) { seriesTypes.bubble.prototype.directTouch = false;=>> |
2633 | < 0) {<= preAllocated.length - 4) { seriesTypes.bubble.prototype.directTouch = false;=>> |
|
- | 2634 | < 0) {<= preAllocated.length - 4) { =>> |
||
2575 | < 0) {<= preAllocated.length - 4) { =>> |
2635 | < 0) {<= preAllocated.length - 4) { // Needed for markers to work correctly=>> |
|
- | 2636 | < 0) {<= preAllocated.length - 4) { wrap(=>> |
||
- | 2637 | < 0) {<= preAllocated.length - 4) { seriesTypes.bubble.prototype,=>> |
||
2576 | < 0) {<= preAllocated.length - 4) { // Needed for markers to work correctly=>> |
2638 | < 0) {<= preAllocated.length - 4) { 'markerAttribs',=>> |
|
2577 | < 0) {<= preAllocated.length - 4) { wrap(seriesTypes.bubble.prototype, 'markerAttribs', function(proceed) {=>> |
2639 | < 0) {<= preAllocated.length - 4) { function(proceed) {=>> |
|
2578 | < 0) {<= preAllocated.length - 4) { if (isSeriesBoosting(this)) {=>> |
2640 | < 0) {<= preAllocated.length - 4) { if (isSeriesBoosting(this)) {=>> |
|
2579 | < 0) {<= preAllocated.length - 4) { return false;=>> |
2641 | < 0) {<= preAllocated.length - 4) { return false;=>> |
|
- | 2642 | < 0) {<= preAllocated.length - 4) { }=>> |
||
2580 | < 0) {<= preAllocated.length - 4) { }=>> |
2643 | < 0) {<= preAllocated.length - 4) { return proceed.apply(this, [].slice.call(arguments, 1));=>> |
|
2581 | < 0) {<= preAllocated.length - 4) { return proceed.apply(this, [].slice.call(arguments, 1));=>> |
2644 | < 0) {<= preAllocated.length - 4) { }=>> |
|
Line 2582... | Line 2645... | |||
2582 | < 0) {<= preAllocated.length - 4) { });=>> |
2645 | < 0) {<= preAllocated.length - 4) { );=>> |
|
Line 2583... | Line 2646... | |||
2583 | < 0) {<= preAllocated.length - 4) { }=>> |
2646 | < 0) {<= preAllocated.length - 4) { }=>> |
|
Line 2619... | Line 2682... | |||
2619 | < 0) {<= preAllocated.length - 4) { }=>> |
2682 | < 0) {<= preAllocated.length - 4) { }=>> |
|
2620 | < 0) {<= preAllocated.length - 4) { }=>> |
2683 | < 0) {<= preAllocated.length - 4) { }=>> |
|
Line 2621... | Line 2684... | |||
2621 | < 0) {<= preAllocated.length - 4) { =>> |
2684 | < 0) {<= preAllocated.length - 4) { =>> |
|
2622 | < 0) {<= preAllocated.length - 4) { /* Clear chart-level canvas */=>> |
2685 | < 0) {<= preAllocated.length - 4) { /* Clear chart-level canvas */=>> |
|
- | 2686 | < 0) {<= preAllocated.length - 4) { function preRender() {=>> |
||
- | 2687 | < 0) {<= preAllocated.length - 4) { =>> |
||
- | 2688 | < 0) {<= preAllocated.length - 4) { if (!isChartSeriesBoosting(chart) && chart.didBoost) {=>> |
||
- | 2689 | < 0) {<= preAllocated.length - 4) { chart.didBoost = false;=>> |
||
- | 2690 | < 0) {<= preAllocated.length - 4) { // Clear the canvas=>> |
||
- | 2691 | < 0) {<= preAllocated.length - 4) { if (chart.image) {=>> |
||
- | 2692 | < 0) {<= preAllocated.length - 4) { chart.image.attr({=>> |
||
- | 2693 | < 0) {<= preAllocated.length - 4) { href: ''=>> |
||
- | 2694 | < 0) {<= preAllocated.length - 4) { });=>> |
||
- | 2695 | < 0) {<= preAllocated.length - 4) { }=>> |
||
- | 2696 | < 0) {<= preAllocated.length - 4) { }=>> |
||
2623 | < 0) {<= preAllocated.length - 4) { function preRender() {=>> |
2697 | < 0) {<= preAllocated.length - 4) { =>> |
|
- | 2698 | < 0) {<= preAllocated.length - 4) { if (chart.canvas && chart.ogl && isChartSeriesBoosting(chart)) {=>> |
||
- | 2699 | < 0) {<= preAllocated.length - 4) { chart.didBoost = true;=>> |
||
2624 | < 0) {<= preAllocated.length - 4) { if (chart.canvas && chart.ogl && isChartSeriesBoosting(chart)) {=>> |
2700 | < 0) {<= preAllocated.length - 4) { =>> |
|
2625 | < 0) {<= preAllocated.length - 4) { // Allocate=>> |
2701 | < 0) {<= preAllocated.length - 4) { // Allocate=>> |
|
2626 | < 0) {<= preAllocated.length - 4) { chart.ogl.allocateBuffer(chart);=>> |
2702 | < 0) {<= preAllocated.length - 4) { chart.ogl.allocateBuffer(chart);=>> |
|
Line 2627... | Line 2703... | |||
2627 | < 0) {<= preAllocated.length - 4) { }=>> |
2703 | < 0) {<= preAllocated.length - 4) { }=>> |
|
2628 | < 0) {<= preAllocated.length - 4) { =>> |
2704 | < 0) {<= preAllocated.length - 4) { =>> |
|
2629 | < 0) {<= preAllocated.length - 4) { //see #6518=>> |
2705 | < 0) {<= preAllocated.length - 4) { //see #6518 + #6739=>> |
|
2630 | < 0) {<= preAllocated.length - 4) { if (chart.markerGroup) {=>> |
2706 | < 0) {<= preAllocated.length - 4) { if (chart.markerGroup && chart.xAxis && chart.xAxis.length > 0 && chart.yAxis && chart.yAxis.length > 0) {=>> |
|
2631 | < 0) {<= preAllocated.length - 4) { chart.markerGroup.translate(=>> |
2707 | < 0) {<= preAllocated.length - 4) { chart.markerGroup.translate(=>> |
|
2632 | < 0) {<= preAllocated.length - 4) { chart.xAxis[0].pos,=>> |
2708 | < 0) {<= preAllocated.length - 4) { chart.xAxis[0].pos,=>> |
|
2633 | < 0) {<= preAllocated.length - 4) { chart.yAxis[0].pos=>> |
2709 | < 0) {<= preAllocated.length - 4) { chart.yAxis[0].pos=>> |
|
- | 2710 | < 0) {<= preAllocated.length - 4) { );=>> |
||
2634 | < 0) {<= preAllocated.length - 4) { );=>> |
2711 | < 0) {<= preAllocated.length - 4) { }=>> |
|
Line 2635... | Line 2712... | |||
2635 | < 0) {<= preAllocated.length - 4) { }=>> |
2712 | < 0) {<= preAllocated.length - 4) { =>> |
|
2636 | < 0) {<= preAllocated.length - 4) { }=>> |
2713 | < 0) {<= preAllocated.length - 4) { }=>> |
|
2637 | < 0) {<= preAllocated.length - 4) { =>> |
2714 | < 0) {<= preAllocated.length - 4) { =>> |
|
- | 2715 | < 0) {<= preAllocated.length - 4) { addEvent(chart, 'predraw', preRender);=>> |
||
Line 2638... | Line 2716... | |||
2638 | < 0) {<= preAllocated.length - 4) { addEvent(chart, 'predraw', preRender);=>> |
2716 | < 0) {<= preAllocated.length - 4) { addEvent(chart, 'render', canvasToSVG);=>> |
|
2639 | < 0) {<= preAllocated.length - 4) { addEvent(chart, 'render', canvasToSVG);=>> |
2717 | < 0) {<= preAllocated.length - 4) { });=>> |