highcharts 7.1.1 → 7.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bower.json +1 -1
- package/css/annotations/popup.css +3 -3
- package/css/annotations/popup.scss +1 -1
- package/css/stocktools/gui.css +5 -5
- package/css/stocktools/gui.scss +1 -1
- package/es-modules/annotations/ControlPoint.js +1 -1
- package/es-modules/annotations/MockPoint.js +45 -12
- package/es-modules/annotations/annotations.src.js +203 -166
- package/es-modules/annotations/controllable/ControllableCircle.js +2 -10
- package/es-modules/annotations/controllable/ControllableImage.js +2 -10
- package/es-modules/annotations/controllable/ControllableLabel.js +54 -9
- package/es-modules/annotations/controllable/ControllableRect.js +2 -10
- package/es-modules/annotations/controllable/controllableMixin.js +32 -4
- package/es-modules/annotations/controllable/markerMixin.js +1 -0
- package/es-modules/annotations/eventEmitterMixin.js +1 -0
- package/es-modules/annotations/navigationBindings.js +15 -11
- package/es-modules/annotations/popup.js +59 -81
- package/es-modules/annotations/types/CrookedLine.js +19 -7
- package/es-modules/annotations/types/ElliottWave.js +7 -6
- package/es-modules/annotations/types/Fibonacci.js +14 -14
- package/es-modules/annotations/types/InfinityLine.js +4 -4
- package/es-modules/annotations/types/Measure.js +41 -41
- package/es-modules/annotations/types/Pitchfork.js +5 -4
- package/es-modules/annotations/types/VerticalLine.js +6 -5
- package/es-modules/error-messages.js +6 -1
- package/es-modules/indicators/indicators.src.js +5 -3
- package/es-modules/mixins/nodes.js +16 -8
- package/es-modules/modules/accessibility/AccessibilityComponent.js +4 -4
- package/es-modules/modules/accessibility/KeyboardNavigation.js +17 -4
- package/es-modules/modules/accessibility/components/RangeSelectorComponent.js +3 -2
- package/es-modules/modules/accessibility/components/SeriesComponent.js +110 -2
- package/es-modules/modules/accessibility/components/ZoomComponent.js +1 -1
- package/es-modules/modules/accessibility/options.js +2 -1
- package/es-modules/modules/bellcurve.src.js +27 -29
- package/es-modules/modules/boost/boost-init.js +14 -0
- package/es-modules/modules/boost/boost-overrides.js +13 -3
- package/es-modules/modules/boost/wgl-renderer.js +30 -15
- package/es-modules/modules/boost/wgl-shader.js +33 -16
- package/es-modules/modules/boost/wgl-vbuffer.js +8 -4
- package/es-modules/modules/broken-axis.src.js +1 -1
- package/es-modules/modules/bullet.src.js +68 -68
- package/es-modules/modules/cylinder.src.js +3 -1
- package/es-modules/modules/data.src.js +9 -5
- package/es-modules/modules/draggable-points.src.js +1 -1
- package/es-modules/modules/drilldown.src.js +1 -1
- package/es-modules/modules/export-data.src.js +7 -8
- package/es-modules/modules/exporting.src.js +9 -1
- package/es-modules/modules/full-screen.src.js +1 -1
- package/es-modules/modules/funnel3d.src.js +10 -3
- package/es-modules/modules/histogram.src.js +162 -164
- package/es-modules/modules/item-series.src.js +10 -10
- package/es-modules/modules/networkgraph/layouts.js +16 -12
- package/es-modules/modules/networkgraph/networkgraph.src.js +147 -51
- package/es-modules/modules/offline-exporting.src.js +15 -2
- package/es-modules/modules/oldie-polyfills.src.js +1 -1
- package/es-modules/modules/organization.src.js +65 -20
- package/es-modules/modules/pareto.src.js +52 -51
- package/es-modules/modules/pattern-fill.src.js +1 -1
- package/es-modules/modules/price-indicator.src.js +1 -1
- package/es-modules/modules/pyramid3d.src.js +1 -1
- package/es-modules/modules/sankey.src.js +22 -10
- package/es-modules/modules/series-label.src.js +16 -8
- package/es-modules/modules/solid-gauge.src.js +128 -79
- package/es-modules/modules/static-scale.src.js +8 -1
- package/es-modules/modules/stock-tools-gui.js +1 -1
- package/es-modules/modules/streamgraph.src.js +11 -11
- package/es-modules/modules/sunburst.src.js +23 -2
- package/es-modules/modules/tilemap.src.js +58 -57
- package/es-modules/modules/timeline.src.js +17 -12
- package/es-modules/modules/treemap.src.js +6 -6
- package/es-modules/modules/variwide.src.js +39 -39
- package/es-modules/modules/vector.src.js +108 -107
- package/es-modules/modules/venn.src.js +4 -2
- package/es-modules/modules/windbarb.src.js +43 -43
- package/es-modules/modules/wordcloud.src.js +1 -0
- package/es-modules/modules/xrange.src.js +112 -104
- package/es-modules/parts/AreaSeries.js +4 -1
- package/es-modules/parts/Axis.js +809 -1870
- package/es-modules/parts/Chart.js +254 -743
- package/es-modules/parts/Color.js +160 -113
- package/es-modules/parts/ColumnSeries.js +9 -3
- package/es-modules/parts/DataLabels.js +31 -2
- package/es-modules/parts/Dynamics.js +73 -26
- package/es-modules/parts/FlagsSeries.js +6 -4
- package/es-modules/parts/Globals.js +20 -36
- package/es-modules/parts/Html.js +116 -235
- package/es-modules/parts/Interaction.js +17 -7
- package/es-modules/parts/Legend.js +277 -632
- package/es-modules/parts/MSPointer.js +62 -106
- package/es-modules/parts/Options.js +128 -367
- package/es-modules/parts/OrdinalAxis.js +12 -0
- package/es-modules/parts/PieSeries.js +61 -44
- package/es-modules/parts/PlotLineOrBand.js +38 -3
- package/es-modules/parts/Point.js +117 -227
- package/es-modules/parts/Pointer.js +273 -558
- package/es-modules/parts/RangeSelector.js +5 -3
- package/es-modules/parts/Responsive.js +8 -4
- package/es-modules/parts/ScrollablePlotArea.js +215 -81
- package/es-modules/parts/Scrollbar.js +38 -23
- package/es-modules/parts/Series.js +151 -47
- package/es-modules/parts/Stacking.js +8 -3
- package/es-modules/parts/StockChart.js +42 -29
- package/es-modules/parts/SvgRenderer.js +1080 -2100
- package/es-modules/parts/Tick.js +11 -4
- package/es-modules/parts/Time.js +179 -363
- package/es-modules/parts/Tooltip.js +23 -12
- package/es-modules/parts/TouchPointer.js +69 -187
- package/es-modules/parts/Utilities.js +593 -846
- package/es-modules/parts-3d/Axis.js +2 -2
- package/es-modules/parts-3d/Column.js +18 -8
- package/es-modules/parts-gantt/GanttSeries.js +17 -21
- package/es-modules/parts-gantt/GridAxis.js +183 -101
- package/es-modules/parts-gantt/PathfinderAlgorithms.js +2 -2
- package/es-modules/parts-gantt/TreeGrid.js +53 -36
- package/es-modules/parts-map/ColorAxis.js +35 -14
- package/es-modules/parts-map/MapBubbleSeries.js +2 -1
- package/es-modules/parts-map/MapSeries.js +29 -18
- package/es-modules/parts-more/AreaRangeSeries.js +13 -12
- package/es-modules/parts-more/ColumnRangeSeries.js +8 -2
- package/es-modules/parts-more/GaugeSeries.js +9 -9
- package/es-modules/parts-more/PackedBubbleSeries.js +152 -115
- package/es-modules/parts-more/RadialAxis.js +102 -8
- package/es-modules/parts-more/WaterfallSeries.js +148 -35
- package/highcharts-3d.js +68 -67
- package/highcharts-3d.js.map +1 -1
- package/highcharts-3d.src.js +21 -11
- package/highcharts-gantt.d.ts +5 -3
- package/highcharts-gantt.js +618 -610
- package/highcharts-gantt.js.map +1 -1
- package/highcharts-gantt.src.d.ts +5 -3
- package/highcharts-gantt.src.js +5185 -8892
- package/highcharts-more.js +144 -140
- package/highcharts-more.js.map +1 -1
- package/highcharts-more.src.js +449 -194
- package/highcharts.d.ts +3943 -5236
- package/highcharts.js +454 -449
- package/highcharts.js.map +1 -1
- package/highcharts.src.d.ts +3943 -5236
- package/highcharts.src.js +4767 -8601
- package/highmaps.d.ts +5 -3
- package/highmaps.js +498 -494
- package/highmaps.js.map +1 -1
- package/highmaps.src.d.ts +5 -3
- package/highmaps.src.js +4547 -8507
- package/highstock.d.ts +5 -3
- package/highstock.js +597 -590
- package/highstock.js.map +1 -1
- package/highstock.src.d.ts +5 -3
- package/highstock.src.js +4871 -8661
- package/indicators/acceleration-bands.js +1 -1
- package/indicators/acceleration-bands.src.js +1 -1
- package/indicators/accumulation-distribution.js +1 -1
- package/indicators/accumulation-distribution.src.js +1 -1
- package/indicators/ao.js +1 -1
- package/indicators/ao.src.js +1 -1
- package/indicators/apo.js +1 -1
- package/indicators/apo.src.js +1 -1
- package/indicators/aroon-oscillator.js +1 -1
- package/indicators/aroon-oscillator.src.js +1 -1
- package/indicators/aroon.js +1 -1
- package/indicators/aroon.src.js +1 -1
- package/indicators/atr.js +1 -1
- package/indicators/atr.src.js +1 -1
- package/indicators/bollinger-bands.js +1 -1
- package/indicators/bollinger-bands.src.js +1 -1
- package/indicators/cci.js +1 -1
- package/indicators/cci.src.js +1 -1
- package/indicators/chaikin.js +1 -1
- package/indicators/chaikin.src.js +1 -1
- package/indicators/cmf.js +1 -1
- package/indicators/cmf.src.js +1 -1
- package/indicators/dema.js +1 -1
- package/indicators/dema.src.js +1 -1
- package/indicators/dpo.js +1 -1
- package/indicators/dpo.src.js +1 -1
- package/indicators/ema.js +1 -1
- package/indicators/ema.src.js +1 -1
- package/indicators/ichimoku-kinko-hyo.js +1 -1
- package/indicators/ichimoku-kinko-hyo.src.js +1 -1
- package/indicators/indicators-all.js +105 -105
- package/indicators/indicators-all.js.map +1 -1
- package/indicators/indicators-all.src.js +6 -4
- package/indicators/indicators.js +9 -9
- package/indicators/indicators.js.map +1 -1
- package/indicators/indicators.src.js +6 -4
- package/indicators/keltner-channels.js +1 -1
- package/indicators/keltner-channels.src.js +1 -1
- package/indicators/macd.js +1 -1
- package/indicators/macd.src.js +1 -1
- package/indicators/mfi.js +1 -1
- package/indicators/mfi.src.js +1 -1
- package/indicators/momentum.js +1 -1
- package/indicators/momentum.src.js +1 -1
- package/indicators/natr.js +1 -1
- package/indicators/natr.src.js +1 -1
- package/indicators/pivot-points.js +1 -1
- package/indicators/pivot-points.src.js +1 -1
- package/indicators/ppo.js +1 -1
- package/indicators/ppo.src.js +1 -1
- package/indicators/price-channel.js +1 -1
- package/indicators/price-channel.src.js +1 -1
- package/indicators/price-envelopes.js +1 -1
- package/indicators/price-envelopes.src.js +1 -1
- package/indicators/psar.js +1 -1
- package/indicators/psar.src.js +1 -1
- package/indicators/regressions.js +1 -1
- package/indicators/regressions.src.js +1 -1
- package/indicators/roc.js +1 -1
- package/indicators/roc.src.js +1 -1
- package/indicators/rsi.js +1 -1
- package/indicators/rsi.src.js +1 -1
- package/indicators/stochastic.js +1 -1
- package/indicators/stochastic.src.js +1 -1
- package/indicators/supertrend.js +1 -1
- package/indicators/supertrend.src.js +1 -1
- package/indicators/tema.js +1 -1
- package/indicators/tema.src.js +1 -1
- package/indicators/trix.js +1 -1
- package/indicators/trix.src.js +1 -1
- package/indicators/volume-by-price.js +1 -1
- package/indicators/volume-by-price.src.js +1 -1
- package/indicators/vwap.js +1 -1
- package/indicators/vwap.src.js +1 -1
- package/indicators/williams-r.js +1 -1
- package/indicators/williams-r.src.js +1 -1
- package/indicators/wma.js +1 -1
- package/indicators/wma.src.js +1 -1
- package/indicators/zigzag.js +1 -1
- package/indicators/zigzag.src.js +1 -1
- package/modules/accessibility.js +92 -89
- package/modules/accessibility.js.map +1 -1
- package/modules/accessibility.src.js +138 -15
- package/modules/annotations-advanced.js +128 -127
- package/modules/annotations-advanced.js.map +1 -1
- package/modules/annotations-advanced.src.js +514 -396
- package/modules/annotations.d.ts +36 -0
- package/modules/annotations.js +81 -81
- package/modules/annotations.js.map +1 -1
- package/modules/annotations.src.d.ts +36 -0
- package/modules/annotations.src.js +418 -315
- package/modules/arrow-symbols.js +1 -1
- package/modules/arrow-symbols.src.js +1 -1
- package/modules/boost-canvas.js +1 -1
- package/modules/boost-canvas.src.js +1 -1
- package/modules/boost.js +63 -63
- package/modules/boost.js.map +1 -1
- package/modules/boost.src.js +99 -39
- package/modules/broken-axis.js +1 -1
- package/modules/broken-axis.src.js +2 -2
- package/modules/bullet.js +1 -1
- package/modules/bullet.src.js +69 -69
- package/modules/current-date-indicator.js +1 -1
- package/modules/current-date-indicator.src.js +1 -1
- package/modules/cylinder.js +1 -1
- package/modules/cylinder.js.map +1 -1
- package/modules/cylinder.src.js +4 -2
- package/modules/data.js +4 -4
- package/modules/data.js.map +1 -1
- package/modules/data.src.js +10 -6
- package/modules/datagrouping.js +1 -1
- package/modules/datagrouping.src.js +1 -1
- package/modules/debugger.js +4 -4
- package/modules/debugger.js.map +1 -1
- package/modules/debugger.src.js +7 -2
- package/modules/dependency-wheel.js +1 -1
- package/modules/dependency-wheel.src.js +1 -1
- package/modules/dotplot.js +1 -1
- package/modules/dotplot.src.js +1 -1
- package/modules/drag-panes.js +1 -1
- package/modules/drag-panes.src.js +1 -1
- package/modules/draggable-points.js +1 -1
- package/modules/draggable-points.src.js +2 -2
- package/modules/drilldown.js +1 -1
- package/modules/drilldown.src.js +2 -2
- package/modules/export-data.js +2 -2
- package/modules/export-data.js.map +1 -1
- package/modules/export-data.src.js +8 -9
- package/modules/exporting.js +25 -25
- package/modules/exporting.js.map +1 -1
- package/modules/exporting.src.js +11 -3
- package/modules/full-screen.js +1 -1
- package/modules/full-screen.src.js +2 -2
- package/modules/funnel.js +1 -1
- package/modules/funnel.src.js +1 -1
- package/modules/funnel3d.js +2 -2
- package/modules/funnel3d.js.map +1 -1
- package/modules/funnel3d.src.js +11 -4
- package/modules/gantt.js +166 -164
- package/modules/gantt.js.map +1 -1
- package/modules/gantt.src.js +422 -295
- package/modules/grid-axis.js +18 -16
- package/modules/grid-axis.js.map +1 -1
- package/modules/grid-axis.src.js +184 -102
- package/modules/heatmap.js +22 -22
- package/modules/heatmap.js.map +1 -1
- package/modules/heatmap.src.js +36 -15
- package/modules/histogram-bellcurve.js +1 -1
- package/modules/histogram-bellcurve.js.map +1 -1
- package/modules/histogram-bellcurve.src.js +186 -183
- package/modules/item-series.js +1 -1
- package/modules/item-series.src.js +11 -11
- package/modules/map-parser.js +1 -1
- package/modules/map-parser.src.js +1 -1
- package/modules/map.js +83 -83
- package/modules/map.js.map +1 -1
- package/modules/map.src.js +67 -34
- package/modules/networkgraph.js +10 -9
- package/modules/networkgraph.js.map +1 -1
- package/modules/networkgraph.src.js +180 -72
- package/modules/no-data-to-display.js +1 -1
- package/modules/no-data-to-display.src.js +1 -1
- package/modules/offline-exporting.js +15 -15
- package/modules/offline-exporting.js.map +1 -1
- package/modules/offline-exporting.src.js +17 -4
- package/modules/oldie-polyfills.js +1 -1
- package/modules/oldie-polyfills.src.js +2 -2
- package/modules/oldie.js +2 -2
- package/modules/oldie.src.js +2 -2
- package/modules/organization.js +1 -1
- package/modules/organization.js.map +1 -1
- package/modules/organization.src.js +66 -21
- package/modules/overlapping-datalabels.js +1 -1
- package/modules/overlapping-datalabels.src.js +1 -1
- package/modules/parallel-coordinates.js +1 -1
- package/modules/parallel-coordinates.src.js +1 -1
- package/modules/pareto.js +1 -1
- package/modules/pareto.js.map +1 -1
- package/modules/pareto.src.js +53 -52
- package/modules/pathfinder.js +3 -3
- package/modules/pathfinder.js.map +1 -1
- package/modules/pathfinder.src.js +3 -3
- package/modules/pattern-fill.js +1 -1
- package/modules/pattern-fill.src.js +2 -2
- package/modules/price-indicator.js +1 -1
- package/modules/price-indicator.src.js +2 -2
- package/modules/pyramid3d.js +1 -1
- package/modules/pyramid3d.src.js +2 -2
- package/modules/sankey.js +14 -14
- package/modules/sankey.js.map +1 -1
- package/modules/sankey.src.js +39 -19
- package/modules/series-label.js +16 -16
- package/modules/series-label.js.map +1 -1
- package/modules/series-label.src.js +17 -9
- package/modules/solid-gauge.js +5 -5
- package/modules/solid-gauge.js.map +1 -1
- package/modules/solid-gauge.src.js +129 -80
- package/modules/sonification.js +1 -1
- package/modules/sonification.src.js +1 -1
- package/modules/static-scale.js +4 -4
- package/modules/static-scale.js.map +1 -1
- package/modules/static-scale.src.js +9 -2
- package/modules/stock-tools.js +2 -2
- package/modules/stock-tools.src.js +3 -3
- package/modules/stock.js +146 -145
- package/modules/stock.js.map +1 -1
- package/modules/stock.src.js +105 -61
- package/modules/streamgraph.js +1 -1
- package/modules/streamgraph.src.js +12 -12
- package/modules/sunburst.js +40 -40
- package/modules/sunburst.js.map +1 -1
- package/modules/sunburst.src.js +30 -9
- package/modules/tilemap.js +1 -1
- package/modules/tilemap.js.map +1 -1
- package/modules/tilemap.src.js +59 -58
- package/modules/timeline.js +12 -11
- package/modules/timeline.js.map +1 -1
- package/modules/timeline.src.js +18 -13
- package/modules/treegrid.js +45 -43
- package/modules/treegrid.js.map +1 -1
- package/modules/treegrid.src.js +238 -139
- package/modules/treemap.js +1 -1
- package/modules/treemap.src.js +7 -7
- package/modules/variable-pie.js +1 -1
- package/modules/variable-pie.src.js +1 -1
- package/modules/variwide.js +1 -1
- package/modules/variwide.src.js +40 -40
- package/modules/vector.js +1 -1
- package/modules/vector.js.map +1 -1
- package/modules/vector.src.js +109 -108
- package/modules/venn.js +23 -23
- package/modules/venn.js.map +1 -1
- package/modules/venn.src.js +5 -3
- package/modules/windbarb.js +1 -1
- package/modules/windbarb.src.js +44 -44
- package/modules/wordcloud.js +10 -10
- package/modules/wordcloud.js.map +1 -1
- package/modules/wordcloud.src.js +2 -1
- package/modules/xrange.js +12 -12
- package/modules/xrange.js.map +1 -1
- package/modules/xrange.src.js +113 -105
- package/package.json +1 -1
- package/themes/avocado.js +21 -37
- package/themes/avocado.src.js +1 -1
- package/themes/dark-blue.js +1 -1
- package/themes/dark-blue.src.js +1 -1
- package/themes/dark-green.js +1 -1
- package/themes/dark-green.src.js +1 -1
- package/themes/dark-unica.js +1 -1
- package/themes/dark-unica.src.js +1 -1
- package/themes/gray.js +1 -1
- package/themes/gray.src.js +1 -1
- package/themes/grid-light.js +1 -1
- package/themes/grid-light.src.js +1 -1
- package/themes/grid.js +1 -1
- package/themes/grid.src.js +1 -1
- package/themes/sand-signika.js +1 -1
- package/themes/sand-signika.src.js +1 -1
- package/themes/skies.js +1 -1
- package/themes/skies.src.js +1 -1
- package/themes/sunset.js +21 -37
- package/themes/sunset.src.js +1 -1
- package/.DS_Store +0 -0
- package/es-modules/.DS_Store +0 -0
- package/es-modules/modules/annotations-legacy.src.js +0 -1977
- package/js/.DS_Store +0 -0
|
@@ -161,8 +161,9 @@ function GLRenderer(postRenderCallback) {
|
|
|
161
161
|
vbuffer.allocate(s);
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
|
|
164
|
+
/**
|
|
165
165
|
* Returns an orthographic perspective matrix
|
|
166
|
+
* @private
|
|
166
167
|
* @param {number} width - the width of the viewport in pixels
|
|
167
168
|
* @param {number} height - the height of the viewport in pixels
|
|
168
169
|
*/
|
|
@@ -178,25 +179,28 @@ function GLRenderer(postRenderCallback) {
|
|
|
178
179
|
];
|
|
179
180
|
}
|
|
180
181
|
|
|
181
|
-
|
|
182
|
+
/**
|
|
182
183
|
* Clear the depth and color buffer
|
|
184
|
+
* @private
|
|
183
185
|
*/
|
|
184
186
|
function clear() {
|
|
185
187
|
gl.clear(gl.COLOR_BUFFER_BIT | gl.DEPTH_BUFFER_BIT);
|
|
186
188
|
}
|
|
187
189
|
|
|
188
|
-
|
|
190
|
+
/**
|
|
189
191
|
* Get the WebGL context
|
|
192
|
+
* @private
|
|
190
193
|
* @returns {WebGLContext} - the context
|
|
191
194
|
*/
|
|
192
195
|
function getGL() {
|
|
193
196
|
return gl;
|
|
194
197
|
}
|
|
195
198
|
|
|
196
|
-
|
|
199
|
+
/**
|
|
197
200
|
* Push data for a single series
|
|
198
201
|
* This calculates additional vertices and transforms the data to be
|
|
199
202
|
* aligned correctly in memory
|
|
203
|
+
* @private
|
|
200
204
|
*/
|
|
201
205
|
function pushSeriesData(series, inst) {
|
|
202
206
|
var isRange = series.pointArrayMap &&
|
|
@@ -823,9 +827,10 @@ function GLRenderer(postRenderCallback) {
|
|
|
823
827
|
closeSegment();
|
|
824
828
|
}
|
|
825
829
|
|
|
826
|
-
|
|
830
|
+
/**
|
|
827
831
|
* Push a series to the renderer
|
|
828
832
|
* If we render the series immediatly, we don't have to loop later
|
|
833
|
+
* @private
|
|
829
834
|
* @param s {Highchart.Series} - the series to push
|
|
830
835
|
*/
|
|
831
836
|
function pushSeries(s) {
|
|
@@ -878,10 +883,11 @@ function GLRenderer(postRenderCallback) {
|
|
|
878
883
|
}
|
|
879
884
|
}
|
|
880
885
|
|
|
881
|
-
|
|
886
|
+
/**
|
|
882
887
|
* Flush the renderer.
|
|
883
888
|
* This removes pushed series and vertices.
|
|
884
889
|
* Should be called after clearing and before rendering
|
|
890
|
+
* @private
|
|
885
891
|
*/
|
|
886
892
|
function flush() {
|
|
887
893
|
series = [];
|
|
@@ -893,8 +899,9 @@ function GLRenderer(postRenderCallback) {
|
|
|
893
899
|
}
|
|
894
900
|
}
|
|
895
901
|
|
|
896
|
-
|
|
902
|
+
/**
|
|
897
903
|
* Pass x-axis to shader
|
|
904
|
+
* @private
|
|
898
905
|
* @param axis {Highcharts.Axis} - the x-axis
|
|
899
906
|
*/
|
|
900
907
|
function setXAxis(axis) {
|
|
@@ -913,8 +920,9 @@ function GLRenderer(postRenderCallback) {
|
|
|
913
920
|
shader.setUniform('xAxisReversed', !!axis.reversed);
|
|
914
921
|
}
|
|
915
922
|
|
|
916
|
-
|
|
923
|
+
/**
|
|
917
924
|
* Pass y-axis to shader
|
|
925
|
+
* @private
|
|
918
926
|
* @param axis {Highcharts.Axis} - the y-axis
|
|
919
927
|
*/
|
|
920
928
|
function setYAxis(axis) {
|
|
@@ -933,8 +941,9 @@ function GLRenderer(postRenderCallback) {
|
|
|
933
941
|
shader.setUniform('yAxisReversed', !!axis.reversed);
|
|
934
942
|
}
|
|
935
943
|
|
|
936
|
-
|
|
944
|
+
/**
|
|
937
945
|
* Set the translation threshold
|
|
946
|
+
* @private
|
|
938
947
|
* @param has {boolean} - has threshold flag
|
|
939
948
|
* @param translation {Float} - the threshold
|
|
940
949
|
*/
|
|
@@ -943,9 +952,10 @@ function GLRenderer(postRenderCallback) {
|
|
|
943
952
|
shader.setUniform('translatedThreshold', translation);
|
|
944
953
|
}
|
|
945
954
|
|
|
946
|
-
|
|
955
|
+
/**
|
|
947
956
|
* Render the data
|
|
948
957
|
* This renders all pushed series.
|
|
958
|
+
* @private
|
|
949
959
|
*/
|
|
950
960
|
function render(chart) {
|
|
951
961
|
|
|
@@ -1164,8 +1174,9 @@ function GLRenderer(postRenderCallback) {
|
|
|
1164
1174
|
flush();
|
|
1165
1175
|
}
|
|
1166
1176
|
|
|
1167
|
-
|
|
1177
|
+
/**
|
|
1168
1178
|
* Render the data when ready
|
|
1179
|
+
* @private
|
|
1169
1180
|
*/
|
|
1170
1181
|
function renderWhenReady(chart) {
|
|
1171
1182
|
clear();
|
|
@@ -1183,9 +1194,10 @@ function GLRenderer(postRenderCallback) {
|
|
|
1183
1194
|
}
|
|
1184
1195
|
}
|
|
1185
1196
|
|
|
1186
|
-
|
|
1197
|
+
/**
|
|
1187
1198
|
* Set the viewport size in pixels
|
|
1188
1199
|
* Creates an orthographic perspective matrix and applies it.
|
|
1200
|
+
* @private
|
|
1189
1201
|
* @param w {Integer} - the width of the viewport
|
|
1190
1202
|
* @param h {Integer} - the height of the viewport
|
|
1191
1203
|
*/
|
|
@@ -1202,8 +1214,9 @@ function GLRenderer(postRenderCallback) {
|
|
|
1202
1214
|
shader.setPMatrix(orthoMatrix(width, height));
|
|
1203
1215
|
}
|
|
1204
1216
|
|
|
1205
|
-
|
|
1217
|
+
/**
|
|
1206
1218
|
* Init OpenGL
|
|
1219
|
+
* @private
|
|
1207
1220
|
* @param canvas {HTMLCanvas} - the canvas to render to
|
|
1208
1221
|
*/
|
|
1209
1222
|
function init(canvas, noFlush) {
|
|
@@ -1381,16 +1394,18 @@ function GLRenderer(postRenderCallback) {
|
|
|
1381
1394
|
return true;
|
|
1382
1395
|
}
|
|
1383
1396
|
|
|
1384
|
-
|
|
1397
|
+
/**
|
|
1385
1398
|
* Check if we have a valid OGL context
|
|
1399
|
+
* @private
|
|
1386
1400
|
* @returns {Boolean} - true if the context is valid
|
|
1387
1401
|
*/
|
|
1388
1402
|
function valid() {
|
|
1389
1403
|
return gl !== false;
|
|
1390
1404
|
}
|
|
1391
1405
|
|
|
1392
|
-
|
|
1406
|
+
/**
|
|
1393
1407
|
* Check if the renderer has been initialized
|
|
1408
|
+
* @private
|
|
1394
1409
|
* @returns {Boolean} - true if it has, false if not
|
|
1395
1410
|
*/
|
|
1396
1411
|
function inited() {
|
|
@@ -252,8 +252,9 @@ function GLShader(gl) {
|
|
|
252
252
|
// Texture uniform
|
|
253
253
|
uSamplerUniform;
|
|
254
254
|
|
|
255
|
-
|
|
255
|
+
/**
|
|
256
256
|
* Handle errors accumulated in errors stack
|
|
257
|
+
* @private
|
|
257
258
|
*/
|
|
258
259
|
function handleErrors() {
|
|
259
260
|
if (errors.length) {
|
|
@@ -261,7 +262,9 @@ function GLShader(gl) {
|
|
|
261
262
|
}
|
|
262
263
|
}
|
|
263
264
|
|
|
264
|
-
|
|
265
|
+
/**
|
|
266
|
+
* String to shader program
|
|
267
|
+
* @private
|
|
265
268
|
* @param {string} str - the program source
|
|
266
269
|
* @param {string} type - the program type: either `vertex` or `fragment`
|
|
267
270
|
* @returns {bool|shader}
|
|
@@ -286,9 +289,10 @@ function GLShader(gl) {
|
|
|
286
289
|
return shader;
|
|
287
290
|
}
|
|
288
291
|
|
|
289
|
-
|
|
292
|
+
/**
|
|
290
293
|
* Create the shader.
|
|
291
294
|
* Loads the shader program statically defined above
|
|
295
|
+
* @private
|
|
292
296
|
*/
|
|
293
297
|
function createShader() {
|
|
294
298
|
var v = stringToProgram(vertShade, 'vertex'),
|
|
@@ -336,8 +340,9 @@ function GLShader(gl) {
|
|
|
336
340
|
return true;
|
|
337
341
|
}
|
|
338
342
|
|
|
339
|
-
|
|
343
|
+
/**
|
|
340
344
|
* Destroy the shader
|
|
345
|
+
* @private
|
|
341
346
|
*/
|
|
342
347
|
function destroy() {
|
|
343
348
|
if (gl && shaderProgram) {
|
|
@@ -346,10 +351,11 @@ function GLShader(gl) {
|
|
|
346
351
|
}
|
|
347
352
|
}
|
|
348
353
|
|
|
349
|
-
|
|
354
|
+
/**
|
|
350
355
|
* Bind the shader.
|
|
351
356
|
* This makes the shader the active one until another one is bound,
|
|
352
357
|
* or until 0 is bound.
|
|
358
|
+
* @private
|
|
353
359
|
*/
|
|
354
360
|
function bind() {
|
|
355
361
|
if (gl && shaderProgram) {
|
|
@@ -357,9 +363,10 @@ function GLShader(gl) {
|
|
|
357
363
|
}
|
|
358
364
|
}
|
|
359
365
|
|
|
360
|
-
|
|
366
|
+
/**
|
|
361
367
|
* Set a uniform value.
|
|
362
368
|
* This uses a hash map to cache uniform locations.
|
|
369
|
+
* @private
|
|
363
370
|
* @param name {string} - the name of the uniform to set
|
|
364
371
|
* @param val {float} - the value to set
|
|
365
372
|
*/
|
|
@@ -375,8 +382,9 @@ function GLShader(gl) {
|
|
|
375
382
|
}
|
|
376
383
|
}
|
|
377
384
|
|
|
378
|
-
|
|
385
|
+
/**
|
|
379
386
|
* Set the active texture
|
|
387
|
+
* @private
|
|
380
388
|
* @param texture - the texture
|
|
381
389
|
*/
|
|
382
390
|
function setTexture(texture) {
|
|
@@ -385,8 +393,9 @@ function GLShader(gl) {
|
|
|
385
393
|
}
|
|
386
394
|
}
|
|
387
395
|
|
|
388
|
-
|
|
396
|
+
/**
|
|
389
397
|
* Set if inversion state
|
|
398
|
+
* @private
|
|
390
399
|
* @flag is the state
|
|
391
400
|
*/
|
|
392
401
|
function setInverted(flag) {
|
|
@@ -395,8 +404,9 @@ function GLShader(gl) {
|
|
|
395
404
|
}
|
|
396
405
|
}
|
|
397
406
|
|
|
398
|
-
|
|
407
|
+
/**
|
|
399
408
|
* Enable/disable circle drawing
|
|
409
|
+
* @private
|
|
400
410
|
*/
|
|
401
411
|
function setDrawAsCircle(flag) {
|
|
402
412
|
if (gl && shaderProgram) {
|
|
@@ -404,8 +414,9 @@ function GLShader(gl) {
|
|
|
404
414
|
}
|
|
405
415
|
}
|
|
406
416
|
|
|
407
|
-
|
|
417
|
+
/**
|
|
408
418
|
* Flush
|
|
419
|
+
* @private
|
|
409
420
|
*/
|
|
410
421
|
function reset() {
|
|
411
422
|
if (gl && shaderProgram) {
|
|
@@ -414,8 +425,9 @@ function GLShader(gl) {
|
|
|
414
425
|
}
|
|
415
426
|
}
|
|
416
427
|
|
|
417
|
-
|
|
428
|
+
/**
|
|
418
429
|
* Set bubble uniforms
|
|
430
|
+
* @private
|
|
419
431
|
* @param series {Highcharts.Series} - the series to use
|
|
420
432
|
*/
|
|
421
433
|
function setBubbleUniforms(series, zCalcMin, zCalcMax) {
|
|
@@ -454,8 +466,9 @@ function GLShader(gl) {
|
|
|
454
466
|
}
|
|
455
467
|
}
|
|
456
468
|
|
|
457
|
-
|
|
469
|
+
/**
|
|
458
470
|
* Set the Color uniform.
|
|
471
|
+
* @private
|
|
459
472
|
* @param color {Array<float>} - an array with RGBA values
|
|
460
473
|
*/
|
|
461
474
|
function setColor(color) {
|
|
@@ -470,8 +483,9 @@ function GLShader(gl) {
|
|
|
470
483
|
}
|
|
471
484
|
}
|
|
472
485
|
|
|
473
|
-
|
|
486
|
+
/**
|
|
474
487
|
* Set skip translation
|
|
488
|
+
* @private
|
|
475
489
|
*/
|
|
476
490
|
function setSkipTranslation(flag) {
|
|
477
491
|
if (gl && shaderProgram) {
|
|
@@ -479,8 +493,9 @@ function GLShader(gl) {
|
|
|
479
493
|
}
|
|
480
494
|
}
|
|
481
495
|
|
|
482
|
-
|
|
496
|
+
/**
|
|
483
497
|
* Set the perspective matrix
|
|
498
|
+
* @private
|
|
484
499
|
* @param m {Matrix4x4} - the matrix
|
|
485
500
|
*/
|
|
486
501
|
function setPMatrix(m) {
|
|
@@ -489,8 +504,9 @@ function GLShader(gl) {
|
|
|
489
504
|
}
|
|
490
505
|
}
|
|
491
506
|
|
|
492
|
-
|
|
507
|
+
/**
|
|
493
508
|
* Set the point size.
|
|
509
|
+
* @private
|
|
494
510
|
* @param p {float} - point size
|
|
495
511
|
*/
|
|
496
512
|
function setPointSize(p) {
|
|
@@ -499,8 +515,9 @@ function GLShader(gl) {
|
|
|
499
515
|
}
|
|
500
516
|
}
|
|
501
517
|
|
|
502
|
-
|
|
518
|
+
/**
|
|
503
519
|
* Get the shader program handle
|
|
520
|
+
* @private
|
|
504
521
|
* @returns {GLInt} - the handle for the program
|
|
505
522
|
*/
|
|
506
523
|
function getProgram() {
|
|
@@ -49,8 +49,9 @@ function GLVertexBuffer(gl, shader, dataComponents /* , type */) {
|
|
|
49
49
|
data = [];
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
|
|
52
|
+
/**
|
|
53
53
|
* Build the buffer
|
|
54
|
+
* @private
|
|
54
55
|
* @param dataIn {Array<float>} - a 0 padded array of indices
|
|
55
56
|
* @param attrib {String} - the name of the Attribute to bind the buffer to
|
|
56
57
|
* @param dataComponents {Integer} - the number of components per. indice
|
|
@@ -94,8 +95,9 @@ function GLVertexBuffer(gl, shader, dataComponents /* , type */) {
|
|
|
94
95
|
return true;
|
|
95
96
|
}
|
|
96
97
|
|
|
97
|
-
|
|
98
|
+
/**
|
|
98
99
|
* Bind the buffer
|
|
100
|
+
* @private
|
|
99
101
|
*/
|
|
100
102
|
function bind() {
|
|
101
103
|
if (!buffer) {
|
|
@@ -111,8 +113,9 @@ function GLVertexBuffer(gl, shader, dataComponents /* , type */) {
|
|
|
111
113
|
// gl.enableVertexAttribArray(vertAttribute);
|
|
112
114
|
}
|
|
113
115
|
|
|
114
|
-
|
|
116
|
+
/**
|
|
115
117
|
* Render the buffer
|
|
118
|
+
* @private
|
|
116
119
|
* @param from {Integer} - the start indice
|
|
117
120
|
* @param to {Integer} - the end indice
|
|
118
121
|
* @param drawMode {String} - the draw mode
|
|
@@ -156,9 +159,10 @@ function GLVertexBuffer(gl, shader, dataComponents /* , type */) {
|
|
|
156
159
|
}
|
|
157
160
|
}
|
|
158
161
|
|
|
159
|
-
|
|
162
|
+
/**
|
|
160
163
|
* Note about pre-allocated buffers:
|
|
161
164
|
* - This is slower for charts with many series
|
|
165
|
+
* @private
|
|
162
166
|
*/
|
|
163
167
|
function allocate(size) {
|
|
164
168
|
size *= 4;
|
|
@@ -27,78 +27,78 @@ var pick = H.pick,
|
|
|
27
27
|
seriesType('bullet', 'column'
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
*
|
|
38
|
-
* @extends plotOptions.column
|
|
39
|
-
* @since 6.0.0
|
|
40
|
-
* @product highcharts
|
|
41
|
-
* @excluding allAreas, boostThreshold, colorAxis, compare, compareBase
|
|
42
|
-
* @optionparent plotOptions.bullet
|
|
43
|
-
*/
|
|
44
|
-
, {
|
|
45
|
-
/**
|
|
46
|
-
* All options related with look and positiong of targets.
|
|
30
|
+
* A bullet graph is a variation of a bar graph. The bullet graph features
|
|
31
|
+
* a single measure, compares it to a target, and displays it in the context
|
|
32
|
+
* of qualitative ranges of performance that could be set using
|
|
33
|
+
* [plotBands](#yAxis.plotBands) on [yAxis](#yAxis).
|
|
34
|
+
*
|
|
35
|
+
* @sample {highcharts} highcharts/demo/bullet-graph/
|
|
36
|
+
* Bullet graph
|
|
47
37
|
*
|
|
48
|
-
* @
|
|
38
|
+
* @extends plotOptions.column
|
|
39
|
+
* @since 6.0.0
|
|
40
|
+
* @product highcharts
|
|
41
|
+
* @excluding allAreas, boostThreshold, colorAxis, compare, compareBase
|
|
42
|
+
* @optionparent plotOptions.bullet
|
|
49
43
|
*/
|
|
50
|
-
|
|
44
|
+
, {
|
|
51
45
|
/**
|
|
52
|
-
*
|
|
53
|
-
* as a pixel value or as a percentage of a column width.
|
|
46
|
+
* All options related with look and positiong of targets.
|
|
54
47
|
*
|
|
55
|
-
* @type {number|string}
|
|
56
48
|
* @since 6.0.0
|
|
57
49
|
*/
|
|
50
|
+
targetOptions: {
|
|
51
|
+
/**
|
|
52
|
+
* The width of the rectangle representing the target. Could be set
|
|
53
|
+
* as a pixel value or as a percentage of a column width.
|
|
54
|
+
*
|
|
55
|
+
* @type {number|string}
|
|
56
|
+
* @since 6.0.0
|
|
57
|
+
*/
|
|
58
58
|
width: '140%',
|
|
59
59
|
|
|
60
60
|
/**
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
61
|
+
* The height of the rectangle representing the target.
|
|
62
|
+
*
|
|
63
|
+
* @since 6.0.0
|
|
64
|
+
*/
|
|
65
65
|
height: 3,
|
|
66
66
|
|
|
67
67
|
/**
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
68
|
+
* The border color of the rectangle representing the target. When
|
|
69
|
+
* not set, the point's border color is used.
|
|
70
|
+
*
|
|
71
|
+
* In styled mode, use class `highcharts-bullet-target` instead.
|
|
72
|
+
*
|
|
73
|
+
* @type {Highcharts.ColorString}
|
|
74
|
+
* @since 6.0.0
|
|
75
|
+
* @product highcharts
|
|
76
|
+
* @apioption plotOptions.bullet.targetOptions.borderColor
|
|
77
|
+
*/
|
|
78
78
|
|
|
79
79
|
/**
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
80
|
+
* The color of the rectangle representing the target. When not set,
|
|
81
|
+
* point's color (if set in point's options -
|
|
82
|
+
* [`color`](#series.bullet.data.color)) or zone of the target value
|
|
83
|
+
* (if [`zones`](#plotOptions.bullet.zones) or
|
|
84
|
+
* [`negativeColor`](#plotOptions.bullet.negativeColor) are set)
|
|
85
|
+
* or the same color as the point has is used.
|
|
86
|
+
*
|
|
87
|
+
* In styled mode, use class `highcharts-bullet-target` instead.
|
|
88
|
+
*
|
|
89
|
+
* @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
|
|
90
|
+
* @since 6.0.0
|
|
91
|
+
* @product highcharts
|
|
92
|
+
* @apioption plotOptions.bullet.targetOptions.color
|
|
93
|
+
*/
|
|
94
94
|
|
|
95
95
|
/**
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
96
|
+
* The border width of the rectangle representing the target.
|
|
97
|
+
*
|
|
98
|
+
* In styled mode, use class `highcharts-bullet-target` instead.
|
|
99
|
+
*
|
|
100
|
+
* @since 6.0.0
|
|
101
|
+
*/
|
|
102
102
|
borderWidth: 0
|
|
103
103
|
},
|
|
104
104
|
|
|
@@ -112,13 +112,13 @@ seriesType('bullet', 'column'
|
|
|
112
112
|
parallelArrays: ['x', 'y', 'target'],
|
|
113
113
|
|
|
114
114
|
/**
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
115
|
+
* Draws the targets. For inverted chart, the `series.group` is rotated,
|
|
116
|
+
* so the same coordinates apply. This method is based on column series
|
|
117
|
+
* drawPoints function.
|
|
118
|
+
*
|
|
119
|
+
* @ignore
|
|
120
|
+
* @function Highcharts.Series#drawPoints
|
|
121
|
+
*/
|
|
122
122
|
drawPoints: function () {
|
|
123
123
|
var series = this,
|
|
124
124
|
chart = series.chart,
|
|
@@ -232,11 +232,11 @@ seriesType('bullet', 'column'
|
|
|
232
232
|
},
|
|
233
233
|
|
|
234
234
|
/**
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
235
|
+
* Includes target values to extend extremes from y values.
|
|
236
|
+
*
|
|
237
|
+
* @ignore
|
|
238
|
+
* @function Highcharts.Series#getExtremes
|
|
239
|
+
*/
|
|
240
240
|
getExtremes: function (yData) {
|
|
241
241
|
var series = this,
|
|
242
242
|
targetData = series.targetData,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/* *
|
|
2
2
|
* Data module
|
|
3
3
|
*
|
|
4
4
|
* (c) 2012-2019 Torstein Honsi
|
|
@@ -108,7 +108,7 @@ var addEvent = Highcharts.addEvent,
|
|
|
108
108
|
* It requires the `modules/data.js` file to be loaded.
|
|
109
109
|
*
|
|
110
110
|
* Please note that the default way of adding data in Highcharts, without
|
|
111
|
-
* the need of a module, is through the [series.data](#series.data)
|
|
111
|
+
* the need of a module, is through the [series._type_.data](#series.line.data)
|
|
112
112
|
* option.
|
|
113
113
|
*
|
|
114
114
|
* @sample {highcharts} highcharts/demo/column-parsed/
|
|
@@ -1045,12 +1045,14 @@ Highcharts.extend(Data.prototype, {
|
|
|
1045
1045
|
return guessed;
|
|
1046
1046
|
}
|
|
1047
1047
|
|
|
1048
|
-
|
|
1048
|
+
/**
|
|
1049
|
+
* Tries to guess the date format
|
|
1049
1050
|
* - Check if either month candidate exceeds 12
|
|
1050
1051
|
* - Check if year is missing (use current year)
|
|
1051
1052
|
* - Check if a shortened year format is used (e.g. 1/1/99)
|
|
1052
1053
|
* - If no guess can be made, the user must be prompted
|
|
1053
1054
|
* data is the data to deduce a format based on
|
|
1055
|
+
* @private
|
|
1054
1056
|
*/
|
|
1055
1057
|
function deduceDateFormat(data, limit) {
|
|
1056
1058
|
var format = 'YYYY/mm/dd',
|
|
@@ -1168,10 +1170,12 @@ Highcharts.extend(Data.prototype, {
|
|
|
1168
1170
|
return format;
|
|
1169
1171
|
}
|
|
1170
1172
|
|
|
1171
|
-
|
|
1173
|
+
/**
|
|
1174
|
+
* Figure out the best axis types for the data
|
|
1172
1175
|
* - If the first column is a number, we're good
|
|
1173
1176
|
* - If the first column is a date, set to date/time
|
|
1174
1177
|
* - If the first column is a string, set to categories
|
|
1178
|
+
* @private
|
|
1175
1179
|
*/
|
|
1176
1180
|
function deduceAxisTypes() {
|
|
1177
1181
|
|
|
@@ -1471,7 +1475,7 @@ Highcharts.extend(Data.prototype, {
|
|
|
1471
1475
|
if (options.enablePolling) {
|
|
1472
1476
|
setTimeout(function () {
|
|
1473
1477
|
fetchSheet(fn);
|
|
1474
|
-
}, options.dataRefreshRate);
|
|
1478
|
+
}, (options.dataRefreshRate || 2) * 1000);
|
|
1475
1479
|
}
|
|
1476
1480
|
},
|
|
1477
1481
|
error: function (xhr, text) {
|
|
@@ -181,7 +181,7 @@ extend(
|
|
|
181
181
|
* [code.highcharts.com/modules/drilldown.js
|
|
182
182
|
* ](code.highcharts.com/modules/drilldown.js).
|
|
183
183
|
*
|
|
184
|
-
* @product highcharts
|
|
184
|
+
* @product highcharts highmaps
|
|
185
185
|
* @optionparent drilldown
|
|
186
186
|
*/
|
|
187
187
|
defaultOptions.drilldown = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/* *
|
|
2
2
|
* Experimental data export module for Highcharts
|
|
3
3
|
*
|
|
4
4
|
* (c) 2010-2019 Torstein Honsi
|
|
@@ -422,13 +422,6 @@ Highcharts.Chart.prototype.getDataRows = function (multiLevelHeaders) {
|
|
|
422
422
|
key = point.x;
|
|
423
423
|
name = series.data[pIdx] && series.data[pIdx].name;
|
|
424
424
|
|
|
425
|
-
if (xTaken) {
|
|
426
|
-
if (xTaken[key]) {
|
|
427
|
-
key += '|' + pIdx;
|
|
428
|
-
}
|
|
429
|
-
xTaken[key] = true;
|
|
430
|
-
}
|
|
431
|
-
|
|
432
425
|
j = 0;
|
|
433
426
|
|
|
434
427
|
// Pies, funnels, geo maps etc. use point name in X row
|
|
@@ -436,6 +429,12 @@ Highcharts.Chart.prototype.getDataRows = function (multiLevelHeaders) {
|
|
|
436
429
|
key = name;
|
|
437
430
|
}
|
|
438
431
|
|
|
432
|
+
if (xTaken) {
|
|
433
|
+
if (xTaken[key]) {
|
|
434
|
+
key += '|' + pIdx;
|
|
435
|
+
}
|
|
436
|
+
xTaken[key] = true;
|
|
437
|
+
}
|
|
439
438
|
|
|
440
439
|
if (!rows[key]) {
|
|
441
440
|
// Generate the row
|