highcharts 9.1.1 → 9.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (718) hide show
  1. package/bower.json +1 -1
  2. package/css/annotations/popup.css +29 -28
  3. package/css/annotations/popup.scss +29 -27
  4. package/css/highcharts.css +15 -0
  5. package/css/highcharts.scss +12 -0
  6. package/css/stocktools/gui.css +1 -0
  7. package/css/stocktools/gui.scss +1 -0
  8. package/css/themes/dark-unica.css +15 -0
  9. package/css/themes/grid-light.css +15 -0
  10. package/css/themes/sand-signika.css +15 -0
  11. package/es-modules/Accessibility/Components/InfoRegionsComponent.js +8 -2
  12. package/es-modules/Accessibility/Components/LegendComponent.js +19 -8
  13. package/es-modules/Accessibility/Components/MenuComponent.js +19 -13
  14. package/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js +4 -8
  15. package/es-modules/Accessibility/FocusBorder.js +1 -3
  16. package/es-modules/Accessibility/Options/LangOptions.js +3 -3
  17. package/es-modules/Accessibility/Utils/Announcer.js +22 -5
  18. package/es-modules/Accessibility/Utils/ChartUtilities.js +6 -1
  19. package/es-modules/Core/Animation/AnimationUtilities.js +12 -4
  20. package/es-modules/Core/Animation/Fx.js +15 -12
  21. package/es-modules/Core/Axis/Axis.js +25 -13
  22. package/es-modules/Core/Axis/AxisDefaults.js +0 -1
  23. package/es-modules/Core/Axis/BrokenAxis.js +32 -15
  24. package/es-modules/Core/Axis/Color/ColorAxis.js +665 -0
  25. package/es-modules/Core/Axis/Color/ColorAxisComposition.js +237 -0
  26. package/es-modules/Core/Axis/Color/ColorAxisDefaults.js +434 -0
  27. package/es-modules/Core/Axis/DateTimeAxis.js +163 -133
  28. package/es-modules/Core/Axis/GridAxis.js +8 -3
  29. package/es-modules/Core/Axis/LogarithmicAxis.js +159 -117
  30. package/es-modules/Core/Axis/OrdinalAxis.js +666 -460
  31. package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBand.js +874 -0
  32. package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js +292 -0
  33. package/es-modules/Core/Axis/RadialAxis.js +858 -745
  34. package/es-modules/Core/Axis/ScrollbarAxis.js +7 -0
  35. package/es-modules/Core/Axis/StackingAxis.js +159 -140
  36. package/es-modules/Core/Axis/Tick.js +17 -27
  37. package/es-modules/Core/Chart/Chart.js +24 -38
  38. package/es-modules/Core/Chart/ChartDefaults.js +1 -1
  39. package/es-modules/Core/Chart/StockChart.js +12 -0
  40. package/es-modules/Core/Color/Color.js +96 -104
  41. package/es-modules/Core/DefaultOptions.js +269 -248
  42. package/es-modules/Core/Foundation.js +9 -8
  43. package/es-modules/Core/Geometry/CircleUtilities.js +385 -0
  44. package/es-modules/Core/Geometry/GeometryUtilities.js +83 -0
  45. package/es-modules/Core/Globals.js +23 -1
  46. package/es-modules/{Extensions/Ajax.js → Core/HttpUtilities.js} +86 -42
  47. package/es-modules/Core/{Legend.js → Legend/Legend.js} +142 -116
  48. package/es-modules/{Mixins → Core/Legend}/LegendSymbol.js +54 -38
  49. package/es-modules/Core/Navigator.js +3 -0
  50. package/es-modules/Core/Pointer.js +9 -0
  51. package/es-modules/Core/Renderer/HTML/AST.js +100 -82
  52. package/es-modules/Core/Renderer/HTML/HTMLElement.js +17 -7
  53. package/es-modules/Core/Renderer/HTML/HTMLRenderer.js +26 -9
  54. package/es-modules/Core/Renderer/RendererRegistry.js +9 -4
  55. package/es-modules/Core/Renderer/RendererUtilities.js +159 -0
  56. package/es-modules/Core/Renderer/SVG/SVGElement.js +13 -7
  57. package/es-modules/Core/Renderer/SVG/SVGLabel.js +9 -29
  58. package/es-modules/Core/Renderer/SVG/SVGRenderer.js +2 -2
  59. package/es-modules/Core/Renderer/SVG/TextBuilder.js +18 -16
  60. package/es-modules/Core/Responsive.js +166 -148
  61. package/es-modules/Core/Series/DataLabel.js +564 -0
  62. package/es-modules/Core/Series/Point.js +233 -209
  63. package/es-modules/Core/Series/Series.js +174 -2339
  64. package/es-modules/Core/Series/SeriesDefaults.js +2293 -0
  65. package/es-modules/Core/Series/SeriesRegistry.js +3 -9
  66. package/es-modules/Core/Time.js +78 -2
  67. package/es-modules/Core/Tooltip.js +178 -236
  68. package/es-modules/Core/Utilities.js +409 -394
  69. package/es-modules/Extensions/Annotations/Annotations.js +102 -49
  70. package/es-modules/Extensions/Annotations/Mixins/EventEmitterMixin.js +9 -1
  71. package/es-modules/Extensions/Annotations/NavigationBindings.js +30 -25
  72. package/es-modules/Extensions/Annotations/Popup.js +16 -7
  73. package/es-modules/Extensions/Boost/BoostOverrides.js +5 -1
  74. package/es-modules/Extensions/Boost/WGLRenderer.js +5 -4
  75. package/es-modules/Extensions/Boost/WGLVBuffer.js +3 -0
  76. package/es-modules/Extensions/BoostCanvas.js +1 -1
  77. package/es-modules/Extensions/CurrentDateIndication.js +1 -1
  78. package/es-modules/Extensions/Data.js +82 -76
  79. package/es-modules/Extensions/DataGrouping.js +225 -184
  80. package/es-modules/Extensions/Debugger/ErrorMessages.js +2 -2
  81. package/es-modules/Extensions/DraggablePoints.js +13 -5
  82. package/es-modules/Extensions/Drilldown.js +41 -14
  83. package/es-modules/Extensions/ExportData.js +7 -4
  84. package/es-modules/Extensions/Exporting/Exporting.js +1273 -0
  85. package/es-modules/Extensions/Exporting/ExportingDefaults.js +803 -0
  86. package/es-modules/Extensions/Exporting/ExportingSymbols.js +73 -0
  87. package/es-modules/Extensions/FullScreen.js +7 -5
  88. package/es-modules/Extensions/NoDataToDisplay.js +1 -1
  89. package/es-modules/Extensions/OfflineExporting/OfflineExporting.js +617 -0
  90. package/es-modules/Extensions/OfflineExporting/OfflineExportingDefaults.js +58 -0
  91. package/es-modules/Extensions/Oldie/Oldie.js +1 -1
  92. package/es-modules/Extensions/Pane.js +0 -1
  93. package/es-modules/Extensions/PatternFill.js +23 -10
  94. package/es-modules/Extensions/Polar.js +2 -1
  95. package/es-modules/Extensions/RangeSelector.js +1 -1
  96. package/es-modules/Extensions/Themes/Avocado.js +49 -20
  97. package/es-modules/Extensions/Themes/DarkBlue.js +226 -203
  98. package/es-modules/Extensions/Themes/DarkGreen.js +231 -203
  99. package/es-modules/Extensions/Themes/DarkUnica.js +201 -172
  100. package/es-modules/Extensions/Themes/Gray.js +228 -205
  101. package/es-modules/Extensions/Themes/Grid.js +109 -81
  102. package/es-modules/Extensions/Themes/GridLight.js +83 -55
  103. package/es-modules/Extensions/Themes/HighContrastDark.js +192 -164
  104. package/es-modules/Extensions/Themes/HighContrastLight.js +49 -21
  105. package/es-modules/Extensions/Themes/SandSignika.js +115 -86
  106. package/es-modules/Extensions/Themes/Skies.js +102 -74
  107. package/es-modules/Extensions/Themes/Sunset.js +47 -19
  108. package/es-modules/Mixins/ColorSeries.js +0 -1
  109. package/es-modules/Mixins/MultipleLines.js +6 -0
  110. package/es-modules/Mixins/TreeSeries.js +1 -1
  111. package/es-modules/Series/Area/AreaSeries.js +2 -2
  112. package/es-modules/Series/AreaSpline/AreaSplineSeries.js +2 -2
  113. package/es-modules/Series/Bubble/BubbleLegendComposition.js +279 -0
  114. package/es-modules/Series/Bubble/BubbleLegendDefaults.js +267 -0
  115. package/es-modules/Series/Bubble/BubbleLegendItem.js +472 -0
  116. package/es-modules/Series/Bubble/BubbleSeries.js +6 -2
  117. package/es-modules/Series/Column/ColumnDataLabel.js +109 -0
  118. package/es-modules/Series/Column/ColumnSeries.js +39 -26
  119. package/es-modules/Series/Column3D/Column3DComposition.js +5 -2
  120. package/es-modules/Series/Flags/FlagsSeries.js +8 -1
  121. package/es-modules/Series/Gantt/GanttSeries.js +3 -3
  122. package/es-modules/Series/Heatmap/HeatmapSeries.js +9 -5
  123. package/es-modules/Series/HeikinAshi/HeikinAshiPoint.js +60 -0
  124. package/es-modules/Series/HeikinAshi/HeikinAshiSeries.js +277 -0
  125. package/es-modules/Series/HollowCandlestick/HollowCandlestickPoint.js +83 -0
  126. package/es-modules/Series/HollowCandlestick/HollowCandlestickSeries.js +370 -0
  127. package/es-modules/Series/Line/LineSeries.js +12 -8
  128. package/es-modules/Series/Map/MapSeries.js +5 -3
  129. package/es-modules/Series/MapBubble/MapBubbleSeries.js +6 -5
  130. package/es-modules/Series/OHLC/OHLCPoint.js +11 -0
  131. package/es-modules/Series/PackedBubble/PackedBubbleSeries.js +3 -1
  132. package/es-modules/Series/Pie/PieDataLabel.js +448 -0
  133. package/es-modules/Series/Pie/PiePoint.js +35 -34
  134. package/es-modules/Series/Pie/PieSeries.js +19 -16
  135. package/es-modules/Series/Polygon/PolygonSeries.js +3 -3
  136. package/es-modules/Series/Sankey/SankeySeries.js +9 -7
  137. package/es-modules/Series/SolidGauge/SolidGaugeSeries.js +2 -2
  138. package/es-modules/Series/Sunburst/SunburstSeries.js +1 -14
  139. package/es-modules/Series/Timeline/TimelinePoint.js +6 -0
  140. package/es-modules/Series/Timeline/TimelineSeries.js +14 -17
  141. package/es-modules/Series/Treemap/TreemapSeries.js +3 -3
  142. package/es-modules/Series/Venn/VennSeries.js +4 -4
  143. package/es-modules/Series/Venn/VennUtils.js +10 -16
  144. package/es-modules/Series/Waterfall/WaterfallSeries.js +40 -35
  145. package/es-modules/Series/Wordcloud/WordcloudSeries.js +1 -0
  146. package/es-modules/Series/XRange/XRangeSeries.js +4 -2
  147. package/es-modules/Stock/Indicators/SMA/SMAIndicator.js +92 -75
  148. package/es-modules/Stock/Indicators/Supertrend/SupertrendIndicator.js +20 -8
  149. package/es-modules/Stock/Indicators/VBP/VBPIndicator.js +17 -4
  150. package/es-modules/Stock/StockToolsBindings.js +77 -38
  151. package/es-modules/Stock/StockToolsGui.js +28 -3
  152. package/es-modules/masters/highcharts-3d.src.js +1 -1
  153. package/es-modules/masters/highcharts-gantt.src.js +1 -1
  154. package/es-modules/masters/highcharts-more.src.js +11 -7
  155. package/es-modules/masters/highcharts.src.js +25 -9
  156. package/es-modules/masters/highmaps.src.js +1 -1
  157. package/es-modules/masters/highstock.src.js +1 -1
  158. package/es-modules/masters/indicators/acceleration-bands.src.js +1 -1
  159. package/es-modules/masters/indicators/accumulation-distribution.src.js +1 -1
  160. package/es-modules/masters/indicators/ao.src.js +1 -1
  161. package/es-modules/masters/indicators/apo.src.js +1 -1
  162. package/es-modules/masters/indicators/aroon-oscillator.src.js +1 -1
  163. package/es-modules/masters/indicators/aroon.src.js +1 -1
  164. package/es-modules/masters/indicators/atr.src.js +1 -1
  165. package/es-modules/masters/indicators/bollinger-bands.src.js +1 -1
  166. package/es-modules/masters/indicators/cci.src.js +1 -1
  167. package/es-modules/masters/indicators/chaikin.src.js +1 -1
  168. package/es-modules/masters/indicators/cmf.src.js +1 -1
  169. package/es-modules/masters/indicators/cmo.src.js +1 -1
  170. package/es-modules/masters/indicators/dema.src.js +1 -1
  171. package/es-modules/masters/indicators/disparity-index.src.js +1 -1
  172. package/es-modules/masters/indicators/dmi.src.js +1 -1
  173. package/es-modules/masters/indicators/dpo.src.js +1 -1
  174. package/es-modules/masters/indicators/ema.src.js +1 -1
  175. package/es-modules/masters/indicators/ichimoku-kinko-hyo.src.js +1 -1
  176. package/es-modules/masters/indicators/indicators-all.src.js +1 -1
  177. package/es-modules/masters/indicators/indicators.src.js +1 -1
  178. package/es-modules/masters/indicators/keltner-channels.src.js +1 -1
  179. package/es-modules/masters/indicators/klinger.src.js +1 -1
  180. package/es-modules/masters/indicators/macd.src.js +1 -1
  181. package/es-modules/masters/indicators/mfi.src.js +1 -1
  182. package/es-modules/masters/indicators/momentum.src.js +1 -1
  183. package/es-modules/masters/indicators/natr.src.js +1 -1
  184. package/es-modules/masters/indicators/obv.src.js +1 -1
  185. package/es-modules/masters/indicators/pivot-points.src.js +1 -1
  186. package/es-modules/masters/indicators/ppo.src.js +1 -1
  187. package/es-modules/masters/indicators/price-channel.src.js +1 -1
  188. package/es-modules/masters/indicators/price-envelopes.src.js +1 -1
  189. package/es-modules/masters/indicators/psar.src.js +1 -1
  190. package/es-modules/masters/indicators/regressions.src.js +1 -1
  191. package/es-modules/masters/indicators/roc.src.js +1 -1
  192. package/es-modules/masters/indicators/rsi.src.js +1 -1
  193. package/es-modules/masters/indicators/slow-stochastic.src.js +1 -1
  194. package/es-modules/masters/indicators/stochastic.src.js +1 -1
  195. package/es-modules/masters/indicators/supertrend.src.js +1 -1
  196. package/es-modules/masters/indicators/tema.src.js +1 -1
  197. package/es-modules/masters/indicators/trendline.src.js +1 -1
  198. package/es-modules/masters/indicators/trix.src.js +1 -1
  199. package/es-modules/masters/indicators/volume-by-price.src.js +1 -1
  200. package/es-modules/masters/indicators/vwap.src.js +1 -1
  201. package/es-modules/masters/indicators/williams-r.src.js +1 -1
  202. package/es-modules/masters/indicators/wma.src.js +1 -1
  203. package/es-modules/masters/indicators/zigzag.src.js +1 -1
  204. package/es-modules/masters/modules/accessibility.src.js +1 -1
  205. package/es-modules/masters/modules/annotations-advanced.src.js +1 -1
  206. package/es-modules/masters/modules/annotations.src.js +1 -1
  207. package/es-modules/masters/modules/arrow-symbols.src.js +1 -1
  208. package/es-modules/masters/modules/boost-canvas.src.js +1 -1
  209. package/es-modules/masters/modules/boost.src.js +1 -1
  210. package/es-modules/masters/modules/broken-axis.src.js +1 -1
  211. package/es-modules/masters/modules/bullet.src.js +1 -1
  212. package/es-modules/masters/modules/coloraxis.src.js +6 -2
  213. package/es-modules/masters/modules/current-date-indicator.src.js +1 -1
  214. package/es-modules/masters/modules/cylinder.src.js +1 -1
  215. package/es-modules/masters/modules/data.src.js +8 -1
  216. package/es-modules/masters/modules/datagrouping.src.js +1 -1
  217. package/es-modules/masters/modules/debugger.src.js +1 -1
  218. package/es-modules/masters/modules/dependency-wheel.src.js +1 -1
  219. package/es-modules/masters/modules/dotplot.src.js +1 -1
  220. package/es-modules/masters/modules/drag-panes.src.js +1 -1
  221. package/es-modules/masters/modules/draggable-points.src.js +1 -1
  222. package/es-modules/masters/modules/drilldown.src.js +1 -1
  223. package/es-modules/masters/modules/dumbbell.src.js +1 -1
  224. package/es-modules/masters/modules/export-data.src.js +1 -1
  225. package/es-modules/masters/modules/exporting.src.js +10 -2
  226. package/es-modules/masters/modules/full-screen.src.js +1 -1
  227. package/es-modules/masters/modules/funnel.src.js +1 -1
  228. package/es-modules/masters/modules/funnel3d.src.js +1 -1
  229. package/es-modules/masters/modules/gantt.src.js +9 -4
  230. package/es-modules/masters/modules/grid-axis.src.js +1 -1
  231. package/es-modules/masters/modules/heatmap.src.js +6 -2
  232. package/es-modules/masters/modules/heikinashi.src.js +14 -0
  233. package/es-modules/masters/modules/histogram-bellcurve.src.js +1 -1
  234. package/es-modules/masters/modules/hollowcandlestick.src.js +14 -0
  235. package/es-modules/masters/modules/item-series.src.js +1 -1
  236. package/es-modules/masters/modules/lollipop.src.js +1 -1
  237. package/es-modules/masters/modules/map.src.js +10 -6
  238. package/es-modules/masters/modules/marker-clusters.src.js +1 -1
  239. package/es-modules/masters/modules/networkgraph.src.js +1 -1
  240. package/es-modules/masters/modules/no-data-to-display.src.js +1 -1
  241. package/es-modules/masters/modules/offline-exporting.src.js +8 -2
  242. package/es-modules/masters/modules/oldie-polyfills.src.js +1 -1
  243. package/es-modules/masters/modules/oldie.src.js +1 -1
  244. package/es-modules/masters/modules/organization.src.js +1 -1
  245. package/es-modules/masters/modules/overlapping-datalabels.src.js +1 -1
  246. package/es-modules/masters/modules/parallel-coordinates.src.js +1 -1
  247. package/es-modules/masters/modules/pareto.src.js +1 -1
  248. package/es-modules/masters/modules/pathfinder.src.js +1 -1
  249. package/es-modules/masters/modules/pattern-fill.src.js +1 -1
  250. package/es-modules/masters/modules/price-indicator.src.js +1 -1
  251. package/es-modules/masters/modules/pyramid3d.src.js +1 -1
  252. package/es-modules/masters/modules/sankey.src.js +1 -1
  253. package/es-modules/masters/modules/series-label.src.js +1 -1
  254. package/es-modules/masters/modules/solid-gauge.src.js +1 -1
  255. package/es-modules/masters/modules/sonification.src.js +1 -1
  256. package/es-modules/masters/modules/static-scale.src.js +1 -1
  257. package/es-modules/masters/modules/stock-tools.src.js +1 -1
  258. package/es-modules/masters/modules/stock.src.js +3 -2
  259. package/es-modules/masters/modules/streamgraph.src.js +1 -1
  260. package/es-modules/masters/modules/sunburst.src.js +1 -1
  261. package/es-modules/masters/modules/tilemap.src.js +1 -1
  262. package/es-modules/masters/modules/timeline.src.js +1 -1
  263. package/es-modules/masters/modules/treegrid.src.js +1 -1
  264. package/es-modules/masters/modules/treemap.src.js +1 -1
  265. package/es-modules/masters/modules/variable-pie.src.js +1 -1
  266. package/es-modules/masters/modules/variwide.src.js +1 -1
  267. package/es-modules/masters/modules/vector.src.js +1 -1
  268. package/es-modules/masters/modules/venn.src.js +1 -1
  269. package/es-modules/masters/modules/windbarb.src.js +1 -1
  270. package/es-modules/masters/modules/wordcloud.src.js +1 -1
  271. package/es-modules/masters/modules/xrange.src.js +1 -1
  272. package/es-modules/masters/themes/avocado.src.js +5 -2
  273. package/es-modules/masters/themes/dark-blue.src.js +5 -2
  274. package/es-modules/masters/themes/dark-green.src.js +5 -2
  275. package/es-modules/masters/themes/dark-unica.src.js +5 -2
  276. package/es-modules/masters/themes/gray.src.js +5 -2
  277. package/es-modules/masters/themes/grid-light.src.js +5 -2
  278. package/es-modules/masters/themes/grid.src.js +5 -2
  279. package/es-modules/masters/themes/high-contrast-dark.src.js +5 -2
  280. package/es-modules/masters/themes/high-contrast-light.src.js +5 -2
  281. package/es-modules/masters/themes/sand-signika.src.js +5 -2
  282. package/es-modules/masters/themes/skies.src.js +5 -2
  283. package/es-modules/masters/themes/sunset.src.js +5 -2
  284. package/gfx/stock-icons/annotations-hidden.svg +1 -1
  285. package/gfx/stock-icons/annotations-visible.svg +2 -2
  286. package/gfx/stock-icons/arrow-bottom.svg +1 -1
  287. package/gfx/stock-icons/arrow-left.svg +1 -1
  288. package/gfx/stock-icons/arrow-line.svg +1 -1
  289. package/gfx/stock-icons/arrow-ray.svg +1 -1
  290. package/gfx/stock-icons/arrow-right.svg +1 -1
  291. package/gfx/stock-icons/arrow-segment.svg +1 -2
  292. package/gfx/stock-icons/circle.svg +1 -1
  293. package/gfx/stock-icons/close.svg +2 -2
  294. package/gfx/stock-icons/crooked-3.svg +1 -1
  295. package/gfx/stock-icons/crooked-5.svg +1 -1
  296. package/gfx/stock-icons/current-price-hide.svg +3 -3
  297. package/gfx/stock-icons/current-price-show.svg +2 -2
  298. package/gfx/stock-icons/destroy.svg +1 -1
  299. package/gfx/stock-icons/drawing.svg +18 -0
  300. package/gfx/stock-icons/edit.svg +1 -1
  301. package/gfx/stock-icons/elliott-3.svg +1 -1
  302. package/gfx/stock-icons/elliott-5.svg +1 -1
  303. package/gfx/stock-icons/ellipse.svg +11 -0
  304. package/gfx/stock-icons/fibonacci-timezone.svg +16 -0
  305. package/gfx/stock-icons/fibonacci.svg +1 -1
  306. package/gfx/stock-icons/flag-basic.svg +1 -1
  307. package/gfx/stock-icons/flag-diamond.svg +2 -2
  308. package/gfx/stock-icons/flag-elipse.svg +1 -1
  309. package/gfx/stock-icons/flag-trapeze.svg +2 -2
  310. package/gfx/stock-icons/fullscreen.svg +4 -4
  311. package/gfx/stock-icons/horizontal-line.svg +1 -1
  312. package/gfx/stock-icons/indicators.svg +3 -3
  313. package/gfx/stock-icons/label.svg +4 -4
  314. package/gfx/stock-icons/line.svg +1 -1
  315. package/gfx/stock-icons/linear.svg +11 -0
  316. package/gfx/stock-icons/logarithmic.svg +1 -0
  317. package/gfx/stock-icons/measure-x.svg +2 -2
  318. package/gfx/stock-icons/measure-xy.svg +1 -1
  319. package/gfx/stock-icons/measure-y.svg +1 -1
  320. package/gfx/stock-icons/panning.svg +17 -0
  321. package/gfx/stock-icons/parallel-channel.svg +1 -1
  322. package/gfx/stock-icons/pitchfork.svg +1 -1
  323. package/gfx/stock-icons/ray.svg +1 -1
  324. package/gfx/stock-icons/rectangle.svg +1 -1
  325. package/gfx/stock-icons/remove-annotations.svg +2 -2
  326. package/gfx/stock-icons/save-chart.svg +3 -3
  327. package/gfx/stock-icons/segment.svg +1 -1
  328. package/gfx/stock-icons/separator.svg +1 -1
  329. package/gfx/stock-icons/series-candlestick.svg +1 -1
  330. package/gfx/stock-icons/series-heikin-ashi.svg +1 -0
  331. package/gfx/stock-icons/series-hlc.svg +1 -0
  332. package/gfx/stock-icons/series-hollow-candlestick.svg +1 -0
  333. package/gfx/stock-icons/series-line.svg +1 -1
  334. package/gfx/stock-icons/series-ohlc.svg +4 -4
  335. package/gfx/stock-icons/time-cycles.svg +35 -0
  336. package/gfx/stock-icons/vertical-arrow.svg +1 -1
  337. package/gfx/stock-icons/vertical-counter.svg +1 -1
  338. package/gfx/stock-icons/vertical-double-arrow.svg +1 -1
  339. package/gfx/stock-icons/vertical-label.svg +3 -3
  340. package/gfx/stock-icons/vertical-line.svg +1 -1
  341. package/gfx/stock-icons/zoom-x.svg +2 -2
  342. package/gfx/stock-icons/zoom-xy.svg +2 -2
  343. package/gfx/stock-icons/zoom-y.svg +2 -2
  344. package/highcharts-3d.js +24 -24
  345. package/highcharts-3d.js.map +1 -1
  346. package/highcharts-3d.src.js +6 -3
  347. package/highcharts-gantt.js +800 -792
  348. package/highcharts-gantt.js.map +1 -1
  349. package/highcharts-gantt.src.js +16535 -15918
  350. package/highcharts-more.d.ts +73 -1
  351. package/highcharts-more.js +193 -192
  352. package/highcharts-more.js.map +1 -1
  353. package/highcharts-more.src.d.ts +73 -1
  354. package/highcharts-more.src.js +8044 -7839
  355. package/highcharts.d.ts +3850 -177
  356. package/highcharts.js +589 -581
  357. package/highcharts.js.map +1 -1
  358. package/highcharts.src.d.ts +3850 -177
  359. package/highcharts.src.js +16635 -16060
  360. package/highmaps.js +708 -698
  361. package/highmaps.js.map +1 -1
  362. package/highmaps.src.js +17419 -16521
  363. package/highstock.js +782 -769
  364. package/highstock.js.map +1 -1
  365. package/highstock.src.js +28867 -27975
  366. package/indicators/acceleration-bands.js +9 -9
  367. package/indicators/acceleration-bands.js.map +1 -1
  368. package/indicators/acceleration-bands.src.js +7 -1
  369. package/indicators/accumulation-distribution.js +1 -1
  370. package/indicators/accumulation-distribution.src.js +1 -1
  371. package/indicators/ao.js +1 -1
  372. package/indicators/ao.src.js +1 -1
  373. package/indicators/apo.js +1 -1
  374. package/indicators/apo.src.js +1 -1
  375. package/indicators/aroon-oscillator.js +9 -9
  376. package/indicators/aroon-oscillator.js.map +1 -1
  377. package/indicators/aroon-oscillator.src.js +7 -1
  378. package/indicators/aroon.js +9 -9
  379. package/indicators/aroon.js.map +1 -1
  380. package/indicators/aroon.src.js +7 -1
  381. package/indicators/atr.js +1 -1
  382. package/indicators/atr.src.js +1 -1
  383. package/indicators/bollinger-bands.js +9 -9
  384. package/indicators/bollinger-bands.js.map +1 -1
  385. package/indicators/bollinger-bands.src.js +7 -1
  386. package/indicators/cci.js +1 -1
  387. package/indicators/cci.src.js +1 -1
  388. package/indicators/chaikin.js +1 -1
  389. package/indicators/chaikin.src.js +1 -1
  390. package/indicators/cmf.js +1 -1
  391. package/indicators/cmf.src.js +1 -1
  392. package/indicators/cmo.js +1 -1
  393. package/indicators/cmo.src.js +1 -1
  394. package/indicators/dema.js +1 -1
  395. package/indicators/dema.src.js +1 -1
  396. package/indicators/disparity-index.js +1 -1
  397. package/indicators/disparity-index.src.js +1 -1
  398. package/indicators/dmi.js +11 -11
  399. package/indicators/dmi.js.map +1 -1
  400. package/indicators/dmi.src.js +7 -1
  401. package/indicators/dpo.js +1 -1
  402. package/indicators/dpo.src.js +1 -1
  403. package/indicators/ema.js +1 -1
  404. package/indicators/ema.src.js +1 -1
  405. package/indicators/ichimoku-kinko-hyo.js +1 -1
  406. package/indicators/ichimoku-kinko-hyo.src.js +1 -1
  407. package/indicators/indicators-all.js +203 -200
  408. package/indicators/indicators-all.js.map +1 -1
  409. package/indicators/indicators-all.src.js +206 -104
  410. package/indicators/indicators.js +12 -11
  411. package/indicators/indicators.js.map +1 -1
  412. package/indicators/indicators.src.js +108 -90
  413. package/indicators/keltner-channels.js +9 -9
  414. package/indicators/keltner-channels.js.map +1 -1
  415. package/indicators/keltner-channels.src.js +7 -1
  416. package/indicators/klinger.js +13 -13
  417. package/indicators/klinger.js.map +1 -1
  418. package/indicators/klinger.src.js +7 -1
  419. package/indicators/macd.js +1 -1
  420. package/indicators/macd.src.js +1 -1
  421. package/indicators/mfi.js +1 -1
  422. package/indicators/mfi.src.js +1 -1
  423. package/indicators/momentum.js +1 -1
  424. package/indicators/momentum.src.js +1 -1
  425. package/indicators/natr.js +1 -1
  426. package/indicators/natr.src.js +1 -1
  427. package/indicators/obv.js +1 -1
  428. package/indicators/obv.src.js +1 -1
  429. package/indicators/pivot-points.js +1 -1
  430. package/indicators/pivot-points.src.js +1 -1
  431. package/indicators/ppo.js +1 -1
  432. package/indicators/ppo.src.js +1 -1
  433. package/indicators/price-channel.js +9 -9
  434. package/indicators/price-channel.js.map +1 -1
  435. package/indicators/price-channel.src.js +7 -1
  436. package/indicators/price-envelopes.js +1 -1
  437. package/indicators/price-envelopes.src.js +1 -1
  438. package/indicators/psar.js +1 -1
  439. package/indicators/psar.src.js +1 -1
  440. package/indicators/regressions.js +1 -1
  441. package/indicators/regressions.src.js +1 -1
  442. package/indicators/roc.js +1 -1
  443. package/indicators/roc.src.js +1 -1
  444. package/indicators/rsi.js +1 -1
  445. package/indicators/rsi.src.js +1 -1
  446. package/indicators/slow-stochastic.js +1 -1
  447. package/indicators/slow-stochastic.src.js +1 -1
  448. package/indicators/stochastic.js +10 -10
  449. package/indicators/stochastic.js.map +1 -1
  450. package/indicators/stochastic.src.js +7 -1
  451. package/indicators/supertrend.js +10 -10
  452. package/indicators/supertrend.js.map +1 -1
  453. package/indicators/supertrend.src.js +23 -10
  454. package/indicators/tema.js +1 -1
  455. package/indicators/tema.src.js +1 -1
  456. package/indicators/trendline.js +1 -1
  457. package/indicators/trendline.src.js +1 -1
  458. package/indicators/trix.js +1 -1
  459. package/indicators/trix.src.js +1 -1
  460. package/indicators/volume-by-price.js +17 -15
  461. package/indicators/volume-by-price.js.map +1 -1
  462. package/indicators/volume-by-price.src.js +71 -6
  463. package/indicators/vwap.js +1 -1
  464. package/indicators/vwap.src.js +1 -1
  465. package/indicators/williams-r.js +1 -1
  466. package/indicators/williams-r.src.js +1 -1
  467. package/indicators/wma.js +1 -1
  468. package/indicators/wma.src.js +1 -1
  469. package/indicators/zigzag.js +1 -1
  470. package/indicators/zigzag.src.js +1 -1
  471. package/modules/accessibility.js +203 -202
  472. package/modules/accessibility.js.map +1 -1
  473. package/modules/accessibility.src.js +89 -49
  474. package/modules/annotations-advanced.js +164 -163
  475. package/modules/annotations-advanced.js.map +1 -1
  476. package/modules/annotations-advanced.src.js +162 -87
  477. package/modules/annotations.js +111 -111
  478. package/modules/annotations.js.map +1 -1
  479. package/modules/annotations.src.js +162 -87
  480. package/modules/arrow-symbols.js +1 -1
  481. package/modules/arrow-symbols.src.js +1 -1
  482. package/modules/boost-canvas.js +2 -2
  483. package/modules/boost-canvas.js.map +1 -1
  484. package/modules/boost-canvas.src.js +2 -2
  485. package/modules/boost.js +52 -52
  486. package/modules/boost.js.map +1 -1
  487. package/modules/boost.src.js +15 -7
  488. package/modules/broken-axis.js +13 -13
  489. package/modules/broken-axis.js.map +1 -1
  490. package/modules/broken-axis.src.js +34 -15
  491. package/modules/bullet.js +1 -1
  492. package/modules/bullet.src.js +1 -1
  493. package/modules/coloraxis.js +24 -22
  494. package/modules/coloraxis.js.map +1 -1
  495. package/modules/coloraxis.src.js +954 -774
  496. package/modules/current-date-indicator.js +2 -2
  497. package/modules/current-date-indicator.js.map +1 -1
  498. package/modules/current-date-indicator.src.js +2 -2
  499. package/modules/cylinder.js +1 -1
  500. package/modules/cylinder.src.js +1 -1
  501. package/modules/data.js +33 -32
  502. package/modules/data.js.map +1 -1
  503. package/modules/data.src.js +182 -134
  504. package/modules/datagrouping.d.ts +5 -0
  505. package/modules/datagrouping.js +20 -20
  506. package/modules/datagrouping.js.map +1 -1
  507. package/modules/datagrouping.src.d.ts +5 -0
  508. package/modules/datagrouping.src.js +270 -228
  509. package/modules/debugger.js +3 -3
  510. package/modules/debugger.js.map +1 -1
  511. package/modules/debugger.src.js +3 -3
  512. package/modules/dependency-wheel.js +1 -1
  513. package/modules/dependency-wheel.src.js +1 -1
  514. package/modules/dotplot.js +1 -1
  515. package/modules/dotplot.src.js +1 -1
  516. package/modules/drag-panes.js +1 -1
  517. package/modules/drag-panes.src.js +1 -1
  518. package/modules/draggable-points.js +34 -34
  519. package/modules/draggable-points.js.map +1 -1
  520. package/modules/draggable-points.src.js +14 -5
  521. package/modules/drilldown.d.ts +27 -0
  522. package/modules/drilldown.js +18 -18
  523. package/modules/drilldown.js.map +1 -1
  524. package/modules/drilldown.src.d.ts +27 -0
  525. package/modules/drilldown.src.js +42 -16
  526. package/modules/dumbbell.js +1 -1
  527. package/modules/dumbbell.src.js +1 -1
  528. package/modules/export-data.js +20 -20
  529. package/modules/export-data.js.map +1 -1
  530. package/modules/export-data.src.js +8 -5
  531. package/modules/exporting.d.ts +29 -0
  532. package/modules/exporting.js +38 -35
  533. package/modules/exporting.js.map +1 -1
  534. package/modules/exporting.src.d.ts +29 -0
  535. package/modules/exporting.src.js +1937 -1614
  536. package/modules/full-screen.js +2 -2
  537. package/modules/full-screen.js.map +1 -1
  538. package/modules/full-screen.src.js +8 -6
  539. package/modules/funnel.js +1 -1
  540. package/modules/funnel.src.js +1 -1
  541. package/modules/funnel3d.js +1 -1
  542. package/modules/funnel3d.src.js +1 -1
  543. package/modules/gantt.js +218 -217
  544. package/modules/gantt.js.map +1 -1
  545. package/modules/gantt.src.js +74 -32
  546. package/modules/grid-axis.js +23 -22
  547. package/modules/grid-axis.js.map +1 -1
  548. package/modules/grid-axis.src.js +9 -4
  549. package/modules/heatmap.js +39 -37
  550. package/modules/heatmap.js.map +1 -1
  551. package/modules/heatmap.src.js +963 -779
  552. package/modules/heikinashi.js +17 -0
  553. package/modules/heikinashi.js.map +1 -0
  554. package/modules/heikinashi.src.js +394 -0
  555. package/modules/histogram-bellcurve.js +1 -1
  556. package/modules/histogram-bellcurve.src.js +1 -1
  557. package/modules/hollowcandlestick.js +18 -0
  558. package/modules/hollowcandlestick.js.map +1 -0
  559. package/modules/hollowcandlestick.src.js +504 -0
  560. package/modules/item-series.js +1 -1
  561. package/modules/item-series.src.js +1 -1
  562. package/modules/lollipop.js +1 -1
  563. package/modules/lollipop.src.js +1 -1
  564. package/modules/map.d.ts +9 -0
  565. package/modules/map.js +122 -119
  566. package/modules/map.js.map +1 -1
  567. package/modules/map.src.d.ts +9 -0
  568. package/modules/map.src.js +1655 -1332
  569. package/modules/marker-clusters.js +1 -1
  570. package/modules/marker-clusters.src.js +1 -1
  571. package/modules/networkgraph.js +1 -1
  572. package/modules/networkgraph.src.js +1 -1
  573. package/modules/no-data-to-display.js +3 -3
  574. package/modules/no-data-to-display.js.map +1 -1
  575. package/modules/no-data-to-display.src.js +2 -2
  576. package/modules/offline-exporting.js +18 -16
  577. package/modules/offline-exporting.js.map +1 -1
  578. package/modules/offline-exporting.src.js +623 -562
  579. package/modules/oldie-polyfills.js +1 -1
  580. package/modules/oldie-polyfills.src.js +1 -1
  581. package/modules/oldie.js +2 -2
  582. package/modules/oldie.src.js +2 -2
  583. package/modules/organization.js +1 -1
  584. package/modules/organization.src.js +1 -1
  585. package/modules/overlapping-datalabels.js +1 -1
  586. package/modules/overlapping-datalabels.src.js +1 -1
  587. package/modules/parallel-coordinates.js +1 -1
  588. package/modules/parallel-coordinates.src.js +1 -1
  589. package/modules/pareto.js +1 -1
  590. package/modules/pareto.src.js +1 -1
  591. package/modules/pathfinder.js +1 -1
  592. package/modules/pathfinder.src.js +1 -1
  593. package/modules/pattern-fill.js +14 -14
  594. package/modules/pattern-fill.js.map +1 -1
  595. package/modules/pattern-fill.src.js +24 -12
  596. package/modules/price-indicator.js +1 -1
  597. package/modules/price-indicator.src.js +1 -1
  598. package/modules/pyramid3d.js +1 -1
  599. package/modules/pyramid3d.src.js +1 -1
  600. package/modules/sankey.js +28 -28
  601. package/modules/sankey.js.map +1 -1
  602. package/modules/sankey.src.js +11 -11
  603. package/modules/series-label.js +1 -1
  604. package/modules/series-label.src.js +1 -1
  605. package/modules/solid-gauge.js +2 -2
  606. package/modules/solid-gauge.js.map +1 -1
  607. package/modules/solid-gauge.src.js +3 -3
  608. package/modules/sonification.js +1 -1
  609. package/modules/sonification.src.js +1 -1
  610. package/modules/static-scale.js +1 -1
  611. package/modules/static-scale.src.js +1 -1
  612. package/modules/stock-tools.js +159 -157
  613. package/modules/stock-tools.js.map +1 -1
  614. package/modules/stock-tools.src.js +253 -123
  615. package/modules/stock.d.ts +5 -0
  616. package/modules/stock.js +196 -191
  617. package/modules/stock.js.map +1 -1
  618. package/modules/stock.src.d.ts +5 -0
  619. package/modules/stock.src.js +7749 -7432
  620. package/modules/streamgraph.js +1 -1
  621. package/modules/streamgraph.src.js +1 -1
  622. package/modules/sunburst.js +5 -5
  623. package/modules/sunburst.js.map +1 -1
  624. package/modules/sunburst.src.js +6 -19
  625. package/modules/tilemap.js +1 -1
  626. package/modules/tilemap.src.js +1 -1
  627. package/modules/timeline.js +18 -17
  628. package/modules/timeline.js.map +1 -1
  629. package/modules/timeline.src.js +21 -24
  630. package/modules/treegrid.js +57 -57
  631. package/modules/treegrid.js.map +1 -1
  632. package/modules/treegrid.src.js +43 -19
  633. package/modules/treemap.js +5 -5
  634. package/modules/treemap.js.map +1 -1
  635. package/modules/treemap.src.js +5 -5
  636. package/modules/variable-pie.js +1 -1
  637. package/modules/variable-pie.src.js +1 -1
  638. package/modules/variwide.js +1 -1
  639. package/modules/variwide.src.js +1 -1
  640. package/modules/vector.js +1 -1
  641. package/modules/vector.src.js +1 -1
  642. package/modules/venn.js +31 -30
  643. package/modules/venn.js.map +1 -1
  644. package/modules/venn.src.js +508 -424
  645. package/modules/windbarb.js +1 -1
  646. package/modules/windbarb.src.js +1 -1
  647. package/modules/wordcloud.js +4 -4
  648. package/modules/wordcloud.js.map +1 -1
  649. package/modules/wordcloud.src.js +2 -1
  650. package/modules/xrange.js +17 -17
  651. package/modules/xrange.js.map +1 -1
  652. package/modules/xrange.src.js +7 -4
  653. package/package.json +1 -1
  654. package/themes/avocado.d.ts +6 -1
  655. package/themes/avocado.js +3 -3
  656. package/themes/avocado.js.map +1 -1
  657. package/themes/avocado.src.d.ts +6 -1
  658. package/themes/avocado.src.js +53 -22
  659. package/themes/dark-blue.d.ts +6 -1
  660. package/themes/dark-blue.js +3 -3
  661. package/themes/dark-blue.js.map +1 -1
  662. package/themes/dark-blue.src.d.ts +6 -1
  663. package/themes/dark-blue.src.js +231 -205
  664. package/themes/dark-green.d.ts +6 -1
  665. package/themes/dark-green.js +4 -4
  666. package/themes/dark-green.js.map +1 -1
  667. package/themes/dark-green.src.d.ts +6 -1
  668. package/themes/dark-green.src.js +236 -205
  669. package/themes/dark-unica.d.ts +6 -1
  670. package/themes/dark-unica.js +7 -7
  671. package/themes/dark-unica.js.map +1 -1
  672. package/themes/dark-unica.src.d.ts +6 -1
  673. package/themes/dark-unica.src.js +206 -174
  674. package/themes/gray.d.ts +6 -1
  675. package/themes/gray.js +3 -3
  676. package/themes/gray.js.map +1 -1
  677. package/themes/gray.src.d.ts +6 -1
  678. package/themes/gray.src.js +233 -207
  679. package/themes/grid-light.d.ts +6 -1
  680. package/themes/grid-light.js +4 -4
  681. package/themes/grid-light.js.map +1 -1
  682. package/themes/grid-light.src.d.ts +6 -1
  683. package/themes/grid-light.src.js +88 -57
  684. package/themes/grid.d.ts +6 -1
  685. package/themes/grid.js +3 -3
  686. package/themes/grid.js.map +1 -1
  687. package/themes/grid.src.d.ts +6 -1
  688. package/themes/grid.src.js +114 -83
  689. package/themes/high-contrast-dark.js +5 -4
  690. package/themes/high-contrast-dark.js.map +1 -1
  691. package/themes/high-contrast-dark.src.js +197 -166
  692. package/themes/high-contrast-light.js +3 -3
  693. package/themes/high-contrast-light.js.map +1 -1
  694. package/themes/high-contrast-light.src.js +54 -23
  695. package/themes/sand-signika.d.ts +6 -1
  696. package/themes/sand-signika.js +5 -5
  697. package/themes/sand-signika.js.map +1 -1
  698. package/themes/sand-signika.src.d.ts +6 -1
  699. package/themes/sand-signika.src.js +119 -88
  700. package/themes/skies.d.ts +6 -1
  701. package/themes/skies.js +5 -5
  702. package/themes/skies.js.map +1 -1
  703. package/themes/skies.src.d.ts +6 -1
  704. package/themes/skies.src.js +107 -76
  705. package/themes/sunset.d.ts +6 -1
  706. package/themes/sunset.js +3 -3
  707. package/themes/sunset.js.map +1 -1
  708. package/themes/sunset.src.d.ts +6 -1
  709. package/themes/sunset.src.js +52 -21
  710. package/es-modules/Core/Axis/ColorAxis.js +0 -1164
  711. package/es-modules/Core/Axis/HiddenAxis.js +0 -46
  712. package/es-modules/Core/Axis/PlotLineOrBand.js +0 -1051
  713. package/es-modules/Core/Series/DataLabels.js +0 -1173
  714. package/es-modules/Extensions/Exporting.js +0 -2024
  715. package/es-modules/Extensions/OfflineExporting.js +0 -621
  716. package/es-modules/Mixins/Geometry.js +0 -56
  717. package/es-modules/Mixins/GeometryCircles.js +0 -320
  718. package/es-modules/Series/Bubble/BubbleLegend.js +0 -893
@@ -0,0 +1,2293 @@
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
+ import Palette from '../Color/Palette.js';
12
+ /* *
13
+ *
14
+ * API Options
15
+ *
16
+ * */
17
+ /**
18
+ * General options for all series types.
19
+ *
20
+ * @optionparent plotOptions.series
21
+ */
22
+ var seriesDefaults = {
23
+ // base series options
24
+ /**
25
+ * The SVG value used for the `stroke-linecap` and `stroke-linejoin`
26
+ * of a line graph. Round means that lines are rounded in the ends and
27
+ * bends.
28
+ *
29
+ * @type {Highcharts.SeriesLinecapValue}
30
+ * @default round
31
+ * @since 3.0.7
32
+ * @apioption plotOptions.line.linecap
33
+ */
34
+ /**
35
+ * Pixel width of the graph line.
36
+ *
37
+ * @see In styled mode, the line stroke-width can be set with the
38
+ * `.highcharts-graph` class name.
39
+ *
40
+ * @sample {highcharts} highcharts/plotoptions/series-linewidth-general/
41
+ * On all series
42
+ * @sample {highcharts} highcharts/plotoptions/series-linewidth-specific/
43
+ * On one single series
44
+ *
45
+ * @product highcharts highstock
46
+ *
47
+ * @private
48
+ */
49
+ lineWidth: 2,
50
+ /**
51
+ * For some series, there is a limit that shuts down initial animation
52
+ * by default when the total number of points in the chart is too high.
53
+ * For example, for a column chart and its derivatives, animation does
54
+ * not run if there is more than 250 points totally. To disable this
55
+ * cap, set `animationLimit` to `Infinity`.
56
+ *
57
+ * @type {number}
58
+ * @apioption plotOptions.series.animationLimit
59
+ */
60
+ /**
61
+ * Allow this series' points to be selected by clicking on the graphic
62
+ * (columns, point markers, pie slices, map areas etc).
63
+ *
64
+ * The selected points can be handled by point select and unselect
65
+ * events, or collectively by the [getSelectedPoints
66
+ * ](/class-reference/Highcharts.Chart#getSelectedPoints) function.
67
+ *
68
+ * And alternative way of selecting points is through dragging.
69
+ *
70
+ * @sample {highcharts} highcharts/plotoptions/series-allowpointselect-line/
71
+ * Line
72
+ * @sample {highcharts} highcharts/plotoptions/series-allowpointselect-column/
73
+ * Column
74
+ * @sample {highcharts} highcharts/plotoptions/series-allowpointselect-pie/
75
+ * Pie
76
+ * @sample {highcharts} highcharts/chart/events-selection-points/
77
+ * Select a range of points through a drag selection
78
+ * @sample {highmaps} maps/plotoptions/series-allowpointselect/
79
+ * Map area
80
+ * @sample {highmaps} maps/plotoptions/mapbubble-allowpointselect/
81
+ * Map bubble
82
+ *
83
+ * @since 1.2.0
84
+ *
85
+ * @private
86
+ */
87
+ allowPointSelect: false,
88
+ /**
89
+ * When true, each point or column edge is rounded to its nearest pixel
90
+ * in order to render sharp on screen. In some cases, when there are a
91
+ * lot of densely packed columns, this leads to visible difference
92
+ * in column widths or distance between columns. In these cases,
93
+ * setting `crisp` to `false` may look better, even though each column
94
+ * is rendered blurry.
95
+ *
96
+ * @sample {highcharts} highcharts/plotoptions/column-crisp-false/
97
+ * Crisp is false
98
+ *
99
+ * @since 5.0.10
100
+ * @product highcharts highstock gantt
101
+ *
102
+ * @private
103
+ */
104
+ crisp: true,
105
+ /**
106
+ * If true, a checkbox is displayed next to the legend item to allow
107
+ * selecting the series. The state of the checkbox is determined by
108
+ * the `selected` option.
109
+ *
110
+ * @productdesc {highmaps}
111
+ * Note that if a `colorAxis` is defined, the color axis is represented
112
+ * in the legend, not the series.
113
+ *
114
+ * @sample {highcharts} highcharts/plotoptions/series-showcheckbox-true/
115
+ * Show select box
116
+ *
117
+ * @since 1.2.0
118
+ *
119
+ * @private
120
+ */
121
+ showCheckbox: false,
122
+ /**
123
+ * Enable or disable the initial animation when a series is displayed.
124
+ * The animation can also be set as a configuration object. Please
125
+ * note that this option only applies to the initial animation of the
126
+ * series itself. For other animations, see [chart.animation](
127
+ * #chart.animation) and the animation parameter under the API methods.
128
+ * The following properties are supported:
129
+ *
130
+ * - `defer`: The animation delay time in milliseconds.
131
+ *
132
+ * - `duration`: The duration of the animation in milliseconds.
133
+ *
134
+ * - `easing`: Can be a string reference to an easing function set on
135
+ * the `Math` object or a function. See the _Custom easing function_
136
+ * demo below.
137
+ *
138
+ * Due to poor performance, animation is disabled in old IE browsers
139
+ * for several chart types.
140
+ *
141
+ * @sample {highcharts} highcharts/plotoptions/series-animation-disabled/
142
+ * Animation disabled
143
+ * @sample {highcharts} highcharts/plotoptions/series-animation-slower/
144
+ * Slower animation
145
+ * @sample {highcharts} highcharts/plotoptions/series-animation-easing/
146
+ * Custom easing function
147
+ * @sample {highstock} stock/plotoptions/animation-slower/
148
+ * Slower animation
149
+ * @sample {highstock} stock/plotoptions/animation-easing/
150
+ * Custom easing function
151
+ * @sample {highmaps} maps/plotoptions/series-animation-true/
152
+ * Animation enabled on map series
153
+ * @sample {highmaps} maps/plotoptions/mapbubble-animation-false/
154
+ * Disabled on mapbubble series
155
+ *
156
+ * @type {boolean|Partial<Highcharts.AnimationOptionsObject>}
157
+ * @default {highcharts} true
158
+ * @default {highstock} true
159
+ * @default {highmaps} false
160
+ *
161
+ * @private
162
+ */
163
+ animation: {
164
+ /** @internal */
165
+ duration: 1000
166
+ },
167
+ /**
168
+ * @default 0
169
+ * @type {number}
170
+ * @since 8.2.0
171
+ * @apioption plotOptions.series.animation.defer
172
+ */
173
+ /**
174
+ * An additional class name to apply to the series' graphical elements.
175
+ * This option does not replace default class names of the graphical
176
+ * element.
177
+ *
178
+ * @type {string}
179
+ * @since 5.0.0
180
+ * @apioption plotOptions.series.className
181
+ */
182
+ /**
183
+ * Disable this option to allow series rendering in the whole plotting
184
+ * area.
185
+ *
186
+ * **Note:** Clipping should be always enabled when
187
+ * [chart.zoomType](#chart.zoomType) is set
188
+ *
189
+ * @sample {highcharts} highcharts/plotoptions/series-clip/
190
+ * Disabled clipping
191
+ *
192
+ * @default true
193
+ * @type {boolean}
194
+ * @since 3.0.0
195
+ * @apioption plotOptions.series.clip
196
+ */
197
+ /**
198
+ * The main color of the series. In line type series it applies to the
199
+ * line and the point markers unless otherwise specified. In bar type
200
+ * series it applies to the bars unless a color is specified per point.
201
+ * The default value is pulled from the `options.colors` array.
202
+ *
203
+ * In styled mode, the color can be defined by the
204
+ * [colorIndex](#plotOptions.series.colorIndex) option. Also, the series
205
+ * color can be set with the `.highcharts-series`,
206
+ * `.highcharts-color-{n}`, `.highcharts-{type}-series` or
207
+ * `.highcharts-series-{n}` class, or individual classes given by the
208
+ * `className` option.
209
+ *
210
+ * @productdesc {highmaps}
211
+ * In maps, the series color is rarely used, as most choropleth maps use
212
+ * the color to denote the value of each point. The series color can
213
+ * however be used in a map with multiple series holding categorized
214
+ * data.
215
+ *
216
+ * @sample {highcharts} highcharts/plotoptions/series-color-general/
217
+ * General plot option
218
+ * @sample {highcharts} highcharts/plotoptions/series-color-specific/
219
+ * One specific series
220
+ * @sample {highcharts} highcharts/plotoptions/series-color-area/
221
+ * Area color
222
+ * @sample {highcharts} highcharts/series/infographic/
223
+ * Pattern fill
224
+ * @sample {highmaps} maps/demo/category-map/
225
+ * Category map by multiple series
226
+ *
227
+ * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
228
+ * @apioption plotOptions.series.color
229
+ */
230
+ /**
231
+ * Styled mode only. A specific color index to use for the series, so
232
+ * its graphic representations are given the class name
233
+ * `highcharts-color-{n}`.
234
+ *
235
+ * @type {number}
236
+ * @since 5.0.0
237
+ * @apioption plotOptions.series.colorIndex
238
+ */
239
+ /**
240
+ * Whether to connect a graph line across null points, or render a gap
241
+ * between the two points on either side of the null.
242
+ *
243
+ * @sample {highcharts} highcharts/plotoptions/series-connectnulls-false/
244
+ * False by default
245
+ * @sample {highcharts} highcharts/plotoptions/series-connectnulls-true/
246
+ * True
247
+ *
248
+ * @type {boolean}
249
+ * @default false
250
+ * @product highcharts highstock
251
+ * @apioption plotOptions.series.connectNulls
252
+ */
253
+ /**
254
+ * You can set the cursor to "pointer" if you have click events attached
255
+ * to the series, to signal to the user that the points and lines can
256
+ * be clicked.
257
+ *
258
+ * In styled mode, the series cursor can be set with the same classes
259
+ * as listed under [series.color](#plotOptions.series.color).
260
+ *
261
+ * @sample {highcharts} highcharts/plotoptions/series-cursor-line/
262
+ * On line graph
263
+ * @sample {highcharts} highcharts/plotoptions/series-cursor-column/
264
+ * On columns
265
+ * @sample {highcharts} highcharts/plotoptions/series-cursor-scatter/
266
+ * On scatter markers
267
+ * @sample {highstock} stock/plotoptions/cursor/
268
+ * Pointer on a line graph
269
+ * @sample {highmaps} maps/plotoptions/series-allowpointselect/
270
+ * Map area
271
+ * @sample {highmaps} maps/plotoptions/mapbubble-allowpointselect/
272
+ * Map bubble
273
+ *
274
+ * @type {string|Highcharts.CursorValue}
275
+ * @apioption plotOptions.series.cursor
276
+ */
277
+ /**
278
+ * A reserved subspace to store options and values for customized
279
+ * functionality. Here you can add additional data for your own event
280
+ * callbacks and formatter callbacks.
281
+ *
282
+ * @sample {highcharts} highcharts/point/custom/
283
+ * Point and series with custom data
284
+ *
285
+ * @type {Highcharts.Dictionary<*>}
286
+ * @apioption plotOptions.series.custom
287
+ */
288
+ /**
289
+ * Name of the dash style to use for the graph, or for some series types
290
+ * the outline of each shape.
291
+ *
292
+ * In styled mode, the
293
+ * [stroke dash-array](https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/css/series-dashstyle/)
294
+ * can be set with the same classes as listed under
295
+ * [series.color](#plotOptions.series.color).
296
+ *
297
+ * @sample {highcharts} highcharts/plotoptions/series-dashstyle-all/
298
+ * Possible values demonstrated
299
+ * @sample {highcharts} highcharts/plotoptions/series-dashstyle/
300
+ * Chart suitable for printing in black and white
301
+ * @sample {highstock} highcharts/plotoptions/series-dashstyle-all/
302
+ * Possible values demonstrated
303
+ * @sample {highmaps} highcharts/plotoptions/series-dashstyle-all/
304
+ * Possible values demonstrated
305
+ * @sample {highmaps} maps/plotoptions/series-dashstyle/
306
+ * Dotted borders on a map
307
+ *
308
+ * @type {Highcharts.DashStyleValue}
309
+ * @default Solid
310
+ * @since 2.1
311
+ * @apioption plotOptions.series.dashStyle
312
+ */
313
+ /**
314
+ * A description of the series to add to the screen reader information
315
+ * about the series.
316
+ *
317
+ * @type {string}
318
+ * @since 5.0.0
319
+ * @requires modules/accessibility
320
+ * @apioption plotOptions.series.description
321
+ */
322
+ /**
323
+ * Options for the series data sorting.
324
+ *
325
+ * @type {Highcharts.DataSortingOptionsObject}
326
+ * @since 8.0.0
327
+ * @product highcharts highstock
328
+ * @apioption plotOptions.series.dataSorting
329
+ */
330
+ /**
331
+ * Enable or disable data sorting for the series. Use [xAxis.reversed](
332
+ * #xAxis.reversed) to change the sorting order.
333
+ *
334
+ * @sample {highcharts} highcharts/datasorting/animation/
335
+ * Data sorting in scatter-3d
336
+ * @sample {highcharts} highcharts/datasorting/labels-animation/
337
+ * Axis labels animation
338
+ * @sample {highcharts} highcharts/datasorting/dependent-sorting/
339
+ * Dependent series sorting
340
+ * @sample {highcharts} highcharts/datasorting/independent-sorting/
341
+ * Independent series sorting
342
+ *
343
+ * @type {boolean}
344
+ * @since 8.0.0
345
+ * @apioption plotOptions.series.dataSorting.enabled
346
+ */
347
+ /**
348
+ * Whether to allow matching points by name in an update. If this option
349
+ * is disabled, points will be matched by order.
350
+ *
351
+ * @sample {highcharts} highcharts/datasorting/match-by-name/
352
+ * Enabled match by name
353
+ *
354
+ * @type {boolean}
355
+ * @since 8.0.0
356
+ * @apioption plotOptions.series.dataSorting.matchByName
357
+ */
358
+ /**
359
+ * Determines what data value should be used to sort by.
360
+ *
361
+ * @sample {highcharts} highcharts/datasorting/sort-key/
362
+ * Sort key as `z` value
363
+ *
364
+ * @type {string}
365
+ * @since 8.0.0
366
+ * @default y
367
+ * @apioption plotOptions.series.dataSorting.sortKey
368
+ */
369
+ /**
370
+ * Enable or disable the mouse tracking for a specific series. This
371
+ * includes point tooltips and click events on graphs and points. For
372
+ * large datasets it improves performance.
373
+ *
374
+ * @sample {highcharts} highcharts/plotoptions/series-enablemousetracking-false/
375
+ * No mouse tracking
376
+ * @sample {highmaps} maps/plotoptions/series-enablemousetracking-false/
377
+ * No mouse tracking
378
+ *
379
+ * @type {boolean}
380
+ * @default true
381
+ * @apioption plotOptions.series.enableMouseTracking
382
+ */
383
+ /**
384
+ * Whether to use the Y extremes of the total chart width or only the
385
+ * zoomed area when zooming in on parts of the X axis. By default, the
386
+ * Y axis adjusts to the min and max of the visible data. Cartesian
387
+ * series only.
388
+ *
389
+ * @type {boolean}
390
+ * @default false
391
+ * @since 4.1.6
392
+ * @product highcharts highstock gantt
393
+ * @apioption plotOptions.series.getExtremesFromAll
394
+ */
395
+ /**
396
+ * An array specifying which option maps to which key in the data point
397
+ * array. This makes it convenient to work with unstructured data arrays
398
+ * from different sources.
399
+ *
400
+ * @see [series.data](#series.line.data)
401
+ *
402
+ * @sample {highcharts|highstock} highcharts/series/data-keys/
403
+ * An extended data array with keys
404
+ * @sample {highcharts|highstock} highcharts/series/data-nested-keys/
405
+ * Nested keys used to access object properties
406
+ *
407
+ * @type {Array<string>}
408
+ * @since 4.1.6
409
+ * @apioption plotOptions.series.keys
410
+ */
411
+ /**
412
+ * The line cap used for line ends and line joins on the graph.
413
+ *
414
+ * @type {Highcharts.SeriesLinecapValue}
415
+ * @default round
416
+ * @product highcharts highstock
417
+ * @apioption plotOptions.series.linecap
418
+ */
419
+ /**
420
+ * The [id](#series.id) of another series to link to. Additionally,
421
+ * the value can be ":previous" to link to the previous series. When
422
+ * two series are linked, only the first one appears in the legend.
423
+ * Toggling the visibility of this also toggles the linked series.
424
+ *
425
+ * If master series uses data sorting and linked series does not have
426
+ * its own sorting definition, the linked series will be sorted in the
427
+ * same order as the master one.
428
+ *
429
+ * @sample {highcharts|highstock} highcharts/demo/arearange-line/
430
+ * Linked series
431
+ *
432
+ * @type {string}
433
+ * @since 3.0
434
+ * @product highcharts highstock gantt
435
+ * @apioption plotOptions.series.linkedTo
436
+ */
437
+ /**
438
+ * Options for the corresponding navigator series if `showInNavigator`
439
+ * is `true` for this series. Available options are the same as any
440
+ * series, documented at [plotOptions](#plotOptions.series) and
441
+ * [series](#series).
442
+ *
443
+ * These options are merged with options in [navigator.series](
444
+ * #navigator.series), and will take precedence if the same option is
445
+ * defined both places.
446
+ *
447
+ * @see [navigator.series](#navigator.series)
448
+ *
449
+ * @type {Highcharts.PlotSeriesOptions}
450
+ * @since 5.0.0
451
+ * @product highstock
452
+ * @apioption plotOptions.series.navigatorOptions
453
+ */
454
+ /**
455
+ * The color for the parts of the graph or points that are below the
456
+ * [threshold](#plotOptions.series.threshold). Note that `zones` takes
457
+ * precedence over the negative color. Using `negativeColor` is
458
+ * equivalent to applying a zone with value of 0.
459
+ *
460
+ * @see In styled mode, a negative color is applied by setting this option
461
+ * to `true` combined with the `.highcharts-negative` class name.
462
+ *
463
+ * @sample {highcharts} highcharts/plotoptions/series-negative-color/
464
+ * Spline, area and column
465
+ * @sample {highcharts} highcharts/plotoptions/arearange-negativecolor/
466
+ * Arearange
467
+ * @sample {highcharts} highcharts/css/series-negative-color/
468
+ * Styled mode
469
+ * @sample {highstock} highcharts/plotoptions/series-negative-color/
470
+ * Spline, area and column
471
+ * @sample {highstock} highcharts/plotoptions/arearange-negativecolor/
472
+ * Arearange
473
+ * @sample {highmaps} highcharts/plotoptions/series-negative-color/
474
+ * Spline, area and column
475
+ * @sample {highmaps} highcharts/plotoptions/arearange-negativecolor/
476
+ * Arearange
477
+ *
478
+ * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
479
+ * @since 3.0
480
+ * @apioption plotOptions.series.negativeColor
481
+ */
482
+ /**
483
+ * Same as
484
+ * [accessibility.series.descriptionFormatter](#accessibility.series.descriptionFormatter),
485
+ * but for an individual series. Overrides the chart wide configuration.
486
+ *
487
+ * @type {Function}
488
+ * @since 5.0.12
489
+ * @apioption plotOptions.series.pointDescriptionFormatter
490
+ */
491
+ /**
492
+ * If no x values are given for the points in a series, `pointInterval`
493
+ * defines the interval of the x values. For example, if a series
494
+ * contains one value every decade starting from year 0, set
495
+ * `pointInterval` to `10`. In true `datetime` axes, the `pointInterval`
496
+ * is set in milliseconds.
497
+ *
498
+ * It can be also be combined with `pointIntervalUnit` to draw irregular
499
+ * time intervals.
500
+ *
501
+ * If combined with `relativeXValue`, an x value can be set on each
502
+ * point, and the `pointInterval` is added x times to the `pointStart`
503
+ * setting.
504
+ *
505
+ * Please note that this options applies to the _series data_, not the
506
+ * interval of the axis ticks, which is independent.
507
+ *
508
+ * @sample {highcharts} highcharts/plotoptions/series-pointstart-datetime/
509
+ * Datetime X axis
510
+ * @sample {highcharts} highcharts/plotoptions/series-relativexvalue/
511
+ * Relative x value
512
+ * @sample {highstock} stock/plotoptions/pointinterval-pointstart/
513
+ * Using pointStart and pointInterval
514
+ * @sample {highstock} stock/plotoptions/relativexvalue/
515
+ * Relative x value
516
+ *
517
+ * @type {number}
518
+ * @default 1
519
+ * @product highcharts highstock gantt
520
+ * @apioption plotOptions.series.pointInterval
521
+ */
522
+ /**
523
+ * On datetime series, this allows for setting the
524
+ * [pointInterval](#plotOptions.series.pointInterval) to irregular time
525
+ * units, `day`, `month` and `year`. A day is usually the same as 24
526
+ * hours, but `pointIntervalUnit` also takes the DST crossover into
527
+ * consideration when dealing with local time. Combine this option with
528
+ * `pointInterval` to draw weeks, quarters, 6 months, 10 years etc.
529
+ *
530
+ * Please note that this options applies to the _series data_, not the
531
+ * interval of the axis ticks, which is independent.
532
+ *
533
+ * @sample {highcharts} highcharts/plotoptions/series-pointintervalunit/
534
+ * One point a month
535
+ * @sample {highstock} highcharts/plotoptions/series-pointintervalunit/
536
+ * One point a month
537
+ *
538
+ * @type {string}
539
+ * @since 4.1.0
540
+ * @product highcharts highstock gantt
541
+ * @validvalue ["day", "month", "year"]
542
+ * @apioption plotOptions.series.pointIntervalUnit
543
+ */
544
+ /**
545
+ * Possible values: `"on"`, `"between"`, `number`.
546
+ *
547
+ * In a column chart, when pointPlacement is `"on"`, the point will not
548
+ * create any padding of the X axis. In a polar column chart this means
549
+ * that the first column points directly north. If the pointPlacement is
550
+ * `"between"`, the columns will be laid out between ticks. This is
551
+ * useful for example for visualising an amount between two points in
552
+ * time or in a certain sector of a polar chart.
553
+ *
554
+ * Since Highcharts 3.0.2, the point placement can also be numeric,
555
+ * where 0 is on the axis value, -0.5 is between this value and the
556
+ * previous, and 0.5 is between this value and the next. Unlike the
557
+ * textual options, numeric point placement options won't affect axis
558
+ * padding.
559
+ *
560
+ * Note that pointPlacement needs a [pointRange](
561
+ * #plotOptions.series.pointRange) to work. For column series this is
562
+ * computed, but for line-type series it needs to be set.
563
+ *
564
+ * For the `xrange` series type and gantt charts, if the Y axis is a
565
+ * category axis, the `pointPlacement` applies to the Y axis rather than
566
+ * the (typically datetime) X axis.
567
+ *
568
+ * Defaults to `undefined` in cartesian charts, `"between"` in polar
569
+ * charts.
570
+ *
571
+ * @see [xAxis.tickmarkPlacement](#xAxis.tickmarkPlacement)
572
+ *
573
+ * @sample {highcharts|highstock} highcharts/plotoptions/series-pointplacement-between/
574
+ * Between in a column chart
575
+ * @sample {highcharts|highstock} highcharts/plotoptions/series-pointplacement-numeric/
576
+ * Numeric placement for custom layout
577
+ * @sample {highcharts|highstock} maps/plotoptions/heatmap-pointplacement/
578
+ * Placement in heatmap
579
+ *
580
+ * @type {string|number}
581
+ * @since 2.3.0
582
+ * @product highcharts highstock gantt
583
+ * @apioption plotOptions.series.pointPlacement
584
+ */
585
+ /**
586
+ * If no x values are given for the points in a series, pointStart
587
+ * defines on what value to start. For example, if a series contains one
588
+ * yearly value starting from 1945, set pointStart to 1945.
589
+ *
590
+ * If combined with `relativeXValue`, an x value can be set on each
591
+ * point. The x value from the point options is multiplied by
592
+ * `pointInterval` and added to `pointStart` to produce a modified x
593
+ * value.
594
+ *
595
+ * @sample {highcharts} highcharts/plotoptions/series-pointstart-linear/
596
+ * Linear
597
+ * @sample {highcharts} highcharts/plotoptions/series-pointstart-datetime/
598
+ * Datetime
599
+ * @sample {highcharts} highcharts/plotoptions/series-relativexvalue/
600
+ * Relative x value
601
+ * @sample {highstock} stock/plotoptions/pointinterval-pointstart/
602
+ * Using pointStart and pointInterval
603
+ * @sample {highstock} stock/plotoptions/relativexvalue/
604
+ * Relative x value
605
+ *
606
+ * @type {number}
607
+ * @default 0
608
+ * @product highcharts highstock gantt
609
+ * @apioption plotOptions.series.pointStart
610
+ */
611
+ /**
612
+ * When true, X values in the data set are relative to the current
613
+ * `pointStart`, `pointInterval` and `pointIntervalUnit` settings. This
614
+ * allows compression of the data for datasets with irregular X values.
615
+ *
616
+ * The real X values are computed on the formula `f(x) = ax + b`, where
617
+ * `a` is the `pointInterval` (optionally with a time unit given by
618
+ * `pointIntervalUnit`), and `b` is the `pointStart`.
619
+ *
620
+ * @sample {highcharts} highcharts/plotoptions/series-relativexvalue/
621
+ * Relative X value
622
+ * @sample {highstock} stock/plotoptions/relativexvalue/
623
+ * Relative X value
624
+ *
625
+ * @type {boolean}
626
+ * @default false
627
+ * @product highcharts highstock
628
+ * @apioption plotOptions.series.relativeXValue
629
+ */
630
+ /**
631
+ * Whether to select the series initially. If `showCheckbox` is true,
632
+ * the checkbox next to the series name in the legend will be checked
633
+ * for a selected series.
634
+ *
635
+ * @sample {highcharts} highcharts/plotoptions/series-selected/
636
+ * One out of two series selected
637
+ *
638
+ * @type {boolean}
639
+ * @default false
640
+ * @since 1.2.0
641
+ * @apioption plotOptions.series.selected
642
+ */
643
+ /**
644
+ * Whether to apply a drop shadow to the graph line. Since 2.3 the
645
+ * shadow can be an object configuration containing `color`, `offsetX`,
646
+ * `offsetY`, `opacity` and `width`.
647
+ *
648
+ * @sample {highcharts} highcharts/plotoptions/series-shadow/
649
+ * Shadow enabled
650
+ *
651
+ * @type {boolean|Highcharts.ShadowOptionsObject}
652
+ * @default false
653
+ * @apioption plotOptions.series.shadow
654
+ */
655
+ /**
656
+ * Whether to display this particular series or series type in the
657
+ * legend. Standalone series are shown in legend by default, and linked
658
+ * series are not. Since v7.2.0 it is possible to show series that use
659
+ * colorAxis by setting this option to `true`.
660
+ *
661
+ * @sample {highcharts} highcharts/plotoptions/series-showinlegend/
662
+ * One series in the legend, one hidden
663
+ *
664
+ * @type {boolean}
665
+ * @apioption plotOptions.series.showInLegend
666
+ */
667
+ /**
668
+ * Whether or not to show the series in the navigator. Takes precedence
669
+ * over [navigator.baseSeries](#navigator.baseSeries) if defined.
670
+ *
671
+ * @type {boolean}
672
+ * @since 5.0.0
673
+ * @product highstock
674
+ * @apioption plotOptions.series.showInNavigator
675
+ */
676
+ /**
677
+ * If set to `true`, the accessibility module will skip past the points
678
+ * in this series for keyboard navigation.
679
+ *
680
+ * @type {boolean}
681
+ * @since 5.0.12
682
+ * @apioption plotOptions.series.skipKeyboardNavigation
683
+ */
684
+ /**
685
+ * Whether to stack the values of each series on top of each other.
686
+ * Possible values are `undefined` to disable, `"normal"` to stack by
687
+ * value or `"percent"`.
688
+ *
689
+ * When stacking is enabled, data must be sorted
690
+ * in ascending X order.
691
+ *
692
+ * Some stacking options are related to specific series types. In the
693
+ * streamgraph series type, the stacking option is set to `"stream"`.
694
+ * The second one is `"overlap"`, which only applies to waterfall
695
+ * series.
696
+ *
697
+ * @see [yAxis.reversedStacks](#yAxis.reversedStacks)
698
+ *
699
+ * @sample {highcharts} highcharts/plotoptions/series-stacking-line/
700
+ * Line
701
+ * @sample {highcharts} highcharts/plotoptions/series-stacking-column/
702
+ * Column
703
+ * @sample {highcharts} highcharts/plotoptions/series-stacking-bar/
704
+ * Bar
705
+ * @sample {highcharts} highcharts/plotoptions/series-stacking-area/
706
+ * Area
707
+ * @sample {highcharts} highcharts/plotoptions/series-stacking-percent-line/
708
+ * Line
709
+ * @sample {highcharts} highcharts/plotoptions/series-stacking-percent-column/
710
+ * Column
711
+ * @sample {highcharts} highcharts/plotoptions/series-stacking-percent-bar/
712
+ * Bar
713
+ * @sample {highcharts} highcharts/plotoptions/series-stacking-percent-area/
714
+ * Area
715
+ * @sample {highcharts} highcharts/plotoptions/series-waterfall-with-normal-stacking
716
+ * Waterfall with normal stacking
717
+ * @sample {highcharts} highcharts/plotoptions/series-waterfall-with-overlap-stacking
718
+ * Waterfall with overlap stacking
719
+ * @sample {highstock} stock/plotoptions/stacking/
720
+ * Area
721
+ *
722
+ * @type {string}
723
+ * @product highcharts highstock
724
+ * @validvalue ["normal", "overlap", "percent", "stream"]
725
+ * @apioption plotOptions.series.stacking
726
+ */
727
+ /**
728
+ * Whether to apply steps to the line. Possible values are `left`,
729
+ * `center` and `right`.
730
+ *
731
+ * @sample {highcharts} highcharts/plotoptions/line-step/
732
+ * Different step line options
733
+ * @sample {highcharts} highcharts/plotoptions/area-step/
734
+ * Stepped, stacked area
735
+ * @sample {highstock} stock/plotoptions/line-step/
736
+ * Step line
737
+ *
738
+ * @type {string}
739
+ * @since 1.2.5
740
+ * @product highcharts highstock
741
+ * @validvalue ["left", "center", "right"]
742
+ * @apioption plotOptions.series.step
743
+ */
744
+ /**
745
+ * The threshold, also called zero level or base level. For line type
746
+ * series this is only used in conjunction with
747
+ * [negativeColor](#plotOptions.series.negativeColor).
748
+ *
749
+ * @see [softThreshold](#plotOptions.series.softThreshold).
750
+ *
751
+ * @type {number|null}
752
+ * @default 0
753
+ * @since 3.0
754
+ * @product highcharts highstock
755
+ * @apioption plotOptions.series.threshold
756
+ */
757
+ /**
758
+ * Set the initial visibility of the series.
759
+ *
760
+ * @sample {highcharts} highcharts/plotoptions/series-visible/
761
+ * Two series, one hidden and one visible
762
+ * @sample {highstock} stock/plotoptions/series-visibility/
763
+ * Hidden series
764
+ *
765
+ * @type {boolean}
766
+ * @default true
767
+ * @apioption plotOptions.series.visible
768
+ */
769
+ /**
770
+ * Defines the Axis on which the zones are applied.
771
+ *
772
+ * @see [zones](#plotOptions.series.zones)
773
+ *
774
+ * @sample {highcharts} highcharts/series/color-zones-zoneaxis-x/
775
+ * Zones on the X-Axis
776
+ * @sample {highstock} highcharts/series/color-zones-zoneaxis-x/
777
+ * Zones on the X-Axis
778
+ *
779
+ * @type {string}
780
+ * @default y
781
+ * @since 4.1.0
782
+ * @product highcharts highstock
783
+ * @apioption plotOptions.series.zoneAxis
784
+ */
785
+ /**
786
+ * General event handlers for the series items. These event hooks can
787
+ * also be attached to the series at run time using the
788
+ * `Highcharts.addEvent` function.
789
+ *
790
+ * @declare Highcharts.SeriesEventsOptionsObject
791
+ *
792
+ * @private
793
+ */
794
+ events: {},
795
+ /**
796
+ * Fires after the series has finished its initial animation, or in case
797
+ * animation is disabled, immediately as the series is displayed.
798
+ *
799
+ * @sample {highcharts} highcharts/plotoptions/series-events-afteranimate/
800
+ * Show label after animate
801
+ * @sample {highstock} highcharts/plotoptions/series-events-afteranimate/
802
+ * Show label after animate
803
+ *
804
+ * @type {Highcharts.SeriesAfterAnimateCallbackFunction}
805
+ * @since 4.0
806
+ * @product highcharts highstock gantt
807
+ * @context Highcharts.Series
808
+ * @apioption plotOptions.series.events.afterAnimate
809
+ */
810
+ /**
811
+ * Fires when the checkbox next to the series' name in the legend is
812
+ * clicked. One parameter, `event`, is passed to the function. The state
813
+ * of the checkbox is found by `event.checked`. The checked item is
814
+ * found by `event.item`. Return `false` to prevent the default action
815
+ * which is to toggle the select state of the series.
816
+ *
817
+ * @sample {highcharts} highcharts/plotoptions/series-events-checkboxclick/
818
+ * Alert checkbox status
819
+ *
820
+ * @type {Highcharts.SeriesCheckboxClickCallbackFunction}
821
+ * @since 1.2.0
822
+ * @context Highcharts.Series
823
+ * @apioption plotOptions.series.events.checkboxClick
824
+ */
825
+ /**
826
+ * Fires when the series is clicked. One parameter, `event`, is passed
827
+ * to the function, containing common event information. Additionally,
828
+ * `event.point` holds a pointer to the nearest point on the graph.
829
+ *
830
+ * @sample {highcharts} highcharts/plotoptions/series-events-click/
831
+ * Alert click info
832
+ * @sample {highstock} stock/plotoptions/series-events-click/
833
+ * Alert click info
834
+ * @sample {highmaps} maps/plotoptions/series-events-click/
835
+ * Display click info in subtitle
836
+ *
837
+ * @type {Highcharts.SeriesClickCallbackFunction}
838
+ * @context Highcharts.Series
839
+ * @apioption plotOptions.series.events.click
840
+ */
841
+ /**
842
+ * Fires when the series is hidden after chart generation time, either
843
+ * by clicking the legend item or by calling `.hide()`.
844
+ *
845
+ * @sample {highcharts} highcharts/plotoptions/series-events-hide/
846
+ * Alert when the series is hidden by clicking the legend item
847
+ *
848
+ * @type {Highcharts.SeriesHideCallbackFunction}
849
+ * @since 1.2.0
850
+ * @context Highcharts.Series
851
+ * @apioption plotOptions.series.events.hide
852
+ */
853
+ /**
854
+ * Fires when the legend item belonging to the series is clicked. One
855
+ * parameter, `event`, is passed to the function. The default action
856
+ * is to toggle the visibility of the series. This can be prevented
857
+ * by returning `false` or calling `event.preventDefault()`.
858
+ *
859
+ * @sample {highcharts} highcharts/plotoptions/series-events-legenditemclick/
860
+ * Confirm hiding and showing
861
+ *
862
+ * @type {Highcharts.SeriesLegendItemClickCallbackFunction}
863
+ * @context Highcharts.Series
864
+ * @apioption plotOptions.series.events.legendItemClick
865
+ */
866
+ /**
867
+ * Fires when the mouse leaves the graph. One parameter, `event`, is
868
+ * passed to the function, containing common event information. If the
869
+ * [stickyTracking](#plotOptions.series) option is true, `mouseOut`
870
+ * doesn't happen before the mouse enters another graph or leaves the
871
+ * plot area.
872
+ *
873
+ * @sample {highcharts} highcharts/plotoptions/series-events-mouseover-sticky/
874
+ * With sticky tracking by default
875
+ * @sample {highcharts} highcharts/plotoptions/series-events-mouseover-no-sticky/
876
+ * Without sticky tracking
877
+ *
878
+ * @type {Highcharts.SeriesMouseOutCallbackFunction}
879
+ * @context Highcharts.Series
880
+ * @apioption plotOptions.series.events.mouseOut
881
+ */
882
+ /**
883
+ * Fires when the mouse enters the graph. One parameter, `event`, is
884
+ * passed to the function, containing common event information.
885
+ *
886
+ * @sample {highcharts} highcharts/plotoptions/series-events-mouseover-sticky/
887
+ * With sticky tracking by default
888
+ * @sample {highcharts} highcharts/plotoptions/series-events-mouseover-no-sticky/
889
+ * Without sticky tracking
890
+ *
891
+ * @type {Highcharts.SeriesMouseOverCallbackFunction}
892
+ * @context Highcharts.Series
893
+ * @apioption plotOptions.series.events.mouseOver
894
+ */
895
+ /**
896
+ * Fires when the series is shown after chart generation time, either
897
+ * by clicking the legend item or by calling `.show()`.
898
+ *
899
+ * @sample {highcharts} highcharts/plotoptions/series-events-show/
900
+ * Alert when the series is shown by clicking the legend item.
901
+ *
902
+ * @type {Highcharts.SeriesShowCallbackFunction}
903
+ * @since 1.2.0
904
+ * @context Highcharts.Series
905
+ * @apioption plotOptions.series.events.show
906
+ */
907
+ /**
908
+ * Options for the point markers of line-like series. Properties like
909
+ * `fillColor`, `lineColor` and `lineWidth` define the visual appearance
910
+ * of the markers. Other series types, like column series, don't have
911
+ * markers, but have visual options on the series level instead.
912
+ *
913
+ * In styled mode, the markers can be styled with the
914
+ * `.highcharts-point`, `.highcharts-point-hover` and
915
+ * `.highcharts-point-select` class names.
916
+ *
917
+ * @declare Highcharts.PointMarkerOptionsObject
918
+ *
919
+ * @private
920
+ */
921
+ marker: {
922
+ /**
923
+ * Enable or disable the point marker. If `undefined`, the markers
924
+ * are hidden when the data is dense, and shown for more widespread
925
+ * data points.
926
+ *
927
+ * @sample {highcharts} highcharts/plotoptions/series-marker-enabled/
928
+ * Disabled markers
929
+ * @sample {highcharts} highcharts/plotoptions/series-marker-enabled-false/
930
+ * Disabled in normal state but enabled on hover
931
+ * @sample {highstock} stock/plotoptions/series-marker/
932
+ * Enabled markers
933
+ *
934
+ * @type {boolean}
935
+ * @default {highcharts} undefined
936
+ * @default {highstock} false
937
+ * @apioption plotOptions.series.marker.enabled
938
+ */
939
+ /**
940
+ * The threshold for how dense the point markers should be before
941
+ * they are hidden, given that `enabled` is not defined. The number
942
+ * indicates the horizontal distance between the two closest points
943
+ * in the series, as multiples of the `marker.radius`. In other
944
+ * words, the default value of 2 means points are hidden if
945
+ * overlapping horizontally.
946
+ *
947
+ * @sample highcharts/plotoptions/series-marker-enabledthreshold
948
+ * A higher threshold
949
+ *
950
+ * @since 6.0.5
951
+ */
952
+ enabledThreshold: 2,
953
+ /**
954
+ * The fill color of the point marker. When `undefined`, the series'
955
+ * or point's color is used.
956
+ *
957
+ * @sample {highcharts} highcharts/plotoptions/series-marker-fillcolor/
958
+ * White fill
959
+ *
960
+ * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
961
+ * @apioption plotOptions.series.marker.fillColor
962
+ */
963
+ /**
964
+ * Image markers only. Set the image width explicitly. When using
965
+ * this option, a `width` must also be set.
966
+ *
967
+ * @sample {highcharts} highcharts/plotoptions/series-marker-width-height/
968
+ * Fixed width and height
969
+ * @sample {highstock} highcharts/plotoptions/series-marker-width-height/
970
+ * Fixed width and height
971
+ *
972
+ * @type {number}
973
+ * @since 4.0.4
974
+ * @apioption plotOptions.series.marker.height
975
+ */
976
+ /**
977
+ * The color of the point marker's outline. When `undefined`, the
978
+ * series' or point's color is used.
979
+ *
980
+ * @sample {highcharts} highcharts/plotoptions/series-marker-fillcolor/
981
+ * Inherit from series color (undefined)
982
+ *
983
+ * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
984
+ */
985
+ lineColor: Palette.backgroundColor,
986
+ /**
987
+ * The width of the point marker's outline.
988
+ *
989
+ * @sample {highcharts} highcharts/plotoptions/series-marker-fillcolor/
990
+ * 2px blue marker
991
+ */
992
+ lineWidth: 0,
993
+ /**
994
+ * The radius of the point marker.
995
+ *
996
+ * @sample {highcharts} highcharts/plotoptions/series-marker-radius/
997
+ * Bigger markers
998
+ *
999
+ * @default {highstock} 2
1000
+ * @default {highcharts} 4
1001
+ *
1002
+ */
1003
+ radius: 4,
1004
+ /**
1005
+ * A predefined shape or symbol for the marker. When undefined, the
1006
+ * symbol is pulled from options.symbols. Other possible values are
1007
+ * `'circle'`, `'square'`,`'diamond'`, `'triangle'` and
1008
+ * `'triangle-down'`.
1009
+ *
1010
+ * Additionally, the URL to a graphic can be given on this form:
1011
+ * `'url(graphic.png)'`. Note that for the image to be applied to
1012
+ * exported charts, its URL needs to be accessible by the export
1013
+ * server.
1014
+ *
1015
+ * Custom callbacks for symbol path generation can also be added to
1016
+ * `Highcharts.SVGRenderer.prototype.symbols`. The callback is then
1017
+ * used by its method name, as shown in the demo.
1018
+ *
1019
+ * @sample {highcharts} highcharts/plotoptions/series-marker-symbol/
1020
+ * Predefined, graphic and custom markers
1021
+ * @sample {highstock} highcharts/plotoptions/series-marker-symbol/
1022
+ * Predefined, graphic and custom markers
1023
+ *
1024
+ * @type {string}
1025
+ * @apioption plotOptions.series.marker.symbol
1026
+ */
1027
+ /**
1028
+ * Image markers only. Set the image width explicitly. When using
1029
+ * this option, a `height` must also be set.
1030
+ *
1031
+ * @sample {highcharts} highcharts/plotoptions/series-marker-width-height/
1032
+ * Fixed width and height
1033
+ * @sample {highstock} highcharts/plotoptions/series-marker-width-height/
1034
+ * Fixed width and height
1035
+ *
1036
+ * @type {number}
1037
+ * @since 4.0.4
1038
+ * @apioption plotOptions.series.marker.width
1039
+ */
1040
+ /**
1041
+ * States for a single point marker.
1042
+ *
1043
+ * @declare Highcharts.PointStatesOptionsObject
1044
+ */
1045
+ states: {
1046
+ /**
1047
+ * The normal state of a single point marker. Currently only
1048
+ * used for setting animation when returning to normal state
1049
+ * from hover.
1050
+ *
1051
+ * @declare Highcharts.PointStatesNormalOptionsObject
1052
+ */
1053
+ normal: {
1054
+ /**
1055
+ * Animation when returning to normal state after hovering.
1056
+ *
1057
+ * @type {boolean|Partial<Highcharts.AnimationOptionsObject>}
1058
+ */
1059
+ animation: true
1060
+ },
1061
+ /**
1062
+ * The hover state for a single point marker.
1063
+ *
1064
+ * @declare Highcharts.PointStatesHoverOptionsObject
1065
+ */
1066
+ hover: {
1067
+ /**
1068
+ * Animation when hovering over the marker.
1069
+ *
1070
+ * @type {boolean|Partial<Highcharts.AnimationOptionsObject>}
1071
+ */
1072
+ animation: {
1073
+ /** @internal */
1074
+ duration: 50
1075
+ },
1076
+ /**
1077
+ * Enable or disable the point marker.
1078
+ *
1079
+ * @sample {highcharts} highcharts/plotoptions/series-marker-states-hover-enabled/
1080
+ * Disabled hover state
1081
+ */
1082
+ enabled: true,
1083
+ /**
1084
+ * The fill color of the marker in hover state. When
1085
+ * `undefined`, the series' or point's fillColor for normal
1086
+ * state is used.
1087
+ *
1088
+ * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
1089
+ * @apioption plotOptions.series.marker.states.hover.fillColor
1090
+ */
1091
+ /**
1092
+ * The color of the point marker's outline. When
1093
+ * `undefined`, the series' or point's lineColor for normal
1094
+ * state is used.
1095
+ *
1096
+ * @sample {highcharts} highcharts/plotoptions/series-marker-states-hover-linecolor/
1097
+ * White fill color, black line color
1098
+ *
1099
+ * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
1100
+ * @apioption plotOptions.series.marker.states.hover.lineColor
1101
+ */
1102
+ /**
1103
+ * The width of the point marker's outline. When
1104
+ * `undefined`, the series' or point's lineWidth for normal
1105
+ * state is used.
1106
+ *
1107
+ * @sample {highcharts} highcharts/plotoptions/series-marker-states-hover-linewidth/
1108
+ * 3px line width
1109
+ *
1110
+ * @type {number}
1111
+ * @apioption plotOptions.series.marker.states.hover.lineWidth
1112
+ */
1113
+ /**
1114
+ * The radius of the point marker. In hover state, it
1115
+ * defaults to the normal state's radius + 2 as per the
1116
+ * [radiusPlus](#plotOptions.series.marker.states.hover.radiusPlus)
1117
+ * option.
1118
+ *
1119
+ * @sample {highcharts} highcharts/plotoptions/series-marker-states-hover-radius/
1120
+ * 10px radius
1121
+ *
1122
+ * @type {number}
1123
+ * @apioption plotOptions.series.marker.states.hover.radius
1124
+ */
1125
+ /**
1126
+ * The number of pixels to increase the radius of the
1127
+ * hovered point.
1128
+ *
1129
+ * @sample {highcharts} highcharts/plotoptions/series-states-hover-linewidthplus/
1130
+ * 5 pixels greater radius on hover
1131
+ * @sample {highstock} highcharts/plotoptions/series-states-hover-linewidthplus/
1132
+ * 5 pixels greater radius on hover
1133
+ *
1134
+ * @since 4.0.3
1135
+ */
1136
+ radiusPlus: 2,
1137
+ /**
1138
+ * The additional line width for a hovered point.
1139
+ *
1140
+ * @sample {highcharts} highcharts/plotoptions/series-states-hover-linewidthplus/
1141
+ * 2 pixels wider on hover
1142
+ * @sample {highstock} highcharts/plotoptions/series-states-hover-linewidthplus/
1143
+ * 2 pixels wider on hover
1144
+ *
1145
+ * @since 4.0.3
1146
+ */
1147
+ lineWidthPlus: 1
1148
+ },
1149
+ /**
1150
+ * The appearance of the point marker when selected. In order to
1151
+ * allow a point to be selected, set the
1152
+ * `series.allowPointSelect` option to true.
1153
+ *
1154
+ * @declare Highcharts.PointStatesSelectOptionsObject
1155
+ */
1156
+ select: {
1157
+ /**
1158
+ * Enable or disable visible feedback for selection.
1159
+ *
1160
+ * @sample {highcharts} highcharts/plotoptions/series-marker-states-select-enabled/
1161
+ * Disabled select state
1162
+ *
1163
+ * @type {boolean}
1164
+ * @default true
1165
+ * @apioption plotOptions.series.marker.states.select.enabled
1166
+ */
1167
+ /**
1168
+ * The radius of the point marker. In hover state, it
1169
+ * defaults to the normal state's radius + 2.
1170
+ *
1171
+ * @sample {highcharts} highcharts/plotoptions/series-marker-states-select-radius/
1172
+ * 10px radius for selected points
1173
+ *
1174
+ * @type {number}
1175
+ * @apioption plotOptions.series.marker.states.select.radius
1176
+ */
1177
+ /**
1178
+ * The fill color of the point marker.
1179
+ *
1180
+ * @sample {highcharts} highcharts/plotoptions/series-marker-states-select-fillcolor/
1181
+ * Solid red discs for selected points
1182
+ *
1183
+ * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
1184
+ */
1185
+ fillColor: Palette.neutralColor20,
1186
+ /**
1187
+ * The color of the point marker's outline. When
1188
+ * `undefined`, the series' or point's color is used.
1189
+ *
1190
+ * @sample {highcharts} highcharts/plotoptions/series-marker-states-select-linecolor/
1191
+ * Red line color for selected points
1192
+ *
1193
+ * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
1194
+ */
1195
+ lineColor: Palette.neutralColor100,
1196
+ /**
1197
+ * The width of the point marker's outline.
1198
+ *
1199
+ * @sample {highcharts} highcharts/plotoptions/series-marker-states-select-linewidth/
1200
+ * 3px line width for selected points
1201
+ */
1202
+ lineWidth: 2
1203
+ }
1204
+ }
1205
+ },
1206
+ /**
1207
+ * Properties for each single point.
1208
+ *
1209
+ * @declare Highcharts.PlotSeriesPointOptions
1210
+ *
1211
+ * @private
1212
+ */
1213
+ point: {
1214
+ /**
1215
+ * Fires when a point is clicked. One parameter, `event`, is passed
1216
+ * to the function, containing common event information.
1217
+ *
1218
+ * If the `series.allowPointSelect` option is true, the default
1219
+ * action for the point's click event is to toggle the point's
1220
+ * select state. Returning `false` cancels this action.
1221
+ *
1222
+ * @sample {highcharts} highcharts/plotoptions/series-point-events-click/
1223
+ * Click marker to alert values
1224
+ * @sample {highcharts} highcharts/plotoptions/series-point-events-click-column/
1225
+ * Click column
1226
+ * @sample {highcharts} highcharts/plotoptions/series-point-events-click-url/
1227
+ * Go to URL
1228
+ * @sample {highmaps} maps/plotoptions/series-point-events-click/
1229
+ * Click marker to display values
1230
+ * @sample {highmaps} maps/plotoptions/series-point-events-click-url/
1231
+ * Go to URL
1232
+ *
1233
+ * @type {Highcharts.PointClickCallbackFunction}
1234
+ * @context Highcharts.Point
1235
+ * @apioption plotOptions.series.point.events.click
1236
+ */
1237
+ /**
1238
+ * Fires when the mouse leaves the area close to the point. One
1239
+ * parameter, `event`, is passed to the function, containing common
1240
+ * event information.
1241
+ *
1242
+ * @sample {highcharts} highcharts/plotoptions/series-point-events-mouseover/
1243
+ * Show values in the chart's corner on mouse over
1244
+ *
1245
+ * @type {Highcharts.PointMouseOutCallbackFunction}
1246
+ * @context Highcharts.Point
1247
+ * @apioption plotOptions.series.point.events.mouseOut
1248
+ */
1249
+ /**
1250
+ * Fires when the mouse enters the area close to the point. One
1251
+ * parameter, `event`, is passed to the function, containing common
1252
+ * event information.
1253
+ *
1254
+ * @sample {highcharts} highcharts/plotoptions/series-point-events-mouseover/
1255
+ * Show values in the chart's corner on mouse over
1256
+ *
1257
+ * @type {Highcharts.PointMouseOverCallbackFunction}
1258
+ * @context Highcharts.Point
1259
+ * @apioption plotOptions.series.point.events.mouseOver
1260
+ */
1261
+ /**
1262
+ * Fires when the point is removed using the `.remove()` method. One
1263
+ * parameter, `event`, is passed to the function. Returning `false`
1264
+ * cancels the operation.
1265
+ *
1266
+ * @sample {highcharts} highcharts/plotoptions/series-point-events-remove/
1267
+ * Remove point and confirm
1268
+ *
1269
+ * @type {Highcharts.PointRemoveCallbackFunction}
1270
+ * @since 1.2.0
1271
+ * @context Highcharts.Point
1272
+ * @apioption plotOptions.series.point.events.remove
1273
+ */
1274
+ /**
1275
+ * Fires when the point is selected either programmatically or
1276
+ * following a click on the point. One parameter, `event`, is passed
1277
+ * to the function. Returning `false` cancels the operation.
1278
+ *
1279
+ * @sample {highcharts} highcharts/plotoptions/series-point-events-select/
1280
+ * Report the last selected point
1281
+ * @sample {highmaps} maps/plotoptions/series-allowpointselect/
1282
+ * Report select and unselect
1283
+ *
1284
+ * @type {Highcharts.PointSelectCallbackFunction}
1285
+ * @since 1.2.0
1286
+ * @context Highcharts.Point
1287
+ * @apioption plotOptions.series.point.events.select
1288
+ */
1289
+ /**
1290
+ * Fires when the point is unselected either programmatically or
1291
+ * following a click on the point. One parameter, `event`, is passed
1292
+ * to the function.
1293
+ * Returning `false` cancels the operation.
1294
+ *
1295
+ * @sample {highcharts} highcharts/plotoptions/series-point-events-unselect/
1296
+ * Report the last unselected point
1297
+ * @sample {highmaps} maps/plotoptions/series-allowpointselect/
1298
+ * Report select and unselect
1299
+ *
1300
+ * @type {Highcharts.PointUnselectCallbackFunction}
1301
+ * @since 1.2.0
1302
+ * @context Highcharts.Point
1303
+ * @apioption plotOptions.series.point.events.unselect
1304
+ */
1305
+ /**
1306
+ * Fires when the point is updated programmatically through the
1307
+ * `.update()` method. One parameter, `event`, is passed to the
1308
+ * function. The new point options can be accessed through
1309
+ * `event.options`. Returning `false` cancels the operation.
1310
+ *
1311
+ * @sample {highcharts} highcharts/plotoptions/series-point-events-update/
1312
+ * Confirm point updating
1313
+ *
1314
+ * @type {Highcharts.PointUpdateCallbackFunction}
1315
+ * @since 1.2.0
1316
+ * @context Highcharts.Point
1317
+ * @apioption plotOptions.series.point.events.update
1318
+ */
1319
+ /**
1320
+ * Events for each single point.
1321
+ *
1322
+ * @declare Highcharts.PointEventsOptionsObject
1323
+ */
1324
+ events: {}
1325
+ },
1326
+ /**
1327
+ * Options for the series data labels, appearing next to each data
1328
+ * point.
1329
+ *
1330
+ * Since v6.2.0, multiple data labels can be applied to each single
1331
+ * point by defining them as an array of configs.
1332
+ *
1333
+ * In styled mode, the data labels can be styled with the
1334
+ * `.highcharts-data-label-box` and `.highcharts-data-label` class names
1335
+ * ([see example](https://www.highcharts.com/samples/highcharts/css/series-datalabels)).
1336
+ *
1337
+ * @sample {highcharts} highcharts/plotoptions/series-datalabels-enabled
1338
+ * Data labels enabled
1339
+ * @sample {highcharts} highcharts/plotoptions/series-datalabels-multiple
1340
+ * Multiple data labels on a bar series
1341
+ * @sample {highcharts} highcharts/css/series-datalabels
1342
+ * Style mode example
1343
+ *
1344
+ * @type {*|Array<*>}
1345
+ * @product highcharts highstock highmaps gantt
1346
+ *
1347
+ * @private
1348
+ */
1349
+ dataLabels: {
1350
+ /**
1351
+ * Enable or disable the initial animation when a series is
1352
+ * displayed for the `dataLabels`. The animation can also be set as
1353
+ * a configuration object. Please note that this option only
1354
+ * applies to the initial animation.
1355
+ * For other animations, see [chart.animation](#chart.animation)
1356
+ * and the animation parameter under the API methods.
1357
+ * The following properties are supported:
1358
+ *
1359
+ * - `defer`: The animation delay time in milliseconds.
1360
+ *
1361
+ * @sample {highcharts} highcharts/plotoptions/animation-defer/
1362
+ * Animation defer settings
1363
+ *
1364
+ * @type {boolean|Partial<Highcharts.AnimationOptionsObject>}
1365
+ * @since 8.2.0
1366
+ * @apioption plotOptions.series.dataLabels.animation
1367
+ */
1368
+ animation: {},
1369
+ /**
1370
+ * The animation delay time in milliseconds.
1371
+ * Set to `0` renders dataLabel immediately.
1372
+ * As `undefined` inherits defer time from the [series.animation.defer](#plotOptions.series.animation.defer).
1373
+ *
1374
+ * @type {number}
1375
+ * @since 8.2.0
1376
+ * @apioption plotOptions.series.dataLabels.animation.defer
1377
+ */
1378
+ /**
1379
+ * The alignment of the data label compared to the point. If
1380
+ * `right`, the right side of the label should be touching the
1381
+ * point. For points with an extent, like columns, the alignments
1382
+ * also dictates how to align it inside the box, as given with the
1383
+ * [inside](#plotOptions.column.dataLabels.inside)
1384
+ * option. Can be one of `left`, `center` or `right`.
1385
+ *
1386
+ * @sample {highcharts} highcharts/plotoptions/series-datalabels-align-left/
1387
+ * Left aligned
1388
+ * @sample {highcharts} highcharts/plotoptions/bar-datalabels-align-inside-bar/
1389
+ * Data labels inside the bar
1390
+ *
1391
+ * @type {Highcharts.AlignValue|null}
1392
+ */
1393
+ align: 'center',
1394
+ /**
1395
+ * Whether to allow data labels to overlap. To make the labels less
1396
+ * sensitive for overlapping, the
1397
+ * [dataLabels.padding](#plotOptions.series.dataLabels.padding)
1398
+ * can be set to 0.
1399
+ *
1400
+ * @sample {highcharts} highcharts/plotoptions/series-datalabels-allowoverlap-false/
1401
+ * Don't allow overlap
1402
+ *
1403
+ * @type {boolean}
1404
+ * @default false
1405
+ * @since 4.1.0
1406
+ * @apioption plotOptions.series.dataLabels.allowOverlap
1407
+ */
1408
+ /**
1409
+ * The background color or gradient for the data label.
1410
+ *
1411
+ * @sample {highcharts} highcharts/plotoptions/series-datalabels-box/
1412
+ * Data labels box options
1413
+ * @sample {highmaps} maps/plotoptions/series-datalabels-box/
1414
+ * Data labels box options
1415
+ *
1416
+ * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
1417
+ * @since 2.2.1
1418
+ * @apioption plotOptions.series.dataLabels.backgroundColor
1419
+ */
1420
+ /**
1421
+ * The border color for the data label. Defaults to `undefined`.
1422
+ *
1423
+ * @sample {highcharts} highcharts/plotoptions/series-datalabels-box/
1424
+ * Data labels box options
1425
+ *
1426
+ * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
1427
+ * @since 2.2.1
1428
+ * @apioption plotOptions.series.dataLabels.borderColor
1429
+ */
1430
+ /**
1431
+ * The border radius in pixels for the data label.
1432
+ *
1433
+ * @sample {highcharts} highcharts/plotoptions/series-datalabels-box/
1434
+ * Data labels box options
1435
+ * @sample {highmaps} maps/plotoptions/series-datalabels-box/
1436
+ * Data labels box options
1437
+ *
1438
+ * @type {number}
1439
+ * @default 0
1440
+ * @since 2.2.1
1441
+ * @apioption plotOptions.series.dataLabels.borderRadius
1442
+ */
1443
+ /**
1444
+ * The border width in pixels for the data label.
1445
+ *
1446
+ * @sample {highcharts} highcharts/plotoptions/series-datalabels-box/
1447
+ * Data labels box options
1448
+ *
1449
+ * @type {number}
1450
+ * @default 0
1451
+ * @since 2.2.1
1452
+ * @apioption plotOptions.series.dataLabels.borderWidth
1453
+ */
1454
+ /**
1455
+ * A class name for the data label. Particularly in styled mode,
1456
+ * this can be used to give each series' or point's data label
1457
+ * unique styling. In addition to this option, a default color class
1458
+ * name is added so that we can give the labels a contrast text
1459
+ * shadow.
1460
+ *
1461
+ * @sample {highcharts} highcharts/css/data-label-contrast/
1462
+ * Contrast text shadow
1463
+ * @sample {highcharts} highcharts/css/series-datalabels/
1464
+ * Styling by CSS
1465
+ *
1466
+ * @type {string}
1467
+ * @since 5.0.0
1468
+ * @apioption plotOptions.series.dataLabels.className
1469
+ */
1470
+ /**
1471
+ * The text color for the data labels. Defaults to `undefined`. For
1472
+ * certain series types, like column or map, the data labels can be
1473
+ * drawn inside the points. In this case the data label will be
1474
+ * drawn with maximum contrast by default. Additionally, it will be
1475
+ * given a `text-outline` style with the opposite color, to further
1476
+ * increase the contrast. This can be overridden by setting the
1477
+ * `text-outline` style to `none` in the `dataLabels.style` option.
1478
+ *
1479
+ * @sample {highcharts} highcharts/plotoptions/series-datalabels-color/
1480
+ * Red data labels
1481
+ * @sample {highmaps} maps/demo/color-axis/
1482
+ * White data labels
1483
+ *
1484
+ * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
1485
+ * @apioption plotOptions.series.dataLabels.color
1486
+ */
1487
+ /**
1488
+ * Whether to hide data labels that are outside the plot area. By
1489
+ * default, the data label is moved inside the plot area according
1490
+ * to the
1491
+ * [overflow](#plotOptions.series.dataLabels.overflow)
1492
+ * option.
1493
+ *
1494
+ * @type {boolean}
1495
+ * @default true
1496
+ * @since 2.3.3
1497
+ * @apioption plotOptions.series.dataLabels.crop
1498
+ */
1499
+ /**
1500
+ * Whether to defer displaying the data labels until the initial
1501
+ * series animation has finished. Setting to `false` renders the
1502
+ * data label immediately. If set to `true` inherits the defer
1503
+ * time set in [plotOptions.series.animation](#plotOptions.series.animation).
1504
+ * If set to a number, a defer time is specified in milliseconds.
1505
+ *
1506
+ * @sample highcharts/plotoptions/animation-defer
1507
+ * Set defer time
1508
+ *
1509
+ * @since 4.0.0
1510
+ * @type {boolean|number}
1511
+ * @product highcharts highstock gantt
1512
+ */
1513
+ defer: true,
1514
+ /**
1515
+ * Enable or disable the data labels.
1516
+ *
1517
+ * @sample {highcharts} highcharts/plotoptions/series-datalabels-enabled/
1518
+ * Data labels enabled
1519
+ * @sample {highmaps} maps/demo/color-axis/
1520
+ * Data labels enabled
1521
+ *
1522
+ * @type {boolean}
1523
+ * @default false
1524
+ * @apioption plotOptions.series.dataLabels.enabled
1525
+ */
1526
+ /**
1527
+ * A declarative filter to control of which data labels to display.
1528
+ * The declarative filter is designed for use when callback
1529
+ * functions are not available, like when the chart options require
1530
+ * a pure JSON structure or for use with graphical editors. For
1531
+ * programmatic control, use the `formatter` instead, and return
1532
+ * `undefined` to disable a single data label.
1533
+ *
1534
+ * @example
1535
+ * filter: {
1536
+ * property: 'percentage',
1537
+ * operator: '>',
1538
+ * value: 4
1539
+ * }
1540
+ *
1541
+ * @sample {highcharts} highcharts/demo/pie-monochrome
1542
+ * Data labels filtered by percentage
1543
+ *
1544
+ * @declare Highcharts.DataLabelsFilterOptionsObject
1545
+ * @since 6.0.3
1546
+ * @apioption plotOptions.series.dataLabels.filter
1547
+ */
1548
+ /**
1549
+ * The operator to compare by. Can be one of `>`, `<`, `>=`, `<=`,
1550
+ * `==`, and `===`.
1551
+ *
1552
+ * @type {string}
1553
+ * @validvalue [">", "<", ">=", "<=", "==", "==="]
1554
+ * @apioption plotOptions.series.dataLabels.filter.operator
1555
+ */
1556
+ /**
1557
+ * The point property to filter by. Point options are passed
1558
+ * directly to properties, additionally there are `y` value,
1559
+ * `percentage` and others listed under {@link Highcharts.Point}
1560
+ * members.
1561
+ *
1562
+ * @type {string}
1563
+ * @apioption plotOptions.series.dataLabels.filter.property
1564
+ */
1565
+ /**
1566
+ * The value to compare against.
1567
+ *
1568
+ * @type {number}
1569
+ * @apioption plotOptions.series.dataLabels.filter.value
1570
+ */
1571
+ /**
1572
+ * A
1573
+ * [format string](https://www.highcharts.com/docs/chart-concepts/labels-and-string-formatting)
1574
+ * for the data label. Available variables are the same as for
1575
+ * `formatter`.
1576
+ *
1577
+ * @sample {highcharts} highcharts/plotoptions/series-datalabels-format/
1578
+ * Add a unit
1579
+ * @sample {highmaps} maps/plotoptions/series-datalabels-format/
1580
+ * Formatted value in the data label
1581
+ *
1582
+ * @type {string}
1583
+ * @default y
1584
+ * @default point.value
1585
+ * @since 3.0
1586
+ * @apioption plotOptions.series.dataLabels.format
1587
+ */
1588
+ // eslint-disable-next-line valid-jsdoc
1589
+ /**
1590
+ * Callback JavaScript function to format the data label. Note that
1591
+ * if a `format` is defined, the format takes precedence and the
1592
+ * formatter is ignored.
1593
+ *
1594
+ * @sample {highmaps} maps/plotoptions/series-datalabels-format/
1595
+ * Formatted value
1596
+ *
1597
+ * @type {Highcharts.DataLabelsFormatterCallbackFunction}
1598
+ */
1599
+ formatter: function () {
1600
+ var numberFormatter = this.series.chart.numberFormatter;
1601
+ return typeof this.y !== 'number' ? '' : numberFormatter(this.y, -1);
1602
+ },
1603
+ /**
1604
+ * For points with an extent, like columns or map areas, whether to
1605
+ * align the data label inside the box or to the actual value point.
1606
+ * Defaults to `false` in most cases, `true` in stacked columns.
1607
+ *
1608
+ * @type {boolean}
1609
+ * @since 3.0
1610
+ * @apioption plotOptions.series.dataLabels.inside
1611
+ */
1612
+ /**
1613
+ * Format for points with the value of null. Works analogously to
1614
+ * [format](#plotOptions.series.dataLabels.format). `nullFormat` can
1615
+ * be applied only to series which support displaying null points.
1616
+ *
1617
+ * @sample {highcharts} highcharts/plotoptions/series-datalabels-format/
1618
+ * Format data label and tooltip for null point.
1619
+ *
1620
+ * @type {boolean|string}
1621
+ * @since 7.1.0
1622
+ * @apioption plotOptions.series.dataLabels.nullFormat
1623
+ */
1624
+ /**
1625
+ * Callback JavaScript function that defines formatting for points
1626
+ * with the value of null. Works analogously to
1627
+ * [formatter](#plotOptions.series.dataLabels.formatter).
1628
+ * `nullPointFormatter` can be applied only to series which support
1629
+ * displaying null points.
1630
+ *
1631
+ * @sample {highcharts} highcharts/plotoptions/series-datalabels-format/
1632
+ * Format data label and tooltip for null point.
1633
+ *
1634
+ * @type {Highcharts.DataLabelsFormatterCallbackFunction}
1635
+ * @since 7.1.0
1636
+ * @apioption plotOptions.series.dataLabels.nullFormatter
1637
+ */
1638
+ /**
1639
+ * How to handle data labels that flow outside the plot area. The
1640
+ * default is `"justify"`, which aligns them inside the plot area.
1641
+ * For columns and bars, this means it will be moved inside the bar.
1642
+ * To display data labels outside the plot area, set `crop` to
1643
+ * `false` and `overflow` to `"allow"`.
1644
+ *
1645
+ * @type {Highcharts.DataLabelsOverflowValue}
1646
+ * @default justify
1647
+ * @since 3.0.6
1648
+ * @apioption plotOptions.series.dataLabels.overflow
1649
+ */
1650
+ /**
1651
+ * When either the `borderWidth` or the `backgroundColor` is set,
1652
+ * this is the padding within the box.
1653
+ *
1654
+ * @sample {highcharts} highcharts/plotoptions/series-datalabels-box/
1655
+ * Data labels box options
1656
+ * @sample {highmaps} maps/plotoptions/series-datalabels-box/
1657
+ * Data labels box options
1658
+ *
1659
+ * @since 2.2.1
1660
+ */
1661
+ padding: 5,
1662
+ /**
1663
+ * Aligns data labels relative to points. If `center` alignment is
1664
+ * not possible, it defaults to `right`.
1665
+ *
1666
+ * @type {Highcharts.AlignValue}
1667
+ * @default center
1668
+ * @apioption plotOptions.series.dataLabels.position
1669
+ */
1670
+ /**
1671
+ * Text rotation in degrees. Note that due to a more complex
1672
+ * structure, backgrounds, borders and padding will be lost on a
1673
+ * rotated data label.
1674
+ *
1675
+ * @sample {highcharts} highcharts/plotoptions/series-datalabels-rotation/
1676
+ * Vertical labels
1677
+ *
1678
+ * @type {number}
1679
+ * @default 0
1680
+ * @apioption plotOptions.series.dataLabels.rotation
1681
+ */
1682
+ /**
1683
+ * The shadow of the box. Works best with `borderWidth` or
1684
+ * `backgroundColor`. Since 2.3 the shadow can be an object
1685
+ * configuration containing `color`, `offsetX`, `offsetY`, `opacity`
1686
+ * and `width`.
1687
+ *
1688
+ * @sample {highcharts} highcharts/plotoptions/series-datalabels-box/
1689
+ * Data labels box options
1690
+ *
1691
+ * @type {boolean|Highcharts.ShadowOptionsObject}
1692
+ * @default false
1693
+ * @since 2.2.1
1694
+ * @apioption plotOptions.series.dataLabels.shadow
1695
+ */
1696
+ /**
1697
+ * The name of a symbol to use for the border around the label.
1698
+ * Symbols are predefined functions on the Renderer object.
1699
+ *
1700
+ * @sample {highcharts} highcharts/plotoptions/series-datalabels-shape/
1701
+ * A callout for annotations
1702
+ *
1703
+ * @type {string}
1704
+ * @default square
1705
+ * @since 4.1.2
1706
+ * @apioption plotOptions.series.dataLabels.shape
1707
+ */
1708
+ /**
1709
+ * Styles for the label. The default `color` setting is
1710
+ * `"contrast"`, which is a pseudo color that Highcharts picks up
1711
+ * and applies the maximum contrast to the underlying point item,
1712
+ * for example the bar in a bar chart.
1713
+ *
1714
+ * The `textOutline` is a pseudo property that applies an outline of
1715
+ * the given width with the given color, which by default is the
1716
+ * maximum contrast to the text. So a bright text color will result
1717
+ * in a black text outline for maximum readability on a mixed
1718
+ * background. In some cases, especially with grayscale text, the
1719
+ * text outline doesn't work well, in which cases it can be disabled
1720
+ * by setting it to `"none"`. When `useHTML` is true, the
1721
+ * `textOutline` will not be picked up. In this, case, the same
1722
+ * effect can be acheived through the `text-shadow` CSS property.
1723
+ *
1724
+ * For some series types, where each point has an extent, like for
1725
+ * example tree maps, the data label may overflow the point. There
1726
+ * are two strategies for handling overflow. By default, the text
1727
+ * will wrap to multiple lines. The other strategy is to set
1728
+ * `style.textOverflow` to `ellipsis`, which will keep the text on
1729
+ * one line plus it will break inside long words.
1730
+ *
1731
+ * @sample {highcharts} highcharts/plotoptions/series-datalabels-style/
1732
+ * Bold labels
1733
+ * @sample {highcharts} highcharts/plotoptions/pie-datalabels-overflow/
1734
+ * Long labels truncated with an ellipsis in a pie
1735
+ * @sample {highcharts} highcharts/plotoptions/pie-datalabels-overflow-wrap/
1736
+ * Long labels are wrapped in a pie
1737
+ * @sample {highmaps} maps/demo/color-axis/
1738
+ * Bold labels
1739
+ *
1740
+ * @type {Highcharts.CSSObject}
1741
+ * @since 4.1.0
1742
+ * @apioption plotOptions.series.dataLabels.style
1743
+ */
1744
+ style: {
1745
+ /** @internal */
1746
+ fontSize: '11px',
1747
+ /** @internal */
1748
+ fontWeight: 'bold',
1749
+ /** @internal */
1750
+ color: 'contrast',
1751
+ /** @internal */
1752
+ textOutline: '1px contrast'
1753
+ },
1754
+ /**
1755
+ * Options for a label text which should follow marker's shape.
1756
+ * Border and background are disabled for a label that follows a
1757
+ * path.
1758
+ *
1759
+ * **Note:** Only SVG-based renderer supports this option. Setting
1760
+ * `useHTML` to true will disable this option.
1761
+ *
1762
+ * @declare Highcharts.DataLabelsTextPathOptionsObject
1763
+ * @since 7.1.0
1764
+ * @apioption plotOptions.series.dataLabels.textPath
1765
+ */
1766
+ /**
1767
+ * Presentation attributes for the text path.
1768
+ *
1769
+ * @type {Highcharts.SVGAttributes}
1770
+ * @since 7.1.0
1771
+ * @apioption plotOptions.series.dataLabels.textPath.attributes
1772
+ */
1773
+ /**
1774
+ * Enable or disable `textPath` option for link's or marker's data
1775
+ * labels.
1776
+ *
1777
+ * @type {boolean}
1778
+ * @since 7.1.0
1779
+ * @apioption plotOptions.series.dataLabels.textPath.enabled
1780
+ */
1781
+ /**
1782
+ * Whether to
1783
+ * [use HTML](https://www.highcharts.com/docs/chart-concepts/labels-and-string-formatting#html)
1784
+ * to render the labels.
1785
+ *
1786
+ * @type {boolean}
1787
+ * @default false
1788
+ * @apioption plotOptions.series.dataLabels.useHTML
1789
+ */
1790
+ /**
1791
+ * The vertical alignment of a data label. Can be one of `top`,
1792
+ * `middle` or `bottom`. The default value depends on the data, for
1793
+ * instance in a column chart, the label is above positive values
1794
+ * and below negative values.
1795
+ *
1796
+ * @type {Highcharts.VerticalAlignValue|null}
1797
+ * @since 2.3.3
1798
+ */
1799
+ verticalAlign: 'bottom',
1800
+ /**
1801
+ * The x position offset of the label relative to the point in
1802
+ * pixels.
1803
+ *
1804
+ * @sample {highcharts} highcharts/plotoptions/series-datalabels-rotation/
1805
+ * Vertical and positioned
1806
+ * @sample {highcharts} highcharts/plotoptions/bar-datalabels-align-inside-bar/
1807
+ * Data labels inside the bar
1808
+ */
1809
+ x: 0,
1810
+ /**
1811
+ * The Z index of the data labels. The default Z index puts it above
1812
+ * the series. Use a Z index of 2 to display it behind the series.
1813
+ *
1814
+ * @type {number}
1815
+ * @default 6
1816
+ * @since 2.3.5
1817
+ * @apioption plotOptions.series.dataLabels.z
1818
+ */
1819
+ /**
1820
+ * The y position offset of the label relative to the point in
1821
+ * pixels.
1822
+ *
1823
+ * @sample {highcharts} highcharts/plotoptions/series-datalabels-rotation/
1824
+ * Vertical and positioned
1825
+ */
1826
+ y: 0
1827
+ },
1828
+ /**
1829
+ * When the series contains less points than the crop threshold, all
1830
+ * points are drawn, even if the points fall outside the visible plot
1831
+ * area at the current zoom. The advantage of drawing all points
1832
+ * (including markers and columns), is that animation is performed on
1833
+ * updates. On the other hand, when the series contains more points than
1834
+ * the crop threshold, the series data is cropped to only contain points
1835
+ * that fall within the plot area. The advantage of cropping away
1836
+ * invisible points is to increase performance on large series.
1837
+ *
1838
+ * @since 2.2
1839
+ * @product highcharts highstock
1840
+ *
1841
+ * @private
1842
+ */
1843
+ cropThreshold: 300,
1844
+ /**
1845
+ * Opacity of a series parts: line, fill (e.g. area) and dataLabels.
1846
+ *
1847
+ * @see [states.inactive.opacity](#plotOptions.series.states.inactive.opacity)
1848
+ *
1849
+ * @since 7.1.0
1850
+ *
1851
+ * @private
1852
+ */
1853
+ opacity: 1,
1854
+ /**
1855
+ * The width of each point on the x axis. For example in a column chart
1856
+ * with one value each day, the pointRange would be 1 day (= 24 * 3600
1857
+ * * 1000 milliseconds). This is normally computed automatically, but
1858
+ * this option can be used to override the automatic value.
1859
+ *
1860
+ * @product highstock
1861
+ *
1862
+ * @private
1863
+ */
1864
+ pointRange: 0,
1865
+ /**
1866
+ * When this is true, the series will not cause the Y axis to cross
1867
+ * the zero plane (or [threshold](#plotOptions.series.threshold) option)
1868
+ * unless the data actually crosses the plane.
1869
+ *
1870
+ * For example, if `softThreshold` is `false`, a series of 0, 1, 2,
1871
+ * 3 will make the Y axis show negative values according to the
1872
+ * `minPadding` option. If `softThreshold` is `true`, the Y axis starts
1873
+ * at 0.
1874
+ *
1875
+ * @since 4.1.9
1876
+ * @product highcharts highstock
1877
+ *
1878
+ * @private
1879
+ */
1880
+ softThreshold: true,
1881
+ /**
1882
+ * @declare Highcharts.SeriesStatesOptionsObject
1883
+ *
1884
+ * @private
1885
+ */
1886
+ states: {
1887
+ /**
1888
+ * The normal state of a series, or for point items in column, pie
1889
+ * and similar series. Currently only used for setting animation
1890
+ * when returning to normal state from hover.
1891
+ *
1892
+ * @declare Highcharts.SeriesStatesNormalOptionsObject
1893
+ */
1894
+ normal: {
1895
+ /**
1896
+ * Animation when returning to normal state after hovering.
1897
+ *
1898
+ * @type {boolean|Partial<Highcharts.AnimationOptionsObject>}
1899
+ */
1900
+ animation: true
1901
+ },
1902
+ /**
1903
+ * Options for the hovered series. These settings override the
1904
+ * normal state options when a series is moused over or touched.
1905
+ *
1906
+ * @declare Highcharts.SeriesStatesHoverOptionsObject
1907
+ */
1908
+ hover: {
1909
+ /**
1910
+ * Enable separate styles for the hovered series to visualize
1911
+ * that the user hovers either the series itself or the legend.
1912
+ *
1913
+ * @sample {highcharts} highcharts/plotoptions/series-states-hover-enabled/
1914
+ * Line
1915
+ * @sample {highcharts} highcharts/plotoptions/series-states-hover-enabled-column/
1916
+ * Column
1917
+ * @sample {highcharts} highcharts/plotoptions/series-states-hover-enabled-pie/
1918
+ * Pie
1919
+ *
1920
+ * @type {boolean}
1921
+ * @default true
1922
+ * @since 1.2
1923
+ * @apioption plotOptions.series.states.hover.enabled
1924
+ */
1925
+ /**
1926
+ * Animation setting for hovering the graph in line-type series.
1927
+ *
1928
+ * @type {boolean|Partial<Highcharts.AnimationOptionsObject>}
1929
+ * @since 5.0.8
1930
+ * @product highcharts highstock
1931
+ */
1932
+ animation: {
1933
+ /**
1934
+ * The duration of the hover animation in milliseconds. By
1935
+ * default the hover state animates quickly in, and slowly
1936
+ * back to normal.
1937
+ *
1938
+ * @internal
1939
+ */
1940
+ duration: 50
1941
+ },
1942
+ /**
1943
+ * Pixel width of the graph line. By default this property is
1944
+ * undefined, and the `lineWidthPlus` property dictates how much
1945
+ * to increase the linewidth from normal state.
1946
+ *
1947
+ * @sample {highcharts} highcharts/plotoptions/series-states-hover-linewidth/
1948
+ * 5px line on hover
1949
+ *
1950
+ * @type {number}
1951
+ * @product highcharts highstock
1952
+ * @apioption plotOptions.series.states.hover.lineWidth
1953
+ */
1954
+ /**
1955
+ * The additional line width for the graph of a hovered series.
1956
+ *
1957
+ * @sample {highcharts} highcharts/plotoptions/series-states-hover-linewidthplus/
1958
+ * 5 pixels wider
1959
+ * @sample {highstock} highcharts/plotoptions/series-states-hover-linewidthplus/
1960
+ * 5 pixels wider
1961
+ *
1962
+ * @since 4.0.3
1963
+ * @product highcharts highstock
1964
+ */
1965
+ lineWidthPlus: 1,
1966
+ /**
1967
+ * In Highcharts 1.0, the appearance of all markers belonging
1968
+ * to the hovered series. For settings on the hover state of the
1969
+ * individual point, see
1970
+ * [marker.states.hover](#plotOptions.series.marker.states.hover).
1971
+ *
1972
+ * @deprecated
1973
+ *
1974
+ * @extends plotOptions.series.marker
1975
+ * @excluding states
1976
+ * @product highcharts highstock
1977
+ */
1978
+ marker: {
1979
+ // lineWidth: base + 1,
1980
+ // radius: base + 1
1981
+ },
1982
+ /**
1983
+ * Options for the halo appearing around the hovered point in
1984
+ * line-type series as well as outside the hovered slice in pie
1985
+ * charts. By default the halo is filled by the current point or
1986
+ * series color with an opacity of 0.25\. The halo can be
1987
+ * disabled by setting the `halo` option to `null`.
1988
+ *
1989
+ * In styled mode, the halo is styled with the
1990
+ * `.highcharts-halo` class, with colors inherited from
1991
+ * `.highcharts-color-{n}`.
1992
+ *
1993
+ * @sample {highcharts} highcharts/plotoptions/halo/
1994
+ * Halo options
1995
+ * @sample {highstock} highcharts/plotoptions/halo/
1996
+ * Halo options
1997
+ *
1998
+ * @declare Highcharts.SeriesStatesHoverHaloOptionsObject
1999
+ * @type {null|*}
2000
+ * @since 4.0
2001
+ * @product highcharts highstock
2002
+ */
2003
+ halo: {
2004
+ /**
2005
+ * A collection of SVG attributes to override the appearance
2006
+ * of the halo, for example `fill`, `stroke` and
2007
+ * `stroke-width`.
2008
+ *
2009
+ * @type {Highcharts.SVGAttributes}
2010
+ * @since 4.0
2011
+ * @product highcharts highstock
2012
+ * @apioption plotOptions.series.states.hover.halo.attributes
2013
+ */
2014
+ /**
2015
+ * The pixel size of the halo. For point markers this is the
2016
+ * radius of the halo. For pie slices it is the width of the
2017
+ * halo outside the slice. For bubbles it defaults to 5 and
2018
+ * is the width of the halo outside the bubble.
2019
+ *
2020
+ * @since 4.0
2021
+ * @product highcharts highstock
2022
+ */
2023
+ size: 10,
2024
+ /**
2025
+ * Opacity for the halo unless a specific fill is overridden
2026
+ * using the `attributes` setting. Note that Highcharts is
2027
+ * only able to apply opacity to colors of hex or rgb(a)
2028
+ * formats.
2029
+ *
2030
+ * @since 4.0
2031
+ * @product highcharts highstock
2032
+ */
2033
+ opacity: 0.25
2034
+ }
2035
+ },
2036
+ /**
2037
+ * Specific options for point in selected states, after being
2038
+ * selected by
2039
+ * [allowPointSelect](#plotOptions.series.allowPointSelect)
2040
+ * or programmatically.
2041
+ *
2042
+ * @sample maps/plotoptions/series-allowpointselect/
2043
+ * Allow point select demo
2044
+ *
2045
+ * @declare Highcharts.SeriesStatesSelectOptionsObject
2046
+ * @extends plotOptions.series.states.hover
2047
+ * @excluding brightness
2048
+ */
2049
+ select: {
2050
+ animation: {
2051
+ /** @internal */
2052
+ duration: 0
2053
+ }
2054
+ },
2055
+ /**
2056
+ * The opposite state of a hover for series.
2057
+ *
2058
+ * @sample highcharts/plotoptions/series-states-inactive-disabled
2059
+ * Disabled inactive state
2060
+ *
2061
+ * @declare Highcharts.SeriesStatesInactiveOptionsObject
2062
+ */
2063
+ inactive: {
2064
+ /**
2065
+ * Enable or disable the inactive state for a series
2066
+ *
2067
+ * @sample highcharts/plotoptions/series-states-inactive-disabled
2068
+ * Disabled inactive state
2069
+ *
2070
+ * @type {boolean}
2071
+ * @default true
2072
+ * @apioption plotOptions.series.states.inactive.enabled
2073
+ */
2074
+ /**
2075
+ * The animation for entering the inactive state.
2076
+ *
2077
+ * @type {boolean|Partial<Highcharts.AnimationOptionsObject>}
2078
+ */
2079
+ animation: {
2080
+ /** @internal */
2081
+ duration: 50
2082
+ },
2083
+ /**
2084
+ * Opacity of series elements (dataLabels, line, area).
2085
+ *
2086
+ * @type {number}
2087
+ */
2088
+ opacity: 0.2
2089
+ }
2090
+ },
2091
+ /**
2092
+ * Sticky tracking of mouse events. When true, the `mouseOut` event on a
2093
+ * series isn't triggered until the mouse moves over another series, or
2094
+ * out of the plot area. When false, the `mouseOut` event on a series is
2095
+ * triggered when the mouse leaves the area around the series' graph or
2096
+ * markers. This also implies the tooltip when not shared. When
2097
+ * `stickyTracking` is false and `tooltip.shared` is false, the tooltip
2098
+ * will be hidden when moving the mouse between series. Defaults to true
2099
+ * for line and area type series, but to false for columns, pies etc.
2100
+ *
2101
+ * **Note:** The boost module will force this option because of
2102
+ * technical limitations.
2103
+ *
2104
+ * @sample {highcharts} highcharts/plotoptions/series-stickytracking-true/
2105
+ * True by default
2106
+ * @sample {highcharts} highcharts/plotoptions/series-stickytracking-false/
2107
+ * False
2108
+ *
2109
+ * @default {highcharts} true
2110
+ * @default {highstock} true
2111
+ * @default {highmaps} false
2112
+ * @since 2.0
2113
+ *
2114
+ * @private
2115
+ */
2116
+ stickyTracking: true,
2117
+ /**
2118
+ * A configuration object for the tooltip rendering of each single
2119
+ * series. Properties are inherited from [tooltip](#tooltip), but only
2120
+ * the following properties can be defined on a series level.
2121
+ *
2122
+ * @declare Highcharts.SeriesTooltipOptionsObject
2123
+ * @since 2.3
2124
+ * @extends tooltip
2125
+ * @excluding animation, backgroundColor, borderColor, borderRadius,
2126
+ * borderWidth, className, crosshairs, enabled, formatter,
2127
+ * headerShape, hideDelay, outside, padding, positioner,
2128
+ * shadow, shape, shared, snap, split, stickOnContact,
2129
+ * style, useHTML
2130
+ * @apioption plotOptions.series.tooltip
2131
+ */
2132
+ /**
2133
+ * When a series contains a data array that is longer than this, only
2134
+ * one dimensional arrays of numbers, or two dimensional arrays with
2135
+ * x and y values are allowed. Also, only the first point is tested,
2136
+ * and the rest are assumed to be the same format. This saves expensive
2137
+ * data checking and indexing in long series. Set it to `0` disable.
2138
+ *
2139
+ * Note:
2140
+ * In boost mode turbo threshold is forced. Only array of numbers or
2141
+ * two dimensional arrays are allowed.
2142
+ *
2143
+ * @since 2.2
2144
+ * @product highcharts highstock gantt
2145
+ *
2146
+ * @private
2147
+ */
2148
+ turboThreshold: 1000,
2149
+ /**
2150
+ * An array defining zones within a series. Zones can be applied to the
2151
+ * X axis, Y axis or Z axis for bubbles, according to the `zoneAxis`
2152
+ * option. The zone definitions have to be in ascending order regarding
2153
+ * to the value.
2154
+ *
2155
+ * In styled mode, the color zones are styled with the
2156
+ * `.highcharts-zone-{n}` class, or custom classed from the `className`
2157
+ * option
2158
+ * ([view live demo](https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/css/color-zones/)).
2159
+ *
2160
+ * @see [zoneAxis](#plotOptions.series.zoneAxis)
2161
+ *
2162
+ * @sample {highcharts} highcharts/series/color-zones-simple/
2163
+ * Color zones
2164
+ * @sample {highstock} highcharts/series/color-zones-simple/
2165
+ * Color zones
2166
+ *
2167
+ * @declare Highcharts.SeriesZonesOptionsObject
2168
+ * @type {Array<*>}
2169
+ * @since 4.1.0
2170
+ * @product highcharts highstock
2171
+ * @apioption plotOptions.series.zones
2172
+ */
2173
+ /**
2174
+ * Styled mode only. A custom class name for the zone.
2175
+ *
2176
+ * @sample highcharts/css/color-zones/
2177
+ * Zones styled by class name
2178
+ *
2179
+ * @type {string}
2180
+ * @since 5.0.0
2181
+ * @apioption plotOptions.series.zones.className
2182
+ */
2183
+ /**
2184
+ * Defines the color of the series.
2185
+ *
2186
+ * @see [series color](#plotOptions.series.color)
2187
+ *
2188
+ * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
2189
+ * @since 4.1.0
2190
+ * @product highcharts highstock
2191
+ * @apioption plotOptions.series.zones.color
2192
+ */
2193
+ /**
2194
+ * A name for the dash style to use for the graph.
2195
+ *
2196
+ * @see [plotOptions.series.dashStyle](#plotOptions.series.dashStyle)
2197
+ *
2198
+ * @sample {highcharts|highstock} highcharts/series/color-zones-dashstyle-dot/
2199
+ * Dashed line indicates prognosis
2200
+ *
2201
+ * @type {Highcharts.DashStyleValue}
2202
+ * @since 4.1.0
2203
+ * @product highcharts highstock
2204
+ * @apioption plotOptions.series.zones.dashStyle
2205
+ */
2206
+ /**
2207
+ * Defines the fill color for the series (in area type series)
2208
+ *
2209
+ * @see [fillColor](#plotOptions.area.fillColor)
2210
+ *
2211
+ * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
2212
+ * @since 4.1.0
2213
+ * @product highcharts highstock
2214
+ * @apioption plotOptions.series.zones.fillColor
2215
+ */
2216
+ /**
2217
+ * The value up to where the zone extends, if undefined the zones
2218
+ * stretches to the last value in the series.
2219
+ *
2220
+ * @type {number}
2221
+ * @since 4.1.0
2222
+ * @product highcharts highstock
2223
+ * @apioption plotOptions.series.zones.value
2224
+ */
2225
+ /**
2226
+ * When using dual or multiple color axes, this number defines which
2227
+ * colorAxis the particular series is connected to. It refers to
2228
+ * either the
2229
+ * {@link #colorAxis.id|axis id}
2230
+ * or the index of the axis in the colorAxis array, with 0 being the
2231
+ * first. Set this option to false to prevent a series from connecting
2232
+ * to the default color axis.
2233
+ *
2234
+ * Since v7.2.0 the option can also be an axis id or an axis index
2235
+ * instead of a boolean flag.
2236
+ *
2237
+ * @sample highcharts/coloraxis/coloraxis-with-pie/
2238
+ * Color axis with pie series
2239
+ * @sample highcharts/coloraxis/multiple-coloraxis/
2240
+ * Multiple color axis
2241
+ *
2242
+ * @type {number|string|boolean}
2243
+ * @default 0
2244
+ * @product highcharts highstock highmaps
2245
+ * @apioption plotOptions.series.colorAxis
2246
+ */
2247
+ /**
2248
+ * Determines what data value should be used to calculate point color
2249
+ * if `colorAxis` is used. Requires to set `min` and `max` if some
2250
+ * custom point property is used or if approximation for data grouping
2251
+ * is set to `'sum'`.
2252
+ *
2253
+ * @sample highcharts/coloraxis/custom-color-key/
2254
+ * Custom color key
2255
+ * @sample highcharts/coloraxis/changed-default-color-key/
2256
+ * Changed default color key
2257
+ *
2258
+ * @type {string}
2259
+ * @default y
2260
+ * @since 7.2.0
2261
+ * @product highcharts highstock highmaps
2262
+ * @apioption plotOptions.series.colorKey
2263
+ */
2264
+ /**
2265
+ * Determines whether the series should look for the nearest point
2266
+ * in both dimensions or just the x-dimension when hovering the series.
2267
+ * Defaults to `'xy'` for scatter series and `'x'` for most other
2268
+ * series. If the data has duplicate x-values, it is recommended to
2269
+ * set this to `'xy'` to allow hovering over all points.
2270
+ *
2271
+ * Applies only to series types using nearest neighbor search (not
2272
+ * direct hover) for tooltip.
2273
+ *
2274
+ * @sample {highcharts} highcharts/series/findnearestpointby/
2275
+ * Different hover behaviors
2276
+ * @sample {highstock} highcharts/series/findnearestpointby/
2277
+ * Different hover behaviors
2278
+ * @sample {highmaps} highcharts/series/findnearestpointby/
2279
+ * Different hover behaviors
2280
+ *
2281
+ * @since 5.0.10
2282
+ * @validvalue ["x", "xy"]
2283
+ *
2284
+ * @private
2285
+ */
2286
+ findNearestPointBy: 'x'
2287
+ };
2288
+ /* *
2289
+ *
2290
+ * Default Export
2291
+ *
2292
+ * */
2293
+ export default seriesDefaults;