highcharts 10.2.1 → 10.3.1
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/es-modules/Accessibility/Accessibility.js +1 -1
- package/es-modules/Accessibility/Components/InfoRegionsComponent.js +9 -6
- package/es-modules/Accessibility/Components/LegendComponent.js +36 -32
- package/es-modules/Accessibility/Components/RangeSelectorComponent.js +1 -1
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js +16 -16
- package/es-modules/Accessibility/Options/LangDefaults.js +4 -0
- package/es-modules/Core/Axis/Axis.js +42 -32
- package/es-modules/Core/Axis/Axis3DComposition.js +501 -0
- package/es-modules/Core/Axis/Axis3DDefaults.js +130 -0
- package/es-modules/Core/Axis/AxisDefaults.js +20 -7
- package/es-modules/Core/Axis/Color/ColorAxis.js +46 -52
- package/es-modules/Core/Axis/Color/ColorAxisComposition.js +4 -2
- package/es-modules/Core/Axis/NavigatorAxisComposition.js +161 -0
- package/es-modules/Core/Axis/OrdinalAxis.js +2 -1
- package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBand.js +1 -1
- package/es-modules/Core/Axis/RadialAxis.js +19 -5
- package/es-modules/Core/Axis/Tick.js +1 -1
- package/es-modules/Core/Axis/Tick3DComposition.js +71 -0
- package/es-modules/Core/Chart/Chart.js +16 -20
- package/es-modules/Core/Chart/Chart3D.js +4 -4
- package/es-modules/Core/Chart/ChartDefaults.js +33 -43
- package/es-modules/Core/Chart/GanttChart.js +1 -1
- package/es-modules/Core/Chart/MapChart.js +1 -1
- package/es-modules/Core/Chart/StockChart.js +11 -28
- package/es-modules/Core/{DefaultOptions.js → Defaults.js} +21 -37
- package/es-modules/Core/FormatUtilities.js +1 -1
- package/es-modules/Core/Globals.js +1 -1
- package/es-modules/Core/Legend/Legend.js +114 -110
- package/es-modules/Core/Legend/LegendSymbol.js +9 -6
- package/es-modules/Core/MSPointer.js +4 -2
- package/es-modules/Core/Pointer.js +125 -75
- package/es-modules/Core/Renderer/SVG/SVGElement.js +0 -3
- package/es-modules/Core/Renderer/SVG/SVGRenderer.js +28 -14
- package/es-modules/Core/Series/DataLabel.js +8 -5
- package/es-modules/Core/Series/Point.js +38 -22
- package/es-modules/Core/Series/Series.js +12 -9
- package/es-modules/Core/Series/SeriesDefaults.js +36 -24
- package/es-modules/Core/Series/SeriesRegistry.js +2 -2
- package/es-modules/Core/Time.js +6 -5
- package/es-modules/Core/Tooltip.js +6 -28
- package/es-modules/Core/Utilities.js +6 -8
- package/es-modules/Extensions/Annotations/Annotation.js +1 -1
- package/es-modules/Extensions/Annotations/AnnotationDefaults.js +13 -8
- package/es-modules/Extensions/Annotations/MockPoint.js +2 -1
- package/es-modules/Extensions/Annotations/NavigationBindings.js +4 -5
- package/es-modules/Extensions/Annotations/NavigationBindingsDefaults.js +1 -1
- package/es-modules/Extensions/Annotations/Popup/Popup.js +2 -2
- package/es-modules/Extensions/Annotations/Popup/PopupAnnotations.js +4 -4
- package/es-modules/Extensions/Annotations/Popup/PopupComposition.js +1 -1
- package/es-modules/Extensions/Boost/BoostSeries.js +11 -8
- package/es-modules/Extensions/Breadcrumbs.js +2 -2
- package/es-modules/Extensions/Data.js +2 -2
- package/es-modules/Extensions/DataGrouping/ApproximationDefaults.js +157 -0
- package/es-modules/Extensions/DataGrouping/ApproximationRegistry.js +35 -0
- package/es-modules/Extensions/DataGrouping/DataGrouping.js +469 -0
- package/es-modules/Extensions/DataGrouping/DataGroupingAxisComposition.js +174 -0
- package/es-modules/Extensions/DataGrouping/DataGroupingDefaults.js +143 -0
- package/es-modules/Extensions/DataGrouping/DataGroupingSeriesComposition.js +479 -0
- package/es-modules/Extensions/Debugger/Debugger.js +1 -1
- package/es-modules/Extensions/DraggablePoints.js +6 -2
- package/es-modules/Extensions/Drilldown.js +3 -5
- package/es-modules/Extensions/ExportData/ExportData.js +31 -5
- package/es-modules/Extensions/Exporting/Exporting.js +47 -60
- package/es-modules/Extensions/Exporting/ExportingDefaults.js +22 -24
- package/es-modules/Extensions/GeoJSON.js +3 -1
- package/es-modules/Extensions/MarkerClusters.js +1 -1
- package/es-modules/Extensions/NoDataToDisplay.js +1 -1
- package/es-modules/Extensions/OfflineExporting/OfflineExporting.js +5 -5
- package/es-modules/Extensions/OfflineExporting/OfflineExportingDefaults.js +1 -1
- package/es-modules/Extensions/Oldie/Oldie.js +3 -3
- package/es-modules/Extensions/Oldie/VMLRenderer3D.js +1 -1
- package/es-modules/Extensions/OldiePolyfills.js +3 -1
- package/es-modules/Extensions/Pane.js +42 -5
- package/es-modules/Extensions/ParallelCoordinates.js +5 -1
- package/es-modules/Extensions/PatternFill.js +10 -10
- package/es-modules/Extensions/SeriesLabel/SeriesLabel.js +2 -2
- package/es-modules/Extensions/SeriesLabel/SeriesLabelDefaults.js +4 -0
- package/es-modules/Extensions/Sonification/Sonification.js +1 -1
- package/es-modules/Extensions/Themes/Avocado.js +1 -1
- package/es-modules/Extensions/Themes/BrandDark.js +1 -1
- package/es-modules/Extensions/Themes/BrandLight.js +1 -1
- package/es-modules/Extensions/Themes/DarkBlue.js +1 -1
- package/es-modules/Extensions/Themes/DarkGreen.js +1 -1
- package/es-modules/Extensions/Themes/DarkUnica.js +1 -1
- package/es-modules/Extensions/Themes/Gray.js +1 -1
- package/es-modules/Extensions/Themes/Grid.js +1 -1
- package/es-modules/Extensions/Themes/GridLight.js +1 -1
- package/es-modules/Extensions/Themes/HighContrastDark.js +1 -1
- package/es-modules/Extensions/Themes/HighContrastLight.js +1 -1
- package/es-modules/Extensions/Themes/SandSignika.js +1 -1
- package/es-modules/Extensions/Themes/Skies.js +1 -1
- package/es-modules/Extensions/Themes/Sunset.js +1 -1
- package/es-modules/Gantt/Connection.js +5 -5
- package/es-modules/Gantt/Pathfinder.js +6 -6
- package/es-modules/Maps/MapNavigation.js +1 -1
- package/es-modules/Maps/{MapNavigationOptionsDefault.js → MapNavigationDefaults.js} +4 -4
- package/es-modules/Maps/MapViewOptionsDefault.js +4 -4
- package/es-modules/Series/ArcDiagram/ArcDiagramSeries.js +3 -5
- package/es-modules/Series/AreaRange/AreaRangePoint.js +6 -10
- package/es-modules/Series/AreaRange/AreaRangeSeries.js +59 -48
- package/es-modules/Series/BoxPlot/BoxPlotSeries.js +4 -1
- package/es-modules/Series/Bubble/BubbleLegendComposition.js +22 -16
- package/es-modules/Series/Bubble/BubbleLegendItem.js +17 -21
- package/es-modules/Series/Candlestick/CandlestickSeries.js +15 -175
- package/es-modules/Series/Candlestick/CandlestickSeriesDefaults.js +179 -0
- package/es-modules/Series/Column/ColumnSeries.js +25 -506
- package/es-modules/Series/Column/ColumnSeriesDefaults.js +487 -0
- package/es-modules/Series/ColumnRange/ColumnRangeSeries.js +40 -36
- package/es-modules/Series/DependencyWheel/DependencyWheelSeries.js +2 -106
- package/es-modules/Series/DependencyWheel/DependencyWheelSeriesDefaults.js +183 -0
- package/es-modules/Series/DotPlot/DotPlotSeries.js +11 -12
- package/es-modules/Series/DrawPointUtilities.js +2 -14
- package/es-modules/Series/Dumbbell/DumbbellPoint.js +5 -4
- package/es-modules/Series/Dumbbell/DumbbellSeries.js +11 -7
- package/es-modules/Series/ErrorBar/ErrorBarSeries.js +19 -136
- package/es-modules/Series/ErrorBar/ErrorBarSeriesDefaults.js +147 -0
- package/es-modules/Series/Flags/FlagsPoint.js +2 -3
- package/es-modules/Series/Flags/FlagsSeries.js +31 -298
- package/es-modules/Series/Flags/FlagsSeriesDefaults.js +295 -0
- package/es-modules/Series/Flags/FlagsSymbols.js +96 -71
- package/es-modules/Series/HLC/HLCPoint.js +2 -2
- package/es-modules/Series/HLC/HLCSeries.js +7 -172
- package/es-modules/Series/HLC/HLCSeriesDefaults.js +184 -0
- package/es-modules/Series/Heatmap/HeatmapSeries.js +3 -0
- package/es-modules/Series/HeikinAshi/HeikinAshiPoint.js +3 -20
- package/es-modules/Series/HeikinAshi/HeikinAshiSeries.js +78 -139
- package/es-modules/Series/HeikinAshi/HeikinAshiSeriesDefaults.js +102 -0
- package/es-modules/Series/Item/ItemPoint.js +0 -1
- package/es-modules/Series/Item/ItemSeries.js +13 -8
- package/es-modules/Series/Line/LineSeries.js +8 -4
- package/es-modules/Series/Map/MapPoint.js +19 -1
- package/es-modules/Series/Map/MapSeries.js +7 -3
- package/es-modules/Series/MapBubble/MapBubbleSeries.js +4 -0
- package/es-modules/Series/MapPoint/MapPointPoint.js +0 -5
- package/es-modules/Series/MapPoint/MapPointSeries.js +24 -9
- package/es-modules/Series/Networkgraph/NetworkgraphSeries.js +2 -5
- package/es-modules/Series/Networkgraph/NetworkgraphSeriesDefaults.js +2 -0
- package/es-modules/Series/OHLC/OHLCPoint.js +0 -2
- package/es-modules/Series/OHLC/OHLCSeries.js +64 -160
- package/es-modules/Series/OHLC/OHLCSeriesDefaults.js +151 -0
- package/es-modules/Series/Organization/OrganizationPoint.js +0 -2
- package/es-modules/Series/Organization/OrganizationSeries.js +96 -469
- package/es-modules/Series/Organization/OrganizationSeriesDefaults.js +415 -0
- package/es-modules/Series/PackedBubble/PackedBubbleSeries.js +3 -10
- package/es-modules/Series/PackedBubble/PackedBubbleSeriesDefaults.js +2 -0
- package/es-modules/Series/PathUtilities.js +74 -0
- package/es-modules/Series/Pie/PieSeries.js +2 -644
- package/es-modules/Series/Pie/PieSeriesDefaults.js +660 -0
- package/es-modules/Series/PolarComposition.js +233 -15
- package/es-modules/Series/Sankey/SankeySeries.js +27 -530
- package/es-modules/Series/Sankey/SankeySeriesDefaults.js +522 -0
- package/es-modules/Series/Scatter/ScatterSeries.js +2 -172
- package/es-modules/Series/Scatter/ScatterSeriesDefaults.js +188 -0
- package/es-modules/Series/SolidGauge/SolidGaugeSeries.js +12 -182
- package/es-modules/Series/SolidGauge/SolidGaugeSeriesDefaults.js +199 -0
- package/es-modules/Series/Sunburst/SunburstNode.js +34 -0
- package/es-modules/Series/Sunburst/SunburstPoint.js +2 -1
- package/es-modules/Series/Sunburst/SunburstSeries.js +3 -1
- package/es-modules/Series/Timeline/TimelineSeries.js +2 -231
- package/es-modules/Series/Timeline/TimelineSeriesDefaults.js +248 -0
- package/es-modules/Series/TreeUtilities.js +1 -2
- package/es-modules/Series/Treegraph/TreegraphLayout.js +338 -0
- package/es-modules/Series/Treegraph/TreegraphLink.js +92 -0
- package/es-modules/Series/Treegraph/TreegraphNode.js +206 -0
- package/es-modules/Series/Treegraph/TreegraphPoint.js +175 -0
- package/es-modules/Series/Treegraph/TreegraphSeries.js +510 -0
- package/es-modules/Series/Treegraph/TreegraphSeriesDefaults.js +231 -0
- package/es-modules/Series/Treemap/TreemapNode.js +48 -0
- package/es-modules/Series/Treemap/TreemapPoint.js +2 -1
- package/es-modules/Series/Treemap/TreemapSeries.js +29 -27
- package/es-modules/Series/Variwide/VariwideComposition.js +70 -26
- package/es-modules/Series/Variwide/VariwidePoint.js +8 -7
- package/es-modules/Series/Variwide/VariwideSeries.js +19 -14
- package/es-modules/Series/Vector/VectorSeries.js +2 -2
- package/es-modules/Series/Venn/VennSeries.js +14 -0
- package/es-modules/Series/Waterfall/WaterfallSeries.js +0 -1
- package/es-modules/Series/Windbarb/WindbarbSeries.js +3 -2
- package/es-modules/Series/Wordcloud/WordcloudSeries.js +3 -0
- package/es-modules/Stock/Indicators/AO/AOIndicator.js +1 -2
- package/es-modules/Stock/Indicators/BB/BBIndicator.js +15 -4
- package/es-modules/Stock/Indicators/IKH/IKHIndicator.js +21 -18
- package/es-modules/Stock/Indicators/Klinger/KlingerIndicator.js +1 -2
- package/es-modules/Stock/Indicators/MACD/MACDIndicator.js +1 -2
- package/es-modules/Stock/Indicators/PivotPoints/PivotPointsIndicator.js +1 -1
- package/es-modules/Stock/Indicators/SMA/SMAIndicator.js +0 -1
- package/es-modules/Stock/Indicators/SlowStochastic/SlowStochasticIndicator.js +3 -4
- package/es-modules/Stock/Indicators/Supertrend/SupertrendIndicator.js +1 -2
- package/es-modules/Stock/Indicators/VBP/VBPIndicator.js +6 -7
- package/es-modules/{Core → Stock/Navigator}/Navigator.js +112 -686
- package/es-modules/Stock/Navigator/NavigatorComposition.js +218 -0
- package/es-modules/Stock/Navigator/NavigatorDefaults.js +490 -0
- package/es-modules/Stock/Navigator/NavigatorSymbols.js +44 -0
- package/es-modules/{Extensions → Stock/RangeSelector}/RangeSelector.js +154 -818
- package/es-modules/Stock/RangeSelector/RangeSelectorComposition.js +286 -0
- package/es-modules/Stock/RangeSelector/RangeSelectorDefaults.js +521 -0
- package/es-modules/{Core → Stock/Scrollbar}/Scrollbar.js +4 -4
- package/es-modules/{Core → Stock/Scrollbar}/ScrollbarDefaults.js +1 -1
- package/es-modules/Stock/{StockToolbar.js → StockTools/StockToolbar.js} +2 -2
- package/es-modules/Stock/{StockTools.js → StockTools/StockTools.js} +3 -3
- package/es-modules/Stock/{StockToolsBindings.js → StockTools/StockToolsBindings.js} +3 -3
- package/es-modules/Stock/{StockToolsDefaults.js → StockTools/StockToolsDefaults.js} +4 -4
- package/es-modules/Stock/{StockToolsGui.js → StockTools/StockToolsGui.js} +4 -4
- package/es-modules/Stock/{StockToolsUtilities.js → StockTools/StockToolsUtilities.js} +4 -4
- package/es-modules/masters/highcharts-3d.src.js +3 -5
- package/es-modules/masters/highcharts-gantt.src.js +1 -1
- package/es-modules/masters/highcharts-more.src.js +1 -1
- package/es-modules/masters/highcharts.src.js +6 -6
- package/es-modules/masters/highmaps.src.js +1 -1
- package/es-modules/masters/highstock.src.js +1 -1
- package/es-modules/masters/indicators/acceleration-bands.src.js +1 -1
- package/es-modules/masters/indicators/accumulation-distribution.src.js +1 -1
- package/es-modules/masters/indicators/ao.src.js +1 -1
- package/es-modules/masters/indicators/apo.src.js +1 -1
- package/es-modules/masters/indicators/aroon-oscillator.src.js +1 -1
- package/es-modules/masters/indicators/aroon.src.js +1 -1
- package/es-modules/masters/indicators/atr.src.js +1 -1
- package/es-modules/masters/indicators/bollinger-bands.src.js +1 -1
- package/es-modules/masters/indicators/cci.src.js +1 -1
- package/es-modules/masters/indicators/chaikin.src.js +1 -1
- package/es-modules/masters/indicators/cmf.src.js +1 -1
- package/es-modules/masters/indicators/cmo.src.js +1 -1
- package/es-modules/masters/indicators/dema.src.js +1 -1
- package/es-modules/masters/indicators/disparity-index.src.js +1 -1
- package/es-modules/masters/indicators/dmi.src.js +1 -1
- package/es-modules/masters/indicators/dpo.src.js +1 -1
- package/es-modules/masters/indicators/ichimoku-kinko-hyo.src.js +1 -1
- package/es-modules/masters/indicators/indicators-all.src.js +1 -1
- package/es-modules/masters/indicators/indicators.src.js +1 -1
- package/es-modules/masters/indicators/keltner-channels.src.js +1 -1
- package/es-modules/masters/indicators/klinger.src.js +1 -1
- package/es-modules/masters/indicators/macd.src.js +1 -1
- package/es-modules/masters/indicators/mfi.src.js +1 -1
- package/es-modules/masters/indicators/momentum.src.js +1 -1
- package/es-modules/masters/indicators/natr.src.js +1 -1
- package/es-modules/masters/indicators/obv.src.js +1 -1
- package/es-modules/masters/indicators/pivot-points.src.js +1 -1
- package/es-modules/masters/indicators/ppo.src.js +1 -1
- package/es-modules/masters/indicators/price-channel.src.js +1 -1
- package/es-modules/masters/indicators/price-envelopes.src.js +1 -1
- package/es-modules/masters/indicators/psar.src.js +1 -1
- package/es-modules/masters/indicators/regressions.src.js +1 -1
- package/es-modules/masters/indicators/roc.src.js +1 -1
- package/es-modules/masters/indicators/rsi.src.js +1 -1
- package/es-modules/masters/indicators/slow-stochastic.src.js +1 -1
- package/es-modules/masters/indicators/stochastic.src.js +1 -1
- package/es-modules/masters/indicators/supertrend.src.js +1 -1
- package/es-modules/masters/indicators/tema.src.js +1 -1
- package/es-modules/masters/indicators/trendline.src.js +1 -1
- package/es-modules/masters/indicators/trix.src.js +1 -1
- package/es-modules/masters/indicators/volume-by-price.src.js +1 -1
- package/es-modules/masters/indicators/vwap.src.js +1 -1
- package/es-modules/masters/indicators/williams-r.src.js +1 -1
- package/es-modules/masters/indicators/wma.src.js +1 -1
- package/es-modules/masters/indicators/zigzag.src.js +1 -1
- package/es-modules/masters/modules/accessibility.src.js +1 -1
- package/es-modules/masters/modules/annotations-advanced.src.js +1 -1
- package/es-modules/masters/modules/annotations.src.js +1 -1
- package/es-modules/masters/modules/arc-diagram.src.js +1 -1
- package/es-modules/masters/modules/arrow-symbols.src.js +1 -1
- package/es-modules/masters/modules/boost-canvas.src.js +1 -1
- package/es-modules/masters/modules/boost.src.js +1 -1
- package/es-modules/masters/modules/broken-axis.src.js +1 -1
- package/es-modules/masters/modules/bullet.src.js +1 -1
- package/es-modules/masters/modules/coloraxis.src.js +1 -1
- package/es-modules/masters/modules/current-date-indicator.src.js +1 -1
- package/es-modules/masters/modules/cylinder.src.js +1 -1
- package/es-modules/masters/modules/data.src.js +1 -1
- package/es-modules/masters/modules/datagrouping.src.js +11 -3
- package/es-modules/masters/modules/debugger.src.js +1 -1
- package/es-modules/masters/modules/dependency-wheel.src.js +1 -1
- package/es-modules/masters/modules/dotplot.src.js +1 -1
- package/es-modules/masters/modules/drag-panes.src.js +1 -1
- package/es-modules/masters/modules/draggable-points.src.js +1 -1
- package/es-modules/masters/modules/drilldown.src.js +1 -1
- package/es-modules/masters/modules/dumbbell.src.js +1 -1
- 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/full-screen.src.js +1 -1
- package/es-modules/masters/modules/funnel.src.js +1 -1
- package/es-modules/masters/modules/funnel3d.src.js +1 -1
- package/es-modules/masters/modules/gantt.src.js +9 -5
- 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/heikinashi.src.js +5 -2
- package/es-modules/masters/modules/histogram-bellcurve.src.js +1 -1
- package/es-modules/masters/modules/hollowcandlestick.src.js +1 -1
- package/es-modules/masters/modules/item-series.src.js +1 -1
- package/es-modules/masters/modules/lollipop.src.js +1 -1
- package/es-modules/masters/modules/map.src.js +1 -1
- package/es-modules/masters/modules/marker-clusters.src.js +1 -1
- package/es-modules/masters/modules/networkgraph.src.js +1 -1
- package/es-modules/masters/modules/no-data-to-display.src.js +1 -1
- package/es-modules/masters/modules/offline-exporting.src.js +1 -1
- package/es-modules/masters/modules/oldie-polyfills.src.js +1 -1
- package/es-modules/masters/modules/oldie.src.js +1 -1
- package/es-modules/masters/modules/organization.src.js +1 -1
- package/es-modules/masters/modules/overlapping-datalabels.src.js +1 -1
- package/es-modules/masters/modules/parallel-coordinates.src.js +1 -1
- package/es-modules/masters/modules/pareto.src.js +1 -1
- package/es-modules/masters/modules/pathfinder.src.js +1 -1
- package/es-modules/masters/modules/pattern-fill.src.js +1 -1
- package/es-modules/masters/modules/price-indicator.src.js +1 -1
- package/es-modules/masters/modules/pyramid3d.src.js +1 -1
- 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/series-on-point.src.js +1 -1
- package/es-modules/masters/modules/solid-gauge.src.js +1 -1
- package/es-modules/masters/modules/sonification.src.js +1 -1
- package/es-modules/masters/modules/static-scale.src.js +1 -1
- package/es-modules/masters/modules/stock-tools.src.js +4 -4
- package/es-modules/masters/modules/stock.src.js +17 -11
- package/es-modules/masters/modules/streamgraph.src.js +1 -1
- package/es-modules/masters/modules/sunburst.src.js +1 -1
- package/es-modules/masters/modules/tilemap.src.js +1 -1
- package/es-modules/masters/modules/timeline.src.js +1 -1
- package/es-modules/masters/modules/treegraph.src.js +13 -0
- package/es-modules/masters/modules/treegrid.src.js +1 -1
- package/es-modules/masters/modules/treemap.src.js +1 -1
- package/es-modules/masters/modules/variable-pie.src.js +1 -1
- package/es-modules/masters/modules/variwide.src.js +5 -2
- package/es-modules/masters/modules/vector.src.js +1 -1
- package/es-modules/masters/modules/venn.src.js +1 -1
- package/es-modules/masters/modules/windbarb.src.js +1 -1
- package/es-modules/masters/modules/wordcloud.src.js +1 -1
- package/es-modules/masters/modules/xrange.src.js +1 -1
- package/es-modules/masters/themes/avocado.src.js +1 -1
- package/es-modules/masters/themes/brand-dark.src.js +1 -1
- package/es-modules/masters/themes/brand-light.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/high-contrast-dark.src.js +1 -1
- package/es-modules/masters/themes/high-contrast-light.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/masters/themes/sunset.src.js +1 -1
- package/highcharts-3d.js +97 -98
- package/highcharts-3d.js.map +1 -1
- package/highcharts-3d.src.js +476 -449
- package/highcharts-gantt.js +811 -808
- package/highcharts-gantt.js.map +1 -1
- package/highcharts-gantt.src.js +14619 -14112
- package/highcharts-more.d.ts +0 -8
- package/highcharts-more.js +208 -201
- package/highcharts-more.js.map +1 -1
- package/highcharts-more.src.d.ts +0 -8
- package/highcharts-more.src.js +679 -289
- package/highcharts.d.ts +30739 -6156
- package/highcharts.js +590 -589
- package/highcharts.js.map +1 -1
- package/highcharts.src.d.ts +30739 -6156
- package/highcharts.src.js +1988 -1799
- package/highmaps.js +759 -757
- package/highmaps.js.map +1 -1
- package/highmaps.src.js +2339 -2077
- package/highstock.js +802 -794
- package/highstock.js.map +1 -1
- package/highstock.src.js +12349 -11416
- 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 +6 -6
- package/indicators/ao.js.map +1 -1
- package/indicators/ao.src.js +4 -3
- 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.js.map +1 -1
- package/indicators/bollinger-bands.src.js +16 -5
- 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/cmo.d.ts +17 -0
- package/indicators/cmo.js +1 -1
- package/indicators/cmo.src.d.ts +17 -0
- package/indicators/cmo.src.js +1 -1
- package/indicators/dema.js +1 -1
- package/indicators/dema.src.js +1 -1
- package/indicators/disparity-index.d.ts +17 -0
- package/indicators/disparity-index.js +1 -1
- package/indicators/disparity-index.src.d.ts +17 -0
- package/indicators/disparity-index.src.js +1 -1
- package/indicators/dmi.d.ts +17 -0
- package/indicators/dmi.js +1 -1
- package/indicators/dmi.src.d.ts +17 -0
- package/indicators/dmi.src.js +1 -1
- package/indicators/dpo.js +1 -1
- package/indicators/dpo.src.js +1 -1
- package/indicators/ichimoku-kinko-hyo.js +14 -14
- package/indicators/ichimoku-kinko-hyo.js.map +1 -1
- package/indicators/ichimoku-kinko-hyo.src.js +22 -19
- package/indicators/indicators-all.js +198 -199
- package/indicators/indicators-all.js.map +1 -1
- package/indicators/indicators-all.src.js +63 -57
- package/indicators/indicators.js +13 -13
- package/indicators/indicators.js.map +1 -1
- package/indicators/indicators.src.js +1 -15
- package/indicators/keltner-channels.js +1 -1
- package/indicators/keltner-channels.src.js +1 -1
- package/indicators/klinger.d.ts +17 -0
- package/indicators/klinger.js +12 -12
- package/indicators/klinger.js.map +1 -1
- package/indicators/klinger.src.d.ts +17 -0
- package/indicators/klinger.src.js +4 -3
- package/indicators/macd.js +1 -1
- package/indicators/macd.js.map +1 -1
- package/indicators/macd.src.js +4 -3
- 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/obv.d.ts +17 -0
- package/indicators/obv.js +1 -1
- package/indicators/obv.src.d.ts +17 -0
- package/indicators/obv.src.js +1 -1
- package/indicators/pivot-points.js +2 -2
- package/indicators/pivot-points.js.map +1 -1
- package/indicators/pivot-points.src.js +2 -2
- 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/slow-stochastic.js +5 -5
- package/indicators/slow-stochastic.js.map +1 -1
- package/indicators/slow-stochastic.src.js +6 -5
- package/indicators/stochastic.js +1 -1
- package/indicators/stochastic.src.js +1 -1
- package/indicators/supertrend.js +7 -7
- package/indicators/supertrend.js.map +1 -1
- package/indicators/supertrend.src.js +4 -3
- package/indicators/tema.js +1 -1
- package/indicators/tema.src.js +1 -1
- package/indicators/trendline.js +1 -1
- package/indicators/trendline.src.js +1 -1
- package/indicators/trix.js +1 -1
- package/indicators/trix.src.js +1 -1
- package/indicators/volume-by-price.js +17 -17
- package/indicators/volume-by-price.js.map +1 -1
- package/indicators/volume-by-price.src.js +9 -8
- 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 +214 -213
- package/modules/accessibility.js.map +1 -1
- package/modules/accessibility.src.js +991 -835
- package/modules/annotations-advanced.js +16 -16
- package/modules/annotations-advanced.js.map +1 -1
- package/modules/annotations-advanced.src.js +29 -24
- package/modules/annotations.js +91 -91
- package/modules/annotations.js.map +1 -1
- package/modules/annotations.src.js +29 -24
- package/modules/arc-diagram.d.ts +17 -0
- package/modules/arc-diagram.js +15 -15
- package/modules/arc-diagram.js.map +1 -1
- package/modules/arc-diagram.src.d.ts +17 -0
- package/modules/arc-diagram.src.js +6 -6
- package/modules/arrow-symbols.js +1 -1
- package/modules/arrow-symbols.src.js +1 -1
- package/modules/boost-canvas.js +19 -19
- package/modules/boost-canvas.js.map +1 -1
- package/modules/boost-canvas.src.js +13 -8
- package/modules/boost.js +37 -37
- package/modules/boost.js.map +1 -1
- package/modules/boost.src.js +13 -8
- package/modules/broken-axis.js +1 -1
- package/modules/broken-axis.src.js +1 -1
- package/modules/bullet.js +1 -1
- package/modules/bullet.src.js +1 -1
- package/modules/coloraxis.js +25 -24
- package/modules/coloraxis.js.map +1 -1
- package/modules/coloraxis.src.js +77 -58
- 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.src.js +1 -1
- package/modules/data.js +27 -27
- package/modules/data.js.map +1 -1
- package/modules/data.src.js +3 -3
- package/modules/datagrouping.d.ts +31 -0
- package/modules/datagrouping.js +23 -21
- package/modules/datagrouping.js.map +1 -1
- package/modules/datagrouping.src.d.ts +31 -0
- package/modules/datagrouping.src.js +921 -640
- package/modules/debugger.js +3 -3
- package/modules/debugger.js.map +1 -1
- package/modules/debugger.src.js +2 -2
- package/modules/dependency-wheel.js +12 -12
- package/modules/dependency-wheel.js.map +1 -1
- package/modules/dependency-wheel.src.js +191 -108
- package/modules/dotplot.js +6 -6
- package/modules/dotplot.js.map +1 -1
- package/modules/dotplot.src.js +10 -13
- package/modules/drag-panes.js +1 -1
- package/modules/drag-panes.src.js +1 -1
- package/modules/draggable-points.js +5 -5
- package/modules/draggable-points.js.map +1 -1
- package/modules/draggable-points.src.js +7 -3
- package/modules/drilldown.js +37 -37
- package/modules/drilldown.js.map +1 -1
- package/modules/drilldown.src.js +5 -6
- package/modules/dumbbell.js +17 -17
- package/modules/dumbbell.js.map +1 -1
- package/modules/dumbbell.src.js +27 -22
- package/modules/export-data.js +26 -25
- package/modules/export-data.js.map +1 -1
- package/modules/export-data.src.js +33 -6
- package/modules/exporting.js +36 -35
- package/modules/exporting.js.map +1 -1
- package/modules/exporting.src.js +81 -88
- package/modules/full-screen.js +1 -1
- package/modules/full-screen.src.js +1 -1
- package/modules/funnel.js +1 -1
- package/modules/funnel.src.js +1 -1
- package/modules/funnel3d.js +1 -1
- package/modules/funnel3d.src.js +1 -1
- package/modules/gantt.js +221 -219
- package/modules/gantt.js.map +1 -1
- package/modules/gantt.src.js +12842 -12524
- package/modules/grid-axis.js +1 -1
- package/modules/grid-axis.src.js +1 -1
- package/modules/heatmap.js +40 -40
- package/modules/heatmap.js.map +1 -1
- package/modules/heatmap.src.js +80 -58
- package/modules/heikinashi.d.ts +17 -0
- package/modules/heikinashi.js +9 -8
- package/modules/heikinashi.js.map +1 -1
- package/modules/heikinashi.src.d.ts +17 -0
- package/modules/heikinashi.src.js +192 -165
- package/modules/histogram-bellcurve.js +1 -1
- package/modules/histogram-bellcurve.src.js +1 -1
- package/modules/hollowcandlestick.d.ts +17 -0
- package/modules/hollowcandlestick.js +1 -1
- package/modules/hollowcandlestick.src.d.ts +17 -0
- package/modules/hollowcandlestick.src.js +1 -1
- package/modules/item-series.js +12 -12
- package/modules/item-series.js.map +1 -1
- package/modules/item-series.src.js +14 -10
- package/modules/lollipop.js +1 -1
- package/modules/lollipop.src.js +1 -1
- package/modules/map.js +172 -171
- package/modules/map.js.map +1 -1
- package/modules/map.src.js +194 -121
- package/modules/marker-clusters.js +2 -2
- package/modules/marker-clusters.js.map +1 -1
- package/modules/marker-clusters.src.js +2 -2
- package/modules/networkgraph.js +8 -8
- package/modules/networkgraph.js.map +1 -1
- package/modules/networkgraph.src.js +5 -6
- package/modules/no-data-to-display.js +4 -4
- package/modules/no-data-to-display.js.map +1 -1
- package/modules/no-data-to-display.src.js +2 -2
- package/modules/offline-exporting.js +4 -4
- package/modules/offline-exporting.js.map +1 -1
- package/modules/offline-exporting.src.js +7 -7
- package/modules/oldie-polyfills.js +7 -7
- package/modules/oldie-polyfills.js.map +1 -1
- package/modules/oldie-polyfills.src.js +9 -7
- package/modules/oldie.js +30 -30
- package/modules/oldie.js.map +1 -1
- package/modules/oldie.src.js +5 -5
- package/modules/organization.js +18 -16
- package/modules/organization.js.map +1 -1
- package/modules/organization.src.js +659 -495
- package/modules/overlapping-datalabels.js +1 -1
- package/modules/overlapping-datalabels.src.js +1 -1
- package/modules/parallel-coordinates.js +10 -10
- package/modules/parallel-coordinates.js.map +1 -1
- package/modules/parallel-coordinates.src.js +6 -2
- package/modules/pareto.js +1 -1
- package/modules/pareto.src.js +1 -1
- package/modules/pathfinder.js +31 -31
- package/modules/pathfinder.js.map +1 -1
- package/modules/pathfinder.src.js +19 -23
- package/modules/pattern-fill.js +2 -2
- package/modules/pattern-fill.js.map +1 -1
- package/modules/pattern-fill.src.js +11 -11
- package/modules/price-indicator.js +1 -1
- package/modules/price-indicator.src.js +1 -1
- package/modules/pyramid3d.js +1 -1
- package/modules/pyramid3d.src.js +1 -1
- package/modules/sankey.js +33 -32
- package/modules/sankey.js.map +1 -1
- package/modules/sankey.src.js +571 -550
- package/modules/series-label.js +17 -17
- package/modules/series-label.js.map +1 -1
- package/modules/series-label.src.js +7 -3
- package/modules/series-on-point.d.ts +17 -0
- package/modules/series-on-point.js +1 -1
- package/modules/series-on-point.src.d.ts +17 -0
- package/modules/series-on-point.src.js +1 -1
- package/modules/solid-gauge.js +11 -10
- package/modules/solid-gauge.js.map +1 -1
- package/modules/solid-gauge.src.js +220 -192
- package/modules/sonification.js +2 -2
- package/modules/sonification.js.map +1 -1
- package/modules/sonification.src.js +2 -2
- package/modules/static-scale.js +1 -1
- package/modules/static-scale.src.js +1 -1
- package/modules/stock-tools.js +59 -59
- package/modules/stock-tools.js.map +1 -1
- package/modules/stock-tools.src.js +19 -21
- package/modules/stock.d.ts +26 -6
- package/modules/stock.js +212 -205
- package/modules/stock.js.map +1 -1
- package/modules/stock.src.d.ts +26 -6
- package/modules/stock.src.js +11361 -10617
- package/modules/streamgraph.js +1 -1
- package/modules/streamgraph.src.js +1 -1
- package/modules/sunburst.js +75 -73
- package/modules/sunburst.js.map +1 -1
- package/modules/sunburst.src.js +133 -57
- package/modules/tilemap.js +1 -1
- package/modules/tilemap.src.js +1 -1
- package/modules/timeline.js +18 -18
- package/modules/timeline.js.map +1 -1
- package/modules/timeline.src.js +257 -233
- package/modules/treegraph.d.ts +17 -0
- package/modules/treegraph.js +44 -0
- package/modules/treegraph.js.map +1 -0
- package/modules/treegraph.src.d.ts +17 -0
- package/modules/treegraph.src.js +1829 -0
- package/modules/treegrid.js +2 -2
- package/modules/treegrid.js.map +1 -1
- package/modules/treegrid.src.js +2 -3
- package/modules/treemap.js +54 -53
- package/modules/treemap.js.map +1 -1
- package/modules/treemap.src.js +90 -52
- package/modules/variable-pie.js +1 -1
- package/modules/variable-pie.src.js +1 -1
- package/modules/variwide.js +12 -12
- package/modules/variwide.js.map +1 -1
- package/modules/variwide.src.js +158 -106
- package/modules/vector.js +1 -1
- package/modules/vector.src.js +3 -3
- package/modules/venn.js +31 -31
- package/modules/venn.js.map +1 -1
- package/modules/venn.src.js +17 -16
- package/modules/windbarb.js +15 -15
- package/modules/windbarb.js.map +1 -1
- package/modules/windbarb.src.js +41 -4
- package/modules/wordcloud.js +23 -23
- package/modules/wordcloud.js.map +1 -1
- package/modules/wordcloud.src.js +6 -15
- package/modules/xrange.js +1 -1
- package/modules/xrange.src.js +1 -1
- package/package.json +1 -1
- package/themes/avocado.js +2 -3
- package/themes/avocado.js.map +1 -1
- package/themes/avocado.src.js +2 -2
- package/themes/brand-dark.d.ts +22 -0
- package/themes/brand-dark.js +3 -3
- package/themes/brand-dark.js.map +1 -1
- package/themes/brand-dark.src.d.ts +22 -0
- package/themes/brand-dark.src.js +2 -2
- package/themes/brand-light.d.ts +22 -0
- package/themes/brand-light.js +2 -2
- package/themes/brand-light.js.map +1 -1
- package/themes/brand-light.src.d.ts +22 -0
- package/themes/brand-light.src.js +2 -2
- package/themes/dark-blue.js +2 -2
- package/themes/dark-blue.js.map +1 -1
- package/themes/dark-blue.src.js +2 -2
- package/themes/dark-green.js +2 -2
- package/themes/dark-green.js.map +1 -1
- package/themes/dark-green.src.js +2 -2
- package/themes/dark-unica.js +2 -2
- package/themes/dark-unica.js.map +1 -1
- package/themes/dark-unica.src.js +2 -2
- package/themes/gray.js +2 -2
- package/themes/gray.js.map +1 -1
- package/themes/gray.src.js +2 -2
- package/themes/grid-light.js +2 -2
- package/themes/grid-light.js.map +1 -1
- package/themes/grid-light.src.js +2 -2
- package/themes/grid.js +2 -2
- package/themes/grid.js.map +1 -1
- package/themes/grid.src.js +2 -2
- package/themes/high-contrast-dark.d.ts +22 -0
- package/themes/high-contrast-dark.js +2 -2
- package/themes/high-contrast-dark.js.map +1 -1
- package/themes/high-contrast-dark.src.d.ts +22 -0
- package/themes/high-contrast-dark.src.js +2 -2
- package/themes/high-contrast-light.d.ts +22 -0
- package/themes/high-contrast-light.js +2 -2
- package/themes/high-contrast-light.js.map +1 -1
- package/themes/high-contrast-light.src.d.ts +22 -0
- package/themes/high-contrast-light.src.js +2 -2
- package/themes/sand-signika.js +2 -2
- package/themes/sand-signika.js.map +1 -1
- package/themes/sand-signika.src.js +2 -2
- package/themes/skies.js +2 -2
- package/themes/skies.js.map +1 -1
- package/themes/skies.src.js +2 -2
- package/themes/sunset.js +2 -2
- package/themes/sunset.js.map +1 -1
- package/themes/sunset.src.js +2 -2
- package/es-modules/Core/Axis/Axis3D.js +0 -612
- package/es-modules/Core/Axis/NavigatorAxis.js +0 -159
- package/es-modules/Core/Axis/Tick3D.js +0 -68
- package/es-modules/Extensions/DataGrouping.js +0 -1177
- package/es-modules/Stock/Indicators/SMA/SMAComposition.js +0 -12
|
@@ -0,0 +1,660 @@
|
|
|
1
|
+
/* *
|
|
2
|
+
*
|
|
3
|
+
* (c) 2010-2021 Torstein Honsi
|
|
4
|
+
*
|
|
5
|
+
* License: www.highcharts.com/license
|
|
6
|
+
*
|
|
7
|
+
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
8
|
+
*
|
|
9
|
+
* */
|
|
10
|
+
'use strict';
|
|
11
|
+
/* *
|
|
12
|
+
*
|
|
13
|
+
* API Options
|
|
14
|
+
*
|
|
15
|
+
* */
|
|
16
|
+
/**
|
|
17
|
+
* A pie chart is a circular graphic which is divided into slices to
|
|
18
|
+
* illustrate numerical proportion.
|
|
19
|
+
*
|
|
20
|
+
* @sample highcharts/demo/pie-basic/
|
|
21
|
+
* Pie chart
|
|
22
|
+
*
|
|
23
|
+
* @extends plotOptions.line
|
|
24
|
+
* @excluding animationLimit, boostThreshold, connectEnds, connectNulls,
|
|
25
|
+
* cropThreshold, dashStyle, dataSorting, dragDrop,
|
|
26
|
+
* findNearestPointBy, getExtremesFromAll, label, lineWidth,
|
|
27
|
+
* linkedTo, marker, negativeColor, pointInterval,
|
|
28
|
+
* pointIntervalUnit, pointPlacement, pointStart,
|
|
29
|
+
* softThreshold, stacking, step, threshold, turboThreshold,
|
|
30
|
+
* zoneAxis, zones, dataSorting, boostBlending
|
|
31
|
+
* @product highcharts highmaps
|
|
32
|
+
* @optionparent plotOptions.pie
|
|
33
|
+
*
|
|
34
|
+
* @private
|
|
35
|
+
*/
|
|
36
|
+
var PieSeriesDefaults = {
|
|
37
|
+
/**
|
|
38
|
+
* @excluding legendItemClick
|
|
39
|
+
* @apioption plotOptions.pie.events
|
|
40
|
+
*/
|
|
41
|
+
/**
|
|
42
|
+
* Fires when the checkbox next to the point name in the legend is
|
|
43
|
+
* clicked. One parameter, event, is passed to the function. The state
|
|
44
|
+
* of the checkbox is found by event.checked. The checked item is found
|
|
45
|
+
* by event.item. Return false to prevent the default action which is to
|
|
46
|
+
* toggle the select state of the series.
|
|
47
|
+
*
|
|
48
|
+
* @sample {highcharts} highcharts/plotoptions/series-events-checkboxclick/
|
|
49
|
+
* Alert checkbox status
|
|
50
|
+
*
|
|
51
|
+
* @type {Function}
|
|
52
|
+
* @since 1.2.0
|
|
53
|
+
* @product highcharts highmaps
|
|
54
|
+
* @context Highcharts.Point
|
|
55
|
+
* @apioption plotOptions.pie.events.checkboxClick
|
|
56
|
+
*/
|
|
57
|
+
/**
|
|
58
|
+
* Fires when the legend item belonging to the pie point (slice) is
|
|
59
|
+
* clicked. The `this` keyword refers to the point itself. One
|
|
60
|
+
* parameter, `event`, is passed to the function, containing common
|
|
61
|
+
* event information. The default action is to toggle the visibility of
|
|
62
|
+
* the point. This can be prevented by calling `event.preventDefault()`.
|
|
63
|
+
*
|
|
64
|
+
* @sample {highcharts} highcharts/plotoptions/pie-point-events-legenditemclick/
|
|
65
|
+
* Confirm toggle visibility
|
|
66
|
+
*
|
|
67
|
+
* @type {Highcharts.PointLegendItemClickCallbackFunction}
|
|
68
|
+
* @since 1.2.0
|
|
69
|
+
* @product highcharts highmaps
|
|
70
|
+
* @apioption plotOptions.pie.point.events.legendItemClick
|
|
71
|
+
*/
|
|
72
|
+
/**
|
|
73
|
+
* The center of the pie chart relative to the plot area. Can be
|
|
74
|
+
* percentages or pixel values. The default behaviour (as of 3.0) is to
|
|
75
|
+
* center the pie so that all slices and data labels are within the plot
|
|
76
|
+
* area. As a consequence, the pie may actually jump around in a chart
|
|
77
|
+
* with dynamic values, as the data labels move. In that case, the
|
|
78
|
+
* center should be explicitly set, for example to `["50%", "50%"]`.
|
|
79
|
+
*
|
|
80
|
+
* @sample {highcharts} highcharts/plotoptions/pie-center/
|
|
81
|
+
* Centered at 100, 100
|
|
82
|
+
*
|
|
83
|
+
* @type {Array<(number|string|null),(number|string|null)>}
|
|
84
|
+
* @default [null, null]
|
|
85
|
+
* @product highcharts highmaps
|
|
86
|
+
*
|
|
87
|
+
* @private
|
|
88
|
+
*/
|
|
89
|
+
center: [null, null],
|
|
90
|
+
/**
|
|
91
|
+
* The color of the pie series. A pie series is represented as an empty
|
|
92
|
+
* circle if the total sum of its values is 0. Use this property to
|
|
93
|
+
* define the color of its border.
|
|
94
|
+
*
|
|
95
|
+
* In styled mode, the color can be defined by the
|
|
96
|
+
* [colorIndex](#plotOptions.series.colorIndex) option. Also, the series
|
|
97
|
+
* color can be set with the `.highcharts-series`,
|
|
98
|
+
* `.highcharts-color-{n}`, `.highcharts-{type}-series` or
|
|
99
|
+
* `.highcharts-series-{n}` class, or individual classes given by the
|
|
100
|
+
* `className` option.
|
|
101
|
+
*
|
|
102
|
+
* @sample {highcharts} highcharts/plotoptions/pie-emptyseries/
|
|
103
|
+
* Empty pie series
|
|
104
|
+
*
|
|
105
|
+
* @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
|
|
106
|
+
* @default #cccccc
|
|
107
|
+
* @apioption plotOptions.pie.color
|
|
108
|
+
*/
|
|
109
|
+
/**
|
|
110
|
+
* @product highcharts
|
|
111
|
+
*
|
|
112
|
+
* @private
|
|
113
|
+
*/
|
|
114
|
+
clip: false,
|
|
115
|
+
/**
|
|
116
|
+
* @ignore-option
|
|
117
|
+
*
|
|
118
|
+
* @private
|
|
119
|
+
*/
|
|
120
|
+
colorByPoint: true,
|
|
121
|
+
/**
|
|
122
|
+
* A series specific or series type specific color set to use instead
|
|
123
|
+
* of the global [colors](#colors).
|
|
124
|
+
*
|
|
125
|
+
* @sample {highcharts} highcharts/demo/pie-monochrome/
|
|
126
|
+
* Set default colors for all pies
|
|
127
|
+
*
|
|
128
|
+
* @type {Array<Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject>}
|
|
129
|
+
* @since 3.0
|
|
130
|
+
* @product highcharts highmaps
|
|
131
|
+
* @apioption plotOptions.pie.colors
|
|
132
|
+
*/
|
|
133
|
+
/**
|
|
134
|
+
* @declare Highcharts.SeriesPieDataLabelsOptionsObject
|
|
135
|
+
* @extends plotOptions.series.dataLabels
|
|
136
|
+
* @excluding align, allowOverlap, inside, staggerLines, step
|
|
137
|
+
* @private
|
|
138
|
+
*/
|
|
139
|
+
dataLabels: {
|
|
140
|
+
/**
|
|
141
|
+
* Alignment method for data labels. Possible values are:
|
|
142
|
+
*
|
|
143
|
+
* - `plotEdges`: Each label touches the nearest vertical edge of
|
|
144
|
+
* the plot area.
|
|
145
|
+
*
|
|
146
|
+
* - `connectors`: Connectors have the same x position and the
|
|
147
|
+
* widest label of each half (left & right) touches the nearest
|
|
148
|
+
* vertical edge of the plot area.
|
|
149
|
+
*
|
|
150
|
+
* @sample {highcharts} highcharts/plotoptions/pie-datalabels-alignto-connectors/
|
|
151
|
+
* alignTo: connectors
|
|
152
|
+
* @sample {highcharts} highcharts/plotoptions/pie-datalabels-alignto-plotedges/
|
|
153
|
+
* alignTo: plotEdges
|
|
154
|
+
*
|
|
155
|
+
* @type {string}
|
|
156
|
+
* @since 7.0.0
|
|
157
|
+
* @product highcharts highmaps
|
|
158
|
+
* @apioption plotOptions.pie.dataLabels.alignTo
|
|
159
|
+
*/
|
|
160
|
+
allowOverlap: true,
|
|
161
|
+
/**
|
|
162
|
+
* The color of the line connecting the data label to the pie slice.
|
|
163
|
+
* The default color is the same as the point's color.
|
|
164
|
+
*
|
|
165
|
+
* In styled mode, the connector stroke is given in the
|
|
166
|
+
* `.highcharts-data-label-connector` class.
|
|
167
|
+
*
|
|
168
|
+
* @sample {highcharts} highcharts/plotoptions/pie-datalabels-connectorcolor/
|
|
169
|
+
* Blue connectors
|
|
170
|
+
* @sample {highcharts} highcharts/css/pie-point/
|
|
171
|
+
* Styled connectors
|
|
172
|
+
*
|
|
173
|
+
* @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
|
|
174
|
+
* @since 2.1
|
|
175
|
+
* @product highcharts highmaps
|
|
176
|
+
* @apioption plotOptions.pie.dataLabels.connectorColor
|
|
177
|
+
*/
|
|
178
|
+
/**
|
|
179
|
+
* The distance from the data label to the connector. Note that
|
|
180
|
+
* data labels also have a default `padding`, so in order for the
|
|
181
|
+
* connector to touch the text, the `padding` must also be 0.
|
|
182
|
+
*
|
|
183
|
+
* @sample {highcharts} highcharts/plotoptions/pie-datalabels-connectorpadding/
|
|
184
|
+
* No padding
|
|
185
|
+
*
|
|
186
|
+
* @since 2.1
|
|
187
|
+
* @product highcharts highmaps
|
|
188
|
+
*/
|
|
189
|
+
connectorPadding: 5,
|
|
190
|
+
/**
|
|
191
|
+
* Specifies the method that is used to generate the connector path.
|
|
192
|
+
* Highcharts provides 3 built-in connector shapes: `'fixedOffset'`
|
|
193
|
+
* (default), `'straight'` and `'crookedLine'`. Using
|
|
194
|
+
* `'crookedLine'` has the most sense (in most of the cases) when
|
|
195
|
+
* `'alignTo'` is set.
|
|
196
|
+
*
|
|
197
|
+
* Users can provide their own method by passing a function instead
|
|
198
|
+
* of a String. 3 arguments are passed to the callback:
|
|
199
|
+
*
|
|
200
|
+
* - Object that holds the information about the coordinates of the
|
|
201
|
+
* label (`x` & `y` properties) and how the label is located in
|
|
202
|
+
* relation to the pie (`alignment` property). `alignment` can by
|
|
203
|
+
* one of the following:
|
|
204
|
+
* `'left'` (pie on the left side of the data label),
|
|
205
|
+
* `'right'` (pie on the right side of the data label) or
|
|
206
|
+
* `'center'` (data label overlaps the pie).
|
|
207
|
+
*
|
|
208
|
+
* - Object that holds the information about the position of the
|
|
209
|
+
* connector. Its `touchingSliceAt` porperty tells the position
|
|
210
|
+
* of the place where the connector touches the slice.
|
|
211
|
+
*
|
|
212
|
+
* - Data label options
|
|
213
|
+
*
|
|
214
|
+
* The function has to return an SVG path definition in array form
|
|
215
|
+
* (see the example).
|
|
216
|
+
*
|
|
217
|
+
* @sample {highcharts} highcharts/plotoptions/pie-datalabels-connectorshape-string/
|
|
218
|
+
* connectorShape is a String
|
|
219
|
+
* @sample {highcharts} highcharts/plotoptions/pie-datalabels-connectorshape-function/
|
|
220
|
+
* connectorShape is a function
|
|
221
|
+
*
|
|
222
|
+
* @type {string|Function}
|
|
223
|
+
* @since 7.0.0
|
|
224
|
+
* @product highcharts highmaps
|
|
225
|
+
*/
|
|
226
|
+
connectorShape: 'fixedOffset',
|
|
227
|
+
/**
|
|
228
|
+
* The width of the line connecting the data label to the pie slice.
|
|
229
|
+
*
|
|
230
|
+
* In styled mode, the connector stroke width is given in the
|
|
231
|
+
* `.highcharts-data-label-connector` class.
|
|
232
|
+
*
|
|
233
|
+
* @sample {highcharts} highcharts/plotoptions/pie-datalabels-connectorwidth-disabled/
|
|
234
|
+
* Disable the connector
|
|
235
|
+
* @sample {highcharts} highcharts/css/pie-point/
|
|
236
|
+
* Styled connectors
|
|
237
|
+
*
|
|
238
|
+
* @type {number}
|
|
239
|
+
* @default 1
|
|
240
|
+
* @since 2.1
|
|
241
|
+
* @product highcharts highmaps
|
|
242
|
+
* @apioption plotOptions.pie.dataLabels.connectorWidth
|
|
243
|
+
*/
|
|
244
|
+
/**
|
|
245
|
+
* Works only if `connectorShape` is `'crookedLine'`. It defines how
|
|
246
|
+
* far from the vertical plot edge the coonnector path should be
|
|
247
|
+
* crooked.
|
|
248
|
+
*
|
|
249
|
+
* @sample {highcharts} highcharts/plotoptions/pie-datalabels-crookdistance/
|
|
250
|
+
* crookDistance set to 90%
|
|
251
|
+
*
|
|
252
|
+
* @since 7.0.0
|
|
253
|
+
* @product highcharts highmaps
|
|
254
|
+
*/
|
|
255
|
+
crookDistance: '70%',
|
|
256
|
+
/**
|
|
257
|
+
* The distance of the data label from the pie's edge. Negative
|
|
258
|
+
* numbers put the data label on top of the pie slices. Can also be
|
|
259
|
+
* defined as a percentage of pie's radius. Connectors are only
|
|
260
|
+
* shown for data labels outside the pie.
|
|
261
|
+
*
|
|
262
|
+
* @sample {highcharts} highcharts/plotoptions/pie-datalabels-distance/
|
|
263
|
+
* Data labels on top of the pie
|
|
264
|
+
*
|
|
265
|
+
* @type {number|string}
|
|
266
|
+
* @since 2.1
|
|
267
|
+
* @product highcharts highmaps
|
|
268
|
+
*/
|
|
269
|
+
distance: 30,
|
|
270
|
+
enabled: true,
|
|
271
|
+
/**
|
|
272
|
+
* A
|
|
273
|
+
* [format string](https://www.highcharts.com/docs/chart-concepts/labels-and-string-formatting)
|
|
274
|
+
* for the data label. Available variables are the same as for
|
|
275
|
+
* `formatter`.
|
|
276
|
+
*
|
|
277
|
+
* @sample {highcharts} highcharts/plotoptions/series-datalabels-format/
|
|
278
|
+
* Add a unit
|
|
279
|
+
*
|
|
280
|
+
* @type {string}
|
|
281
|
+
* @default undefined
|
|
282
|
+
* @since 3.0
|
|
283
|
+
* @apioption plotOptions.pie.dataLabels.format
|
|
284
|
+
*/
|
|
285
|
+
// eslint-disable-next-line valid-jsdoc
|
|
286
|
+
/**
|
|
287
|
+
* Callback JavaScript function to format the data label. Note that
|
|
288
|
+
* if a `format` is defined, the format takes precedence and the
|
|
289
|
+
* formatter is ignored.
|
|
290
|
+
*
|
|
291
|
+
* @type {Highcharts.DataLabelsFormatterCallbackFunction}
|
|
292
|
+
* @default function () { return this.point.isNull ? void 0 : this.point.name; }
|
|
293
|
+
*/
|
|
294
|
+
formatter: function () {
|
|
295
|
+
return this.point.isNull ? void 0 : this.point.name;
|
|
296
|
+
},
|
|
297
|
+
/**
|
|
298
|
+
* Whether to render the connector as a soft arc or a line with
|
|
299
|
+
* sharp break. Works only if `connectorShape` equals to
|
|
300
|
+
* `fixedOffset`.
|
|
301
|
+
*
|
|
302
|
+
* @sample {highcharts} highcharts/plotoptions/pie-datalabels-softconnector-true/
|
|
303
|
+
* Soft
|
|
304
|
+
* @sample {highcharts} highcharts/plotoptions/pie-datalabels-softconnector-false/
|
|
305
|
+
* Non soft
|
|
306
|
+
*
|
|
307
|
+
* @since 2.1.7
|
|
308
|
+
* @product highcharts highmaps
|
|
309
|
+
*/
|
|
310
|
+
softConnector: true,
|
|
311
|
+
/**
|
|
312
|
+
* @sample {highcharts} highcharts/plotoptions/pie-datalabels-overflow
|
|
313
|
+
* Long labels truncated with an ellipsis
|
|
314
|
+
* @sample {highcharts} highcharts/plotoptions/pie-datalabels-overflow-wrap
|
|
315
|
+
* Long labels are wrapped
|
|
316
|
+
*
|
|
317
|
+
* @type {Highcharts.CSSObject}
|
|
318
|
+
* @apioption plotOptions.pie.dataLabels.style
|
|
319
|
+
*/
|
|
320
|
+
x: 0
|
|
321
|
+
},
|
|
322
|
+
/**
|
|
323
|
+
* If the total sum of the pie's values is 0, the series is represented
|
|
324
|
+
* as an empty circle . The `fillColor` option defines the color of that
|
|
325
|
+
* circle. Use [pie.borderWidth](#plotOptions.pie.borderWidth) to set
|
|
326
|
+
* the border thickness.
|
|
327
|
+
*
|
|
328
|
+
* @sample {highcharts} highcharts/plotoptions/pie-emptyseries/
|
|
329
|
+
* Empty pie series
|
|
330
|
+
*
|
|
331
|
+
* @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
|
|
332
|
+
* @private
|
|
333
|
+
*/
|
|
334
|
+
fillColor: void 0,
|
|
335
|
+
/**
|
|
336
|
+
* The end angle of the pie in degrees where 0 is top and 90 is right.
|
|
337
|
+
* Defaults to `startAngle` plus 360.
|
|
338
|
+
*
|
|
339
|
+
* @sample {highcharts} highcharts/demo/pie-semi-circle/
|
|
340
|
+
* Semi-circle donut
|
|
341
|
+
*
|
|
342
|
+
* @type {number}
|
|
343
|
+
* @since 1.3.6
|
|
344
|
+
* @product highcharts highmaps
|
|
345
|
+
* @apioption plotOptions.pie.endAngle
|
|
346
|
+
*/
|
|
347
|
+
/**
|
|
348
|
+
* Thickness describing the ring size for a donut type chart,
|
|
349
|
+
* overriding [innerSize](#plotOptions.pie.innerSize).
|
|
350
|
+
*
|
|
351
|
+
* @type {number}
|
|
352
|
+
* @default undefined
|
|
353
|
+
* @product highcharts
|
|
354
|
+
* @since 10.1.0
|
|
355
|
+
* @apioption plotOptions.pie.thickness
|
|
356
|
+
* @private
|
|
357
|
+
*/
|
|
358
|
+
/**
|
|
359
|
+
* Equivalent to [chart.ignoreHiddenSeries](#chart.ignoreHiddenSeries),
|
|
360
|
+
* this option tells whether the series shall be redrawn as if the
|
|
361
|
+
* hidden point were `null`.
|
|
362
|
+
*
|
|
363
|
+
* The default value changed from `false` to `true` with Highcharts
|
|
364
|
+
* 3.0.
|
|
365
|
+
*
|
|
366
|
+
* @sample {highcharts} highcharts/plotoptions/pie-ignorehiddenpoint/
|
|
367
|
+
* True, the hiddden point is ignored
|
|
368
|
+
*
|
|
369
|
+
* @since 2.3.0
|
|
370
|
+
* @product highcharts highmaps
|
|
371
|
+
*
|
|
372
|
+
* @private
|
|
373
|
+
*/
|
|
374
|
+
ignoreHiddenPoint: true,
|
|
375
|
+
/**
|
|
376
|
+
* @ignore-option
|
|
377
|
+
*
|
|
378
|
+
* @private
|
|
379
|
+
*/
|
|
380
|
+
inactiveOtherPoints: true,
|
|
381
|
+
/**
|
|
382
|
+
* The size of the inner diameter for the pie. A size greater than 0
|
|
383
|
+
* renders a donut chart. Can be a percentage or pixel value.
|
|
384
|
+
* Percentages are relative to the pie size. Pixel values are given as
|
|
385
|
+
* integers. Setting overridden by thickness.
|
|
386
|
+
*
|
|
387
|
+
*
|
|
388
|
+
* Note: in Highcharts < 4.1.2, the percentage was relative to the plot
|
|
389
|
+
* area, not the pie size.
|
|
390
|
+
*
|
|
391
|
+
* @sample {highcharts} highcharts/plotoptions/pie-innersize-80px/
|
|
392
|
+
* 80px inner size
|
|
393
|
+
* @sample {highcharts} highcharts/plotoptions/pie-innersize-50percent/
|
|
394
|
+
* 50% of the plot area
|
|
395
|
+
* @sample {highcharts} highcharts/demo/3d-pie-donut/
|
|
396
|
+
* 3D donut
|
|
397
|
+
*
|
|
398
|
+
* @type {number|string}
|
|
399
|
+
* @default 0
|
|
400
|
+
* @since 2.0
|
|
401
|
+
* @product highcharts highmaps
|
|
402
|
+
* @apioption plotOptions.pie.innerSize
|
|
403
|
+
*/
|
|
404
|
+
/**
|
|
405
|
+
* @ignore-option
|
|
406
|
+
*
|
|
407
|
+
* @private
|
|
408
|
+
*/
|
|
409
|
+
legendType: 'point',
|
|
410
|
+
/**
|
|
411
|
+
* @ignore-option
|
|
412
|
+
*
|
|
413
|
+
* @private
|
|
414
|
+
*/
|
|
415
|
+
marker: null,
|
|
416
|
+
/**
|
|
417
|
+
* The minimum size for a pie in response to auto margins. The pie will
|
|
418
|
+
* try to shrink to make room for data labels in side the plot area,
|
|
419
|
+
* but only to this size.
|
|
420
|
+
*
|
|
421
|
+
* @type {number|string}
|
|
422
|
+
* @default 80
|
|
423
|
+
* @since 3.0
|
|
424
|
+
* @product highcharts highmaps
|
|
425
|
+
* @apioption plotOptions.pie.minSize
|
|
426
|
+
*/
|
|
427
|
+
/**
|
|
428
|
+
* The diameter of the pie relative to the plot area. Can be a
|
|
429
|
+
* percentage or pixel value. Pixel values are given as integers. The
|
|
430
|
+
* default behaviour (as of 3.0) is to scale to the plot area and give
|
|
431
|
+
* room for data labels within the plot area.
|
|
432
|
+
* [slicedOffset](#plotOptions.pie.slicedOffset) is also included in the
|
|
433
|
+
* default size calculation. As a consequence, the size of the pie may
|
|
434
|
+
* vary when points are updated and data labels more around. In that
|
|
435
|
+
* case it is best to set a fixed value, for example `"75%"`.
|
|
436
|
+
*
|
|
437
|
+
* @sample {highcharts} highcharts/plotoptions/pie-size/
|
|
438
|
+
* Smaller pie
|
|
439
|
+
*
|
|
440
|
+
* @type {number|string|null}
|
|
441
|
+
* @product highcharts highmaps
|
|
442
|
+
*
|
|
443
|
+
* @private
|
|
444
|
+
*/
|
|
445
|
+
size: null,
|
|
446
|
+
/**
|
|
447
|
+
* Whether to display this particular series or series type in the
|
|
448
|
+
* legend. Since 2.1, pies are not shown in the legend by default.
|
|
449
|
+
*
|
|
450
|
+
* @sample {highcharts} highcharts/plotoptions/series-showinlegend/
|
|
451
|
+
* One series in the legend, one hidden
|
|
452
|
+
*
|
|
453
|
+
* @product highcharts highmaps
|
|
454
|
+
*
|
|
455
|
+
* @private
|
|
456
|
+
*/
|
|
457
|
+
showInLegend: false,
|
|
458
|
+
/**
|
|
459
|
+
* If a point is sliced, moved out from the center, how many pixels
|
|
460
|
+
* should it be moved?.
|
|
461
|
+
*
|
|
462
|
+
* @sample {highcharts} highcharts/plotoptions/pie-slicedoffset-20/
|
|
463
|
+
* 20px offset
|
|
464
|
+
*
|
|
465
|
+
* @product highcharts highmaps
|
|
466
|
+
*
|
|
467
|
+
* @private
|
|
468
|
+
*/
|
|
469
|
+
slicedOffset: 10,
|
|
470
|
+
/**
|
|
471
|
+
* The start angle of the pie slices in degrees where 0 is top and 90
|
|
472
|
+
* right.
|
|
473
|
+
*
|
|
474
|
+
* @sample {highcharts} highcharts/plotoptions/pie-startangle-90/
|
|
475
|
+
* Start from right
|
|
476
|
+
*
|
|
477
|
+
* @type {number}
|
|
478
|
+
* @default 0
|
|
479
|
+
* @since 2.3.4
|
|
480
|
+
* @product highcharts highmaps
|
|
481
|
+
* @apioption plotOptions.pie.startAngle
|
|
482
|
+
*/
|
|
483
|
+
/**
|
|
484
|
+
* Sticky tracking of mouse events. When true, the `mouseOut` event
|
|
485
|
+
* on a series isn't triggered until the mouse moves over another
|
|
486
|
+
* series, or out of the plot area. When false, the `mouseOut` event on
|
|
487
|
+
* a series is triggered when the mouse leaves the area around the
|
|
488
|
+
* series' graph or markers. This also implies the tooltip. When
|
|
489
|
+
* `stickyTracking` is false and `tooltip.shared` is false, the tooltip
|
|
490
|
+
* will be hidden when moving the mouse between series.
|
|
491
|
+
*
|
|
492
|
+
* @product highcharts highmaps
|
|
493
|
+
*
|
|
494
|
+
* @private
|
|
495
|
+
*/
|
|
496
|
+
stickyTracking: false,
|
|
497
|
+
tooltip: {
|
|
498
|
+
followPointer: true
|
|
499
|
+
},
|
|
500
|
+
/**
|
|
501
|
+
* The color of the border surrounding each slice. When `null`, the
|
|
502
|
+
* border takes the same color as the slice fill. This can be used
|
|
503
|
+
* together with a `borderWidth` to fill drawing gaps created by
|
|
504
|
+
* antialiazing artefacts in borderless pies.
|
|
505
|
+
*
|
|
506
|
+
* In styled mode, the border stroke is given in the `.highcharts-point`
|
|
507
|
+
* class.
|
|
508
|
+
*
|
|
509
|
+
* @sample {highcharts} highcharts/plotoptions/pie-bordercolor-black/
|
|
510
|
+
* Black border
|
|
511
|
+
*
|
|
512
|
+
* @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
|
|
513
|
+
* @default #ffffff
|
|
514
|
+
* @product highcharts highmaps
|
|
515
|
+
*
|
|
516
|
+
* @private
|
|
517
|
+
*/
|
|
518
|
+
borderColor: "#ffffff" /* Palette.backgroundColor */,
|
|
519
|
+
/**
|
|
520
|
+
* The width of the border surrounding each slice.
|
|
521
|
+
*
|
|
522
|
+
* When setting the border width to 0, there may be small gaps between
|
|
523
|
+
* the slices due to SVG antialiasing artefacts. To work around this,
|
|
524
|
+
* keep the border width at 0.5 or 1, but set the `borderColor` to
|
|
525
|
+
* `null` instead.
|
|
526
|
+
*
|
|
527
|
+
* In styled mode, the border stroke width is given in the
|
|
528
|
+
* `.highcharts-point` class.
|
|
529
|
+
*
|
|
530
|
+
* @sample {highcharts} highcharts/plotoptions/pie-borderwidth/
|
|
531
|
+
* 3px border
|
|
532
|
+
*
|
|
533
|
+
* @product highcharts highmaps
|
|
534
|
+
*
|
|
535
|
+
* @private
|
|
536
|
+
*/
|
|
537
|
+
borderWidth: 1,
|
|
538
|
+
/**
|
|
539
|
+
* @ignore-option
|
|
540
|
+
* @private
|
|
541
|
+
*/
|
|
542
|
+
lineWidth: void 0,
|
|
543
|
+
states: {
|
|
544
|
+
/**
|
|
545
|
+
* @extends plotOptions.series.states.hover
|
|
546
|
+
* @excluding marker, lineWidth, lineWidthPlus
|
|
547
|
+
* @product highcharts highmaps
|
|
548
|
+
*/
|
|
549
|
+
hover: {
|
|
550
|
+
/**
|
|
551
|
+
* How much to brighten the point on interaction. Requires the
|
|
552
|
+
* main color to be defined in hex or rgb(a) format.
|
|
553
|
+
*
|
|
554
|
+
* In styled mode, the hover brightness is by default replaced
|
|
555
|
+
* by a fill-opacity given in the `.highcharts-point-hover`
|
|
556
|
+
* class.
|
|
557
|
+
*
|
|
558
|
+
* @sample {highcharts} highcharts/plotoptions/pie-states-hover-brightness/
|
|
559
|
+
* Brightened by 0.5
|
|
560
|
+
*
|
|
561
|
+
* @product highcharts highmaps
|
|
562
|
+
*/
|
|
563
|
+
brightness: 0.1
|
|
564
|
+
}
|
|
565
|
+
}
|
|
566
|
+
};
|
|
567
|
+
/**
|
|
568
|
+
* A `pie` series. If the [type](#series.pie.type) option is not specified,
|
|
569
|
+
* it is inherited from [chart.type](#chart.type).
|
|
570
|
+
*
|
|
571
|
+
* @extends series,plotOptions.pie
|
|
572
|
+
* @excluding cropThreshold, dataParser, dataURL, linkedTo, stack, xAxis, yAxis,
|
|
573
|
+
* dataSorting, step, boostThreshold, boostBlending
|
|
574
|
+
* @product highcharts highmaps
|
|
575
|
+
* @apioption series.pie
|
|
576
|
+
*/
|
|
577
|
+
/**
|
|
578
|
+
* An array of data points for the series. For the `pie` series type,
|
|
579
|
+
* points can be given in the following ways:
|
|
580
|
+
*
|
|
581
|
+
* 1. An array of numerical values. In this case, the numerical values will be
|
|
582
|
+
* interpreted as `y` options. Example:
|
|
583
|
+
* ```js
|
|
584
|
+
* data: [0, 5, 3, 5]
|
|
585
|
+
* ```
|
|
586
|
+
*
|
|
587
|
+
* 2. An array of objects with named values. The following snippet shows only a
|
|
588
|
+
* few settings, see the complete options set below. If the total number of
|
|
589
|
+
* data points exceeds the series'
|
|
590
|
+
* [turboThreshold](#series.pie.turboThreshold),
|
|
591
|
+
* this option is not available.
|
|
592
|
+
* ```js
|
|
593
|
+
* data: [{
|
|
594
|
+
* y: 1,
|
|
595
|
+
* name: "Point2",
|
|
596
|
+
* color: "#00FF00"
|
|
597
|
+
* }, {
|
|
598
|
+
* y: 7,
|
|
599
|
+
* name: "Point1",
|
|
600
|
+
* color: "#FF00FF"
|
|
601
|
+
* }]
|
|
602
|
+
* ```
|
|
603
|
+
*
|
|
604
|
+
* @sample {highcharts} highcharts/chart/reflow-true/
|
|
605
|
+
* Numerical values
|
|
606
|
+
* @sample {highcharts} highcharts/series/data-array-of-arrays/
|
|
607
|
+
* Arrays of numeric x and y
|
|
608
|
+
* @sample {highcharts} highcharts/series/data-array-of-arrays-datetime/
|
|
609
|
+
* Arrays of datetime x and y
|
|
610
|
+
* @sample {highcharts} highcharts/series/data-array-of-name-value/
|
|
611
|
+
* Arrays of point.name and y
|
|
612
|
+
* @sample {highcharts} highcharts/series/data-array-of-objects/
|
|
613
|
+
* Config objects
|
|
614
|
+
*
|
|
615
|
+
* @type {Array<number|Array<string,(number|null)>|null|*>}
|
|
616
|
+
* @extends series.line.data
|
|
617
|
+
* @excluding marker, x
|
|
618
|
+
* @product highcharts highmaps
|
|
619
|
+
* @apioption series.pie.data
|
|
620
|
+
*/
|
|
621
|
+
/**
|
|
622
|
+
* @type {Highcharts.SeriesPieDataLabelsOptionsObject}
|
|
623
|
+
* @product highcharts highmaps
|
|
624
|
+
* @apioption series.pie.data.dataLabels
|
|
625
|
+
*/
|
|
626
|
+
/**
|
|
627
|
+
* The sequential index of the data point in the legend.
|
|
628
|
+
*
|
|
629
|
+
* @type {number}
|
|
630
|
+
* @product highcharts highmaps
|
|
631
|
+
* @apioption series.pie.data.legendIndex
|
|
632
|
+
*/
|
|
633
|
+
/**
|
|
634
|
+
* Whether to display a slice offset from the center.
|
|
635
|
+
*
|
|
636
|
+
* @sample {highcharts} highcharts/point/sliced/
|
|
637
|
+
* One sliced point
|
|
638
|
+
*
|
|
639
|
+
* @type {boolean}
|
|
640
|
+
* @product highcharts highmaps
|
|
641
|
+
* @apioption series.pie.data.sliced
|
|
642
|
+
*/
|
|
643
|
+
/**
|
|
644
|
+
* @extends plotOptions.pie.dataLabels
|
|
645
|
+
* @excluding align, allowOverlap, inside, staggerLines, step
|
|
646
|
+
* @product highcharts highmaps
|
|
647
|
+
* @apioption series.pie.dataLabels
|
|
648
|
+
*/
|
|
649
|
+
/**
|
|
650
|
+
* @excluding legendItemClick
|
|
651
|
+
* @product highcharts highmaps
|
|
652
|
+
* @apioption series.pie.events
|
|
653
|
+
*/
|
|
654
|
+
''; // placeholder for transpiled doclets above
|
|
655
|
+
/* *
|
|
656
|
+
*
|
|
657
|
+
* Default Export
|
|
658
|
+
*
|
|
659
|
+
* */
|
|
660
|
+
export default PieSeriesDefaults;
|