highcharts 6.1.4 → 6.2.0
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/highcharts.css +17 -0
- package/css/highcharts.scss +14 -0
- package/css/themes/dark-unica.css +17 -0
- package/css/themes/grid-light.css +17 -0
- package/css/themes/sand-signika.css +17 -0
- package/es-modules/indicators/momentum.src.js +1 -1
- package/es-modules/indicators/pivot-points.src.js +6 -1
- package/es-modules/masters/highcharts-gantt.src.js +11 -0
- package/es-modules/masters/modules/annotations.src.js +1 -1
- package/es-modules/masters/modules/arrow-symbols.src.js +12 -0
- package/es-modules/masters/modules/broken-axis.src.js +1 -1
- package/es-modules/masters/modules/current-date-indicator.src.js +12 -0
- package/es-modules/masters/modules/data.src.js +1 -1
- package/es-modules/masters/modules/draggable-points.src.js +9 -0
- package/es-modules/masters/modules/export-data.src.js +1 -1
- package/es-modules/masters/modules/exporting.src.js +1 -1
- package/es-modules/masters/modules/funnel.src.js +1 -1
- package/es-modules/masters/modules/gantt.src.js +2 -1
- package/es-modules/masters/modules/grid-axis.src.js +1 -1
- package/es-modules/masters/modules/heatmap.src.js +1 -1
- package/es-modules/masters/modules/item-series.src.js +1 -1
- package/es-modules/masters/modules/map.src.js +1 -1
- package/es-modules/masters/modules/overlapping-datalabels.src.js +1 -1
- package/es-modules/masters/modules/pathfinder.src.js +12 -0
- package/es-modules/masters/modules/sankey.src.js +1 -1
- package/es-modules/masters/modules/series-label.src.js +1 -1
- package/es-modules/masters/modules/solid-gauge.src.js +1 -1
- package/es-modules/masters/modules/stock.src.js +1 -1
- package/es-modules/masters/modules/streamgraph.src.js +1 -1
- package/es-modules/masters/modules/treegrid.src.js +12 -0
- package/es-modules/masters/modules/variwide.src.js +1 -1
- package/es-modules/masters/modules/vector.src.js +1 -1
- package/es-modules/masters/modules/windbarb.src.js +1 -1
- package/es-modules/masters/modules/xrange.src.js +1 -1
- package/es-modules/masters/themes/dark-blue.src.js +1 -1
- package/es-modules/masters/themes/dark-green.src.js +1 -1
- package/es-modules/masters/themes/dark-unica.src.js +1 -1
- package/es-modules/masters/themes/gray.src.js +1 -1
- package/es-modules/masters/themes/grid-light.src.js +1 -1
- package/es-modules/masters/themes/grid.src.js +1 -1
- package/es-modules/masters/themes/sand-signika.src.js +1 -1
- package/es-modules/masters/themes/skies.src.js +1 -1
- package/es-modules/mixins/centered-series.js +1 -1
- package/es-modules/mixins/on-series.js +1 -1
- package/es-modules/modules/boost.src.js +22 -14
- package/es-modules/modules/broken-axis.src.js +169 -134
- package/es-modules/modules/data.src.js +2 -2
- package/es-modules/modules/draggable-points.src.js +2257 -0
- package/es-modules/modules/drilldown.src.js +1 -0
- package/es-modules/modules/export-data.src.js +1 -1
- package/es-modules/modules/exporting.src.js +1 -1
- package/es-modules/modules/funnel.src.js +1 -1
- package/es-modules/modules/item-series.src.js +1 -1
- package/es-modules/modules/no-data-to-display.src.js +5 -5
- package/es-modules/modules/oldie.src.js +1 -1
- package/es-modules/modules/overlapping-datalabels.src.js +38 -22
- package/es-modules/modules/parallel-coordinates.src.js +3 -2
- package/es-modules/modules/sankey.src.js +1 -1
- package/es-modules/modules/series-label.src.js +2 -2
- package/es-modules/modules/solid-gauge.src.js +1 -1
- package/es-modules/modules/static-scale.src.js +67 -28
- package/es-modules/modules/streamgraph.src.js +1 -1
- package/es-modules/modules/tilemap.src.js +231 -134
- package/es-modules/modules/variwide.src.js +1 -1
- package/es-modules/modules/vector.src.js +92 -22
- package/es-modules/modules/windbarb.src.js +1 -1
- package/es-modules/modules/xrange.src.js +257 -77
- package/es-modules/parts/AreaSeries.js +77 -77
- package/es-modules/parts/AreaSplineSeries.js +64 -27
- package/es-modules/parts/Axis.js +160 -67
- package/es-modules/parts/BarSeries.js +68 -51
- package/es-modules/parts/CandlestickSeries.js +1 -1
- package/es-modules/parts/Chart.js +31 -55
- package/es-modules/parts/Color.js +29 -18
- package/es-modules/parts/ColumnSeries.js +264 -142
- package/es-modules/parts/DataGrouping.js +9 -6
- package/es-modules/parts/DataLabels.js +261 -210
- package/es-modules/parts/DateTimeAxis.js +26 -7
- package/es-modules/parts/Dynamics.js +5 -2
- package/es-modules/parts/FlagsSeries.js +1 -1
- package/es-modules/parts/Globals.js +1 -1
- package/es-modules/parts/Html.js +64 -12
- package/es-modules/parts/Interaction.js +187 -63
- package/es-modules/parts/Legend.js +7 -3
- package/es-modules/parts/LogarithmicAxis.js +35 -4
- package/es-modules/parts/MSPointer.js +1 -1
- package/es-modules/parts/Navigator.js +27 -5
- package/es-modules/parts/OHLCSeries.js +1 -1
- package/es-modules/parts/Options.js +15 -13
- package/es-modules/parts/OrdinalAxis.js +1 -1
- package/es-modules/parts/PieSeries.js +256 -140
- package/es-modules/parts/PlotBandSeries.experimental.js +1 -1
- package/es-modules/parts/PlotLineOrBand.js +7 -40
- package/es-modules/parts/Point.js +28 -4
- package/es-modules/parts/Pointer.js +8 -6
- package/es-modules/parts/RangeSelector.js +1 -1
- package/es-modules/parts/Responsive.js +82 -36
- package/es-modules/parts/ScatterSeries.js +57 -25
- package/es-modules/parts/ScrollablePlotArea.js +17 -7
- package/es-modules/parts/Scrollbar.js +9 -2
- package/es-modules/parts/Series.js +22 -9
- package/es-modules/parts/SplineSeries.js +51 -29
- package/es-modules/parts/Stacking.js +100 -6
- package/es-modules/parts/StockChart.js +9 -3
- package/es-modules/parts/SvgRenderer.js +15 -10
- package/es-modules/parts/Tick.js +150 -30
- package/es-modules/parts/Time.js +23 -5
- package/es-modules/parts/Tooltip.js +2 -2
- package/es-modules/parts/TouchPointer.js +1 -1
- package/es-modules/parts/Utilities.js +16 -1
- package/es-modules/parts-3d/Axis.js +1 -1
- package/es-modules/parts-3d/Chart.js +1 -1
- package/es-modules/parts-3d/Column.js +1 -1
- package/es-modules/parts-3d/Math.js +1 -1
- package/es-modules/parts-3d/Pie.js +1 -1
- package/es-modules/parts-3d/SVGRenderer.js +1 -1
- package/es-modules/parts-3d/Scatter.js +1 -1
- package/es-modules/parts-3d/Series.js +1 -1
- package/es-modules/parts-3d/VMLRenderer.js +1 -1
- package/es-modules/parts-gantt/ArrowSymbols.js +110 -0
- package/es-modules/parts-gantt/CurrentDateIndicator.js +92 -0
- package/es-modules/parts-gantt/GanttChart.js +111 -0
- package/es-modules/parts-gantt/GanttSeries.js +376 -0
- package/es-modules/parts-gantt/GridAxis.js +965 -0
- package/es-modules/parts-gantt/Pathfinder.js +1247 -0
- package/es-modules/parts-gantt/PathfinderAlgorithms.js +746 -0
- package/es-modules/parts-gantt/Tree.js +146 -0
- package/es-modules/parts-gantt/TreeGrid.js +917 -0
- package/es-modules/parts-map/ColorAxis.js +1 -1
- package/es-modules/parts-map/ColorSeriesMixin.js +1 -1
- package/es-modules/parts-map/GeoJSON.js +1 -1
- package/es-modules/parts-map/HeatmapSeries.js +124 -53
- package/es-modules/parts-map/Map.js +1 -1
- package/es-modules/parts-map/MapAxis.js +1 -1
- package/es-modules/parts-map/MapBubbleSeries.js +1 -1
- package/es-modules/parts-map/MapLineSeries.js +1 -1
- package/es-modules/parts-map/MapNavigation.js +1 -1
- package/es-modules/parts-map/MapPointSeries.js +1 -1
- package/es-modules/parts-map/MapPointer.js +1 -1
- package/es-modules/parts-map/MapSeries.js +2 -2
- package/es-modules/parts-more/AreaRangeSeries.js +80 -38
- package/es-modules/parts-more/AreaSplineRangeSeries.js +1 -1
- package/es-modules/parts-more/BoxPlotSeries.js +1 -1
- package/es-modules/parts-more/BubbleSeries.js +1 -1
- package/es-modules/parts-more/ColumnRangeSeries.js +1 -1
- package/es-modules/parts-more/ErrorBarSeries.js +1 -1
- package/es-modules/parts-more/GaugeSeries.js +1 -1
- package/es-modules/parts-more/Pane.js +2 -1
- package/es-modules/parts-more/Polar.js +1 -1
- package/es-modules/parts-more/PolygonSeries.js +1 -1
- package/es-modules/parts-more/RadialAxis.js +5 -4
- package/es-modules/parts-more/WaterfallSeries.js +1 -1
- package/es-modules/supplemental.docs.js +0 -1955
- package/es-modules/themes/dark-blue.js +1 -1
- package/es-modules/themes/dark-green.js +1 -1
- package/es-modules/themes/dark-unica.js +1 -1
- package/es-modules/themes/gray.js +1 -1
- package/es-modules/themes/grid-light.js +1 -1
- package/es-modules/themes/grid.js +1 -1
- package/es-modules/themes/sand-signika.js +1 -1
- package/es-modules/themes/skies.js +1 -1
- package/highcharts-3d.js +1 -1
- package/highcharts-3d.src.js +10 -10
- package/highcharts-gantt.js +503 -0
- package/highcharts-gantt.js.map +1 -0
- package/highcharts-gantt.src.js +49289 -0
- package/highcharts-more.js +65 -64
- package/highcharts-more.js.map +1 -1
- package/highcharts-more.src.js +97 -53
- package/highcharts.js +415 -410
- package/highcharts.js.map +1 -1
- package/highcharts.src.js +2170 -1128
- package/highmaps.js +443 -438
- package/highmaps.js.map +1 -1
- package/highmaps.src.js +1647 -849
- package/highstock.js +553 -548
- package/highstock.js.map +1 -1
- package/highstock.src.js +2398 -1283
- package/indicators/accumulation-distribution.js +1 -1
- package/indicators/accumulation-distribution.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/cmf.js +1 -1
- package/indicators/cmf.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.js +1 -1
- package/indicators/indicators.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 +2 -2
- package/indicators/pivot-points.js +4 -4
- package/indicators/pivot-points.js.map +1 -1
- package/indicators/pivot-points.src.js +7 -2
- 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/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/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/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/js/es-modules/indicators/momentum.src.js +1 -1
- package/js/es-modules/indicators/pivot-points.src.js +6 -1
- package/js/es-modules/masters/highcharts-gantt.src.js +11 -0
- package/js/es-modules/masters/modules/annotations.src.js +1 -1
- package/js/es-modules/masters/modules/arrow-symbols.src.js +12 -0
- package/js/es-modules/masters/modules/broken-axis.src.js +1 -1
- package/js/es-modules/masters/modules/current-date-indicator.src.js +12 -0
- package/js/es-modules/masters/modules/data.src.js +1 -1
- package/js/es-modules/masters/modules/draggable-points.src.js +9 -0
- package/js/es-modules/masters/modules/export-data.src.js +1 -1
- package/js/es-modules/masters/modules/exporting.src.js +1 -1
- package/js/es-modules/masters/modules/funnel.src.js +1 -1
- package/js/es-modules/masters/modules/gantt.src.js +2 -1
- package/js/es-modules/masters/modules/grid-axis.src.js +1 -1
- package/js/es-modules/masters/modules/heatmap.src.js +1 -1
- package/js/es-modules/masters/modules/item-series.src.js +1 -1
- package/js/es-modules/masters/modules/map.src.js +1 -1
- package/js/es-modules/masters/modules/overlapping-datalabels.src.js +1 -1
- package/js/es-modules/masters/modules/pathfinder.src.js +12 -0
- package/js/es-modules/masters/modules/sankey.src.js +1 -1
- package/js/es-modules/masters/modules/series-label.src.js +1 -1
- package/js/es-modules/masters/modules/solid-gauge.src.js +1 -1
- package/js/es-modules/masters/modules/stock.src.js +1 -1
- package/js/es-modules/masters/modules/streamgraph.src.js +1 -1
- package/js/es-modules/masters/modules/treegrid.src.js +12 -0
- package/js/es-modules/masters/modules/variwide.src.js +1 -1
- package/js/es-modules/masters/modules/vector.src.js +1 -1
- package/js/es-modules/masters/modules/windbarb.src.js +1 -1
- package/js/es-modules/masters/modules/xrange.src.js +1 -1
- package/js/es-modules/masters/themes/dark-blue.src.js +1 -1
- package/js/es-modules/masters/themes/dark-green.src.js +1 -1
- package/js/es-modules/masters/themes/dark-unica.src.js +1 -1
- package/js/es-modules/masters/themes/gray.src.js +1 -1
- package/js/es-modules/masters/themes/grid-light.src.js +1 -1
- package/js/es-modules/masters/themes/grid.src.js +1 -1
- package/js/es-modules/masters/themes/sand-signika.src.js +1 -1
- package/js/es-modules/masters/themes/skies.src.js +1 -1
- package/js/es-modules/mixins/centered-series.js +1 -1
- package/js/es-modules/mixins/on-series.js +1 -1
- package/js/es-modules/modules/boost.src.js +22 -14
- package/js/es-modules/modules/broken-axis.src.js +169 -134
- package/js/es-modules/modules/data.src.js +2 -2
- package/js/es-modules/modules/draggable-points.src.js +2257 -0
- package/js/es-modules/modules/drilldown.src.js +1 -0
- package/js/es-modules/modules/export-data.src.js +1 -1
- package/js/es-modules/modules/exporting.src.js +1 -1
- package/js/es-modules/modules/funnel.src.js +1 -1
- package/js/es-modules/modules/item-series.src.js +1 -1
- package/js/es-modules/modules/no-data-to-display.src.js +5 -5
- package/js/es-modules/modules/oldie.src.js +1 -1
- package/js/es-modules/modules/overlapping-datalabels.src.js +38 -22
- package/js/es-modules/modules/parallel-coordinates.src.js +3 -2
- package/js/es-modules/modules/sankey.src.js +1 -1
- package/js/es-modules/modules/series-label.src.js +2 -2
- package/js/es-modules/modules/solid-gauge.src.js +1 -1
- package/js/es-modules/modules/static-scale.src.js +67 -28
- package/js/es-modules/modules/streamgraph.src.js +1 -1
- package/js/es-modules/modules/tilemap.src.js +231 -134
- package/js/es-modules/modules/variwide.src.js +1 -1
- package/js/es-modules/modules/vector.src.js +92 -22
- package/js/es-modules/modules/windbarb.src.js +1 -1
- package/js/es-modules/modules/xrange.src.js +255 -68
- package/js/es-modules/parts/AreaSeries.js +77 -77
- package/js/es-modules/parts/AreaSplineSeries.js +64 -27
- package/js/es-modules/parts/Axis.js +160 -67
- package/js/es-modules/parts/BarSeries.js +68 -51
- package/js/es-modules/parts/CandlestickSeries.js +1 -1
- package/js/es-modules/parts/Chart.js +31 -55
- package/js/es-modules/parts/Color.js +29 -18
- package/js/es-modules/parts/ColumnSeries.js +231 -123
- package/js/es-modules/parts/DataGrouping.js +9 -6
- package/js/es-modules/parts/DataLabels.js +230 -182
- package/js/es-modules/parts/DateTimeAxis.js +26 -7
- package/js/es-modules/parts/Dynamics.js +5 -2
- package/js/es-modules/parts/FlagsSeries.js +1 -1
- package/js/es-modules/parts/Globals.js +1 -1
- package/js/es-modules/parts/Html.js +64 -12
- package/js/es-modules/parts/Interaction.js +178 -61
- package/js/es-modules/parts/Legend.js +7 -3
- package/js/es-modules/parts/LogarithmicAxis.js +35 -4
- package/js/es-modules/parts/MSPointer.js +1 -1
- package/js/es-modules/parts/Navigator.js +27 -5
- package/js/es-modules/parts/OHLCSeries.js +1 -1
- package/js/es-modules/parts/Options.js +13 -12
- package/js/es-modules/parts/OrdinalAxis.js +1 -1
- package/js/es-modules/parts/PieSeries.js +245 -132
- package/js/es-modules/parts/PlotBandSeries.experimental.js +1 -1
- package/js/es-modules/parts/PlotLineOrBand.js +7 -40
- package/js/es-modules/parts/Point.js +28 -4
- package/js/es-modules/parts/Pointer.js +8 -6
- package/js/es-modules/parts/RangeSelector.js +1 -1
- package/js/es-modules/parts/Responsive.js +82 -36
- package/js/es-modules/parts/ScatterSeries.js +56 -25
- package/js/es-modules/parts/ScrollablePlotArea.js +17 -7
- package/js/es-modules/parts/Scrollbar.js +9 -2
- package/js/es-modules/parts/Series.js +22 -9
- package/js/es-modules/parts/SplineSeries.js +51 -29
- package/js/es-modules/parts/Stacking.js +100 -6
- package/js/es-modules/parts/StockChart.js +9 -3
- package/js/es-modules/parts/SvgRenderer.js +15 -10
- package/js/es-modules/parts/Tick.js +150 -30
- package/js/es-modules/parts/Time.js +23 -5
- package/js/es-modules/parts/Tooltip.js +2 -2
- package/js/es-modules/parts/TouchPointer.js +1 -1
- package/js/es-modules/parts/Utilities.js +16 -1
- package/js/es-modules/parts-3d/Axis.js +1 -1
- package/js/es-modules/parts-3d/Chart.js +1 -1
- package/js/es-modules/parts-3d/Column.js +1 -1
- package/js/es-modules/parts-3d/Math.js +1 -1
- package/js/es-modules/parts-3d/Pie.js +1 -1
- package/js/es-modules/parts-3d/SVGRenderer.js +1 -1
- package/js/es-modules/parts-3d/Scatter.js +1 -1
- package/js/es-modules/parts-3d/Series.js +1 -1
- package/js/es-modules/parts-3d/VMLRenderer.js +1 -1
- package/js/es-modules/parts-gantt/ArrowSymbols.js +110 -0
- package/js/es-modules/parts-gantt/CurrentDateIndicator.js +92 -0
- package/js/es-modules/parts-gantt/GanttChart.js +111 -0
- package/js/es-modules/parts-gantt/GanttSeries.js +371 -0
- package/js/es-modules/parts-gantt/GridAxis.js +962 -0
- package/js/es-modules/parts-gantt/Pathfinder.js +1225 -0
- package/js/es-modules/parts-gantt/PathfinderAlgorithms.js +746 -0
- package/js/es-modules/parts-gantt/Tree.js +146 -0
- package/js/es-modules/parts-gantt/TreeGrid.js +891 -0
- package/js/es-modules/parts-map/ColorAxis.js +1 -1
- package/js/es-modules/parts-map/ColorSeriesMixin.js +1 -1
- package/js/es-modules/parts-map/GeoJSON.js +1 -1
- package/js/es-modules/parts-map/HeatmapSeries.js +122 -52
- package/js/es-modules/parts-map/Map.js +1 -1
- package/js/es-modules/parts-map/MapAxis.js +1 -1
- package/js/es-modules/parts-map/MapBubbleSeries.js +1 -1
- package/js/es-modules/parts-map/MapLineSeries.js +1 -1
- package/js/es-modules/parts-map/MapNavigation.js +1 -1
- package/js/es-modules/parts-map/MapPointSeries.js +1 -1
- package/js/es-modules/parts-map/MapPointer.js +1 -1
- package/js/es-modules/parts-map/MapSeries.js +2 -2
- package/js/es-modules/parts-more/AreaRangeSeries.js +80 -38
- package/js/es-modules/parts-more/AreaSplineRangeSeries.js +1 -1
- package/js/es-modules/parts-more/BoxPlotSeries.js +1 -1
- package/js/es-modules/parts-more/BubbleSeries.js +1 -1
- package/js/es-modules/parts-more/ColumnRangeSeries.js +1 -1
- package/js/es-modules/parts-more/ErrorBarSeries.js +1 -1
- package/js/es-modules/parts-more/GaugeSeries.js +1 -1
- package/js/es-modules/parts-more/Pane.js +2 -1
- package/js/es-modules/parts-more/Polar.js +1 -1
- package/js/es-modules/parts-more/PolygonSeries.js +1 -1
- package/js/es-modules/parts-more/RadialAxis.js +5 -4
- package/js/es-modules/parts-more/WaterfallSeries.js +1 -1
- package/js/es-modules/supplemental.docs.js +0 -1955
- package/js/es-modules/themes/dark-blue.js +1 -1
- package/js/es-modules/themes/dark-green.js +1 -1
- package/js/es-modules/themes/dark-unica.js +1 -1
- package/js/es-modules/themes/gray.js +1 -1
- package/js/es-modules/themes/grid-light.js +1 -1
- package/js/es-modules/themes/grid.js +1 -1
- package/js/es-modules/themes/sand-signika.js +1 -1
- package/js/es-modules/themes/skies.js +1 -1
- package/js/highcharts-3d.js +1 -1
- package/js/highcharts-3d.src.js +10 -10
- package/js/highcharts-gantt.js +480 -0
- package/js/highcharts-gantt.js.map +1 -0
- package/js/highcharts-gantt.src.js +47011 -0
- package/js/highcharts-more.js +62 -61
- package/js/highcharts-more.js.map +1 -1
- package/js/highcharts-more.src.js +97 -53
- package/js/highcharts.js +394 -390
- package/js/highcharts.js.map +1 -1
- package/js/highcharts.src.js +2083 -1070
- package/js/highmaps.js +420 -416
- package/js/highmaps.js.map +1 -1
- package/js/highmaps.src.js +1569 -798
- package/js/highstock.js +526 -520
- package/js/highstock.js.map +1 -1
- package/js/highstock.src.js +2311 -1225
- package/js/indicators/accumulation-distribution.js +1 -1
- package/js/indicators/accumulation-distribution.src.js +1 -1
- package/js/indicators/atr.js +1 -1
- package/js/indicators/atr.src.js +1 -1
- package/js/indicators/bollinger-bands.js +1 -1
- package/js/indicators/bollinger-bands.src.js +1 -1
- package/js/indicators/cci.js +1 -1
- package/js/indicators/cci.src.js +1 -1
- package/js/indicators/cmf.js +1 -1
- package/js/indicators/cmf.src.js +1 -1
- package/js/indicators/ema.js +1 -1
- package/js/indicators/ema.src.js +1 -1
- package/js/indicators/ichimoku-kinko-hyo.js +1 -1
- package/js/indicators/ichimoku-kinko-hyo.src.js +1 -1
- package/js/indicators/indicators.js +1 -1
- package/js/indicators/indicators.src.js +1 -1
- package/js/indicators/macd.js +1 -1
- package/js/indicators/macd.src.js +1 -1
- package/js/indicators/mfi.js +1 -1
- package/js/indicators/mfi.src.js +1 -1
- package/js/indicators/momentum.js +1 -1
- package/js/indicators/momentum.src.js +2 -2
- package/js/indicators/pivot-points.js +4 -4
- package/js/indicators/pivot-points.js.map +1 -1
- package/js/indicators/pivot-points.src.js +7 -2
- package/js/indicators/price-envelopes.js +1 -1
- package/js/indicators/price-envelopes.src.js +1 -1
- package/js/indicators/psar.js +1 -1
- package/js/indicators/psar.src.js +1 -1
- package/js/indicators/roc.js +1 -1
- package/js/indicators/roc.src.js +1 -1
- package/js/indicators/rsi.js +1 -1
- package/js/indicators/rsi.src.js +1 -1
- package/js/indicators/stochastic.js +1 -1
- package/js/indicators/stochastic.src.js +1 -1
- package/js/indicators/volume-by-price.js +1 -1
- package/js/indicators/volume-by-price.src.js +1 -1
- package/js/indicators/vwap.js +1 -1
- package/js/indicators/vwap.src.js +1 -1
- package/js/indicators/wma.js +1 -1
- package/js/indicators/wma.src.js +1 -1
- package/js/indicators/zigzag.js +1 -1
- package/js/indicators/zigzag.src.js +1 -1
- package/js/modules/accessibility.js +1 -1
- package/js/modules/accessibility.src.js +1 -1
- package/js/modules/annotations.js +2 -2
- package/js/modules/annotations.src.js +2 -2
- package/js/modules/arrow-symbols.js +13 -0
- package/js/modules/arrow-symbols.js.map +1 -0
- package/js/modules/arrow-symbols.src.js +138 -0
- package/js/modules/boost-canvas.js +1 -1
- package/js/modules/boost-canvas.src.js +1 -1
- package/js/modules/boost.js +43 -43
- package/js/modules/boost.js.map +1 -1
- package/js/modules/boost.src.js +23 -15
- package/js/modules/broken-axis.js +11 -10
- package/js/modules/broken-axis.js.map +1 -1
- package/js/modules/broken-axis.src.js +171 -136
- package/js/modules/bullet.js +1 -1
- package/js/modules/bullet.src.js +1 -1
- package/js/modules/current-date-indicator.js +13 -0
- package/js/modules/current-date-indicator.js.map +1 -0
- package/js/modules/current-date-indicator.src.js +120 -0
- package/js/modules/data.js +2 -2
- package/js/modules/data.src.js +4 -4
- package/js/modules/drag-panes.js +1 -1
- package/js/modules/drag-panes.src.js +1 -1
- package/js/modules/draggable-points.js +38 -0
- package/js/modules/draggable-points.js.map +1 -0
- package/js/modules/draggable-points.src.js +2281 -0
- package/js/modules/drilldown.js +1 -1
- package/js/modules/drilldown.js.map +1 -1
- package/js/modules/drilldown.src.js +2 -1
- package/js/modules/export-data.js +2 -2
- package/js/modules/export-data.src.js +3 -3
- package/js/modules/exporting.js +2 -2
- package/js/modules/exporting.src.js +3 -3
- package/js/modules/funnel.js +2 -2
- package/js/modules/funnel.src.js +3 -3
- package/js/modules/gantt.js +80 -18
- package/js/modules/gantt.js.map +1 -1
- package/js/modules/gantt.src.js +5490 -372
- package/js/modules/grid-axis.js +15 -11
- package/js/modules/grid-axis.js.map +1 -1
- package/js/modules/grid-axis.src.js +731 -293
- package/js/modules/heatmap.js +2 -2
- package/js/modules/heatmap.js.map +1 -1
- package/js/modules/heatmap.src.js +126 -56
- package/js/modules/histogram-bellcurve.js +1 -1
- package/js/modules/histogram-bellcurve.src.js +1 -1
- package/js/modules/item-series.js +2 -2
- package/js/modules/item-series.src.js +3 -3
- package/js/modules/map.js +2 -2
- package/js/modules/map.js.map +1 -1
- package/js/modules/map.src.js +137 -67
- package/js/modules/no-data-to-display.js +1 -1
- package/js/modules/no-data-to-display.src.js +6 -6
- package/js/modules/offline-exporting.js +2 -2
- package/js/modules/offline-exporting.src.js +2 -2
- package/js/modules/oldie.js +2 -2
- package/js/modules/oldie.src.js +3 -3
- package/js/modules/overlapping-datalabels.js +2 -2
- package/js/modules/overlapping-datalabels.src.js +2 -2
- package/js/modules/parallel-coordinates.js +9 -9
- package/js/modules/parallel-coordinates.js.map +1 -1
- package/js/modules/parallel-coordinates.src.js +4 -3
- package/js/modules/pareto.js +1 -1
- package/js/modules/pareto.src.js +1 -1
- package/js/modules/pathfinder.js +34 -0
- package/js/modules/pathfinder.js.map +1 -0
- package/js/modules/pathfinder.src.js +2106 -0
- package/js/modules/pattern-fill.js +1 -1
- package/js/modules/pattern-fill.src.js +1 -1
- package/js/modules/sankey.js +2 -2
- package/js/modules/sankey.src.js +3 -3
- package/js/modules/series-label.js +2 -2
- package/js/modules/series-label.src.js +4 -4
- package/js/modules/solid-gauge.js +2 -2
- package/js/modules/solid-gauge.src.js +3 -3
- package/js/modules/static-scale.js +3 -3
- package/js/modules/static-scale.js.map +1 -1
- package/js/modules/static-scale.src.js +65 -26
- package/js/modules/stock.js +135 -134
- package/js/modules/stock.js.map +1 -1
- package/js/modules/stock.src.js +230 -157
- package/js/modules/streamgraph.js +2 -2
- package/js/modules/streamgraph.src.js +3 -3
- package/js/modules/sunburst.js +1 -1
- package/js/modules/sunburst.src.js +1 -1
- package/js/modules/tilemap.js +1 -1
- package/js/modules/tilemap.js.map +1 -1
- package/js/modules/tilemap.src.js +355 -188
- package/js/modules/treegrid.js +51 -0
- package/js/modules/treegrid.js.map +1 -0
- package/js/modules/treegrid.src.js +2759 -0
- package/js/modules/treemap.js +1 -1
- package/js/modules/treemap.src.js +1 -1
- package/js/modules/variable-pie.js +1 -1
- package/js/modules/variable-pie.src.js +1 -1
- package/js/modules/variwide.js +2 -2
- package/js/modules/variwide.src.js +3 -3
- package/js/modules/vector.js +2 -2
- package/js/modules/vector.js.map +1 -1
- package/js/modules/vector.src.js +94 -24
- package/js/modules/windbarb.js +2 -2
- package/js/modules/windbarb.src.js +4 -4
- package/js/modules/wordcloud.js +1 -1
- package/js/modules/wordcloud.src.js +1 -1
- package/js/modules/xrange.js +11 -10
- package/js/modules/xrange.js.map +1 -1
- package/js/modules/xrange.src.js +257 -70
- package/js/themes/avocado.js +1 -1
- package/js/themes/avocado.src.js +1 -1
- package/js/themes/dark-blue.js +2 -2
- package/js/themes/dark-blue.src.js +3 -3
- package/js/themes/dark-green.js +2 -2
- package/js/themes/dark-green.src.js +3 -3
- package/js/themes/dark-unica.js +2 -2
- package/js/themes/dark-unica.src.js +3 -3
- package/js/themes/gray.js +2 -2
- package/js/themes/gray.src.js +3 -3
- package/js/themes/grid-light.js +2 -2
- package/js/themes/grid-light.src.js +3 -3
- package/js/themes/grid.js +2 -2
- package/js/themes/grid.src.js +3 -3
- package/js/themes/sand-signika.js +2 -2
- package/js/themes/sand-signika.src.js +3 -3
- package/js/themes/skies.js +2 -2
- package/js/themes/skies.src.js +3 -3
- package/js/themes/sunset.js +1 -1
- package/js/themes/sunset.src.js +1 -1
- package/modules/accessibility.js +1 -1
- package/modules/accessibility.src.js +1 -1
- package/modules/annotations.js +2 -2
- package/modules/annotations.src.js +2 -2
- package/modules/arrow-symbols.js +13 -0
- package/modules/arrow-symbols.js.map +1 -0
- package/modules/arrow-symbols.src.js +138 -0
- package/modules/boost-canvas.js +1 -1
- package/modules/boost-canvas.src.js +1 -1
- package/modules/boost.js +36 -36
- package/modules/boost.js.map +1 -1
- package/modules/boost.src.js +23 -15
- package/modules/broken-axis.js +11 -10
- package/modules/broken-axis.js.map +1 -1
- package/modules/broken-axis.src.js +171 -136
- package/modules/bullet.js +1 -1
- package/modules/bullet.src.js +1 -1
- package/modules/current-date-indicator.js +13 -0
- package/modules/current-date-indicator.js.map +1 -0
- package/modules/current-date-indicator.src.js +120 -0
- package/modules/data.js +2 -2
- package/modules/data.src.js +4 -4
- package/modules/drag-panes.js +1 -1
- package/modules/drag-panes.src.js +1 -1
- package/modules/draggable-points.js +38 -0
- package/modules/draggable-points.js.map +1 -0
- package/modules/draggable-points.src.js +2281 -0
- package/modules/drilldown.js +1 -1
- package/modules/drilldown.js.map +1 -1
- package/modules/drilldown.src.js +2 -1
- package/modules/export-data.js +2 -2
- package/modules/export-data.src.js +3 -3
- package/modules/exporting.js +2 -2
- package/modules/exporting.src.js +3 -3
- package/modules/funnel.js +2 -2
- package/modules/funnel.src.js +3 -3
- package/modules/gantt.js +83 -19
- package/modules/gantt.js.map +1 -1
- package/modules/gantt.src.js +5553 -379
- package/modules/grid-axis.js +16 -11
- package/modules/grid-axis.js.map +1 -1
- package/modules/grid-axis.src.js +732 -293
- package/modules/heatmap.js +2 -2
- package/modules/heatmap.js.map +1 -1
- package/modules/heatmap.src.js +128 -57
- package/modules/histogram-bellcurve.js +1 -1
- package/modules/histogram-bellcurve.src.js +1 -1
- package/modules/item-series.js +2 -2
- package/modules/item-series.src.js +3 -3
- package/modules/map.js +2 -2
- package/modules/map.js.map +1 -1
- package/modules/map.src.js +139 -68
- package/modules/no-data-to-display.js +1 -1
- package/modules/no-data-to-display.src.js +6 -6
- package/modules/offline-exporting.js +2 -2
- package/modules/offline-exporting.src.js +2 -2
- package/modules/oldie.js +2 -2
- package/modules/oldie.src.js +3 -3
- package/modules/overlapping-datalabels.js +2 -2
- package/modules/overlapping-datalabels.src.js +2 -2
- package/modules/parallel-coordinates.js +8 -8
- package/modules/parallel-coordinates.js.map +1 -1
- package/modules/parallel-coordinates.src.js +4 -3
- package/modules/pareto.js +1 -1
- package/modules/pareto.src.js +1 -1
- package/modules/pathfinder.js +35 -0
- package/modules/pathfinder.js.map +1 -0
- package/modules/pathfinder.src.js +2128 -0
- package/modules/pattern-fill.js +1 -1
- package/modules/pattern-fill.src.js +1 -1
- package/modules/sankey.js +2 -2
- package/modules/sankey.src.js +3 -3
- package/modules/series-label.js +2 -2
- package/modules/series-label.src.js +4 -4
- package/modules/solid-gauge.js +2 -2
- package/modules/solid-gauge.src.js +3 -3
- package/modules/static-scale.js +3 -3
- package/modules/static-scale.js.map +1 -1
- package/modules/static-scale.src.js +65 -26
- package/modules/stock.js +142 -142
- package/modules/stock.js.map +1 -1
- package/modules/stock.src.js +230 -157
- package/modules/streamgraph.js +2 -2
- package/modules/streamgraph.src.js +3 -3
- package/modules/sunburst.js +1 -1
- package/modules/sunburst.src.js +1 -1
- package/modules/tilemap.js +1 -1
- package/modules/tilemap.js.map +1 -1
- package/modules/tilemap.src.js +357 -189
- package/modules/treegrid.js +52 -0
- package/modules/treegrid.js.map +1 -0
- package/modules/treegrid.src.js +2797 -0
- package/modules/treemap.js +1 -1
- package/modules/treemap.src.js +1 -1
- package/modules/variable-pie.js +1 -1
- package/modules/variable-pie.src.js +1 -1
- package/modules/variwide.js +2 -2
- package/modules/variwide.src.js +3 -3
- package/modules/vector.js +2 -2
- package/modules/vector.js.map +1 -1
- package/modules/vector.src.js +94 -24
- package/modules/windbarb.js +2 -2
- package/modules/windbarb.src.js +4 -4
- package/modules/wordcloud.js +1 -1
- package/modules/wordcloud.src.js +1 -1
- package/modules/xrange.js +12 -11
- package/modules/xrange.js.map +1 -1
- package/modules/xrange.src.js +259 -79
- package/package.json +1 -1
- package/themes/avocado.js +1 -1
- package/themes/avocado.src.js +1 -1
- package/themes/dark-blue.js +2 -2
- package/themes/dark-blue.src.js +3 -3
- package/themes/dark-green.js +2 -2
- package/themes/dark-green.src.js +3 -3
- package/themes/dark-unica.js +2 -2
- package/themes/dark-unica.src.js +3 -3
- package/themes/gray.js +2 -2
- package/themes/gray.src.js +3 -3
- package/themes/grid-light.js +2 -2
- package/themes/grid-light.src.js +3 -3
- package/themes/grid.js +2 -2
- package/themes/grid.src.js +3 -3
- package/themes/sand-signika.js +2 -2
- package/themes/sand-signika.src.js +3 -3
- package/themes/skies.js +2 -2
- package/themes/skies.src.js +3 -3
- package/themes/sunset.js +1 -1
- package/themes/sunset.src.js +1 -1
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* (c) 2010-
|
|
2
|
+
* (c) 2010-2018 Torstein Honsi
|
|
3
3
|
*
|
|
4
4
|
* License: www.highcharts.com/license
|
|
5
5
|
*/
|
|
6
|
+
|
|
6
7
|
'use strict';
|
|
8
|
+
|
|
7
9
|
import H from './Globals.js';
|
|
8
10
|
import './Utilities.js';
|
|
9
11
|
import './ColumnSeries.js';
|
|
@@ -12,6 +14,7 @@ import './Legend.js';
|
|
|
12
14
|
import './Options.js';
|
|
13
15
|
import './Point.js';
|
|
14
16
|
import './Series.js';
|
|
17
|
+
|
|
15
18
|
var addEvent = H.addEvent,
|
|
16
19
|
CenteredSeriesMixin = H.CenteredSeriesMixin,
|
|
17
20
|
defined = H.defined,
|
|
@@ -29,28 +32,34 @@ var addEvent = H.addEvent,
|
|
|
29
32
|
setAnimation = H.setAnimation;
|
|
30
33
|
|
|
31
34
|
/**
|
|
32
|
-
*
|
|
35
|
+
* Pie series type.
|
|
36
|
+
*
|
|
37
|
+
* @private
|
|
38
|
+
* @class
|
|
39
|
+
* @name Highcharts.seriesTypes.pie
|
|
33
40
|
*
|
|
34
|
-
* @
|
|
35
|
-
* @augments Series
|
|
41
|
+
* @augments Highcharts.Series
|
|
36
42
|
*/
|
|
43
|
+
seriesType('pie', 'line'
|
|
37
44
|
|
|
38
45
|
/**
|
|
39
46
|
* A pie chart is a circular graphic which is divided into slices to illustrate
|
|
40
47
|
* numerical proportion.
|
|
41
48
|
*
|
|
42
|
-
* @sample highcharts/demo/pie-basic/
|
|
49
|
+
* @sample highcharts/demo/pie-basic/
|
|
50
|
+
* Pie chart
|
|
43
51
|
*
|
|
44
|
-
* @extends
|
|
45
|
-
* @excluding
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
52
|
+
* @extends plotOptions.line
|
|
53
|
+
* @excluding animationLimit, boostThreshold, connectEnds, connectNulls,
|
|
54
|
+
* cropThreshold, dashStyle, findNearestPointBy,
|
|
55
|
+
* getExtremesFromAll, lineWidth, marker, negativeColor,
|
|
56
|
+
* pointInterval, pointIntervalUnit, pointPlacement,
|
|
57
|
+
* pointStart, softThreshold, stacking, step, threshold,
|
|
58
|
+
* turboThreshold, zoneAxis, zones
|
|
59
|
+
* @product highcharts
|
|
51
60
|
* @optionparent plotOptions.pie
|
|
52
61
|
*/
|
|
53
|
-
|
|
62
|
+
, {
|
|
54
63
|
|
|
55
64
|
/**
|
|
56
65
|
* The center of the pie chart relative to the plot area. Can be percentages
|
|
@@ -60,14 +69,18 @@ seriesType('pie', 'line', {
|
|
|
60
69
|
* dynamic values, as the data labels move. In that case, the center
|
|
61
70
|
* should be explicitly set, for example to `["50%", "50%"]`.
|
|
62
71
|
*
|
|
63
|
-
* @type {Array<String|Number>}
|
|
64
72
|
* @sample {highcharts} highcharts/plotoptions/pie-center/
|
|
65
73
|
* Centered at 100, 100
|
|
74
|
+
*
|
|
75
|
+
* @type {Array<number|string|null>}
|
|
66
76
|
* @default [null, null]
|
|
67
77
|
* @product highcharts
|
|
68
78
|
*/
|
|
69
79
|
center: [null, null],
|
|
70
80
|
|
|
81
|
+
/**
|
|
82
|
+
* @product highcharts
|
|
83
|
+
*/
|
|
71
84
|
clip: false,
|
|
72
85
|
|
|
73
86
|
/**
|
|
@@ -79,21 +92,24 @@ seriesType('pie', 'line', {
|
|
|
79
92
|
* A series specific or series type specific color set to use instead
|
|
80
93
|
* of the global [colors](#colors).
|
|
81
94
|
*
|
|
82
|
-
* @type {Array<Color>}
|
|
83
95
|
* @sample {highcharts} highcharts/demo/pie-monochrome/
|
|
84
96
|
* Set default colors for all pies
|
|
85
|
-
*
|
|
86
|
-
* @
|
|
97
|
+
*
|
|
98
|
+
* @type {Array<Highcharts.ColorString>}
|
|
99
|
+
* @since 3.0
|
|
100
|
+
* @product highcharts
|
|
87
101
|
* @apioption plotOptions.pie.colors
|
|
88
102
|
*/
|
|
89
103
|
|
|
90
104
|
/**
|
|
91
|
-
* @extends
|
|
92
|
-
* @excluding align,allowOverlap,staggerLines,step
|
|
93
|
-
* @product
|
|
105
|
+
* @extends plotOptions.series.dataLabels
|
|
106
|
+
* @excluding align, allowOverlap, staggerLines, step
|
|
107
|
+
* @product highcharts
|
|
94
108
|
*/
|
|
95
109
|
dataLabels: {
|
|
110
|
+
|
|
96
111
|
allowOverlap: true,
|
|
112
|
+
|
|
97
113
|
/**
|
|
98
114
|
* The color of the line connecting the data label to the pie slice.
|
|
99
115
|
* The default color is the same as the point's color.
|
|
@@ -101,27 +117,27 @@ seriesType('pie', 'line', {
|
|
|
101
117
|
* In styled mode, the connector stroke is given in the
|
|
102
118
|
* `.highcharts-data-label-connector` class.
|
|
103
119
|
*
|
|
104
|
-
* @
|
|
105
|
-
* @sample {highcharts}
|
|
106
|
-
* highcharts/plotoptions/pie-datalabels-connectorcolor/
|
|
120
|
+
* @sample {highcharts} highcharts/plotoptions/pie-datalabels-connectorcolor/
|
|
107
121
|
* Blue connectors
|
|
108
|
-
* @sample {highcharts} highcharts/css/pie-point/
|
|
109
|
-
*
|
|
110
|
-
*
|
|
111
|
-
* @
|
|
122
|
+
* @sample {highcharts} highcharts/css/pie-point/
|
|
123
|
+
* Styled connectors
|
|
124
|
+
*
|
|
125
|
+
* @type {Highcharts.ColorString}
|
|
126
|
+
* @since 2.1
|
|
127
|
+
* @product highcharts
|
|
112
128
|
* @apioption plotOptions.pie.dataLabels.connectorColor
|
|
113
129
|
*/
|
|
114
130
|
|
|
115
131
|
/**
|
|
116
132
|
* The distance from the data label to the connector.
|
|
117
133
|
*
|
|
118
|
-
* @
|
|
119
|
-
* @sample {highcharts}
|
|
120
|
-
* highcharts/plotoptions/pie-datalabels-connectorpadding/
|
|
134
|
+
* @sample {highcharts} highcharts/plotoptions/pie-datalabels-connectorpadding/
|
|
121
135
|
* No padding
|
|
122
|
-
*
|
|
123
|
-
* @
|
|
124
|
-
* @
|
|
136
|
+
*
|
|
137
|
+
* @type {number}
|
|
138
|
+
* @default 5
|
|
139
|
+
* @since 2.1
|
|
140
|
+
* @product highcharts
|
|
125
141
|
* @apioption plotOptions.pie.dataLabels.connectorPadding
|
|
126
142
|
*/
|
|
127
143
|
|
|
@@ -132,27 +148,25 @@ seriesType('pie', 'line', {
|
|
|
132
148
|
* In styled mode, the connector stroke width is given in the
|
|
133
149
|
* `.highcharts-data-label-connector` class.
|
|
134
150
|
*
|
|
135
|
-
* @
|
|
136
|
-
* @sample {highcharts}
|
|
137
|
-
* highcharts/plotoptions/pie-datalabels-connectorwidth-disabled/
|
|
151
|
+
* @sample {highcharts} highcharts/plotoptions/pie-datalabels-connectorwidth-disabled/
|
|
138
152
|
* Disable the connector
|
|
139
|
-
* @sample {highcharts}
|
|
140
|
-
* highcharts/css/pie-point/
|
|
153
|
+
* @sample {highcharts} highcharts/css/pie-point/
|
|
141
154
|
* Styled connectors
|
|
142
|
-
*
|
|
143
|
-
* @
|
|
144
|
-
* @
|
|
155
|
+
*
|
|
156
|
+
* @type {number}
|
|
157
|
+
* @default 1
|
|
158
|
+
* @since 2.1
|
|
159
|
+
* @product highcharts
|
|
145
160
|
* @apioption plotOptions.pie.dataLabels.connectorWidth
|
|
146
161
|
*/
|
|
147
162
|
|
|
148
163
|
/**
|
|
149
|
-
*
|
|
150
|
-
* @sample {highcharts}
|
|
151
|
-
* highcharts/plotOptions/pie-datalabels-overflow
|
|
164
|
+
* @sample {highcharts} highcharts/plotOptions/pie-datalabels-overflow
|
|
152
165
|
* Long labels truncated with an ellipsis
|
|
153
|
-
* @sample {highcharts}
|
|
154
|
-
* highcharts/plotOptions/pie-datalabels-overflow-wrap
|
|
166
|
+
* @sample {highcharts} highcharts/plotOptions/pie-datalabels-overflow-wrap
|
|
155
167
|
* Long labels are wrapped
|
|
168
|
+
*
|
|
169
|
+
* @type {Highcharts.CSSObject}
|
|
156
170
|
* @apioption plotOptions.pie.dataLabels.style
|
|
157
171
|
*/
|
|
158
172
|
|
|
@@ -161,12 +175,10 @@ seriesType('pie', 'line', {
|
|
|
161
175
|
* put the data label on top of the pie slices. Connectors are only
|
|
162
176
|
* shown for data labels outside the pie.
|
|
163
177
|
*
|
|
164
|
-
* @
|
|
165
|
-
* @sample {highcharts}
|
|
166
|
-
* highcharts/plotoptions/pie-datalabels-distance/
|
|
178
|
+
* @sample {highcharts} highcharts/plotoptions/pie-datalabels-distance/
|
|
167
179
|
* Data labels on top of the pie
|
|
168
|
-
*
|
|
169
|
-
* @since
|
|
180
|
+
*
|
|
181
|
+
* @since 2.1
|
|
170
182
|
* @product highcharts
|
|
171
183
|
*/
|
|
172
184
|
distance: 30,
|
|
@@ -174,12 +186,16 @@ seriesType('pie', 'line', {
|
|
|
174
186
|
/**
|
|
175
187
|
* Enable or disable the data labels.
|
|
176
188
|
*
|
|
177
|
-
* @
|
|
178
|
-
* @since 2.1
|
|
189
|
+
* @since 2.1
|
|
179
190
|
* @product highcharts
|
|
180
191
|
*/
|
|
181
192
|
enabled: true,
|
|
182
193
|
|
|
194
|
+
/**
|
|
195
|
+
* @type {Highcharts.FormatterCallbackFunction}
|
|
196
|
+
* @default function () { return this.point.name; }
|
|
197
|
+
* @apioption plotOptions.pie.dataLabels.formatter
|
|
198
|
+
*/
|
|
183
199
|
formatter: function () { // #2945
|
|
184
200
|
return this.point.isNull ? undefined : this.point.name;
|
|
185
201
|
},
|
|
@@ -188,30 +204,31 @@ seriesType('pie', 'line', {
|
|
|
188
204
|
* Whether to render the connector as a soft arc or a line with sharp
|
|
189
205
|
* break.
|
|
190
206
|
*
|
|
191
|
-
* @
|
|
192
|
-
* @sample {highcharts}
|
|
193
|
-
* highcharts/plotoptions/pie-datalabels-softconnector-true/
|
|
207
|
+
* @sample {highcharts} highcharts/plotoptions/pie-datalabels-softconnector-true/
|
|
194
208
|
* Soft
|
|
195
|
-
* @sample {highcharts}
|
|
196
|
-
* highcharts/plotoptions/pie-datalabels-softconnector-false/
|
|
209
|
+
* @sample {highcharts} highcharts/plotoptions/pie-datalabels-softconnector-false/
|
|
197
210
|
* Non soft
|
|
198
|
-
*
|
|
199
|
-
* @
|
|
211
|
+
*
|
|
212
|
+
* @type {number}
|
|
213
|
+
* @since 2.1.7
|
|
214
|
+
* @product highcharts
|
|
200
215
|
* @apioption plotOptions.pie.dataLabels.softConnector
|
|
201
216
|
*/
|
|
202
217
|
|
|
203
218
|
x: 0
|
|
219
|
+
|
|
204
220
|
},
|
|
205
221
|
|
|
206
222
|
/**
|
|
207
223
|
* The end angle of the pie in degrees where 0 is top and 90 is right.
|
|
208
224
|
* Defaults to `startAngle` plus 360.
|
|
209
225
|
*
|
|
210
|
-
* @
|
|
211
|
-
*
|
|
212
|
-
*
|
|
213
|
-
* @
|
|
214
|
-
* @
|
|
226
|
+
* @sample {highcharts} highcharts/demo/pie-semi-circle/
|
|
227
|
+
* Semi-circle donut
|
|
228
|
+
*
|
|
229
|
+
* @type {number}
|
|
230
|
+
* @since 1.3.6
|
|
231
|
+
* @product highcharts
|
|
215
232
|
* @apioption plotOptions.pie.endAngle
|
|
216
233
|
*/
|
|
217
234
|
|
|
@@ -223,11 +240,10 @@ seriesType('pie', 'line', {
|
|
|
223
240
|
* The default value changed from `false` to `true` with Highcharts
|
|
224
241
|
* 3.0.
|
|
225
242
|
*
|
|
226
|
-
* @type {Boolean}
|
|
227
243
|
* @sample {highcharts} highcharts/plotoptions/pie-ignorehiddenpoint/
|
|
228
244
|
* True, the hiddden point is ignored
|
|
229
|
-
*
|
|
230
|
-
* @since
|
|
245
|
+
*
|
|
246
|
+
* @since 2.3.0
|
|
231
247
|
* @product highcharts
|
|
232
248
|
*/
|
|
233
249
|
ignoreHiddenPoint: true,
|
|
@@ -241,24 +257,28 @@ seriesType('pie', 'line', {
|
|
|
241
257
|
* Note: in Highcharts < 4.1.2, the percentage was relative to the plot
|
|
242
258
|
* area, not the pie size.
|
|
243
259
|
*
|
|
244
|
-
* @type {String|Number}
|
|
245
260
|
* @sample {highcharts} highcharts/plotoptions/pie-innersize-80px/
|
|
246
261
|
* 80px inner size
|
|
247
262
|
* @sample {highcharts} highcharts/plotoptions/pie-innersize-50percent/
|
|
248
263
|
* 50% of the plot area
|
|
249
|
-
* @sample {highcharts} highcharts/demo/3d-pie-donut/
|
|
250
|
-
*
|
|
251
|
-
*
|
|
252
|
-
* @
|
|
264
|
+
* @sample {highcharts} highcharts/demo/3d-pie-donut/
|
|
265
|
+
* 3D donut
|
|
266
|
+
*
|
|
267
|
+
* @type {number|string}
|
|
268
|
+
* @default 0
|
|
269
|
+
* @since 2.0
|
|
270
|
+
* @product highcharts
|
|
253
271
|
* @apioption plotOptions.pie.innerSize
|
|
254
272
|
*/
|
|
255
273
|
|
|
256
274
|
/**
|
|
257
|
-
* @ignore
|
|
275
|
+
* @ignore
|
|
258
276
|
*/
|
|
259
277
|
legendType: 'point',
|
|
260
278
|
|
|
261
|
-
/**
|
|
279
|
+
/**
|
|
280
|
+
* @ignore
|
|
281
|
+
*/
|
|
262
282
|
marker: null, // point options are specified in the base options
|
|
263
283
|
|
|
264
284
|
/**
|
|
@@ -266,10 +286,10 @@ seriesType('pie', 'line', {
|
|
|
266
286
|
* try to shrink to make room for data labels in side the plot area,
|
|
267
287
|
* but only to this size.
|
|
268
288
|
*
|
|
269
|
-
* @type
|
|
270
|
-
* @default
|
|
271
|
-
* @since
|
|
272
|
-
* @product
|
|
289
|
+
* @type {number}
|
|
290
|
+
* @default 80
|
|
291
|
+
* @since 3.0
|
|
292
|
+
* @product highcharts
|
|
273
293
|
* @apioption plotOptions.pie.minSize
|
|
274
294
|
*/
|
|
275
295
|
|
|
@@ -284,9 +304,10 @@ seriesType('pie', 'line', {
|
|
|
284
304
|
* around. In that case it is best to set a fixed value, for example
|
|
285
305
|
* `"75%"`.
|
|
286
306
|
*
|
|
287
|
-
* @
|
|
288
|
-
*
|
|
289
|
-
*
|
|
307
|
+
* @sample {highcharts} highcharts/plotoptions/pie-size/
|
|
308
|
+
* Smaller pie
|
|
309
|
+
*
|
|
310
|
+
* @type {number|string|null}
|
|
290
311
|
* @product highcharts
|
|
291
312
|
*/
|
|
292
313
|
size: null,
|
|
@@ -295,9 +316,9 @@ seriesType('pie', 'line', {
|
|
|
295
316
|
* Whether to display this particular series or series type in the
|
|
296
317
|
* legend. Since 2.1, pies are not shown in the legend by default.
|
|
297
318
|
*
|
|
298
|
-
* @type {Boolean}
|
|
299
319
|
* @sample {highcharts} highcharts/plotoptions/series-showinlegend/
|
|
300
320
|
* One series in the legend, one hidden
|
|
321
|
+
*
|
|
301
322
|
* @product highcharts
|
|
302
323
|
*/
|
|
303
324
|
showInLegend: false,
|
|
@@ -306,10 +327,9 @@ seriesType('pie', 'line', {
|
|
|
306
327
|
* If a point is sliced, moved out from the center, how many pixels
|
|
307
328
|
* should it be moved?.
|
|
308
329
|
*
|
|
309
|
-
* @type {Number}
|
|
310
330
|
* @sample {highcharts} highcharts/plotoptions/pie-slicedoffset-20/
|
|
311
331
|
* 20px offset
|
|
312
|
-
*
|
|
332
|
+
*
|
|
313
333
|
* @product highcharts
|
|
314
334
|
*/
|
|
315
335
|
slicedOffset: 10,
|
|
@@ -318,12 +338,13 @@ seriesType('pie', 'line', {
|
|
|
318
338
|
* The start angle of the pie slices in degrees where 0 is top and 90
|
|
319
339
|
* right.
|
|
320
340
|
*
|
|
321
|
-
* @type {Number}
|
|
322
341
|
* @sample {highcharts} highcharts/plotoptions/pie-startangle-90/
|
|
323
342
|
* Start from right
|
|
324
|
-
*
|
|
325
|
-
* @
|
|
326
|
-
* @
|
|
343
|
+
*
|
|
344
|
+
* @type {number}
|
|
345
|
+
* @default 0
|
|
346
|
+
* @since 2.3.4
|
|
347
|
+
* @product highcharts
|
|
327
348
|
* @apioption plotOptions.pie.startAngle
|
|
328
349
|
*/
|
|
329
350
|
|
|
@@ -343,6 +364,7 @@ seriesType('pie', 'line', {
|
|
|
343
364
|
tooltip: {
|
|
344
365
|
followPointer: true
|
|
345
366
|
},
|
|
367
|
+
|
|
346
368
|
|
|
347
369
|
|
|
348
370
|
/**
|
|
@@ -354,9 +376,10 @@ seriesType('pie', 'line', {
|
|
|
354
376
|
* In styled mode, the border stroke is given in the `.highcharts-point`
|
|
355
377
|
* class.
|
|
356
378
|
*
|
|
357
|
-
* @type {Color}
|
|
358
379
|
* @sample {highcharts} highcharts/plotoptions/pie-bordercolor-black/
|
|
359
380
|
* Black border
|
|
381
|
+
*
|
|
382
|
+
* @type {Highcharts.ColorString}
|
|
360
383
|
* @default #ffffff
|
|
361
384
|
* @product highcharts
|
|
362
385
|
*/
|
|
@@ -373,9 +396,9 @@ seriesType('pie', 'line', {
|
|
|
373
396
|
* In styled mode, the border stroke width is given in the
|
|
374
397
|
* `.highcharts-point` class.
|
|
375
398
|
*
|
|
376
|
-
* @
|
|
377
|
-
*
|
|
378
|
-
*
|
|
399
|
+
* @sample {highcharts} highcharts/plotoptions/pie-borderwidth/
|
|
400
|
+
* 3px border
|
|
401
|
+
*
|
|
379
402
|
* @product highcharts
|
|
380
403
|
*/
|
|
381
404
|
borderWidth: 1,
|
|
@@ -384,7 +407,7 @@ seriesType('pie', 'line', {
|
|
|
384
407
|
|
|
385
408
|
/**
|
|
386
409
|
* @extends plotOptions.series.states.hover
|
|
387
|
-
* @excluding marker,lineWidth,lineWidthPlus
|
|
410
|
+
* @excluding marker, lineWidth, lineWidthPlus
|
|
388
411
|
* @product highcharts
|
|
389
412
|
*/
|
|
390
413
|
hover: {
|
|
@@ -396,17 +419,20 @@ seriesType('pie', 'line', {
|
|
|
396
419
|
* In styled mode, the hover brightness is by default replaced
|
|
397
420
|
* by a fill-opacity given in the `.highcharts-point-hover` class.
|
|
398
421
|
*
|
|
399
|
-
* @sample
|
|
400
|
-
*
|
|
401
|
-
*
|
|
422
|
+
* @sample {highcharts} highcharts/plotoptions/pie-states-hover-brightness/
|
|
423
|
+
* Brightened by 0.5
|
|
424
|
+
*
|
|
402
425
|
* @product highcharts
|
|
403
426
|
*/
|
|
404
427
|
brightness: 0.1
|
|
428
|
+
|
|
405
429
|
}
|
|
406
430
|
}
|
|
431
|
+
|
|
407
432
|
|
|
408
433
|
|
|
409
434
|
}, /** @lends seriesTypes.pie.prototype */ {
|
|
435
|
+
|
|
410
436
|
isCartesian: false,
|
|
411
437
|
requireSorting: false,
|
|
412
438
|
directTouch: true,
|
|
@@ -414,8 +440,14 @@ seriesType('pie', 'line', {
|
|
|
414
440
|
trackerGroups: ['group', 'dataLabelsGroup'],
|
|
415
441
|
axisTypes: [],
|
|
416
442
|
pointAttribs: seriesTypes.column.prototype.pointAttribs,
|
|
443
|
+
|
|
417
444
|
/**
|
|
418
445
|
* Animate the pies in
|
|
446
|
+
*
|
|
447
|
+
* @private
|
|
448
|
+
* @function Highcharts.seriesTypes.pie#animate
|
|
449
|
+
*
|
|
450
|
+
* @param {boolean} [init=false]
|
|
419
451
|
*/
|
|
420
452
|
animate: function (init) {
|
|
421
453
|
var series = this,
|
|
@@ -452,6 +484,9 @@ seriesType('pie', 'line', {
|
|
|
452
484
|
|
|
453
485
|
/**
|
|
454
486
|
* Recompute total chart sum and update percentages of points.
|
|
487
|
+
*
|
|
488
|
+
* @private
|
|
489
|
+
* @function Highcharts.seriesTypes.pie#updateTotals
|
|
455
490
|
*/
|
|
456
491
|
updateTotals: function () {
|
|
457
492
|
var i,
|
|
@@ -484,6 +519,9 @@ seriesType('pie', 'line', {
|
|
|
484
519
|
/**
|
|
485
520
|
* Extend the generatePoints method by adding total and percentage
|
|
486
521
|
* properties to each point
|
|
522
|
+
*
|
|
523
|
+
* @private
|
|
524
|
+
* @function Highcharts.seriesTypes.pie#generatePoints
|
|
487
525
|
*/
|
|
488
526
|
generatePoints: function () {
|
|
489
527
|
Series.prototype.generatePoints.call(this);
|
|
@@ -492,6 +530,11 @@ seriesType('pie', 'line', {
|
|
|
492
530
|
|
|
493
531
|
/**
|
|
494
532
|
* Do translation for pie slices
|
|
533
|
+
*
|
|
534
|
+
* @private
|
|
535
|
+
* @function Highcharts.seriesTypes.pie#translate
|
|
536
|
+
*
|
|
537
|
+
* @param {Array<number>} positions
|
|
495
538
|
*/
|
|
496
539
|
translate: function (positions) {
|
|
497
540
|
this.generatePoints();
|
|
@@ -636,10 +679,19 @@ seriesType('pie', 'line', {
|
|
|
636
679
|
}
|
|
637
680
|
},
|
|
638
681
|
|
|
682
|
+
/**
|
|
683
|
+
* @private
|
|
684
|
+
* @deprecated
|
|
685
|
+
* @name Highcharts.seriesTypes.pie#drawGraph
|
|
686
|
+
* @type {null}
|
|
687
|
+
*/
|
|
639
688
|
drawGraph: null,
|
|
640
689
|
|
|
641
690
|
/**
|
|
642
691
|
* Draw the data points
|
|
692
|
+
*
|
|
693
|
+
* @private
|
|
694
|
+
* @function Highcharts.seriesTypes.pie#drawPoints
|
|
643
695
|
*/
|
|
644
696
|
drawPoints: function () {
|
|
645
697
|
var series = this,
|
|
@@ -724,11 +776,22 @@ seriesType('pie', 'line', {
|
|
|
724
776
|
|
|
725
777
|
},
|
|
726
778
|
|
|
727
|
-
|
|
779
|
+
/**
|
|
780
|
+
* @private
|
|
781
|
+
* @deprecated
|
|
782
|
+
* @function Highcharts.seriesTypes.pie#searchPoint
|
|
783
|
+
*/
|
|
728
784
|
searchPoint: noop,
|
|
729
785
|
|
|
730
786
|
/**
|
|
731
787
|
* Utility for sorting data labels
|
|
788
|
+
*
|
|
789
|
+
* @private
|
|
790
|
+
* @function Highcharts.seriesTypes.pie#sortByAngle
|
|
791
|
+
*
|
|
792
|
+
* @param {Array<Highcharts.Point>} points
|
|
793
|
+
*
|
|
794
|
+
* @param {number} sign
|
|
732
795
|
*/
|
|
733
796
|
sortByAngle: function (points, sign) {
|
|
734
797
|
points.sort(function (a, b) {
|
|
@@ -737,24 +800,40 @@ seriesType('pie', 'line', {
|
|
|
737
800
|
},
|
|
738
801
|
|
|
739
802
|
/**
|
|
740
|
-
* Use a simple symbol from LegendSymbolMixin
|
|
803
|
+
* Use a simple symbol from LegendSymbolMixin.
|
|
804
|
+
*
|
|
805
|
+
* @private
|
|
806
|
+
* @borrows Highcharts.LegendSymbolMixin.drawRectangle as Highcharts.seriesTypes.pie#drawLegendSymbol
|
|
741
807
|
*/
|
|
742
808
|
drawLegendSymbol: LegendSymbolMixin.drawRectangle,
|
|
743
809
|
|
|
744
810
|
/**
|
|
745
|
-
* Use the getCenter method from drawLegendSymbol
|
|
811
|
+
* Use the getCenter method from drawLegendSymbol.
|
|
812
|
+
*
|
|
813
|
+
* @private
|
|
814
|
+
* @borrows Highcharts.CenteredSeriesMixin.getCenter as Highcharts.seriesTypes.pie#getCenter
|
|
746
815
|
*/
|
|
747
816
|
getCenter: CenteredSeriesMixin.getCenter,
|
|
748
817
|
|
|
749
818
|
/**
|
|
750
|
-
* Pies don't have point marker symbols
|
|
819
|
+
* Pies don't have point marker symbols.
|
|
820
|
+
*
|
|
821
|
+
* @deprecated
|
|
822
|
+
* @private
|
|
823
|
+
* @function Highcharts.seriesTypes.pie#getSymbol
|
|
751
824
|
*/
|
|
752
825
|
getSymbol: noop
|
|
753
826
|
|
|
754
827
|
|
|
755
828
|
}, /** @lends seriesTypes.pie.prototype.pointClass.prototype */ {
|
|
829
|
+
|
|
756
830
|
/**
|
|
757
831
|
* Initiate the pie slice
|
|
832
|
+
*
|
|
833
|
+
* @private
|
|
834
|
+
* @function Highcharts.seriesTypes.pie#pointClass#init
|
|
835
|
+
*
|
|
836
|
+
* @return {Highcharts.Point}
|
|
758
837
|
*/
|
|
759
838
|
init: function () {
|
|
760
839
|
|
|
@@ -777,6 +856,11 @@ seriesType('pie', 'line', {
|
|
|
777
856
|
|
|
778
857
|
/**
|
|
779
858
|
* Negative points are not valid (#1530, #3623, #5322)
|
|
859
|
+
*
|
|
860
|
+
* @private
|
|
861
|
+
* @function Highcharts.seriesTypes.pie#pointClass#isValid
|
|
862
|
+
*
|
|
863
|
+
* @return {boolean}
|
|
780
864
|
*/
|
|
781
865
|
isValid: function () {
|
|
782
866
|
return H.isNumber(this.y, true) && this.y >= 0;
|
|
@@ -784,8 +868,15 @@ seriesType('pie', 'line', {
|
|
|
784
868
|
|
|
785
869
|
/**
|
|
786
870
|
* Toggle the visibility of the pie slice
|
|
787
|
-
*
|
|
788
|
-
*
|
|
871
|
+
*
|
|
872
|
+
* @private
|
|
873
|
+
* @function Highcharts.seriesTypes.pie#pointClass#setVisible
|
|
874
|
+
*
|
|
875
|
+
* @param {boolean} vis
|
|
876
|
+
* Whether to show the slice or not. If undefined, the visibility is
|
|
877
|
+
* toggled.
|
|
878
|
+
*
|
|
879
|
+
* @param {boolean} [redraw=false]
|
|
789
880
|
*/
|
|
790
881
|
setVisible: function (vis, redraw) {
|
|
791
882
|
var point = this,
|
|
@@ -836,8 +927,15 @@ seriesType('pie', 'line', {
|
|
|
836
927
|
|
|
837
928
|
/**
|
|
838
929
|
* Set or toggle whether the slice is cut out from the pie
|
|
839
|
-
*
|
|
840
|
-
* @
|
|
930
|
+
*
|
|
931
|
+
* @private
|
|
932
|
+
* @function Highcharts.seriesTypes.pie#pointClass#slice
|
|
933
|
+
*
|
|
934
|
+
* @param {boolean} sliced
|
|
935
|
+
* When undefined, the slice state is toggled.
|
|
936
|
+
*
|
|
937
|
+
* @param {boolean} redraw
|
|
938
|
+
* Whether to redraw the chart. True by default.
|
|
841
939
|
*/
|
|
842
940
|
slice: function (sliced, redraw, animation) {
|
|
843
941
|
var point = this,
|
|
@@ -864,6 +962,12 @@ seriesType('pie', 'line', {
|
|
|
864
962
|
|
|
865
963
|
},
|
|
866
964
|
|
|
965
|
+
/**
|
|
966
|
+
* @private
|
|
967
|
+
* @function Highcharts.seriesTypes.pie#pointClass#getTranslate
|
|
968
|
+
*
|
|
969
|
+
* @return {*}
|
|
970
|
+
*/
|
|
867
971
|
getTranslate: function () {
|
|
868
972
|
return this.sliced ? this.slicedTranslation : {
|
|
869
973
|
translateX: 0,
|
|
@@ -871,6 +975,14 @@ seriesType('pie', 'line', {
|
|
|
871
975
|
};
|
|
872
976
|
},
|
|
873
977
|
|
|
978
|
+
/**
|
|
979
|
+
* @private
|
|
980
|
+
* @function Highcharts.seriesTypes.pie#pointClass#haloPath
|
|
981
|
+
*
|
|
982
|
+
* @param {number} size
|
|
983
|
+
*
|
|
984
|
+
* @return {Highcharts.SVGPathArray}
|
|
985
|
+
*/
|
|
874
986
|
haloPath: function (size) {
|
|
875
987
|
var shapeArgs = this.shapeArgs;
|
|
876
988
|
|
|
@@ -895,10 +1007,9 @@ seriesType('pie', 'line', {
|
|
|
895
1007
|
* A `pie` series. If the [type](#series.pie.type) option is not specified,
|
|
896
1008
|
* it is inherited from [chart.type](#chart.type).
|
|
897
1009
|
*
|
|
898
|
-
* @
|
|
899
|
-
* @
|
|
900
|
-
* @
|
|
901
|
-
* @product highcharts
|
|
1010
|
+
* @extends series,plotOptions.pie
|
|
1011
|
+
* @excluding dataParser, dataURL, stack, xAxis, yAxis
|
|
1012
|
+
* @product highcharts
|
|
902
1013
|
* @apioption series.pie
|
|
903
1014
|
*/
|
|
904
1015
|
|
|
@@ -929,9 +1040,6 @@ seriesType('pie', 'line', {
|
|
|
929
1040
|
* color: "#FF00FF"
|
|
930
1041
|
* }]</pre>
|
|
931
1042
|
*
|
|
932
|
-
* @type {Array<Object|Number>}
|
|
933
|
-
* @extends series.line.data
|
|
934
|
-
* @excluding marker,x
|
|
935
1043
|
* @sample {highcharts} highcharts/chart/reflow-true/
|
|
936
1044
|
* Numerical values
|
|
937
1045
|
* @sample {highcharts} highcharts/series/data-array-of-arrays/
|
|
@@ -942,25 +1050,12 @@ seriesType('pie', 'line', {
|
|
|
942
1050
|
* Arrays of point.name and y
|
|
943
1051
|
* @sample {highcharts} highcharts/series/data-array-of-objects/
|
|
944
1052
|
* Config objects
|
|
945
|
-
* @product highcharts
|
|
946
|
-
* @apioption series.pie.data
|
|
947
|
-
*/
|
|
948
|
-
|
|
949
|
-
/**
|
|
950
|
-
* The sequential index of the data point in the legend.
|
|
951
1053
|
*
|
|
952
|
-
* @type
|
|
953
|
-
* @
|
|
954
|
-
* @
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
/**
|
|
958
|
-
* Whether to display a slice offset from the center.
|
|
959
|
-
*
|
|
960
|
-
* @type {Boolean}
|
|
961
|
-
* @sample {highcharts} highcharts/point/sliced/ One sliced point
|
|
962
|
-
* @product highcharts
|
|
963
|
-
* @apioption series.pie.data.sliced
|
|
1054
|
+
* @type {Array<number|*>}
|
|
1055
|
+
* @extends series.line.data
|
|
1056
|
+
* @excluding marker, x
|
|
1057
|
+
* @product highcharts
|
|
1058
|
+
* @apioption series.pie.data
|
|
964
1059
|
*/
|
|
965
1060
|
|
|
966
1061
|
/**
|
|
@@ -970,12 +1065,13 @@ seriesType('pie', 'line', {
|
|
|
970
1065
|
* event.item. Return false to prevent the default action which is to
|
|
971
1066
|
* toggle the select state of the series.
|
|
972
1067
|
*
|
|
973
|
-
* @type {Function}
|
|
974
|
-
* @context Point
|
|
975
1068
|
* @sample {highcharts} highcharts/plotoptions/series-events-checkboxclick/
|
|
976
1069
|
* Alert checkbox status
|
|
977
|
-
*
|
|
978
|
-
* @
|
|
1070
|
+
*
|
|
1071
|
+
* @type {Function}
|
|
1072
|
+
* @since 1.2.0
|
|
1073
|
+
* @product highcharts
|
|
1074
|
+
* @context Highcharts.Point
|
|
979
1075
|
* @apioption plotOptions.pie.events.checkboxClick
|
|
980
1076
|
*/
|
|
981
1077
|
|
|
@@ -983,12 +1079,20 @@ seriesType('pie', 'line', {
|
|
|
983
1079
|
* Not applicable to pies, as the legend item is per point. See point.
|
|
984
1080
|
* events.
|
|
985
1081
|
*
|
|
986
|
-
* @type
|
|
987
|
-
* @since
|
|
988
|
-
* @product
|
|
1082
|
+
* @type {Function}
|
|
1083
|
+
* @since 1.2.0
|
|
1084
|
+
* @product highcharts
|
|
989
1085
|
* @apioption plotOptions.pie.events.legendItemClick
|
|
990
1086
|
*/
|
|
991
1087
|
|
|
1088
|
+
/**
|
|
1089
|
+
* The sequential index of the data point in the legend.
|
|
1090
|
+
*
|
|
1091
|
+
* @type {number}
|
|
1092
|
+
* @product highcharts
|
|
1093
|
+
* @apioption series.pie.data.legendIndex
|
|
1094
|
+
*/
|
|
1095
|
+
|
|
992
1096
|
/**
|
|
993
1097
|
* Fires when the legend item belonging to the pie point (slice) is
|
|
994
1098
|
* clicked. The `this` keyword refers to the point itself. One parameter,
|
|
@@ -996,10 +1100,22 @@ seriesType('pie', 'line', {
|
|
|
996
1100
|
* default action is to toggle the visibility of the point. This can be
|
|
997
1101
|
* prevented by calling `event.preventDefault()`.
|
|
998
1102
|
*
|
|
999
|
-
* @type {Function}
|
|
1000
1103
|
* @sample {highcharts} highcharts/plotoptions/pie-point-events-legenditemclick/
|
|
1001
1104
|
* Confirm toggle visibility
|
|
1002
|
-
*
|
|
1003
|
-
* @
|
|
1105
|
+
*
|
|
1106
|
+
* @type {Function}
|
|
1107
|
+
* @since 1.2.0
|
|
1108
|
+
* @product highcharts
|
|
1004
1109
|
* @apioption plotOptions.pie.point.events.legendItemClick
|
|
1005
1110
|
*/
|
|
1111
|
+
|
|
1112
|
+
/**
|
|
1113
|
+
* Whether to display a slice offset from the center.
|
|
1114
|
+
*
|
|
1115
|
+
* @sample {highcharts} highcharts/point/sliced/
|
|
1116
|
+
* One sliced point
|
|
1117
|
+
*
|
|
1118
|
+
* @type {boolean}
|
|
1119
|
+
* @product highcharts
|
|
1120
|
+
* @apioption series.pie.data.sliced
|
|
1121
|
+
*/
|