highcharts 12.0.2 → 12.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (335) hide show
  1. package/bower.json +1 -1
  2. package/es-modules/Accessibility/Options/A11yDefaults.js +2 -0
  3. package/es-modules/Core/Color/Color.js +5 -12
  4. package/es-modules/Core/Defaults.js +0 -8
  5. package/es-modules/Core/Globals.js +1 -1
  6. package/es-modules/Core/Pointer.js +3 -1
  7. package/es-modules/Core/Renderer/HTML/HTMLElement.js +1 -3
  8. package/es-modules/Core/Renderer/SVG/SVGElement.js +4 -2
  9. package/es-modules/Core/Renderer/SVG/SVGLabel.js +11 -12
  10. package/es-modules/Core/Series/DataLabel.js +1 -0
  11. package/es-modules/Core/Series/Series.js +13 -15
  12. package/es-modules/Core/Templating.js +20 -16
  13. package/es-modules/Core/Time.js +21 -10
  14. package/es-modules/Core/Utilities.js +1 -1
  15. package/es-modules/Data/Converters/CSVConverter.js +1 -0
  16. package/es-modules/Data/Converters/DataConverter.js +31 -0
  17. package/es-modules/Data/Converters/GoogleSheetsConverter.js +1 -0
  18. package/es-modules/Data/Converters/HTMLTableConverter.js +1 -0
  19. package/es-modules/Data/Converters/JSONConverter.js +1 -0
  20. package/es-modules/Extensions/Boost/BoostSeries.js +13 -7
  21. package/es-modules/Extensions/DragPanes/AxisResizer.js +1 -1
  22. package/es-modules/Extensions/Exporting/Exporting.js +16 -8
  23. package/es-modules/Extensions/SeriesLabel/SeriesLabelDefaults.js +7 -2
  24. package/es-modules/Series/Bubble/BubbleSeries.js +24 -0
  25. package/es-modules/Series/Organization/OrganizationSeriesDefaults.js +3 -1
  26. package/es-modules/Series/Timeline/TimelineSeriesDefaults.js +3 -1
  27. package/es-modules/Series/Treegraph/TreegraphSeriesDefaults.js +3 -1
  28. package/es-modules/Series/Treemap/TreemapPoint.js +7 -2
  29. package/es-modules/Series/Treemap/TreemapSeries.js +154 -53
  30. package/es-modules/Series/Treemap/TreemapSeriesDefaults.js +126 -4
  31. package/es-modules/Stock/Indicators/VBP/VBPIndicator.js +1 -0
  32. package/es-modules/Stock/RangeSelector/RangeSelector.js +75 -71
  33. package/es-modules/Stock/RangeSelector/RangeSelectorDefaults.js +10 -4
  34. package/es-modules/masters/indicators/indicators-all.src.js +4 -0
  35. package/es-modules/tsconfig.tsbuildinfo +1 -1
  36. package/highcharts-3d.js +2 -2
  37. package/highcharts-3d.src.js +1 -1
  38. package/highcharts-gantt.js +5 -5
  39. package/highcharts-gantt.src.js +174 -164
  40. package/highcharts-more.js +2 -2
  41. package/highcharts-more.src.js +25 -1
  42. package/highcharts.d.ts +301 -764
  43. package/highcharts.js +3 -3
  44. package/highcharts.src.d.ts +301 -764
  45. package/highcharts.src.js +84 -84
  46. package/highmaps.js +5 -5
  47. package/highmaps.src.js +111 -87
  48. package/highstock.js +5 -5
  49. package/highstock.src.js +174 -164
  50. package/indicators/acceleration-bands.js +2 -2
  51. package/indicators/acceleration-bands.src.js +1 -1
  52. package/indicators/accumulation-distribution.js +2 -2
  53. package/indicators/accumulation-distribution.src.js +1 -1
  54. package/indicators/ao.js +2 -2
  55. package/indicators/ao.src.js +1 -1
  56. package/indicators/apo.js +2 -2
  57. package/indicators/apo.src.js +1 -1
  58. package/indicators/aroon-oscillator.js +2 -2
  59. package/indicators/aroon-oscillator.src.js +1 -1
  60. package/indicators/aroon.js +2 -2
  61. package/indicators/aroon.src.js +1 -1
  62. package/indicators/atr.js +2 -2
  63. package/indicators/atr.src.js +1 -1
  64. package/indicators/bollinger-bands.js +2 -2
  65. package/indicators/bollinger-bands.src.js +1 -1
  66. package/indicators/cci.js +2 -2
  67. package/indicators/cci.src.js +1 -1
  68. package/indicators/chaikin.js +2 -2
  69. package/indicators/chaikin.src.js +1 -1
  70. package/indicators/cmf.js +2 -2
  71. package/indicators/cmf.src.js +1 -1
  72. package/indicators/cmo.js +2 -2
  73. package/indicators/cmo.src.js +1 -1
  74. package/indicators/dema.js +2 -2
  75. package/indicators/dema.src.js +1 -1
  76. package/indicators/disparity-index.js +2 -2
  77. package/indicators/disparity-index.src.js +1 -1
  78. package/indicators/dmi.js +2 -2
  79. package/indicators/dmi.src.js +1 -1
  80. package/indicators/dpo.js +2 -2
  81. package/indicators/dpo.src.js +1 -1
  82. package/indicators/ema.js +1 -1
  83. package/indicators/ichimoku-kinko-hyo.js +2 -2
  84. package/indicators/ichimoku-kinko-hyo.src.js +1 -1
  85. package/indicators/indicators-all.js +2 -2
  86. package/indicators/indicators-all.src.js +6 -1
  87. package/indicators/indicators.js +2 -2
  88. package/indicators/indicators.src.js +1 -1
  89. package/indicators/keltner-channels.js +2 -2
  90. package/indicators/keltner-channels.src.js +1 -1
  91. package/indicators/klinger.js +2 -2
  92. package/indicators/klinger.src.js +1 -1
  93. package/indicators/macd.js +2 -2
  94. package/indicators/macd.src.js +1 -1
  95. package/indicators/mfi.js +2 -2
  96. package/indicators/mfi.src.js +1 -1
  97. package/indicators/momentum.js +2 -2
  98. package/indicators/momentum.src.js +1 -1
  99. package/indicators/natr.js +2 -2
  100. package/indicators/natr.src.js +1 -1
  101. package/indicators/obv.js +2 -2
  102. package/indicators/obv.src.js +1 -1
  103. package/indicators/pivot-points.js +2 -2
  104. package/indicators/pivot-points.src.js +1 -1
  105. package/indicators/ppo.js +2 -2
  106. package/indicators/ppo.src.js +1 -1
  107. package/indicators/price-channel.js +2 -2
  108. package/indicators/price-channel.src.js +1 -1
  109. package/indicators/price-envelopes.js +2 -2
  110. package/indicators/price-envelopes.src.js +1 -1
  111. package/indicators/psar.js +2 -2
  112. package/indicators/psar.src.js +1 -1
  113. package/indicators/regressions.js +2 -2
  114. package/indicators/regressions.src.js +1 -1
  115. package/indicators/roc.js +2 -2
  116. package/indicators/roc.src.js +1 -1
  117. package/indicators/rsi.js +2 -2
  118. package/indicators/rsi.src.js +1 -1
  119. package/indicators/slow-stochastic.js +2 -2
  120. package/indicators/slow-stochastic.src.js +1 -1
  121. package/indicators/stochastic.js +2 -2
  122. package/indicators/stochastic.src.js +1 -1
  123. package/indicators/supertrend.js +2 -2
  124. package/indicators/supertrend.src.js +1 -1
  125. package/indicators/tema.js +2 -2
  126. package/indicators/tema.src.js +1 -1
  127. package/indicators/trendline.js +2 -2
  128. package/indicators/trendline.src.js +1 -1
  129. package/indicators/trix.js +2 -2
  130. package/indicators/trix.src.js +1 -1
  131. package/indicators/volume-by-price.js +2 -2
  132. package/indicators/volume-by-price.src.js +2 -1
  133. package/indicators/vwap.js +2 -2
  134. package/indicators/vwap.src.js +1 -1
  135. package/indicators/williams-r.js +2 -2
  136. package/indicators/williams-r.src.js +1 -1
  137. package/indicators/wma.js +2 -2
  138. package/indicators/wma.src.js +1 -1
  139. package/indicators/zigzag.js +2 -2
  140. package/indicators/zigzag.src.js +1 -1
  141. package/modules/accessibility.js +2 -2
  142. package/modules/accessibility.src.js +3 -1
  143. package/modules/annotations-advanced.js +3 -3
  144. package/modules/annotations-advanced.src.js +4 -4
  145. package/modules/annotations.js +2 -2
  146. package/modules/annotations.src.js +3 -3
  147. package/modules/arc-diagram.js +2 -2
  148. package/modules/arc-diagram.src.js +1 -1
  149. package/modules/arrow-symbols.js +2 -2
  150. package/modules/arrow-symbols.src.js +1 -1
  151. package/modules/boost-canvas.js +2 -2
  152. package/modules/boost-canvas.src.js +14 -11
  153. package/modules/boost.js +2 -2
  154. package/modules/boost.src.js +14 -11
  155. package/modules/broken-axis.js +2 -2
  156. package/modules/broken-axis.src.js +1 -1
  157. package/modules/bullet.js +2 -2
  158. package/modules/bullet.src.js +1 -1
  159. package/modules/coloraxis.js +2 -2
  160. package/modules/coloraxis.src.js +1 -1
  161. package/modules/current-date-indicator.js +2 -2
  162. package/modules/current-date-indicator.src.js +1 -1
  163. package/modules/cylinder.js +2 -2
  164. package/modules/cylinder.src.js +1 -1
  165. package/modules/data-tools.js +2 -2
  166. package/modules/data-tools.src.js +36 -1
  167. package/modules/data.js +2 -2
  168. package/modules/data.src.js +1 -1
  169. package/modules/datagrouping.js +2 -2
  170. package/modules/datagrouping.src.js +1 -1
  171. package/modules/debugger.js +2 -2
  172. package/modules/debugger.src.js +1 -1
  173. package/modules/dependency-wheel.js +2 -2
  174. package/modules/dependency-wheel.src.js +1 -1
  175. package/modules/dotplot.js +2 -2
  176. package/modules/dotplot.src.js +1 -1
  177. package/modules/drag-panes.js +2 -2
  178. package/modules/drag-panes.src.js +2 -2
  179. package/modules/draggable-points.js +2 -2
  180. package/modules/draggable-points.src.js +1 -1
  181. package/modules/drilldown.js +2 -2
  182. package/modules/drilldown.src.js +1 -1
  183. package/modules/dumbbell.js +2 -2
  184. package/modules/dumbbell.src.js +1 -1
  185. package/modules/export-data.js +2 -2
  186. package/modules/export-data.src.js +1 -1
  187. package/modules/exporting.js +2 -2
  188. package/modules/exporting.src.js +17 -9
  189. package/modules/flowmap.js +2 -2
  190. package/modules/flowmap.src.js +1 -1
  191. package/modules/full-screen.js +2 -2
  192. package/modules/full-screen.src.js +1 -1
  193. package/modules/funnel.js +2 -2
  194. package/modules/funnel.src.js +1 -1
  195. package/modules/funnel3d.js +2 -2
  196. package/modules/funnel3d.src.js +1 -1
  197. package/modules/gantt.js +5 -5
  198. package/modules/gantt.src.js +89 -79
  199. package/modules/geoheatmap.js +2 -2
  200. package/modules/geoheatmap.src.js +1 -1
  201. package/modules/grid-axis.js +2 -2
  202. package/modules/grid-axis.src.js +1 -1
  203. package/modules/heatmap.js +3 -3
  204. package/modules/heatmap.src.js +2 -2
  205. package/modules/heikinashi.js +2 -2
  206. package/modules/heikinashi.src.js +1 -1
  207. package/modules/histogram-bellcurve.js +2 -2
  208. package/modules/histogram-bellcurve.src.js +1 -1
  209. package/modules/hollowcandlestick.js +2 -2
  210. package/modules/hollowcandlestick.src.js +1 -1
  211. package/modules/item-series.js +2 -2
  212. package/modules/item-series.src.js +1 -1
  213. package/modules/lollipop.js +2 -2
  214. package/modules/lollipop.src.js +1 -1
  215. package/modules/map.js +4 -4
  216. package/modules/map.src.js +26 -2
  217. package/modules/marker-clusters.js +2 -2
  218. package/modules/marker-clusters.src.js +1 -1
  219. package/modules/mouse-wheel-zoom.js +2 -2
  220. package/modules/mouse-wheel-zoom.src.js +1 -1
  221. package/modules/navigator.js +2 -2
  222. package/modules/navigator.src.js +1 -1
  223. package/modules/networkgraph.js +2 -2
  224. package/modules/networkgraph.src.js +1 -1
  225. package/modules/no-data-to-display.js +2 -2
  226. package/modules/no-data-to-display.src.js +1 -1
  227. package/modules/offline-exporting.js +2 -2
  228. package/modules/offline-exporting.src.js +18 -10
  229. package/modules/organization.js +2 -2
  230. package/modules/organization.src.js +4 -2
  231. package/modules/overlapping-datalabels.js +2 -2
  232. package/modules/overlapping-datalabels.src.js +1 -1
  233. package/modules/parallel-coordinates.js +2 -2
  234. package/modules/parallel-coordinates.src.js +1 -1
  235. package/modules/pareto.js +2 -2
  236. package/modules/pareto.src.js +1 -1
  237. package/modules/pathfinder.js +2 -2
  238. package/modules/pathfinder.src.js +1 -1
  239. package/modules/pattern-fill.js +2 -2
  240. package/modules/pattern-fill.src.js +1 -1
  241. package/modules/pictorial.js +2 -2
  242. package/modules/pictorial.src.js +1 -1
  243. package/modules/pointandfigure.js +2 -2
  244. package/modules/pointandfigure.src.js +1 -1
  245. package/modules/price-indicator.js +2 -2
  246. package/modules/price-indicator.src.js +1 -1
  247. package/modules/pyramid3d.js +2 -2
  248. package/modules/pyramid3d.src.js +1 -1
  249. package/modules/renko.js +2 -2
  250. package/modules/renko.src.js +1 -1
  251. package/modules/sankey.js +2 -2
  252. package/modules/sankey.src.js +1 -1
  253. package/modules/series-label.js +2 -2
  254. package/modules/series-label.src.js +8 -3
  255. package/modules/series-on-point.js +2 -2
  256. package/modules/series-on-point.src.js +1 -1
  257. package/modules/solid-gauge.js +2 -2
  258. package/modules/solid-gauge.src.js +1 -1
  259. package/modules/sonification.js +2 -2
  260. package/modules/sonification.src.js +1 -1
  261. package/modules/static-scale.js +2 -2
  262. package/modules/static-scale.src.js +1 -1
  263. package/modules/stock-tools.js +2 -2
  264. package/modules/stock-tools.src.js +3 -3
  265. package/modules/stock.js +6 -6
  266. package/modules/stock.src.js +89 -79
  267. package/modules/streamgraph.js +2 -2
  268. package/modules/streamgraph.src.js +1 -1
  269. package/modules/sunburst.js +2 -2
  270. package/modules/sunburst.src.js +290 -62
  271. package/modules/textpath.js +2 -2
  272. package/modules/textpath.src.js +1 -1
  273. package/modules/tiledwebmap.js +3 -3
  274. package/modules/tiledwebmap.src.js +1 -1
  275. package/modules/tilemap.js +2 -2
  276. package/modules/tilemap.src.js +1 -1
  277. package/modules/timeline.js +2 -2
  278. package/modules/timeline.src.js +4 -2
  279. package/modules/treegraph.js +2 -2
  280. package/modules/treegraph.src.js +4 -2
  281. package/modules/treegrid.js +2 -2
  282. package/modules/treegrid.src.js +1 -1
  283. package/modules/treemap.js +2 -2
  284. package/modules/treemap.src.js +288 -60
  285. package/modules/variable-pie.js +2 -2
  286. package/modules/variable-pie.src.js +1 -1
  287. package/modules/variwide.js +2 -2
  288. package/modules/variwide.src.js +1 -1
  289. package/modules/vector.js +2 -2
  290. package/modules/vector.src.js +1 -1
  291. package/modules/venn.js +2 -2
  292. package/modules/venn.src.js +1 -1
  293. package/modules/windbarb.js +2 -2
  294. package/modules/windbarb.src.js +1 -1
  295. package/modules/wordcloud.js +2 -2
  296. package/modules/wordcloud.src.js +1 -1
  297. package/modules/xrange.js +2 -2
  298. package/modules/xrange.src.js +1 -1
  299. package/options/treegraph.d.ts +559 -70
  300. package/options/treegraph.src.d.ts +559 -70
  301. package/options/treemap.d.ts +314 -160
  302. package/options/treemap.src.d.ts +314 -160
  303. package/options/vbp.d.ts +1 -1
  304. package/options/vbp.src.d.ts +1 -1
  305. package/package.json +1 -1
  306. package/standalone-navigator.js +3 -3
  307. package/standalone-navigator.src.js +85 -85
  308. package/themes/avocado.js +2 -2
  309. package/themes/avocado.src.js +1 -1
  310. package/themes/brand-dark.js +2 -2
  311. package/themes/brand-dark.src.js +1 -1
  312. package/themes/brand-light.js +2 -2
  313. package/themes/brand-light.src.js +1 -1
  314. package/themes/dark-blue.js +2 -2
  315. package/themes/dark-blue.src.js +1 -1
  316. package/themes/dark-green.js +2 -2
  317. package/themes/dark-green.src.js +1 -1
  318. package/themes/dark-unica.js +2 -2
  319. package/themes/dark-unica.src.js +1 -1
  320. package/themes/gray.js +2 -2
  321. package/themes/gray.src.js +1 -1
  322. package/themes/grid-light.js +2 -2
  323. package/themes/grid-light.src.js +1 -1
  324. package/themes/grid.js +2 -2
  325. package/themes/grid.src.js +1 -1
  326. package/themes/high-contrast-dark.js +2 -2
  327. package/themes/high-contrast-dark.src.js +1 -1
  328. package/themes/high-contrast-light.js +2 -2
  329. package/themes/high-contrast-light.src.js +1 -1
  330. package/themes/sand-signika.js +2 -2
  331. package/themes/sand-signika.src.js +1 -1
  332. package/themes/skies.js +2 -2
  333. package/themes/skies.src.js +1 -1
  334. package/themes/sunset.js +2 -2
  335. package/themes/sunset.src.js +1 -1
@@ -127,111 +127,600 @@ declare module "../highcharts.src" {
127
127
  defer?: number;
128
128
  }
129
129
  /**
130
- * (Highcharts) Set options on specific levels. Takes precedence over series
131
- * options, but not point options.
130
+ * (Highcharts) Styles for the label. The default `color` setting is
131
+ * `"contrast"`, which is a pseudo color that Highcharts picks up and
132
+ * applies the maximum contrast to the underlying point item, for example
133
+ * the bar in a bar chart.
134
+ *
135
+ * The `textOutline` is a pseudo property that applies an outline of the
136
+ * given width with the given color, which by default is the maximum
137
+ * contrast to the text. So a bright text color will result in a black text
138
+ * outline for maximum readability on a mixed background. In some cases,
139
+ * especially with grayscale text, the text outline doesn't work well, in
140
+ * which cases it can be disabled by setting it to `"none"`. When `useHTML`
141
+ * is true, the `textOutline` will not be picked up. In this, case, the same
142
+ * effect can be acheived through the `text-shadow` CSS property.
143
+ *
144
+ * For some series types, where each point has an extent, like for example
145
+ * tree maps, the data label may overflow the point. There are two
146
+ * strategies for handling overflow. By default, the text will wrap to
147
+ * multiple lines. The other strategy is to set `style.textOverflow` to
148
+ * `ellipsis`, which will keep the text on one line plus it will break
149
+ * inside long words.
150
+ */
151
+ interface PlotTreegraphLevelsDataLabelsStyleOptions {
152
+ textOverflow?: string;
153
+ }
154
+ interface PlotTreegraphLinkOptions {
155
+ /**
156
+ * (Highcharts) The color of the links between nodes.
157
+ */
158
+ color?: Highcharts.ColorString;
159
+ cursor?: string;
160
+ /**
161
+ * (Highcharts) The line width of the links connecting nodes, in pixels.
162
+ */
163
+ lineWidth?: number;
164
+ /**
165
+ * (Highcharts) Radius for the rounded corners of the links between
166
+ * nodes. Works for `default` link type.
167
+ */
168
+ radius?: number;
169
+ /**
170
+ * (Highcharts) Type of the link shape.
171
+ */
172
+ type?: ('curved'|'default'|'straight');
173
+ }
174
+ /**
175
+ * (Highcharts) Options for the _Series on point_ feature. Only `pie` and
176
+ * `sunburst` series are supported at this moment.
132
177
  */
133
- interface PlotTreegraphLevelsOptions {
178
+ interface PlotTreegraphOnPointOptions {
134
179
  /**
135
- * (Highcharts) Can set a `borderColor` on all points which lies on the
136
- * same level.
180
+ * (Highcharts) Options for the connector in the _Series on point_
181
+ * feature.
182
+ *
183
+ * In styled mode, the connector can be styled with the
184
+ * `.highcharts-connector-seriesonpoint` class name.
137
185
  */
138
- borderColor?: Highcharts.ColorString;
186
+ connectorOptions?: (Highcharts.PlotTreegraphOnPointConnectorOptions|Highcharts.SVGAttributes);
139
187
  /**
140
- * (Highcharts) Set the dash style of the border of all the point which
141
- * lies on the level. See plotOptions.scatter.dashStyle for possible
142
- * options.
188
+ * (Highcharts) The `id` of the point that we connect the series to.
189
+ * Only points with a given `plotX` and `plotY` values and map points
190
+ * are valid.
143
191
  */
144
- borderDashStyle?: Highcharts.DashStyleValue;
192
+ id?: string;
193
+ /**
194
+ * (Highcharts) Options allowing to set a position and an offset of the
195
+ * series in the _Series on point_ feature.
196
+ */
197
+ position?: (object|Highcharts.PlotTreegraphOnPointPositionOptions);
198
+ }
199
+ /**
200
+ * (Highcharts) A treegraph series is a diagram, which shows a relation
201
+ * between ancestors and descendants with a clear parent - child relation.
202
+ * The best examples of the dataStructures, which best reflect this chart
203
+ * are e.g. genealogy tree or directory structure.
204
+ *
205
+ * TODO change back the demo path
206
+ *
207
+ * Configuration options for the series are given in three levels:
208
+ *
209
+ * 1. Options for all series in a chart are defined in the
210
+ * plotOptions.series object.
211
+ *
212
+ * 2. Options for all `treegraph` series are defined in
213
+ * plotOptions.treegraph.
214
+ *
215
+ * 3. Options for one single series are given in the series instance array.
216
+ * (see online documentation for example)
217
+ *
218
+ * **TypeScript:**
219
+ *
220
+ * - the type option must always be set.
221
+ *
222
+ * - when accessing an array of series, the combined set of all series types
223
+ * is represented by Highcharts.SeriesOptionsType . Narrowing down to the
224
+ * specific type can be done by checking the `type` property. (see online
225
+ * documentation for example)
226
+ */
227
+ interface PlotTreegraphOptions {
145
228
  /**
146
- * (Highcharts) Can set the borderWidth on all points which lies on the
147
- * same level.
229
+ * (Highcharts) Accessibility options for a series.
148
230
  */
149
- borderWidth?: number;
231
+ accessibility?: Highcharts.SeriesAccessibilityOptionsObject;
150
232
  /**
151
- * (Highcharts) Can set a color on all points which lies on the same
152
- * level.
233
+ * (Highcharts) Allow this series' points to be selected by clicking on
234
+ * the graphic (columns, point markers, pie slices, map areas etc).
235
+ *
236
+ * The selected points can be handled by point select and unselect
237
+ * events, or collectively by the getSelectedPoints function.
238
+ *
239
+ * And alternative way of selecting points is through dragging.
240
+ */
241
+ allowPointSelect?: boolean;
242
+ /**
243
+ * (Highcharts) Enable or disable the initial animation when a series is
244
+ * displayed. The animation can also be set as a configuration object.
245
+ * Please note that this option only applies to the initial animation of
246
+ * the series itself. For other animations, see chart.animation and the
247
+ * animation parameter under the API methods. The following properties
248
+ * are supported:
249
+ *
250
+ * - `defer`: The animation delay time in milliseconds.
251
+ *
252
+ * - `duration`: The duration of the animation in milliseconds.
253
+ * (Defaults to `1000`)
254
+ *
255
+ * - `easing`: Can be a string reference to an easing function set on
256
+ * the `Math` object or a function. See the _Custom easing function_
257
+ * demo below. (Defaults to `easeInOutSine`)
258
+ *
259
+ * Due to poor performance, animation is disabled in old IE browsers for
260
+ * several chart types.
261
+ */
262
+ animation?: (boolean|Highcharts.AnimationOptionsObject);
263
+ /**
264
+ * (Highcharts) For some series, there is a limit that shuts down
265
+ * animation by default when the total number of points in the chart is
266
+ * too high. For example, for a column chart and its derivatives,
267
+ * animation does not run if there is more than 250 points totally. To
268
+ * disable this cap, set `animationLimit` to `Infinity`. This option
269
+ * works if animation is fired on individual points, not on a group of
270
+ * points like e.g. during the initial animation.
271
+ */
272
+ animationLimit?: number;
273
+ /**
274
+ * (Highcharts) Sets the color blending in the boost module.
275
+ */
276
+ boostBlending?: Highcharts.OptionsBoostBlendingValue;
277
+ /**
278
+ * (Highcharts) Set the point threshold for when a series should enter
279
+ * boost mode.
280
+ *
281
+ * Setting it to e.g. 2000 will cause the series to enter boost mode
282
+ * when there are 2000 or more points in the series.
283
+ *
284
+ * To disable boosting on the series, set the `boostThreshold` to 0.
285
+ * Setting it to 1 will force boosting.
286
+ *
287
+ * Note that the cropThreshold also affects this setting. When zooming
288
+ * in on a series that has fewer points than the `cropThreshold`, all
289
+ * points are rendered although outside the visible plot area, and the
290
+ * `boostThreshold` won't take effect.
291
+ */
292
+ boostThreshold?: number;
293
+ /**
294
+ * (Highcharts) An additional class name to apply to the series'
295
+ * graphical elements. This option does not replace default class names
296
+ * of the graphical element. Changes to the series' color will also be
297
+ * reflected in a chart's legend and tooltip.
298
+ */
299
+ className?: string;
300
+ /**
301
+ * (Highcharts) Disable this option to allow series rendering in the
302
+ * whole plotting area.
303
+ *
304
+ * **Note:** Clipping should be always enabled when chart.zoomType is
305
+ * set
306
+ */
307
+ clip?: boolean;
308
+ /**
309
+ * (Highcharts) Options applied to collapse Button. The collape button
310
+ * is the small button which indicates, that the node is collapsable.
311
+ */
312
+ collapseButton?: Highcharts.PlotTreegraphCollapseButtonOptions;
313
+ /**
314
+ * (Highcharts) The main color of the series. In line type series it
315
+ * applies to the line and the point markers unless otherwise specified.
316
+ * In bar type series it applies to the bars unless a color is specified
317
+ * per point. The default value is pulled from the `options.colors`
318
+ * array.
319
+ *
320
+ * In styled mode, the color can be defined by the colorIndex option.
321
+ * Also, the series color can be set with the `.highcharts-series`,
322
+ * `.highcharts-color-{n}`, `.highcharts-{type}-series` or
323
+ * `.highcharts-series-{n}` class, or individual classes given by the
324
+ * `className` option.
153
325
  */
154
326
  color?: (Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject);
155
327
  /**
156
- * (Highcharts) A configuration object to define how the color of a
157
- * child varies from the parent's color. The variation is distributed
158
- * among the children of node. For example when setting brightness, the
159
- * brightness change will range from the parent's original brightness on
160
- * the first child, to the amount set in the `to` setting on the last
161
- * node. This allows a gradient-like color scheme that sets children out
162
- * from each other while highlighting the grouping on treemaps and
163
- * sectors on sunburst charts.
328
+ * (Highcharts) When using automatic point colors pulled from the
329
+ * `options.colors` collection, this option determines whether the chart
330
+ * should receive one color per series or one color per point.
164
331
  */
165
- colorVariation?: Highcharts.PlotTreegraphLevelsColorVariationOptions;
332
+ colorByPoint?: boolean;
166
333
  /**
167
- * (Highcharts) Can set the options of dataLabels on each point which
168
- * lies on the level. plotOptions.treemap.dataLabels for possible
169
- * values.
334
+ * (Highcharts) Styled mode only. A specific color index to use for the
335
+ * series, so its graphic representations are given the class name
336
+ * `highcharts-color-{n}`.
337
+ *
338
+ * Since v11, CSS variables on the form `--highcharts-color-{n}` make
339
+ * changing the color scheme very convenient.
170
340
  */
171
- dataLabels?: (Highcharts.PlotTreegraphLevelsDataLabelsOptions|Array<Highcharts.PlotTreegraphLevelsDataLabelsOptions>);
341
+ colorIndex?: number;
172
342
  /**
173
- * (Highcharts) Can set the layoutAlgorithm option on a specific level.
343
+ * (Highcharts) A series specific or series type specific color set to
344
+ * apply instead of the global colors when colorByPoint is true.
174
345
  */
175
- layoutAlgorithm?: Highcharts.OptionsLayoutAlgorithmValue;
346
+ colors?: Array<(Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject)>;
176
347
  /**
177
- * (Highcharts) Can set the layoutStartingDirection option on a specific
178
- * level.
348
+ * (Highcharts, Highstock, Gantt) When true, each point or column edge
349
+ * is rounded to its nearest pixel in order to render sharp on screen.
350
+ * In some cases, when there are a lot of densely packed columns, this
351
+ * leads to visible difference in column widths or distance between
352
+ * columns. In these cases, setting `crisp` to `false` may look better,
353
+ * even though each column is rendered blurry.
179
354
  */
180
- layoutStartingDirection?: Highcharts.OptionsLayoutStartingDirectionValue;
355
+ crisp?: boolean;
181
356
  /**
182
- * (Highcharts) Decides which level takes effect from the options set in
183
- * the levels object.
357
+ * (Highcharts) When the series contains less points than the crop
358
+ * threshold, all points are drawn, event if the points fall outside the
359
+ * visible plot area at the current zoom. The advantage of drawing all
360
+ * points (including markers and columns), is that animation is
361
+ * performed on updates. On the other hand, when the series contains
362
+ * more points than the crop threshold, the series data is cropped to
363
+ * only contain points that fall within the plot area. The advantage of
364
+ * cropping away invisible points is to increase performance on large
365
+ * series.
184
366
  */
185
- level?: number;
186
- }
187
- /**
188
- * (Highcharts) Options for the connector in the _Series on point_ feature.
189
- *
190
- * In styled mode, the connector can be styled with the
191
- * `.highcharts-connector-seriesonpoint` class name.
192
- */
193
- interface PlotTreegraphOnPointConnectorOptions {
367
+ cropThreshold?: number;
194
368
  /**
195
- * (Highcharts) A name for the dash style to use for the connector.
369
+ * (Highcharts) You can set the cursor to "pointer" if you have click
370
+ * events attached to the series, to signal to the user that the points
371
+ * and lines can be clicked.
372
+ *
373
+ * In styled mode, the series cursor can be set with the same classes as
374
+ * listed under series.color.
196
375
  */
197
- dashstyle?: string;
376
+ cursor?: (string|Highcharts.CursorValue);
198
377
  /**
199
- * (Highcharts) Color of the connector line. By default it's the series'
200
- * color.
378
+ * (Highcharts) A reserved subspace to store options and values for
379
+ * customized functionality. Here you can add additional data for your
380
+ * own event callbacks and formatter callbacks.
201
381
  */
202
- stroke?: string;
382
+ custom?: Highcharts.Dictionary<any>;
203
383
  /**
204
- * (Highcharts) Pixel width of the connector line.
384
+ * (Highcharts, Highstock, Highmaps, Gantt) Options for the data labels
385
+ * appearing on top of the nodes and links. For treegraph charts, data
386
+ * labels are visible for the nodes by default, but hidden for links.
387
+ * This is controlled by modifying the `nodeFormat`, and the `format`
388
+ * that applies to links and is an empty string by default.
205
389
  */
206
- width?: number;
207
- }
208
- /**
209
- * (Highcharts) Options allowing to set a position and an offset of the
210
- * series in the _Series on point_ feature.
211
- */
212
- interface PlotTreegraphOnPointPositionOptions {
390
+ dataLabels?: (Highcharts.SeriesTreegraphDataLabelsOptionsObject|Array<Highcharts.SeriesTreegraphDataLabelsOptionsObject>);
391
+ /**
392
+ * (Highcharts) A description of the series to add to the screen reader
393
+ * information about the series.
394
+ */
395
+ description?: string;
396
+ /**
397
+ * (Highcharts) Enable or disable the mouse tracking for a specific
398
+ * series. This includes point tooltips and click events on graphs and
399
+ * points. For large datasets it improves performance.
400
+ */
401
+ enableMouseTracking?: boolean;
213
402
  /**
214
- * (Highcharts) Series center offset from the original x position. If
215
- * defined, the connector line is drawn connecting original position
216
- * with new position.
403
+ * (Highcharts) General event handlers for the series items. These event
404
+ * hooks can also be attached to the series at run time using the
405
+ * `Highcharts.addEvent` function.
406
+ */
407
+ events?: Highcharts.SeriesEventsOptionsObject;
408
+ /**
409
+ * (Highcharts) Whether the treegraph series should fill the entire plot
410
+ * area in the X axis direction, even when there are collapsed points.
411
+ */
412
+ fillSpace?: boolean;
413
+ /**
414
+ * (Highcharts) Determines whether the series should look for the
415
+ * nearest point in both dimensions or just the x-dimension when
416
+ * hovering the series. Defaults to `'xy'` for scatter series and `'x'`
417
+ * for most other series. If the data has duplicate x-values, it is
418
+ * recommended to set this to `'xy'` to allow hovering over all points.
419
+ *
420
+ * Applies only to series types using nearest neighbor search (not
421
+ * direct hover) for tooltip.
217
422
  */
218
- offsetX?: number;
423
+ findNearestPointBy?: Highcharts.OptionsFindNearestPointByValue;
219
424
  /**
220
- * (Highcharts) Series center offset from the original y position. If
221
- * defined, the connector line is drawn from original position to a new
425
+ * (Highcharts, Highstock, Gantt) Whether to use the Y extremes of the
426
+ * total chart width or only the zoomed area when zooming in on parts of
427
+ * the X axis. By default, the Y axis adjusts to the min and max of the
428
+ * visible data. Cartesian series only.
429
+ */
430
+ getExtremesFromAll?: boolean;
431
+ /**
432
+ * (Highcharts) Highlight only the hovered point and fade the remaining
433
+ * points.
434
+ *
435
+ * Scatter-type series require enabling the 'inactive' marker state and
436
+ * adjusting opacity. Note that this approach could affect performance
437
+ * with large datasets.
438
+ */
439
+ inactiveOtherPoints?: boolean;
440
+ /**
441
+ * (Highcharts) When set to `false` will prevent the series data from
442
+ * being included in any form of data export.
443
+ *
444
+ * Since version 6.0.0 until 7.1.0 the option was existing undocumented
445
+ * as `includeInCSVExport`.
446
+ */
447
+ includeInDataExport?: boolean;
448
+ /**
449
+ * (Highcharts) An array specifying which option maps to which key in
450
+ * the data point array. This makes it convenient to work with
451
+ * unstructured data arrays from different sources.
452
+ */
453
+ keys?: Array<string>;
454
+ /**
455
+ * (Highcharts, Highstock, Gantt) Series labels are placed as close to
456
+ * the series as possible in a natural way, seeking to avoid other
457
+ * series. The goal of this feature is to make the chart more easily
458
+ * readable, like if a human designer placed the labels in the optimal
222
459
  * position.
460
+ *
461
+ * The series labels currently work with series types having a `graph`
462
+ * or an `area`.
463
+ */
464
+ label?: Highcharts.SeriesLabelOptionsObject;
465
+ /**
466
+ * (Highcharts) What type of legend symbol to render for this series.
467
+ * Can be one of `areaMarker`, `lineMarker` or `rectangle`.
468
+ */
469
+ legendSymbol?: Highcharts.OptionsLegendSymbolValue;
470
+ /**
471
+ * (Highcharts) Set options on specific levels. Takes precedence over
472
+ * series options, but not point options.
473
+ */
474
+ levels?: Array<Highcharts.PlotTreegraphLevelsOptions>;
475
+ link?: Highcharts.PlotTreegraphLinkOptions;
476
+ /**
477
+ * (Highcharts, Highstock, Gantt) The id of another series to link to.
478
+ * Additionally, the value can be ":previous" to link to the previous
479
+ * series. When two series are linked, only the first one appears in the
480
+ * legend. Toggling the visibility of this also toggles the linked
481
+ * series.
482
+ *
483
+ * If master series uses data sorting and linked series does not have
484
+ * its own sorting definition, the linked series will be sorted in the
485
+ * same order as the master one.
486
+ */
487
+ linkedTo?: string;
488
+ /**
489
+ * (Highcharts) Options for the point markers of line and scatter-like
490
+ * series. Properties like `fillColor`, `lineColor` and `lineWidth`
491
+ * define the visual appearance of the markers. The `symbol` option
492
+ * defines the shape. Other series types, like column series, don't have
493
+ * markers, but have visual options on the series level instead.
494
+ *
495
+ * In styled mode, the markers can be styled with the
496
+ * `.highcharts-point`, `.highcharts-point-hover` and
497
+ * `.highcharts-point-select` class names.
498
+ */
499
+ marker?: Highcharts.PointMarkerOptionsObject;
500
+ /**
501
+ * (Highcharts) The distance between nodes in a tree graph in the
502
+ * longitudinal direction. The longitudinal direction means the
503
+ * direction that the chart flows - in a horizontal chart the distance
504
+ * is horizontal, in an inverted chart (vertical), the distance is
505
+ * vertical.
506
+ *
507
+ * If a number is given, it denotes pixels. If a percentage string is
508
+ * given, the distance is a percentage of the rendered node width. A
509
+ * `nodeDistance` of `100%` will render equal widths for the nodes and
510
+ * the gaps between them.
511
+ *
512
+ * This option applies only when the `nodeWidth` option is `auto`,
513
+ * making the node width respond to the number of columns.
514
+ */
515
+ nodeDistance?: (number|string);
516
+ /**
517
+ * (Highcharts) The pixel width of each node in a, or the height in case
518
+ * the chart is inverted. For tree graphs, the node width is only
519
+ * applied if the marker symbol is `rect`, otherwise the `marker` sizing
520
+ * options apply.
521
+ *
522
+ * Can be a number or a percentage string, or `auto`. If `auto`, the
523
+ * nodes are sized to fill up the plot area in the longitudinal
524
+ * direction, regardless of the number of levels.
525
+ */
526
+ nodeWidth?: (number|string);
527
+ /**
528
+ * (Highcharts) Options for the _Series on point_ feature. Only `pie`
529
+ * and `sunburst` series are supported at this moment.
530
+ */
531
+ onPoint?: (object|Highcharts.PlotTreegraphOnPointOptions);
532
+ /**
533
+ * (Highcharts) The opacity of a point in treemap. When a point has
534
+ * children, the visibility of the children is determined by the
535
+ * opacity.
536
+ */
537
+ opacity?: number;
538
+ /**
539
+ * (Highcharts) Properties for each single point.
540
+ */
541
+ point?: Highcharts.PlotSeriesPointOptions;
542
+ /**
543
+ * (Highcharts) Same as accessibility.point.descriptionFormat, but for
544
+ * an individual series. Overrides the chart wide configuration.
545
+ */
546
+ pointDescriptionFormat?: Function;
547
+ /**
548
+ * (Highcharts) Same as accessibility.series.descriptionFormatter, but
549
+ * for an individual series. Overrides the chart wide configuration.
550
+ */
551
+ pointDescriptionFormatter?: Function;
552
+ /**
553
+ * (Highcharts, Highstock, Gantt) If no x values are given for the
554
+ * points in a series, `pointInterval` defines the interval of the x
555
+ * values. For example, if a series contains one value every decade
556
+ * starting from year 0, set `pointInterval` to `10`. In true `datetime`
557
+ * axes, the `pointInterval` is set in milliseconds.
558
+ *
559
+ * It can be also be combined with `pointIntervalUnit` to draw irregular
560
+ * time intervals.
561
+ *
562
+ * If combined with `relativeXValue`, an x value can be set on each
563
+ * point, and the `pointInterval` is added x times to the `pointStart`
564
+ * setting.
565
+ *
566
+ * Please note that this options applies to the _series data_, not the
567
+ * interval of the axis ticks, which is independent.
223
568
  */
224
- offsetY?: number;
569
+ pointInterval?: number;
225
570
  /**
226
- * (Highcharts) X position of the series center. By default, the series
227
- * is displayed on the point that it is connected to.
571
+ * (Highcharts, Highstock, Gantt) On datetime series, this allows for
572
+ * setting the pointInterval to irregular time units, `day`, `month` and
573
+ * `year`. A day is usually the same as 24 hours, but
574
+ * `pointIntervalUnit` also takes the DST crossover into consideration
575
+ * when dealing with local time. Combine this option with
576
+ * `pointInterval` to draw weeks, quarters, 6 months, 10 years etc.
577
+ *
578
+ * Please note that this options applies to the _series data_, not the
579
+ * interval of the axis ticks, which is independent.
580
+ */
581
+ pointIntervalUnit?: Highcharts.OptionsPointIntervalUnitValue;
582
+ /**
583
+ * (Highcharts, Highstock, Gantt) If no x values are given for the
584
+ * points in a series, `pointStart` defines on what value to start. For
585
+ * example, if a series contains one yearly value starting from 1945,
586
+ * set `pointStart` to 1945.
587
+ *
588
+ * The `pointStart` setting can be a number, or a datetime string that
589
+ * is parsed according to the `time.timezone` setting.
590
+ *
591
+ * If combined with `relativeXValue`, an x value can be set on each
592
+ * point. The x value from the point options is multiplied by
593
+ * `pointInterval` and added to `pointStart` to produce a modified x
594
+ * value.
595
+ */
596
+ pointStart?: (number|string);
597
+ /**
598
+ * (Highcharts, Highstock) When true, X values in the data set are
599
+ * relative to the current `pointStart`, `pointInterval` and
600
+ * `pointIntervalUnit` settings. This allows compression of the data for
601
+ * datasets with irregular X values.
602
+ *
603
+ * The real X values are computed on the formula `f(x) = ax + b`, where
604
+ * `a` is the `pointInterval` (optionally with a time unit given by
605
+ * `pointIntervalUnit`), and `b` is the `pointStart`.
606
+ */
607
+ relativeXValue?: boolean;
608
+ /**
609
+ * (Highcharts) Flips the positions of the nodes of a treegraph along
610
+ * the horizontal axis (vertical if chart is inverted).
611
+ */
612
+ reversed?: boolean;
613
+ /**
614
+ * (Highcharts) Whether to select the series initially. If
615
+ * `showCheckbox` is true, the checkbox next to the series name in the
616
+ * legend will be checked for a selected series.
617
+ */
618
+ selected?: boolean;
619
+ /**
620
+ * (Highcharts) If true, a checkbox is displayed next to the legend item
621
+ * to allow selecting the series. The state of the checkbox is
622
+ * determined by the `selected` option.
623
+ */
624
+ showCheckbox?: boolean;
625
+ /**
626
+ * (Highcharts) Whether to display this series type or specific series
627
+ * item in the legend.
628
+ */
629
+ showInLegend?: boolean;
630
+ /**
631
+ * (Highcharts) If set to `true`, the accessibility module will skip
632
+ * past the points in this series for keyboard navigation.
633
+ */
634
+ skipKeyboardNavigation?: boolean;
635
+ /**
636
+ * (Highcharts, Highstock) When this is true, the series will not cause
637
+ * the Y axis to cross the zero plane (or threshold option) unless the
638
+ * data actually crosses the plane.
639
+ *
640
+ * For example, if `softThreshold` is `false`, a series of 0, 1, 2, 3
641
+ * will make the Y axis show negative values according to the
642
+ * `minPadding` option. If `softThreshold` is `true`, the Y axis starts
643
+ * at 0.
644
+ */
645
+ softThreshold?: boolean;
646
+ /**
647
+ * (Highcharts) Sonification/audio chart options for a series.
648
+ */
649
+ sonification?: Highcharts.SeriesSonificationOptions;
650
+ /**
651
+ * (Highcharts, Highstock) Whether to stack the values of each series on
652
+ * top of each other. Possible values are `undefined` to disable,
653
+ * `"normal"` to stack by value or `"percent"`.
654
+ *
655
+ * When stacking is enabled, data must be sorted in ascending X order.
656
+ *
657
+ * Some stacking options are related to specific series types. In the
658
+ * streamgraph series type, the stacking option is set to `"stream"`.
659
+ * The second one is `"overlap"`, which only applies to waterfall
660
+ * series.
661
+ */
662
+ stacking?: Highcharts.OptionsStackingValue;
663
+ /**
664
+ * (Highcharts) A wrapper object for all the series options in specific
665
+ * states.
666
+ */
667
+ states?: Highcharts.SeriesStatesOptionsObject;
668
+ /**
669
+ * (Highcharts, Highstock) Whether to apply steps to the line. Possible
670
+ * values are `left`, `center` and `right`.
671
+ */
672
+ step?: Highcharts.OptionsStepValue;
673
+ /**
674
+ * (Highcharts, Highstock, Highmaps) Sticky tracking of mouse events.
675
+ * When true, the `mouseOut` event on a series isn't triggered until the
676
+ * mouse moves over another series, or out of the plot area. When false,
677
+ * the `mouseOut` event on a series is triggered when the mouse leaves
678
+ * the area around the series' graph or markers. This also implies the
679
+ * tooltip. When `stickyTracking` is false and `tooltip.shared` is
680
+ * false, the tooltip will be hidden when moving the mouse between
681
+ * series.
682
+ */
683
+ stickyTracking?: boolean;
684
+ /**
685
+ * (Highcharts, Highstock, Highmaps) A configuration object for the
686
+ * tooltip rendering of each single series. Properties are inherited
687
+ * from tooltip. Overridable properties are `headerFormat`,
688
+ * `pointFormat`, `yDecimals`, `xDateFormat`, `yPrefix` and `ySuffix`.
689
+ * Unlike other series, in a scatter plot the series.name by default
690
+ * shows in the headerFormat and point.x and point.y in the pointFormat.
691
+ */
692
+ tooltip?: Highcharts.SeriesTooltipOptionsObject;
693
+ /**
694
+ * (Highcharts) This option enables automatic traversing to the last
695
+ * child level upon node interaction. This feature simplifies navigation
696
+ * by immediately focusing on the deepest layer of the data structure
697
+ * without intermediate steps.
698
+ */
699
+ traverseToLeaf?: boolean;
700
+ /**
701
+ * (Highcharts, Highstock, Gantt) When a series contains a `data` array
702
+ * that is longer than this, the Series class looks for data
703
+ * configurations of plain numbers or arrays of numbers. The first and
704
+ * last valid points are checked. If found, the rest of the data is
705
+ * assumed to be the same. This saves expensive data checking and
706
+ * indexing in long series, and makes data-heavy charts render faster.
707
+ *
708
+ * Set it to `0` disable.
709
+ *
710
+ * Note:
711
+ *
712
+ * - In boost mode turbo threshold is forced. Only array of numbers or
713
+ * two dimensional arrays are allowed.
714
+ *
715
+ * - In version 11.4.3 and earlier, if object configurations were passed
716
+ * beyond the turbo threshold, a warning was logged in the console and
717
+ * the data series didn't render.
228
718
  */
229
- x?: number;
719
+ turboThreshold?: number;
230
720
  /**
231
- * (Highcharts) Y position of the series center. By default, the series
232
- * is displayed on the point that it is connected to.
721
+ * (Highcharts) Set the initial visibility of the series.
233
722
  */
234
- y?: number;
723
+ visible?: boolean;
235
724
  }
236
725
  /**
237
726
  * (Highcharts) Enable or disable the initial animation when a series is