ps-toolkit-ui 0.0.213 → 0.0.217

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 (1057) hide show
  1. package/bundles/ps-toolkit-ui.umd.js +16 -10
  2. package/bundles/ps-toolkit-ui.umd.js.map +1 -1
  3. package/bundles/ps-toolkit-ui.umd.min.js +1 -1
  4. package/bundles/ps-toolkit-ui.umd.min.js.map +1 -1
  5. package/esm2015/lib/classes/enum.class.js +2 -2
  6. package/esm2015/lib/classes/lang.class.js +4 -1
  7. package/esm2015/lib/classes/table.class.js +2 -3
  8. package/esm2015/lib/components/form/tree/form.tree.component.js +6 -4
  9. package/esm2015/lib/components/table/row/table.row.component.js +5 -3
  10. package/esm2015/lib/components/table/table.component.js +3 -3
  11. package/fesm2015/ps-toolkit-ui.js +16 -10
  12. package/fesm2015/ps-toolkit-ui.js.map +1 -1
  13. package/lib/classes/enum.class.d.ts +1 -1
  14. package/package.json +1 -1
  15. package/ps-toolkit-ui.metadata.json +1 -1
  16. package/src/assets/plugins/highcharts/code/css/annotations/popup.css +0 -276
  17. package/src/assets/plugins/highcharts/code/css/annotations/popup.scss +0 -289
  18. package/src/assets/plugins/highcharts/code/css/highcharts.css +0 -1013
  19. package/src/assets/plugins/highcharts/code/css/highcharts.scss +0 -896
  20. package/src/assets/plugins/highcharts/code/css/stocktools/gui.css +0 -271
  21. package/src/assets/plugins/highcharts/code/css/stocktools/gui.scss +0 -271
  22. package/src/assets/plugins/highcharts/code/css/themes/dark-unica.css +0 -1074
  23. package/src/assets/plugins/highcharts/code/css/themes/dark-unica.scss +0 -122
  24. package/src/assets/plugins/highcharts/code/css/themes/grid-light.css +0 -1027
  25. package/src/assets/plugins/highcharts/code/css/themes/grid-light.scss +0 -33
  26. package/src/assets/plugins/highcharts/code/css/themes/sand-signika.css +0 -1043
  27. package/src/assets/plugins/highcharts/code/css/themes/sand-signika.scss +0 -74
  28. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/A11yI18n.js +0 -299
  29. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Accessibility.js +0 -401
  30. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/AccessibilityComponent.js +0 -153
  31. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/AnnotationsA11y.js +0 -160
  32. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/ContainerComponent.js +0 -159
  33. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/InfoRegionsComponent.js +0 -543
  34. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/LegendComponent.js +0 -478
  35. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/MenuComponent.js +0 -451
  36. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/RangeSelectorComponent.js +0 -506
  37. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/SeriesComponent/ForcedMarkers.js +0 -217
  38. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/SeriesComponent/NewDataAnnouncer.js +0 -324
  39. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/SeriesComponent/SeriesComponent.js +0 -148
  40. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js +0 -390
  41. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/SeriesComponent/SeriesKeyboardNavigation.js +0 -650
  42. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/ZoomComponent.js +0 -375
  43. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/FocusBorder.js +0 -302
  44. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/HighContrastMode.js +0 -96
  45. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/HighContrastTheme.js +0 -221
  46. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/KeyboardNavigation.js +0 -449
  47. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/KeyboardNavigationHandler.js +0 -128
  48. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Options/DeprecatedOptions.js +0 -250
  49. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Options/LangOptions.js +0 -339
  50. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Options/Options.js +0 -831
  51. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/ProxyElement.js +0 -218
  52. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/ProxyProvider.js +0 -302
  53. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Utils/Announcer.js +0 -91
  54. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Utils/ChartUtilities.js +0 -294
  55. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Utils/DOMElementProvider.js +0 -62
  56. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Utils/EventProvider.js +0 -58
  57. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Utils/HTMLUtilities.js +0 -305
  58. package/src/assets/plugins/highcharts/code/es-modules/Core/Animation/AnimationUtilities.js +0 -200
  59. package/src/assets/plugins/highcharts/code/es-modules/Core/Animation/Fx.js +0 -387
  60. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/Axis.js +0 -3225
  61. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/Axis3D.js +0 -612
  62. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/AxisDefaults.js +0 -2935
  63. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/BrokenAxis.js +0 -601
  64. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/Color/ColorAxis.js +0 -668
  65. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/Color/ColorAxisComposition.js +0 -287
  66. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/Color/ColorAxisDefaults.js +0 -434
  67. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/DateTimeAxis.js +0 -196
  68. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/GridAxis.js +0 -1046
  69. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/LogarithmicAxis.js +0 -202
  70. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/NavigatorAxis.js +0 -159
  71. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/OrdinalAxis.js +0 -992
  72. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBand.js +0 -873
  73. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js +0 -287
  74. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/RadialAxis.js +0 -954
  75. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/ScrollbarAxis.js +0 -182
  76. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/SolidGaugeAxis.js +0 -127
  77. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/StackingAxis.js +0 -216
  78. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/Tick.js +0 -723
  79. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/Tick3D.js +0 -68
  80. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/TreeGridAxis.js +0 -720
  81. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/TreeGridTick.js +0 -306
  82. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/WaterfallAxis.js +0 -149
  83. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/ZAxis.js +0 -156
  84. package/src/assets/plugins/highcharts/code/es-modules/Core/Chart/Chart.js +0 -2909
  85. package/src/assets/plugins/highcharts/code/es-modules/Core/Chart/Chart3D.js +0 -1695
  86. package/src/assets/plugins/highcharts/code/es-modules/Core/Chart/ChartDefaults.js +0 -1053
  87. package/src/assets/plugins/highcharts/code/es-modules/Core/Chart/ChartNavigationComposition.js +0 -92
  88. package/src/assets/plugins/highcharts/code/es-modules/Core/Chart/GanttChart.js +0 -177
  89. package/src/assets/plugins/highcharts/code/es-modules/Core/Chart/MapChart.js +0 -179
  90. package/src/assets/plugins/highcharts/code/es-modules/Core/Chart/StockChart.js +0 -644
  91. package/src/assets/plugins/highcharts/code/es-modules/Core/Color/Color.js +0 -419
  92. package/src/assets/plugins/highcharts/code/es-modules/Core/Color/Palettes.js +0 -22
  93. package/src/assets/plugins/highcharts/code/es-modules/Core/DefaultOptions.js +0 -2743
  94. package/src/assets/plugins/highcharts/code/es-modules/Core/FormatUtilities.js +0 -246
  95. package/src/assets/plugins/highcharts/code/es-modules/Core/Foundation.js +0 -61
  96. package/src/assets/plugins/highcharts/code/es-modules/Core/Geometry/CircleUtilities.js +0 -386
  97. package/src/assets/plugins/highcharts/code/es-modules/Core/Geometry/GeometryUtilities.js +0 -83
  98. package/src/assets/plugins/highcharts/code/es-modules/Core/Globals.js +0 -131
  99. package/src/assets/plugins/highcharts/code/es-modules/Core/HttpUtilities.js +0 -195
  100. package/src/assets/plugins/highcharts/code/es-modules/Core/Legend/Legend.js +0 -1284
  101. package/src/assets/plugins/highcharts/code/es-modules/Core/Legend/LegendSymbol.js +0 -109
  102. package/src/assets/plugins/highcharts/code/es-modules/Core/MSPointer.js +0 -170
  103. package/src/assets/plugins/highcharts/code/es-modules/Core/Navigator.js +0 -1958
  104. package/src/assets/plugins/highcharts/code/es-modules/Core/Pointer.js +0 -1518
  105. package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/HTML/AST.js +0 -475
  106. package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/HTML/HTMLElement.js +0 -261
  107. package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/HTML/HTMLRenderer.js +0 -272
  108. package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/RendererRegistry.js +0 -77
  109. package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/RendererUtilities.js +0 -159
  110. package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/SVG/SVGElement.js +0 -2176
  111. package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/SVG/SVGElement3D.js +0 -160
  112. package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/SVG/SVGLabel.js +0 -408
  113. package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/SVG/SVGRenderer.js +0 -1900
  114. package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/SVG/SVGRenderer3D.js +0 -842
  115. package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/SVG/Symbols.js +0 -197
  116. package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/SVG/TextBuilder.js +0 -452
  117. package/src/assets/plugins/highcharts/code/es-modules/Core/Responsive.js +0 -334
  118. package/src/assets/plugins/highcharts/code/es-modules/Core/Scrollbar.js +0 -658
  119. package/src/assets/plugins/highcharts/code/es-modules/Core/ScrollbarDefaults.js +0 -218
  120. package/src/assets/plugins/highcharts/code/es-modules/Core/Series/DataLabel.js +0 -568
  121. package/src/assets/plugins/highcharts/code/es-modules/Core/Series/Point.js +0 -1307
  122. package/src/assets/plugins/highcharts/code/es-modules/Core/Series/Series.js +0 -3718
  123. package/src/assets/plugins/highcharts/code/es-modules/Core/Series/Series3D.js +0 -126
  124. package/src/assets/plugins/highcharts/code/es-modules/Core/Series/SeriesDefaults.js +0 -2293
  125. package/src/assets/plugins/highcharts/code/es-modules/Core/Series/SeriesRegistry.js +0 -127
  126. package/src/assets/plugins/highcharts/code/es-modules/Core/Time.js +0 -741
  127. package/src/assets/plugins/highcharts/code/es-modules/Core/Tooltip.js +0 -1378
  128. package/src/assets/plugins/highcharts/code/es-modules/Core/Utilities.js +0 -1967
  129. package/src/assets/plugins/highcharts/code/es-modules/Data/DataConverter.js +0 -483
  130. package/src/assets/plugins/highcharts/code/es-modules/Data/DataPromise.js +0 -252
  131. package/src/assets/plugins/highcharts/code/es-modules/Data/DataSeriesConverter.js +0 -207
  132. package/src/assets/plugins/highcharts/code/es-modules/Data/DataTable.js +0 -1205
  133. package/src/assets/plugins/highcharts/code/es-modules/Data/Modifiers/ChainModifier.js +0 -299
  134. package/src/assets/plugins/highcharts/code/es-modules/Data/Modifiers/DataModifier.js +0 -303
  135. package/src/assets/plugins/highcharts/code/es-modules/Data/Modifiers/GroupModifier.js +0 -144
  136. package/src/assets/plugins/highcharts/code/es-modules/Data/Modifiers/InvertModifier.js +0 -254
  137. package/src/assets/plugins/highcharts/code/es-modules/Data/Modifiers/RangeModifier.js +0 -143
  138. package/src/assets/plugins/highcharts/code/es-modules/Data/Modifiers/SeriesPointsModifier.js +0 -110
  139. package/src/assets/plugins/highcharts/code/es-modules/Data/Modifiers/SortModifier.js +0 -249
  140. package/src/assets/plugins/highcharts/code/es-modules/Data/Parsers/CSVParser.js +0 -400
  141. package/src/assets/plugins/highcharts/code/es-modules/Data/Parsers/DataParser.js +0 -101
  142. package/src/assets/plugins/highcharts/code/es-modules/Data/Parsers/GoogleSheetsParser.js +0 -223
  143. package/src/assets/plugins/highcharts/code/es-modules/Data/Parsers/HTMLTableParser.js +0 -213
  144. package/src/assets/plugins/highcharts/code/es-modules/Data/Stores/CSVStore.js +0 -317
  145. package/src/assets/plugins/highcharts/code/es-modules/Data/Stores/DataStore.js +0 -276
  146. package/src/assets/plugins/highcharts/code/es-modules/Data/Stores/GoogleSheetsStore.js +0 -169
  147. package/src/assets/plugins/highcharts/code/es-modules/Data/Stores/HTMLTableStore.js +0 -353
  148. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Annotations.js +0 -1442
  149. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/ControlPoint.js +0 -141
  150. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Controllables/ControllableCircle.js +0 -117
  151. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Controllables/ControllableEllipse.js +0 -199
  152. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Controllables/ControllableImage.js +0 -111
  153. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Controllables/ControllableLabel.js +0 -387
  154. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Controllables/ControllablePath.js +0 -181
  155. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Controllables/ControllableRect.js +0 -121
  156. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Mixins/ControllableMixin.js +0 -378
  157. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Mixins/EventEmitterMixin.js +0 -221
  158. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Mixins/MarkerMixin.js +0 -179
  159. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/MockPoint.js +0 -428
  160. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/NavigationBindings.js +0 -1212
  161. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Popup.js +0 -1123
  162. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Types/BasicAnnotation.js +0 -237
  163. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Types/CrookedLine.js +0 -185
  164. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Types/ElliottWave.js +0 -95
  165. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Types/Fibonacci.js +0 -205
  166. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Types/FibonacciTimeZones.js +0 -219
  167. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Types/InfinityLine.js +0 -161
  168. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Types/Measure.js +0 -791
  169. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Types/Pitchfork.js +0 -194
  170. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Types/TimeCycles.js +0 -211
  171. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Types/Tunnel.js +0 -211
  172. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Types/VerticalLine.js +0 -156
  173. package/src/assets/plugins/highcharts/code/es-modules/Extensions/ArrowSymbols.js +0 -166
  174. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/Boost.js +0 -34
  175. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/BoostAttach.js +0 -150
  176. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/BoostInit.js +0 -318
  177. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/BoostOptions.js +0 -219
  178. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/BoostOverrides.js +0 -386
  179. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/BoostUtils.js +0 -255
  180. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/BoostableMap.js +0 -18
  181. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/Boostables.js +0 -25
  182. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/NamedColors.js +0 -162
  183. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/WGLRenderer.js +0 -1188
  184. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/WGLShader.js +0 -470
  185. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/WGLVBuffer.js +0 -153
  186. package/src/assets/plugins/highcharts/code/es-modules/Extensions/BoostCanvas.js +0 -509
  187. package/src/assets/plugins/highcharts/code/es-modules/Extensions/CurrentDateIndication.js +0 -100
  188. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Data.js +0 -2037
  189. package/src/assets/plugins/highcharts/code/es-modules/Extensions/DataGrouping.js +0 -1134
  190. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Debugger/Debugger.js +0 -101
  191. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Debugger/ErrorMessages.js +0 -106
  192. package/src/assets/plugins/highcharts/code/es-modules/Extensions/DownloadURL.js +0 -106
  193. package/src/assets/plugins/highcharts/code/es-modules/Extensions/DragPanes.js +0 -512
  194. package/src/assets/plugins/highcharts/code/es-modules/Extensions/DraggablePoints.js +0 -2259
  195. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Drilldown.js +0 -1170
  196. package/src/assets/plugins/highcharts/code/es-modules/Extensions/ExportData.js +0 -997
  197. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Exporting/Exporting.js +0 -1260
  198. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Exporting/ExportingDefaults.js +0 -796
  199. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Exporting/ExportingSymbols.js +0 -73
  200. package/src/assets/plugins/highcharts/code/es-modules/Extensions/FullScreen.js +0 -240
  201. package/src/assets/plugins/highcharts/code/es-modules/Extensions/GeoJSON.js +0 -436
  202. package/src/assets/plugins/highcharts/code/es-modules/Extensions/MarkerClusters.js +0 -1436
  203. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Math3D.js +0 -245
  204. package/src/assets/plugins/highcharts/code/es-modules/Extensions/NoDataToDisplay.js +0 -189
  205. package/src/assets/plugins/highcharts/code/es-modules/Extensions/OfflineExporting/OfflineExporting.js +0 -617
  206. package/src/assets/plugins/highcharts/code/es-modules/Extensions/OfflineExporting/OfflineExportingDefaults.js +0 -58
  207. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Oldie/Oldie.js +0 -1182
  208. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Oldie/VMLAxis3D.js +0 -101
  209. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Oldie/VMLRenderer3D.js +0 -47
  210. package/src/assets/plugins/highcharts/code/es-modules/Extensions/OldiePolyfills.js +0 -167
  211. package/src/assets/plugins/highcharts/code/es-modules/Extensions/OverlappingDataLabels.js +0 -226
  212. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Pane.js +0 -404
  213. package/src/assets/plugins/highcharts/code/es-modules/Extensions/ParallelCoordinates.js +0 -464
  214. package/src/assets/plugins/highcharts/code/es-modules/Extensions/PatternFill.js +0 -580
  215. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Polar.js +0 -740
  216. package/src/assets/plugins/highcharts/code/es-modules/Extensions/PriceIndication.js +0 -292
  217. package/src/assets/plugins/highcharts/code/es-modules/Extensions/RangeSelector.js +0 -2175
  218. package/src/assets/plugins/highcharts/code/es-modules/Extensions/ScrollablePlotArea.js +0 -387
  219. package/src/assets/plugins/highcharts/code/es-modules/Extensions/SeriesLabel.js +0 -765
  220. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/ChartSonify.js +0 -724
  221. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/Earcon.js +0 -197
  222. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/Instrument.js +0 -606
  223. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/MusicalFrequencies.js +0 -122
  224. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/Options.js +0 -44
  225. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/PointSonify.js +0 -391
  226. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/SeriesSonify.js +0 -474
  227. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/SignalHandler.js +0 -122
  228. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/Sonification.js +0 -97
  229. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/SonificationUtilities.js +0 -150
  230. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/Timeline.js +0 -308
  231. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/TimelineEvent.js +0 -157
  232. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/TimelinePath.js +0 -311
  233. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Stacking.js +0 -516
  234. package/src/assets/plugins/highcharts/code/es-modules/Extensions/StaticScale.js +0 -76
  235. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/Avocado.js +0 -67
  236. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/BrandDark.js +0 -293
  237. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/BrandLight.js +0 -259
  238. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/DarkBlue.js +0 -279
  239. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/DarkGreen.js +0 -279
  240. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/DarkUnica.js +0 -249
  241. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/Gray.js +0 -287
  242. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/Grid.js +0 -140
  243. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/GridLight.js +0 -111
  244. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/HighContrastDark.js +0 -239
  245. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/HighContrastLight.js +0 -69
  246. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/SandSignika.js +0 -144
  247. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/Skies.js +0 -131
  248. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/Sunset.js +0 -66
  249. package/src/assets/plugins/highcharts/code/es-modules/Gantt/Connection.js +0 -838
  250. package/src/assets/plugins/highcharts/code/es-modules/Gantt/Pathfinder.js +0 -818
  251. package/src/assets/plugins/highcharts/code/es-modules/Gantt/PathfinderAlgorithms.js +0 -657
  252. package/src/assets/plugins/highcharts/code/es-modules/Gantt/Tree.js +0 -110
  253. package/src/assets/plugins/highcharts/code/es-modules/Maps/MapNavigation.js +0 -278
  254. package/src/assets/plugins/highcharts/code/es-modules/Maps/MapNavigationOptionsDefault.js +0 -264
  255. package/src/assets/plugins/highcharts/code/es-modules/Maps/MapPointer.js +0 -83
  256. package/src/assets/plugins/highcharts/code/es-modules/Maps/MapSymbols.js +0 -80
  257. package/src/assets/plugins/highcharts/code/es-modules/Maps/MapView.js +0 -450
  258. package/src/assets/plugins/highcharts/code/es-modules/Maps/MapViewOptionsDefault.js +0 -97
  259. package/src/assets/plugins/highcharts/code/es-modules/Maps/Projection.js +0 -436
  260. package/src/assets/plugins/highcharts/code/es-modules/Maps/ProjectionDefinition.js +0 -9
  261. package/src/assets/plugins/highcharts/code/es-modules/Maps/Projections/EqualEarth.js +0 -42
  262. package/src/assets/plugins/highcharts/code/es-modules/Maps/Projections/LambertConformalConic.js +0 -52
  263. package/src/assets/plugins/highcharts/code/es-modules/Maps/Projections/Miller.js +0 -16
  264. package/src/assets/plugins/highcharts/code/es-modules/Maps/Projections/Orthographic.js +0 -26
  265. package/src/assets/plugins/highcharts/code/es-modules/Maps/Projections/ProjectionRegistry.js +0 -19
  266. package/src/assets/plugins/highcharts/code/es-modules/Maps/Projections/WebMercator.js +0 -24
  267. package/src/assets/plugins/highcharts/code/es-modules/Series/Area/AreaSeries.js +0 -563
  268. package/src/assets/plugins/highcharts/code/es-modules/Series/Area3DSeries.js +0 -70
  269. package/src/assets/plugins/highcharts/code/es-modules/Series/AreaRange/AreaRangePoint.js +0 -129
  270. package/src/assets/plugins/highcharts/code/es-modules/Series/AreaRange/AreaRangeSeries.js +0 -650
  271. package/src/assets/plugins/highcharts/code/es-modules/Series/AreaSpline/AreaSplineSeries.js +0 -203
  272. package/src/assets/plugins/highcharts/code/es-modules/Series/AreaSplineRange/AreaSplineRangeSeries.js +0 -199
  273. package/src/assets/plugins/highcharts/code/es-modules/Series/Bar/BarSeries.js +0 -171
  274. package/src/assets/plugins/highcharts/code/es-modules/Series/Bellcurve/BellcurveSeries.js +0 -241
  275. package/src/assets/plugins/highcharts/code/es-modules/Series/BoxPlot/BoxPlotSeries.js +0 -681
  276. package/src/assets/plugins/highcharts/code/es-modules/Series/Bubble/BubbleLegendComposition.js +0 -279
  277. package/src/assets/plugins/highcharts/code/es-modules/Series/Bubble/BubbleLegendDefaults.js +0 -266
  278. package/src/assets/plugins/highcharts/code/es-modules/Series/Bubble/BubbleLegendItem.js +0 -462
  279. package/src/assets/plugins/highcharts/code/es-modules/Series/Bubble/BubblePoint.js +0 -77
  280. package/src/assets/plugins/highcharts/code/es-modules/Series/Bubble/BubbleSeries.js +0 -676
  281. package/src/assets/plugins/highcharts/code/es-modules/Series/Bullet/BulletPoint.js +0 -62
  282. package/src/assets/plugins/highcharts/code/es-modules/Series/Bullet/BulletSeries.js +0 -365
  283. package/src/assets/plugins/highcharts/code/es-modules/Series/Candlestick/CandlestickSeries.js +0 -333
  284. package/src/assets/plugins/highcharts/code/es-modules/Series/CenteredUtilities.js +0 -128
  285. package/src/assets/plugins/highcharts/code/es-modules/Series/ColorMapMixin.js +0 -84
  286. package/src/assets/plugins/highcharts/code/es-modules/Series/Column/ColumnDataLabel.js +0 -109
  287. package/src/assets/plugins/highcharts/code/es-modules/Series/Column/ColumnSeries.js +0 -1171
  288. package/src/assets/plugins/highcharts/code/es-modules/Series/Column3D/Column3DComposition.js +0 -508
  289. package/src/assets/plugins/highcharts/code/es-modules/Series/ColumnPyramid/ColumnPyramidSeries.js +0 -308
  290. package/src/assets/plugins/highcharts/code/es-modules/Series/ColumnRange/ColumnRangePoint.js +0 -62
  291. package/src/assets/plugins/highcharts/code/es-modules/Series/ColumnRange/ColumnRangeSeries.js +0 -308
  292. package/src/assets/plugins/highcharts/code/es-modules/Series/Cylinder/CylinderComposition.js +0 -274
  293. package/src/assets/plugins/highcharts/code/es-modules/Series/Cylinder/CylinderPoint.js +0 -60
  294. package/src/assets/plugins/highcharts/code/es-modules/Series/Cylinder/CylinderSeries.js +0 -175
  295. package/src/assets/plugins/highcharts/code/es-modules/Series/DataModifyComposition.js +0 -539
  296. package/src/assets/plugins/highcharts/code/es-modules/Series/DependencyWheel/DependencyWheelPoint.js +0 -100
  297. package/src/assets/plugins/highcharts/code/es-modules/Series/DependencyWheel/DependencyWheelSeries.js +0 -368
  298. package/src/assets/plugins/highcharts/code/es-modules/Series/DerivedComposition.js +0 -137
  299. package/src/assets/plugins/highcharts/code/es-modules/Series/DotPlot/DotPlotSeries.js +0 -158
  300. package/src/assets/plugins/highcharts/code/es-modules/Series/DrawPointComposition.js +0 -111
  301. package/src/assets/plugins/highcharts/code/es-modules/Series/Dumbbell/DumbbellPoint.js +0 -104
  302. package/src/assets/plugins/highcharts/code/es-modules/Series/Dumbbell/DumbbellSeries.js +0 -464
  303. package/src/assets/plugins/highcharts/code/es-modules/Series/ErrorBar/ErrorBarSeries.js +0 -228
  304. package/src/assets/plugins/highcharts/code/es-modules/Series/Flags/FlagsPoint.js +0 -74
  305. package/src/assets/plugins/highcharts/code/es-modules/Series/Flags/FlagsSeries.js +0 -614
  306. package/src/assets/plugins/highcharts/code/es-modules/Series/Flags/FlagsSymbols.js +0 -90
  307. package/src/assets/plugins/highcharts/code/es-modules/Series/Funnel/FunnelSeries.js +0 -517
  308. package/src/assets/plugins/highcharts/code/es-modules/Series/Funnel3D/Funnel3DComposition.js +0 -383
  309. package/src/assets/plugins/highcharts/code/es-modules/Series/Funnel3D/Funnel3DPoint.js +0 -62
  310. package/src/assets/plugins/highcharts/code/es-modules/Series/Funnel3D/Funnel3DSeries.js +0 -447
  311. package/src/assets/plugins/highcharts/code/es-modules/Series/Gantt/GanttPoint.js +0 -109
  312. package/src/assets/plugins/highcharts/code/es-modules/Series/Gantt/GanttSeries.js +0 -352
  313. package/src/assets/plugins/highcharts/code/es-modules/Series/Gauge/GaugePoint.js +0 -66
  314. package/src/assets/plugins/highcharts/code/es-modules/Series/Gauge/GaugeSeries.js +0 -568
  315. package/src/assets/plugins/highcharts/code/es-modules/Series/HLC/HLCPoint.js +0 -55
  316. package/src/assets/plugins/highcharts/code/es-modules/Series/HLC/HLCSeries.js +0 -378
  317. package/src/assets/plugins/highcharts/code/es-modules/Series/Heatmap/HeatmapPoint.js +0 -144
  318. package/src/assets/plugins/highcharts/code/es-modules/Series/Heatmap/HeatmapSeries.js +0 -946
  319. package/src/assets/plugins/highcharts/code/es-modules/Series/HeikinAshi/HeikinAshiPoint.js +0 -60
  320. package/src/assets/plugins/highcharts/code/es-modules/Series/HeikinAshi/HeikinAshiSeries.js +0 -278
  321. package/src/assets/plugins/highcharts/code/es-modules/Series/Histogram/HistogramSeries.js +0 -253
  322. package/src/assets/plugins/highcharts/code/es-modules/Series/HollowCandlestick/HollowCandlestickPoint.js +0 -80
  323. package/src/assets/plugins/highcharts/code/es-modules/Series/HollowCandlestick/HollowCandlestickSeries.js +0 -368
  324. package/src/assets/plugins/highcharts/code/es-modules/Series/Item/ItemPoint.js +0 -59
  325. package/src/assets/plugins/highcharts/code/es-modules/Series/Item/ItemSeries.js +0 -505
  326. package/src/assets/plugins/highcharts/code/es-modules/Series/Line/LineSeries.js +0 -541
  327. package/src/assets/plugins/highcharts/code/es-modules/Series/Lollipop/LollipopPoint.js +0 -60
  328. package/src/assets/plugins/highcharts/code/es-modules/Series/Lollipop/LollipopSeries.js +0 -209
  329. package/src/assets/plugins/highcharts/code/es-modules/Series/Map/MapPoint.js +0 -136
  330. package/src/assets/plugins/highcharts/code/es-modules/Series/Map/MapSeries.js +0 -1100
  331. package/src/assets/plugins/highcharts/code/es-modules/Series/MapBubble/MapBubblePoint.js +0 -73
  332. package/src/assets/plugins/highcharts/code/es-modules/Series/MapBubble/MapBubbleSeries.js +0 -283
  333. package/src/assets/plugins/highcharts/code/es-modules/Series/MapLine/MapLineSeries.js +0 -181
  334. package/src/assets/plugins/highcharts/code/es-modules/Series/MapPoint/MapPointPoint.js +0 -71
  335. package/src/assets/plugins/highcharts/code/es-modules/Series/MapPoint/MapPointSeries.js +0 -309
  336. package/src/assets/plugins/highcharts/code/es-modules/Series/Networkgraph/DraggableNodes.js +0 -132
  337. package/src/assets/plugins/highcharts/code/es-modules/Series/Networkgraph/Integrations.js +0 -348
  338. package/src/assets/plugins/highcharts/code/es-modules/Series/Networkgraph/Layouts.js +0 -555
  339. package/src/assets/plugins/highcharts/code/es-modules/Series/Networkgraph/Networkgraph.js +0 -1178
  340. package/src/assets/plugins/highcharts/code/es-modules/Series/Networkgraph/QuadTree.js +0 -352
  341. package/src/assets/plugins/highcharts/code/es-modules/Series/NodesComposition.js +0 -229
  342. package/src/assets/plugins/highcharts/code/es-modules/Series/OHLC/OHLCPoint.js +0 -116
  343. package/src/assets/plugins/highcharts/code/es-modules/Series/OHLC/OHLCSeries.js +0 -254
  344. package/src/assets/plugins/highcharts/code/es-modules/Series/OnSeriesComposition.js +0 -168
  345. package/src/assets/plugins/highcharts/code/es-modules/Series/Organization/OrganizationPoint.js +0 -71
  346. package/src/assets/plugins/highcharts/code/es-modules/Series/Organization/OrganizationSeries.js +0 -594
  347. package/src/assets/plugins/highcharts/code/es-modules/Series/PackedBubble/PackedBubbleComposition.js +0 -172
  348. package/src/assets/plugins/highcharts/code/es-modules/Series/PackedBubble/PackedBubblePoint.js +0 -98
  349. package/src/assets/plugins/highcharts/code/es-modules/Series/PackedBubble/PackedBubbleSeries.js +0 -1284
  350. package/src/assets/plugins/highcharts/code/es-modules/Series/ParetoSeries/ParetoSeries.js +0 -195
  351. package/src/assets/plugins/highcharts/code/es-modules/Series/Pie/PieDataLabel.js +0 -447
  352. package/src/assets/plugins/highcharts/code/es-modules/Series/Pie/PiePoint.js +0 -270
  353. package/src/assets/plugins/highcharts/code/es-modules/Series/Pie/PieSeries.js +0 -1074
  354. package/src/assets/plugins/highcharts/code/es-modules/Series/Pie3D/Pie3DComposition.js +0 -27
  355. package/src/assets/plugins/highcharts/code/es-modules/Series/Pie3D/Pie3DPoint.js +0 -72
  356. package/src/assets/plugins/highcharts/code/es-modules/Series/Pie3D/Pie3DSeries.js +0 -200
  357. package/src/assets/plugins/highcharts/code/es-modules/Series/Polygon/PolygonSeries.js +0 -195
  358. package/src/assets/plugins/highcharts/code/es-modules/Series/Pyramid/PyramidSeries.js +0 -161
  359. package/src/assets/plugins/highcharts/code/es-modules/Series/Pyramid3D/Pyramid3DSeries.js +0 -172
  360. package/src/assets/plugins/highcharts/code/es-modules/Series/Sankey/SankeyPoint.js +0 -97
  361. package/src/assets/plugins/highcharts/code/es-modules/Series/Sankey/SankeySeries.js +0 -1195
  362. package/src/assets/plugins/highcharts/code/es-modules/Series/Scatter/ScatterSeries.js +0 -306
  363. package/src/assets/plugins/highcharts/code/es-modules/Series/Scatter3D/Scatter3DPoint.js +0 -66
  364. package/src/assets/plugins/highcharts/code/es-modules/Series/Scatter3D/Scatter3DSeries.js +0 -194
  365. package/src/assets/plugins/highcharts/code/es-modules/Series/SolidGauge/SolidGaugeComposition.js +0 -62
  366. package/src/assets/plugins/highcharts/code/es-modules/Series/SolidGauge/SolidGaugeSeries.js +0 -358
  367. package/src/assets/plugins/highcharts/code/es-modules/Series/Spline/SplineSeries.js +0 -279
  368. package/src/assets/plugins/highcharts/code/es-modules/Series/Streamgraph/StreamgraphSeries.js +0 -213
  369. package/src/assets/plugins/highcharts/code/es-modules/Series/Sunburst/SunburstPoint.js +0 -115
  370. package/src/assets/plugins/highcharts/code/es-modules/Series/Sunburst/SunburstSeries.js +0 -907
  371. package/src/assets/plugins/highcharts/code/es-modules/Series/Sunburst/SunburstUtilities.js +0 -138
  372. package/src/assets/plugins/highcharts/code/es-modules/Series/Tilemap/TilemapComposition.js +0 -61
  373. package/src/assets/plugins/highcharts/code/es-modules/Series/Tilemap/TilemapPoint.js +0 -77
  374. package/src/assets/plugins/highcharts/code/es-modules/Series/Tilemap/TilemapSeries.js +0 -368
  375. package/src/assets/plugins/highcharts/code/es-modules/Series/Tilemap/TilemapShapes.js +0 -275
  376. package/src/assets/plugins/highcharts/code/es-modules/Series/Timeline/TimelinePoint.js +0 -168
  377. package/src/assets/plugins/highcharts/code/es-modules/Series/Timeline/TimelineSeries.js +0 -552
  378. package/src/assets/plugins/highcharts/code/es-modules/Series/TreeUtilities.js +0 -192
  379. package/src/assets/plugins/highcharts/code/es-modules/Series/Treemap/TreemapAlgorithmGroup.js +0 -93
  380. package/src/assets/plugins/highcharts/code/es-modules/Series/Treemap/TreemapComposition.js +0 -58
  381. package/src/assets/plugins/highcharts/code/es-modules/Series/Treemap/TreemapPoint.js +0 -107
  382. package/src/assets/plugins/highcharts/code/es-modules/Series/Treemap/TreemapSeries.js +0 -1473
  383. package/src/assets/plugins/highcharts/code/es-modules/Series/Treemap/TreemapUtilities.js +0 -65
  384. package/src/assets/plugins/highcharts/code/es-modules/Series/VariablePie/VariablePieSeries.js +0 -446
  385. package/src/assets/plugins/highcharts/code/es-modules/Series/Variwide/VariwideComposition.js +0 -78
  386. package/src/assets/plugins/highcharts/code/es-modules/Series/Variwide/VariwidePoint.js +0 -63
  387. package/src/assets/plugins/highcharts/code/es-modules/Series/Variwide/VariwideSeries.js +0 -317
  388. package/src/assets/plugins/highcharts/code/es-modules/Series/Vector/VectorSeries.js +0 -362
  389. package/src/assets/plugins/highcharts/code/es-modules/Series/Venn/VennPoint.js +0 -76
  390. package/src/assets/plugins/highcharts/code/es-modules/Series/Venn/VennSeries.js +0 -633
  391. package/src/assets/plugins/highcharts/code/es-modules/Series/Venn/VennUtils.js +0 -607
  392. package/src/assets/plugins/highcharts/code/es-modules/Series/Waterfall/WaterfallPoint.js +0 -68
  393. package/src/assets/plugins/highcharts/code/es-modules/Series/Waterfall/WaterfallSeries.js +0 -743
  394. package/src/assets/plugins/highcharts/code/es-modules/Series/Windbarb/WindbarbPoint.js +0 -64
  395. package/src/assets/plugins/highcharts/code/es-modules/Series/Windbarb/WindbarbSeries.js +0 -462
  396. package/src/assets/plugins/highcharts/code/es-modules/Series/Wordcloud/WordcloudPoint.js +0 -66
  397. package/src/assets/plugins/highcharts/code/es-modules/Series/Wordcloud/WordcloudSeries.js +0 -503
  398. package/src/assets/plugins/highcharts/code/es-modules/Series/Wordcloud/WordcloudUtils.js +0 -718
  399. package/src/assets/plugins/highcharts/code/es-modules/Series/XRange/XRangeComposition.js +0 -49
  400. package/src/assets/plugins/highcharts/code/es-modules/Series/XRange/XRangePoint.js +0 -168
  401. package/src/assets/plugins/highcharts/code/es-modules/Series/XRange/XRangeSeries.js +0 -608
  402. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/ABands/ABandsIndicator.js +0 -243
  403. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/AD/ADIndicator.js +0 -160
  404. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/AO/AOIndicator.js +0 -212
  405. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/APO/APOIndicator.js +0 -167
  406. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/ATR/ATRIndicator.js +0 -162
  407. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/Aroon/AroonIndicator.js +0 -197
  408. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/AroonOscillator/AroonOscillatorIndicator.js +0 -141
  409. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/ArrayUtilities.js +0 -47
  410. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/BB/BBIndicator.js +0 -241
  411. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/CCI/CCIIndicator.js +0 -154
  412. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/CMF/CMFIndicator.js +0 -243
  413. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/CMO/CMOIndicator.js +0 -166
  414. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/Chaikin/ChaikinIndicator.js +0 -187
  415. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/DEMA/DEMAIndicator.js +0 -149
  416. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/DMI/DMIIndicator.js +0 -276
  417. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/DPO/DPOIndicator.js +0 -163
  418. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/DisparityIndex/DisparityIndexIndicator.js +0 -179
  419. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/EMA/EMAIndicator.js +0 -154
  420. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/IKH/IKHIndicator.js +0 -682
  421. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/KeltnerChannels/KeltnerChannelsIndicator.js +0 -217
  422. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/Klinger/KlingerIndicator.js +0 -270
  423. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/LinearRegression/LinearRegression.js +0 -282
  424. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/LinearRegressionAngle/LinearRegressionAngle.js +0 -119
  425. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/LinearRegressionIntercept/LinearRegressionIntercept.js +0 -104
  426. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/LinearRegressionSlopes/LinearRegressionSlopes.js +0 -104
  427. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/MACD/MACDIndicator.js +0 -402
  428. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/MFI/MFIIndicator.js +0 -198
  429. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/Momentum/MomentumIndicator.js +0 -121
  430. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/MultipleLinesComposition.js +0 -294
  431. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/NATR/NATRIndicator.js +0 -111
  432. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/OBV/OBVIndicator.js +0 -170
  433. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/PC/PCIndicator.js +0 -197
  434. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/PPO/PPOIndicator.js +0 -164
  435. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/PSAR/PSARIndicator.js +0 -280
  436. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/PivotPoints/PivotPointsIndicator.js +0 -310
  437. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/PivotPoints/PivotPointsPoint.js +0 -78
  438. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/PriceEnvelopes/PriceEnvelopesIndicator.js +0 -240
  439. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/ROC/ROCIndicator.js +0 -176
  440. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/RSI/RSIIndicator.js +0 -171
  441. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/SMA/SMAComposition.js +0 -12
  442. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/SMA/SMAIndicator.js +0 -367
  443. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/SlowStochastic/SlowStochasticIndicator.js +0 -134
  444. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/Stochastic/StochasticIndicator.js +0 -208
  445. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/Supertrend/SupertrendIndicator.js +0 -485
  446. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/TEMA/TEMAIndicator.js +0 -208
  447. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/TRIX/TRIXIndicator.js +0 -98
  448. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/TrendLine/TrendLineIndicator.js +0 -148
  449. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/VBP/VBPIndicator.js +0 -556
  450. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/VBP/VBPPoint.js +0 -49
  451. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/VWAP/VWAPIndicator.js +0 -193
  452. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/WMA/WMAIndicator.js +0 -153
  453. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/WilliamsR/WilliamsRIndicator.js +0 -135
  454. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/Zigzag/ZigzagIndicator.js +0 -228
  455. package/src/assets/plugins/highcharts/code/es-modules/Stock/StockToolsBindings.js +0 -2009
  456. package/src/assets/plugins/highcharts/code/es-modules/Stock/StockToolsGui.js +0 -1816
  457. package/src/assets/plugins/highcharts/code/es-modules/masters/highcharts-3d.src.js +0 -28
  458. package/src/assets/plugins/highcharts/code/es-modules/masters/highcharts-more.src.js +0 -28
  459. package/src/assets/plugins/highcharts/code/es-modules/masters/highcharts.src.js +0 -147
  460. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/accessibility.src.js +0 -28
  461. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/annotations-advanced.src.js +0 -26
  462. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/annotations.src.js +0 -15
  463. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/arrow-symbols.src.js +0 -13
  464. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/boost-canvas.src.js +0 -14
  465. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/boost.src.js +0 -15
  466. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/broken-axis.src.js +0 -15
  467. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/bullet.src.js +0 -13
  468. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/coloraxis.src.js +0 -17
  469. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/current-date-indicator.src.js +0 -13
  470. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/cylinder.src.js +0 -14
  471. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/data.src.js +0 -23
  472. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/datagrouping.src.js +0 -14
  473. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/debugger.src.js +0 -16
  474. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/dependency-wheel.src.js +0 -14
  475. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/dotplot.src.js +0 -13
  476. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/drag-panes.src.js +0 -15
  477. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/draggable-points.src.js +0 -11
  478. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/drilldown.src.js +0 -13
  479. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/dumbbell.src.js +0 -11
  480. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/export-data.src.js +0 -14
  481. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/exporting.src.js +0 -22
  482. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/full-screen.src.js +0 -14
  483. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/funnel.src.js +0 -14
  484. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/funnel3d.src.js +0 -18
  485. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/gantt.src.js +0 -26
  486. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/grid-axis.src.js +0 -17
  487. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/heatmap.src.js +0 -16
  488. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/heikinashi.src.js +0 -14
  489. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/histogram-bellcurve.src.js +0 -13
  490. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/hollowcandlestick.src.js +0 -14
  491. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/item-series.src.js +0 -13
  492. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/lollipop.src.js +0 -11
  493. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/marker-clusters.src.js +0 -13
  494. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/networkgraph.src.js +0 -13
  495. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/no-data-to-display.src.js +0 -14
  496. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/offline-exporting.src.js +0 -20
  497. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/oldie-polyfills.src.js +0 -14
  498. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/oldie.src.js +0 -14
  499. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/organization.src.js +0 -13
  500. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/overlapping-datalabels.src.js +0 -11
  501. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/parallel-coordinates.src.js +0 -13
  502. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/pareto.src.js +0 -13
  503. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/pathfinder.src.js +0 -13
  504. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/pattern-fill.src.js +0 -14
  505. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/price-indicator.src.js +0 -15
  506. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/pyramid3d.src.js +0 -16
  507. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/sankey.src.js +0 -13
  508. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/series-label.src.js +0 -11
  509. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/solid-gauge.src.js +0 -14
  510. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/sonification.src.js +0 -44
  511. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/static-scale.src.js +0 -13
  512. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/stock-tools.src.js +0 -16
  513. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/stock.src.js +0 -33
  514. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/streamgraph.src.js +0 -13
  515. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/sunburst.src.js +0 -13
  516. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/tilemap.src.js +0 -14
  517. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/timeline.src.js +0 -14
  518. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/treegrid.src.js +0 -17
  519. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/treemap.src.js +0 -12
  520. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/variable-pie.src.js +0 -13
  521. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/variwide.src.js +0 -13
  522. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/vector.src.js +0 -13
  523. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/venn.src.js +0 -12
  524. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/windbarb.src.js +0 -13
  525. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/wordcloud.src.js +0 -12
  526. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/xrange.src.js +0 -13
  527. package/src/assets/plugins/highcharts/code/es-modules/masters/themes/avocado.src.js +0 -14
  528. package/src/assets/plugins/highcharts/code/es-modules/masters/themes/brand-dark.src.js +0 -14
  529. package/src/assets/plugins/highcharts/code/es-modules/masters/themes/brand-light.src.js +0 -14
  530. package/src/assets/plugins/highcharts/code/es-modules/masters/themes/dark-blue.src.js +0 -14
  531. package/src/assets/plugins/highcharts/code/es-modules/masters/themes/dark-green.src.js +0 -14
  532. package/src/assets/plugins/highcharts/code/es-modules/masters/themes/dark-unica.src.js +0 -14
  533. package/src/assets/plugins/highcharts/code/es-modules/masters/themes/gray.src.js +0 -14
  534. package/src/assets/plugins/highcharts/code/es-modules/masters/themes/grid-light.src.js +0 -14
  535. package/src/assets/plugins/highcharts/code/es-modules/masters/themes/grid.src.js +0 -14
  536. package/src/assets/plugins/highcharts/code/es-modules/masters/themes/high-contrast-dark.src.js +0 -14
  537. package/src/assets/plugins/highcharts/code/es-modules/masters/themes/high-contrast-light.src.js +0 -14
  538. package/src/assets/plugins/highcharts/code/es-modules/masters/themes/sand-signika.src.js +0 -14
  539. package/src/assets/plugins/highcharts/code/es-modules/masters/themes/skies.src.js +0 -14
  540. package/src/assets/plugins/highcharts/code/es-modules/masters/themes/sunset.src.js +0 -14
  541. package/src/assets/plugins/highcharts/code/highcharts-3d.js +0 -105
  542. package/src/assets/plugins/highcharts/code/highcharts-3d.js.map +0 -1
  543. package/src/assets/plugins/highcharts/code/highcharts-3d.src.js +0 -5439
  544. package/src/assets/plugins/highcharts/code/highcharts-more.js +0 -201
  545. package/src/assets/plugins/highcharts/code/highcharts-more.js.map +0 -1
  546. package/src/assets/plugins/highcharts/code/highcharts-more.src.js +0 -12004
  547. package/src/assets/plugins/highcharts/code/highcharts.js +0 -593
  548. package/src/assets/plugins/highcharts/code/highcharts.js.map +0 -1
  549. package/src/assets/plugins/highcharts/code/highcharts.src.js +0 -47519
  550. package/src/assets/plugins/highcharts/code/lib/canvg.js +0 -8
  551. package/src/assets/plugins/highcharts/code/lib/jspdf.js +0 -283
  552. package/src/assets/plugins/highcharts/code/lib/jspdf.src.js +0 -21627
  553. package/src/assets/plugins/highcharts/code/lib/svg2pdf.js +0 -38
  554. package/src/assets/plugins/highcharts/code/lib/svg2pdf.src.js +0 -4390
  555. package/src/assets/plugins/highcharts/code/modules/accessibility.js +0 -256
  556. package/src/assets/plugins/highcharts/code/modules/accessibility.js.map +0 -1
  557. package/src/assets/plugins/highcharts/code/modules/accessibility.src.js +0 -11868
  558. package/src/assets/plugins/highcharts/code/modules/annotations-advanced.js +0 -201
  559. package/src/assets/plugins/highcharts/code/modules/annotations-advanced.js.map +0 -1
  560. package/src/assets/plugins/highcharts/code/modules/annotations-advanced.src.js +0 -9616
  561. package/src/assets/plugins/highcharts/code/modules/annotations.js +0 -135
  562. package/src/assets/plugins/highcharts/code/modules/annotations.js.map +0 -1
  563. package/src/assets/plugins/highcharts/code/modules/annotations.src.js +0 -6712
  564. package/src/assets/plugins/highcharts/code/modules/arrow-symbols.js +0 -12
  565. package/src/assets/plugins/highcharts/code/modules/arrow-symbols.js.map +0 -1
  566. package/src/assets/plugins/highcharts/code/modules/arrow-symbols.src.js +0 -202
  567. package/src/assets/plugins/highcharts/code/modules/boost-canvas.js +0 -25
  568. package/src/assets/plugins/highcharts/code/modules/boost-canvas.js.map +0 -1
  569. package/src/assets/plugins/highcharts/code/modules/boost-canvas.src.js +0 -593
  570. package/src/assets/plugins/highcharts/code/modules/boost.js +0 -90
  571. package/src/assets/plugins/highcharts/code/modules/boost.js.map +0 -1
  572. package/src/assets/plugins/highcharts/code/modules/boost.src.js +0 -3834
  573. package/src/assets/plugins/highcharts/code/modules/broken-axis.js +0 -20
  574. package/src/assets/plugins/highcharts/code/modules/broken-axis.js.map +0 -1
  575. package/src/assets/plugins/highcharts/code/modules/broken-axis.src.js +0 -682
  576. package/src/assets/plugins/highcharts/code/modules/bullet.js +0 -18
  577. package/src/assets/plugins/highcharts/code/modules/bullet.js.map +0 -1
  578. package/src/assets/plugins/highcharts/code/modules/bullet.src.js +0 -489
  579. package/src/assets/plugins/highcharts/code/modules/coloraxis.js +0 -33
  580. package/src/assets/plugins/highcharts/code/modules/coloraxis.js.map +0 -1
  581. package/src/assets/plugins/highcharts/code/modules/coloraxis.src.js +0 -1484
  582. package/src/assets/plugins/highcharts/code/modules/current-date-indicator.js +0 -13
  583. package/src/assets/plugins/highcharts/code/modules/current-date-indicator.js.map +0 -1
  584. package/src/assets/plugins/highcharts/code/modules/current-date-indicator.src.js +0 -138
  585. package/src/assets/plugins/highcharts/code/modules/cylinder.js +0 -20
  586. package/src/assets/plugins/highcharts/code/modules/cylinder.js.map +0 -1
  587. package/src/assets/plugins/highcharts/code/modules/cylinder.src.js +0 -585
  588. package/src/assets/plugins/highcharts/code/modules/data.js +0 -42
  589. package/src/assets/plugins/highcharts/code/modules/data.js.map +0 -1
  590. package/src/assets/plugins/highcharts/code/modules/data.src.js +0 -2383
  591. package/src/assets/plugins/highcharts/code/modules/datagrouping.js +0 -29
  592. package/src/assets/plugins/highcharts/code/modules/datagrouping.js.map +0 -1
  593. package/src/assets/plugins/highcharts/code/modules/datagrouping.src.js +0 -1275
  594. package/src/assets/plugins/highcharts/code/modules/debugger.js +0 -30
  595. package/src/assets/plugins/highcharts/code/modules/debugger.js.map +0 -1
  596. package/src/assets/plugins/highcharts/code/modules/debugger.src.js +0 -250
  597. package/src/assets/plugins/highcharts/code/modules/dependency-wheel.js +0 -20
  598. package/src/assets/plugins/highcharts/code/modules/dependency-wheel.js.map +0 -1
  599. package/src/assets/plugins/highcharts/code/modules/dependency-wheel.src.js +0 -533
  600. package/src/assets/plugins/highcharts/code/modules/dotplot.js +0 -15
  601. package/src/assets/plugins/highcharts/code/modules/dotplot.js.map +0 -1
  602. package/src/assets/plugins/highcharts/code/modules/dotplot.src.js +0 -216
  603. package/src/assets/plugins/highcharts/code/modules/drag-panes.js +0 -20
  604. package/src/assets/plugins/highcharts/code/modules/drag-panes.js.map +0 -1
  605. package/src/assets/plugins/highcharts/code/modules/drag-panes.src.js +0 -586
  606. package/src/assets/plugins/highcharts/code/modules/draggable-points.js +0 -41
  607. package/src/assets/plugins/highcharts/code/modules/draggable-points.js.map +0 -1
  608. package/src/assets/plugins/highcharts/code/modules/draggable-points.src.js +0 -2405
  609. package/src/assets/plugins/highcharts/code/modules/drilldown.js +0 -34
  610. package/src/assets/plugins/highcharts/code/modules/drilldown.js.map +0 -1
  611. package/src/assets/plugins/highcharts/code/modules/drilldown.src.js +0 -1266
  612. package/src/assets/plugins/highcharts/code/modules/dumbbell.js +0 -24
  613. package/src/assets/plugins/highcharts/code/modules/dumbbell.js.map +0 -1
  614. package/src/assets/plugins/highcharts/code/modules/dumbbell.src.js +0 -798
  615. package/src/assets/plugins/highcharts/code/modules/export-data.js +0 -30
  616. package/src/assets/plugins/highcharts/code/modules/export-data.js.map +0 -1
  617. package/src/assets/plugins/highcharts/code/modules/export-data.src.js +0 -1203
  618. package/src/assets/plugins/highcharts/code/modules/exporting.js +0 -48
  619. package/src/assets/plugins/highcharts/code/modules/exporting.js.map +0 -1
  620. package/src/assets/plugins/highcharts/code/modules/exporting.src.js +0 -2789
  621. package/src/assets/plugins/highcharts/code/modules/full-screen.js +0 -17
  622. package/src/assets/plugins/highcharts/code/modules/full-screen.js.map +0 -1
  623. package/src/assets/plugins/highcharts/code/modules/full-screen.src.js +0 -284
  624. package/src/assets/plugins/highcharts/code/modules/funnel.js +0 -21
  625. package/src/assets/plugins/highcharts/code/modules/funnel.js.map +0 -1
  626. package/src/assets/plugins/highcharts/code/modules/funnel.src.js +0 -777
  627. package/src/assets/plugins/highcharts/code/modules/funnel3d.js +0 -30
  628. package/src/assets/plugins/highcharts/code/modules/funnel3d.js.map +0 -1
  629. package/src/assets/plugins/highcharts/code/modules/funnel3d.src.js +0 -1004
  630. package/src/assets/plugins/highcharts/code/modules/gantt.js +0 -226
  631. package/src/assets/plugins/highcharts/code/modules/gantt.js.map +0 -1
  632. package/src/assets/plugins/highcharts/code/modules/gantt.src.js +0 -13485
  633. package/src/assets/plugins/highcharts/code/modules/grid-axis.js +0 -32
  634. package/src/assets/plugins/highcharts/code/modules/grid-axis.js.map +0 -1
  635. package/src/assets/plugins/highcharts/code/modules/grid-axis.src.js +0 -1160
  636. package/src/assets/plugins/highcharts/code/modules/heatmap.js +0 -46
  637. package/src/assets/plugins/highcharts/code/modules/heatmap.js.map +0 -1
  638. package/src/assets/plugins/highcharts/code/modules/heatmap.src.js +0 -2726
  639. package/src/assets/plugins/highcharts/code/modules/heikinashi.js +0 -17
  640. package/src/assets/plugins/highcharts/code/modules/heikinashi.js.map +0 -1
  641. package/src/assets/plugins/highcharts/code/modules/heikinashi.src.js +0 -396
  642. package/src/assets/plugins/highcharts/code/modules/histogram-bellcurve.js +0 -21
  643. package/src/assets/plugins/highcharts/code/modules/histogram-bellcurve.js.map +0 -1
  644. package/src/assets/plugins/highcharts/code/modules/histogram-bellcurve.src.js +0 -699
  645. package/src/assets/plugins/highcharts/code/modules/hollowcandlestick.js +0 -18
  646. package/src/assets/plugins/highcharts/code/modules/hollowcandlestick.js.map +0 -1
  647. package/src/assets/plugins/highcharts/code/modules/hollowcandlestick.src.js +0 -500
  648. package/src/assets/plugins/highcharts/code/modules/item-series.js +0 -21
  649. package/src/assets/plugins/highcharts/code/modules/item-series.js.map +0 -1
  650. package/src/assets/plugins/highcharts/code/modules/item-series.src.js +0 -660
  651. package/src/assets/plugins/highcharts/code/modules/lollipop.js +0 -14
  652. package/src/assets/plugins/highcharts/code/modules/lollipop.js.map +0 -1
  653. package/src/assets/plugins/highcharts/code/modules/lollipop.src.js +0 -318
  654. package/src/assets/plugins/highcharts/code/modules/marker-clusters.js +0 -45
  655. package/src/assets/plugins/highcharts/code/modules/marker-clusters.js.map +0 -1
  656. package/src/assets/plugins/highcharts/code/modules/marker-clusters.src.js +0 -1713
  657. package/src/assets/plugins/highcharts/code/modules/networkgraph.js +0 -58
  658. package/src/assets/plugins/highcharts/code/modules/networkgraph.js.map +0 -1
  659. package/src/assets/plugins/highcharts/code/modules/networkgraph.src.js +0 -2926
  660. package/src/assets/plugins/highcharts/code/modules/no-data-to-display.js +0 -15
  661. package/src/assets/plugins/highcharts/code/modules/no-data-to-display.js.map +0 -1
  662. package/src/assets/plugins/highcharts/code/modules/no-data-to-display.src.js +0 -231
  663. package/src/assets/plugins/highcharts/code/modules/offline-exporting.js +0 -27
  664. package/src/assets/plugins/highcharts/code/modules/offline-exporting.js.map +0 -1
  665. package/src/assets/plugins/highcharts/code/modules/offline-exporting.src.js +0 -847
  666. package/src/assets/plugins/highcharts/code/modules/oldie-polyfills.js +0 -17
  667. package/src/assets/plugins/highcharts/code/modules/oldie-polyfills.js.map +0 -1
  668. package/src/assets/plugins/highcharts/code/modules/oldie-polyfills.src.js +0 -220
  669. package/src/assets/plugins/highcharts/code/modules/oldie.js +0 -40
  670. package/src/assets/plugins/highcharts/code/modules/oldie.js.map +0 -1
  671. package/src/assets/plugins/highcharts/code/modules/oldie.src.js +0 -1443
  672. package/src/assets/plugins/highcharts/code/modules/organization.js +0 -22
  673. package/src/assets/plugins/highcharts/code/modules/organization.js.map +0 -1
  674. package/src/assets/plugins/highcharts/code/modules/organization.src.js +0 -736
  675. package/src/assets/plugins/highcharts/code/modules/overlapping-datalabels.js +0 -9
  676. package/src/assets/plugins/highcharts/code/modules/overlapping-datalabels.js.map +0 -1
  677. package/src/assets/plugins/highcharts/code/modules/overlapping-datalabels.src.js +0 -33
  678. package/src/assets/plugins/highcharts/code/modules/parallel-coordinates.js +0 -20
  679. package/src/assets/plugins/highcharts/code/modules/parallel-coordinates.js.map +0 -1
  680. package/src/assets/plugins/highcharts/code/modules/parallel-coordinates.src.js +0 -555
  681. package/src/assets/plugins/highcharts/code/modules/pareto.js +0 -16
  682. package/src/assets/plugins/highcharts/code/modules/pareto.js.map +0 -1
  683. package/src/assets/plugins/highcharts/code/modules/pareto.src.js +0 -382
  684. package/src/assets/plugins/highcharts/code/modules/pathfinder.js +0 -40
  685. package/src/assets/plugins/highcharts/code/modules/pathfinder.js.map +0 -1
  686. package/src/assets/plugins/highcharts/code/modules/pathfinder.src.js +0 -2693
  687. package/src/assets/plugins/highcharts/code/modules/pattern-fill.js +0 -24
  688. package/src/assets/plugins/highcharts/code/modules/pattern-fill.js.map +0 -1
  689. package/src/assets/plugins/highcharts/code/modules/pattern-fill.src.js +0 -640
  690. package/src/assets/plugins/highcharts/code/modules/price-indicator.js +0 -15
  691. package/src/assets/plugins/highcharts/code/modules/price-indicator.js.map +0 -1
  692. package/src/assets/plugins/highcharts/code/modules/price-indicator.src.js +0 -346
  693. package/src/assets/plugins/highcharts/code/modules/pyramid3d.js +0 -13
  694. package/src/assets/plugins/highcharts/code/modules/pyramid3d.js.map +0 -1
  695. package/src/assets/plugins/highcharts/code/modules/pyramid3d.src.js +0 -211
  696. package/src/assets/plugins/highcharts/code/modules/sankey.js +0 -38
  697. package/src/assets/plugins/highcharts/code/modules/sankey.js.map +0 -1
  698. package/src/assets/plugins/highcharts/code/modules/sankey.src.js +0 -1868
  699. package/src/assets/plugins/highcharts/code/modules/series-label.js +0 -24
  700. package/src/assets/plugins/highcharts/code/modules/series-label.js.map +0 -1
  701. package/src/assets/plugins/highcharts/code/modules/series-label.src.js +0 -852
  702. package/src/assets/plugins/highcharts/code/modules/solid-gauge.js +0 -19
  703. package/src/assets/plugins/highcharts/code/modules/solid-gauge.js.map +0 -1
  704. package/src/assets/plugins/highcharts/code/modules/solid-gauge.src.js +0 -650
  705. package/src/assets/plugins/highcharts/code/modules/sonification.js +0 -68
  706. package/src/assets/plugins/highcharts/code/modules/sonification.js.map +0 -1
  707. package/src/assets/plugins/highcharts/code/modules/sonification.src.js +0 -3869
  708. package/src/assets/plugins/highcharts/code/modules/static-scale.js +0 -13
  709. package/src/assets/plugins/highcharts/code/modules/static-scale.js.map +0 -1
  710. package/src/assets/plugins/highcharts/code/modules/static-scale.src.js +0 -117
  711. package/src/assets/plugins/highcharts/code/modules/stock-tools.js +0 -189
  712. package/src/assets/plugins/highcharts/code/modules/stock-tools.js.map +0 -1
  713. package/src/assets/plugins/highcharts/code/modules/stock-tools.src.js +0 -9592
  714. package/src/assets/plugins/highcharts/code/modules/stock.js +0 -213
  715. package/src/assets/plugins/highcharts/code/modules/stock.js.map +0 -1
  716. package/src/assets/plugins/highcharts/code/modules/stock.src.js +0 -12237
  717. package/src/assets/plugins/highcharts/code/modules/streamgraph.js +0 -13
  718. package/src/assets/plugins/highcharts/code/modules/streamgraph.js.map +0 -1
  719. package/src/assets/plugins/highcharts/code/modules/streamgraph.src.js +0 -253
  720. package/src/assets/plugins/highcharts/code/modules/sunburst.js +0 -68
  721. package/src/assets/plugins/highcharts/code/modules/sunburst.js.map +0 -1
  722. package/src/assets/plugins/highcharts/code/modules/sunburst.src.js +0 -3721
  723. package/src/assets/plugins/highcharts/code/modules/tilemap.js +0 -26
  724. package/src/assets/plugins/highcharts/code/modules/tilemap.js.map +0 -1
  725. package/src/assets/plugins/highcharts/code/modules/tilemap.src.js +0 -878
  726. package/src/assets/plugins/highcharts/code/modules/timeline.js +0 -28
  727. package/src/assets/plugins/highcharts/code/modules/timeline.js.map +0 -1
  728. package/src/assets/plugins/highcharts/code/modules/timeline.src.js +0 -815
  729. package/src/assets/plugins/highcharts/code/modules/treegrid.js +0 -65
  730. package/src/assets/plugins/highcharts/code/modules/treegrid.js.map +0 -1
  731. package/src/assets/plugins/highcharts/code/modules/treegrid.src.js +0 -3294
  732. package/src/assets/plugins/highcharts/code/modules/treemap.js +0 -49
  733. package/src/assets/plugins/highcharts/code/modules/treemap.js.map +0 -1
  734. package/src/assets/plugins/highcharts/code/modules/treemap.src.js +0 -2416
  735. package/src/assets/plugins/highcharts/code/modules/variable-pie.js +0 -18
  736. package/src/assets/plugins/highcharts/code/modules/variable-pie.js.map +0 -1
  737. package/src/assets/plugins/highcharts/code/modules/variable-pie.src.js +0 -533
  738. package/src/assets/plugins/highcharts/code/modules/variwide.js +0 -21
  739. package/src/assets/plugins/highcharts/code/modules/variwide.js.map +0 -1
  740. package/src/assets/plugins/highcharts/code/modules/variwide.src.js +0 -529
  741. package/src/assets/plugins/highcharts/code/modules/vector.js +0 -16
  742. package/src/assets/plugins/highcharts/code/modules/vector.js.map +0 -1
  743. package/src/assets/plugins/highcharts/code/modules/vector.src.js +0 -409
  744. package/src/assets/plugins/highcharts/code/modules/venn.js +0 -39
  745. package/src/assets/plugins/highcharts/code/modules/venn.js.map +0 -1
  746. package/src/assets/plugins/highcharts/code/modules/venn.src.js +0 -2095
  747. package/src/assets/plugins/highcharts/code/modules/windbarb.js +0 -24
  748. package/src/assets/plugins/highcharts/code/modules/windbarb.js.map +0 -1
  749. package/src/assets/plugins/highcharts/code/modules/windbarb.src.js +0 -772
  750. package/src/assets/plugins/highcharts/code/modules/wordcloud.js +0 -31
  751. package/src/assets/plugins/highcharts/code/modules/wordcloud.js.map +0 -1
  752. package/src/assets/plugins/highcharts/code/modules/wordcloud.src.js +0 -1584
  753. package/src/assets/plugins/highcharts/code/modules/xrange.js +0 -26
  754. package/src/assets/plugins/highcharts/code/modules/xrange.js.map +0 -1
  755. package/src/assets/plugins/highcharts/code/modules/xrange.src.js +0 -940
  756. package/src/assets/plugins/highcharts/code/themes/avocado.js +0 -10
  757. package/src/assets/plugins/highcharts/code/themes/avocado.js.map +0 -1
  758. package/src/assets/plugins/highcharts/code/themes/avocado.src.js +0 -103
  759. package/src/assets/plugins/highcharts/code/themes/brand-dark.js +0 -15
  760. package/src/assets/plugins/highcharts/code/themes/brand-dark.js.map +0 -1
  761. package/src/assets/plugins/highcharts/code/themes/brand-dark.src.js +0 -328
  762. package/src/assets/plugins/highcharts/code/themes/brand-light.js +0 -15
  763. package/src/assets/plugins/highcharts/code/themes/brand-light.js.map +0 -1
  764. package/src/assets/plugins/highcharts/code/themes/brand-light.src.js +0 -294
  765. package/src/assets/plugins/highcharts/code/themes/dark-blue.js +0 -15
  766. package/src/assets/plugins/highcharts/code/themes/dark-blue.js.map +0 -1
  767. package/src/assets/plugins/highcharts/code/themes/dark-blue.src.js +0 -315
  768. package/src/assets/plugins/highcharts/code/themes/dark-green.js +0 -15
  769. package/src/assets/plugins/highcharts/code/themes/dark-green.js.map +0 -1
  770. package/src/assets/plugins/highcharts/code/themes/dark-green.src.js +0 -315
  771. package/src/assets/plugins/highcharts/code/themes/dark-unica.js +0 -14
  772. package/src/assets/plugins/highcharts/code/themes/dark-unica.js.map +0 -1
  773. package/src/assets/plugins/highcharts/code/themes/dark-unica.src.js +0 -284
  774. package/src/assets/plugins/highcharts/code/themes/gray.js +0 -15
  775. package/src/assets/plugins/highcharts/code/themes/gray.js.map +0 -1
  776. package/src/assets/plugins/highcharts/code/themes/gray.src.js +0 -323
  777. package/src/assets/plugins/highcharts/code/themes/grid-light.js +0 -11
  778. package/src/assets/plugins/highcharts/code/themes/grid-light.js.map +0 -1
  779. package/src/assets/plugins/highcharts/code/themes/grid-light.src.js +0 -146
  780. package/src/assets/plugins/highcharts/code/themes/grid.js +0 -12
  781. package/src/assets/plugins/highcharts/code/themes/grid.js.map +0 -1
  782. package/src/assets/plugins/highcharts/code/themes/grid.src.js +0 -176
  783. package/src/assets/plugins/highcharts/code/themes/high-contrast-dark.js +0 -14
  784. package/src/assets/plugins/highcharts/code/themes/high-contrast-dark.js.map +0 -1
  785. package/src/assets/plugins/highcharts/code/themes/high-contrast-dark.src.js +0 -275
  786. package/src/assets/plugins/highcharts/code/themes/high-contrast-light.js +0 -10
  787. package/src/assets/plugins/highcharts/code/themes/high-contrast-light.js.map +0 -1
  788. package/src/assets/plugins/highcharts/code/themes/high-contrast-light.src.js +0 -105
  789. package/src/assets/plugins/highcharts/code/themes/sand-signika.js +0 -12
  790. package/src/assets/plugins/highcharts/code/themes/sand-signika.js.map +0 -1
  791. package/src/assets/plugins/highcharts/code/themes/sand-signika.src.js +0 -179
  792. package/src/assets/plugins/highcharts/code/themes/skies.js +0 -12
  793. package/src/assets/plugins/highcharts/code/themes/skies.js.map +0 -1
  794. package/src/assets/plugins/highcharts/code/themes/skies.src.js +0 -167
  795. package/src/assets/plugins/highcharts/code/themes/sunset.js +0 -10
  796. package/src/assets/plugins/highcharts/code/themes/sunset.js.map +0 -1
  797. package/src/assets/plugins/highcharts/code/themes/sunset.src.js +0 -102
  798. package/src/assets/plugins/highcharts/examples/3d-area-multiple/index.html +0 -192
  799. package/src/assets/plugins/highcharts/examples/3d-column-interactive/index.html +0 -111
  800. package/src/assets/plugins/highcharts/examples/3d-column-null-values/index.html +0 -118
  801. package/src/assets/plugins/highcharts/examples/3d-column-stacking-grouping/index.html +0 -144
  802. package/src/assets/plugins/highcharts/examples/3d-pie/index.html +0 -130
  803. package/src/assets/plugins/highcharts/examples/3d-pie-donut/index.html +0 -112
  804. package/src/assets/plugins/highcharts/examples/3d-scatter-draggable/index.html +0 -221
  805. package/src/assets/plugins/highcharts/examples/accessible-line/index.html +0 -198
  806. package/src/assets/plugins/highcharts/examples/accessible-pie/index.html +0 -213
  807. package/src/assets/plugins/highcharts/examples/advanced-accessible/index.html +0 -271
  808. package/src/assets/plugins/highcharts/examples/annotations/index.html +0 -2170
  809. package/src/assets/plugins/highcharts/examples/area-basic/index.html +0 -157
  810. package/src/assets/plugins/highcharts/examples/area-inverted/index.html +0 -135
  811. package/src/assets/plugins/highcharts/examples/area-missing/index.html +0 -125
  812. package/src/assets/plugins/highcharts/examples/area-negative/index.html +0 -101
  813. package/src/assets/plugins/highcharts/examples/area-stacked/index.html +0 -136
  814. package/src/assets/plugins/highcharts/examples/area-stacked-percent/index.html +0 -141
  815. package/src/assets/plugins/highcharts/examples/arearange/index.html +0 -132
  816. package/src/assets/plugins/highcharts/examples/arearange-line/index.html +0 -195
  817. package/src/assets/plugins/highcharts/examples/areaspline/index.html +0 -137
  818. package/src/assets/plugins/highcharts/examples/bar-basic/index.html +0 -143
  819. package/src/assets/plugins/highcharts/examples/bar-negative-stack/index.html +0 -173
  820. package/src/assets/plugins/highcharts/examples/bar-stacked/index.html +0 -112
  821. package/src/assets/plugins/highcharts/examples/bellcurve/index.html +0 -133
  822. package/src/assets/plugins/highcharts/examples/box-plot/index.html +0 -149
  823. package/src/assets/plugins/highcharts/examples/bubble/index.html +0 -209
  824. package/src/assets/plugins/highcharts/examples/bubble-3d/index.html +0 -159
  825. package/src/assets/plugins/highcharts/examples/bullet-graph/index.html +0 -233
  826. package/src/assets/plugins/highcharts/examples/chart-update/index.html +0 -137
  827. package/src/assets/plugins/highcharts/examples/column-basic/index.html +0 -144
  828. package/src/assets/plugins/highcharts/examples/column-comparison/index.html +0 -350
  829. package/src/assets/plugins/highcharts/examples/column-drilldown/index.html +0 -387
  830. package/src/assets/plugins/highcharts/examples/column-negative/index.html +0 -101
  831. package/src/assets/plugins/highcharts/examples/column-parsed/index.html +0 -138
  832. package/src/assets/plugins/highcharts/examples/column-placement/index.html +0 -160
  833. package/src/assets/plugins/highcharts/examples/column-pyramid/index.html +0 -117
  834. package/src/assets/plugins/highcharts/examples/column-rotated-labels/index.html +0 -147
  835. package/src/assets/plugins/highcharts/examples/column-stacked/index.html +0 -138
  836. package/src/assets/plugins/highcharts/examples/column-stacked-and-grouped/index.html +0 -133
  837. package/src/assets/plugins/highcharts/examples/column-stacked-percent/index.html +0 -113
  838. package/src/assets/plugins/highcharts/examples/columnrange/index.html +0 -145
  839. package/src/assets/plugins/highcharts/examples/combo/index.html +0 -146
  840. package/src/assets/plugins/highcharts/examples/combo-dual-axes/index.html +0 -153
  841. package/src/assets/plugins/highcharts/examples/combo-meteogram/index.html +0 -768
  842. package/src/assets/plugins/highcharts/examples/combo-multi-axes/index.html +0 -222
  843. package/src/assets/plugins/highcharts/examples/combo-regression/index.html +0 -110
  844. package/src/assets/plugins/highcharts/examples/combo-timeline/index.html +0 -592
  845. package/src/assets/plugins/highcharts/examples/cylinder/index.html +0 -104
  846. package/src/assets/plugins/highcharts/examples/dependency-wheel/index.html +0 -165
  847. package/src/assets/plugins/highcharts/examples/dumbbell/index.html +0 -230
  848. package/src/assets/plugins/highcharts/examples/dynamic-click-to-add/index.html +0 -147
  849. package/src/assets/plugins/highcharts/examples/dynamic-master-detail/index.html +0 -316
  850. package/src/assets/plugins/highcharts/examples/dynamic-update/index.html +0 -163
  851. package/src/assets/plugins/highcharts/examples/error-bar/index.html +0 -154
  852. package/src/assets/plugins/highcharts/examples/euler-diagram/index.html +0 -119
  853. package/src/assets/plugins/highcharts/examples/flame/index.html +0 -1324
  854. package/src/assets/plugins/highcharts/examples/funnel/index.html +0 -131
  855. package/src/assets/plugins/highcharts/examples/funnel3d/index.html +0 -117
  856. package/src/assets/plugins/highcharts/examples/gauge-activity/index.html +0 -272
  857. package/src/assets/plugins/highcharts/examples/gauge-clock/index.html +0 -261
  858. package/src/assets/plugins/highcharts/examples/gauge-dual/index.html +0 -181
  859. package/src/assets/plugins/highcharts/examples/gauge-solid/index.html +0 -248
  860. package/src/assets/plugins/highcharts/examples/gauge-speedometer/index.html +0 -189
  861. package/src/assets/plugins/highcharts/examples/gauge-vu-meter/index.html +0 -210
  862. package/src/assets/plugins/highcharts/examples/heatmap/index.html +0 -168
  863. package/src/assets/plugins/highcharts/examples/heatmap-canvas/index.html +0 -8928
  864. package/src/assets/plugins/highcharts/examples/histogram/index.html +0 -133
  865. package/src/assets/plugins/highcharts/examples/honeycomb-usa/index.html +0 -518
  866. package/src/assets/plugins/highcharts/examples/line-ajax/index.html +0 -206
  867. package/src/assets/plugins/highcharts/examples/line-basic/index.html +0 -147
  868. package/src/assets/plugins/highcharts/examples/line-boost/index.html +0 -144
  869. package/src/assets/plugins/highcharts/examples/line-labels/index.html +0 -108
  870. package/src/assets/plugins/highcharts/examples/line-log-axis/index.html +0 -106
  871. package/src/assets/plugins/highcharts/examples/line-time-series/index.html +0 -136
  872. package/src/assets/plugins/highcharts/examples/live-data/index.html +0 -155
  873. package/src/assets/plugins/highcharts/examples/lollipop/index.html +0 -161
  874. package/src/assets/plugins/highcharts/examples/network-graph/index.html +0 -277
  875. package/src/assets/plugins/highcharts/examples/organization-chart/index.html +0 -224
  876. package/src/assets/plugins/highcharts/examples/packed-bubble/index.html +0 -588
  877. package/src/assets/plugins/highcharts/examples/packed-bubble-split/index.html +0 -589
  878. package/src/assets/plugins/highcharts/examples/parallel-coordinates/index.html +0 -176
  879. package/src/assets/plugins/highcharts/examples/pareto/index.html +0 -133
  880. package/src/assets/plugins/highcharts/examples/parliament-chart/index.html +0 -138
  881. package/src/assets/plugins/highcharts/examples/pie-basic/index.html +0 -141
  882. package/src/assets/plugins/highcharts/examples/pie-donut/index.html +0 -347
  883. package/src/assets/plugins/highcharts/examples/pie-drilldown/index.html +0 -418
  884. package/src/assets/plugins/highcharts/examples/pie-gradient/index.html +0 -133
  885. package/src/assets/plugins/highcharts/examples/pie-legend/index.html +0 -128
  886. package/src/assets/plugins/highcharts/examples/pie-monochrome/index.html +0 -139
  887. package/src/assets/plugins/highcharts/examples/pie-semi-circle/index.html +0 -133
  888. package/src/assets/plugins/highcharts/examples/polar/index.html +0 -136
  889. package/src/assets/plugins/highcharts/examples/polar-radial-bar/index.html +0 -169
  890. package/src/assets/plugins/highcharts/examples/polar-spider/index.html +0 -148
  891. package/src/assets/plugins/highcharts/examples/polar-wind-rose/index.html +0 -351
  892. package/src/assets/plugins/highcharts/examples/polygon/index.html +0 -190
  893. package/src/assets/plugins/highcharts/examples/pyramid/index.html +0 -126
  894. package/src/assets/plugins/highcharts/examples/pyramid3d/index.html +0 -117
  895. package/src/assets/plugins/highcharts/examples/renderer/index.html +0 -334
  896. package/src/assets/plugins/highcharts/examples/responsive/index.html +0 -176
  897. package/src/assets/plugins/highcharts/examples/sankey-diagram/index.html +0 -145
  898. package/src/assets/plugins/highcharts/examples/scatter/index.html +0 -246
  899. package/src/assets/plugins/highcharts/examples/scatter-boost/index.html +0 -142
  900. package/src/assets/plugins/highcharts/examples/sonification/index.html +0 -331
  901. package/src/assets/plugins/highcharts/examples/sparkline/index.html +0 -676
  902. package/src/assets/plugins/highcharts/examples/spline-inverted/index.html +0 -135
  903. package/src/assets/plugins/highcharts/examples/spline-irregular-time/index.html +0 -255
  904. package/src/assets/plugins/highcharts/examples/spline-plot-bands/index.html +0 -223
  905. package/src/assets/plugins/highcharts/examples/spline-symbols/index.html +0 -139
  906. package/src/assets/plugins/highcharts/examples/streamgraph/index.html +0 -447
  907. package/src/assets/plugins/highcharts/examples/styled-mode-column/index.html +0 -146
  908. package/src/assets/plugins/highcharts/examples/styled-mode-pie/index.html +0 -119
  909. package/src/assets/plugins/highcharts/examples/sunburst/index.html +0 -1520
  910. package/src/assets/plugins/highcharts/examples/synchronized-charts/index.html +0 -238
  911. package/src/assets/plugins/highcharts/examples/timeline/index.html +0 -142
  912. package/src/assets/plugins/highcharts/examples/treemap-coloraxis/index.html +0 -119
  913. package/src/assets/plugins/highcharts/examples/treemap-large-dataset/index.html +0 -172
  914. package/src/assets/plugins/highcharts/examples/treemap-with-levels/index.html +0 -151
  915. package/src/assets/plugins/highcharts/examples/variable-radius-pie/index.html +0 -131
  916. package/src/assets/plugins/highcharts/examples/variwide/index.html +0 -146
  917. package/src/assets/plugins/highcharts/examples/vector-plot/index.html +0 -494
  918. package/src/assets/plugins/highcharts/examples/venn-diagram/index.html +0 -124
  919. package/src/assets/plugins/highcharts/examples/waterfall/index.html +0 -143
  920. package/src/assets/plugins/highcharts/examples/windbarb-series/index.html +0 -189
  921. package/src/assets/plugins/highcharts/examples/wordcloud/index.html +0 -110
  922. package/src/assets/plugins/highcharts/examples/x-range/index.html +0 -142
  923. package/src/assets/plugins/highcharts/gfx/stock-icons/annotations-hidden.svg +0 -19
  924. package/src/assets/plugins/highcharts/gfx/stock-icons/annotations-visible.svg +0 -20
  925. package/src/assets/plugins/highcharts/gfx/stock-icons/arrow-bottom.svg +0 -9
  926. package/src/assets/plugins/highcharts/gfx/stock-icons/arrow-left.svg +0 -9
  927. package/src/assets/plugins/highcharts/gfx/stock-icons/arrow-line.svg +0 -11
  928. package/src/assets/plugins/highcharts/gfx/stock-icons/arrow-ray.svg +0 -10
  929. package/src/assets/plugins/highcharts/gfx/stock-icons/arrow-right.svg +0 -9
  930. package/src/assets/plugins/highcharts/gfx/stock-icons/arrow-segment.svg +0 -11
  931. package/src/assets/plugins/highcharts/gfx/stock-icons/arrow.svg +0 -13
  932. package/src/assets/plugins/highcharts/gfx/stock-icons/circle.svg +0 -13
  933. package/src/assets/plugins/highcharts/gfx/stock-icons/close.svg +0 -8
  934. package/src/assets/plugins/highcharts/gfx/stock-icons/crooked-3.svg +0 -13
  935. package/src/assets/plugins/highcharts/gfx/stock-icons/crooked-5.svg +0 -11
  936. package/src/assets/plugins/highcharts/gfx/stock-icons/current-price-hide.svg +0 -40
  937. package/src/assets/plugins/highcharts/gfx/stock-icons/current-price-show.svg +0 -41
  938. package/src/assets/plugins/highcharts/gfx/stock-icons/destroy.svg +0 -14
  939. package/src/assets/plugins/highcharts/gfx/stock-icons/drawing.svg +0 -18
  940. package/src/assets/plugins/highcharts/gfx/stock-icons/edit.svg +0 -10
  941. package/src/assets/plugins/highcharts/gfx/stock-icons/elliott-3.svg +0 -59
  942. package/src/assets/plugins/highcharts/gfx/stock-icons/elliott-5.svg +0 -41
  943. package/src/assets/plugins/highcharts/gfx/stock-icons/ellipse.svg +0 -11
  944. package/src/assets/plugins/highcharts/gfx/stock-icons/fibonacci-timezone.svg +0 -16
  945. package/src/assets/plugins/highcharts/gfx/stock-icons/fibonacci.svg +0 -25
  946. package/src/assets/plugins/highcharts/gfx/stock-icons/flag-basic.svg +0 -10
  947. package/src/assets/plugins/highcharts/gfx/stock-icons/flag-diamond.svg +0 -12
  948. package/src/assets/plugins/highcharts/gfx/stock-icons/flag-elipse.svg +0 -13
  949. package/src/assets/plugins/highcharts/gfx/stock-icons/flag-trapeze.svg +0 -14
  950. package/src/assets/plugins/highcharts/gfx/stock-icons/fullscreen.svg +0 -15
  951. package/src/assets/plugins/highcharts/gfx/stock-icons/horizontal-line.svg +0 -8
  952. package/src/assets/plugins/highcharts/gfx/stock-icons/indicators.svg +0 -27
  953. package/src/assets/plugins/highcharts/gfx/stock-icons/label.svg +0 -16
  954. package/src/assets/plugins/highcharts/gfx/stock-icons/line.svg +0 -11
  955. package/src/assets/plugins/highcharts/gfx/stock-icons/linear.svg +0 -11
  956. package/src/assets/plugins/highcharts/gfx/stock-icons/logarithmic.svg +0 -1
  957. package/src/assets/plugins/highcharts/gfx/stock-icons/measure-x.svg +0 -23
  958. package/src/assets/plugins/highcharts/gfx/stock-icons/measure-xy.svg +0 -28
  959. package/src/assets/plugins/highcharts/gfx/stock-icons/measure-y.svg +0 -24
  960. package/src/assets/plugins/highcharts/gfx/stock-icons/panning.svg +0 -17
  961. package/src/assets/plugins/highcharts/gfx/stock-icons/parallel-channel.svg +0 -15
  962. package/src/assets/plugins/highcharts/gfx/stock-icons/pitchfork.svg +0 -13
  963. package/src/assets/plugins/highcharts/gfx/stock-icons/ray.svg +0 -10
  964. package/src/assets/plugins/highcharts/gfx/stock-icons/rectangle.svg +0 -8
  965. package/src/assets/plugins/highcharts/gfx/stock-icons/remove-annotations.svg +0 -15
  966. package/src/assets/plugins/highcharts/gfx/stock-icons/save-chart.svg +0 -12
  967. package/src/assets/plugins/highcharts/gfx/stock-icons/segment.svg +0 -10
  968. package/src/assets/plugins/highcharts/gfx/stock-icons/separator.svg +0 -10
  969. package/src/assets/plugins/highcharts/gfx/stock-icons/series-candlestick.svg +0 -12
  970. package/src/assets/plugins/highcharts/gfx/stock-icons/series-heikin-ashi.svg +0 -1
  971. package/src/assets/plugins/highcharts/gfx/stock-icons/series-hlc.svg +0 -1
  972. package/src/assets/plugins/highcharts/gfx/stock-icons/series-hollow-candlestick.svg +0 -1
  973. package/src/assets/plugins/highcharts/gfx/stock-icons/series-line.svg +0 -11
  974. package/src/assets/plugins/highcharts/gfx/stock-icons/series-ohlc.svg +0 -14
  975. package/src/assets/plugins/highcharts/gfx/stock-icons/text.svg +0 -13
  976. package/src/assets/plugins/highcharts/gfx/stock-icons/time-cycles.svg +0 -35
  977. package/src/assets/plugins/highcharts/gfx/stock-icons/vertical-arrow.svg +0 -7
  978. package/src/assets/plugins/highcharts/gfx/stock-icons/vertical-counter.svg +0 -23
  979. package/src/assets/plugins/highcharts/gfx/stock-icons/vertical-double-arrow.svg +0 -10
  980. package/src/assets/plugins/highcharts/gfx/stock-icons/vertical-label.svg +0 -14
  981. package/src/assets/plugins/highcharts/gfx/stock-icons/vertical-line.svg +0 -8
  982. package/src/assets/plugins/highcharts/gfx/stock-icons/zoom-x.svg +0 -17
  983. package/src/assets/plugins/highcharts/gfx/stock-icons/zoom-xy.svg +0 -13
  984. package/src/assets/plugins/highcharts/gfx/stock-icons/zoom-y.svg +0 -17
  985. package/src/assets/plugins/highcharts/gfx/vml-radial-gradient.png +0 -0
  986. package/src/assets/plugins/highcharts/graphics/color-picker.svg +0 -12
  987. package/src/assets/plugins/highcharts/graphics/cursor.svg +0 -11
  988. package/src/assets/plugins/highcharts/graphics/earth.svg +0 -432
  989. package/src/assets/plugins/highcharts/graphics/feature.svg +0 -13
  990. package/src/assets/plugins/highcharts/graphics/flag-circle.svg +0 -17
  991. package/src/assets/plugins/highcharts/graphics/flag-circlepin.svg +0 -15
  992. package/src/assets/plugins/highcharts/graphics/flag-diamondpin.svg +0 -15
  993. package/src/assets/plugins/highcharts/graphics/flag-flag.svg +0 -14
  994. package/src/assets/plugins/highcharts/graphics/flag-rectangle.svg +0 -18
  995. package/src/assets/plugins/highcharts/graphics/flag-squarepin.svg +0 -16
  996. package/src/assets/plugins/highcharts/graphics/flag.svg +0 -15
  997. package/src/assets/plugins/highcharts/graphics/homepage/apple.svg +0 -55
  998. package/src/assets/plugins/highcharts/graphics/homepage/award.png +0 -0
  999. package/src/assets/plugins/highcharts/graphics/homepage/cloud.png +0 -0
  1000. package/src/assets/plugins/highcharts/graphics/homepage/earth.png +0 -0
  1001. package/src/assets/plugins/highcharts/graphics/homepage/jupiter.png +0 -0
  1002. package/src/assets/plugins/highcharts/graphics/homepage/mars.png +0 -0
  1003. package/src/assets/plugins/highcharts/graphics/homepage/mercury.png +0 -0
  1004. package/src/assets/plugins/highcharts/graphics/homepage/moon.png +0 -0
  1005. package/src/assets/plugins/highcharts/graphics/homepage/neptune.png +0 -0
  1006. package/src/assets/plugins/highcharts/graphics/homepage/p1.png +0 -0
  1007. package/src/assets/plugins/highcharts/graphics/homepage/p1.svg +0 -9
  1008. package/src/assets/plugins/highcharts/graphics/homepage/p2.png +0 -0
  1009. package/src/assets/plugins/highcharts/graphics/homepage/p2.svg +0 -9
  1010. package/src/assets/plugins/highcharts/graphics/homepage/p3.png +0 -0
  1011. package/src/assets/plugins/highcharts/graphics/homepage/p3.svg +0 -9
  1012. package/src/assets/plugins/highcharts/graphics/homepage/p4.png +0 -0
  1013. package/src/assets/plugins/highcharts/graphics/homepage/p4.svg +0 -9
  1014. package/src/assets/plugins/highcharts/graphics/homepage/p5.png +0 -0
  1015. package/src/assets/plugins/highcharts/graphics/homepage/p5.svg +0 -9
  1016. package/src/assets/plugins/highcharts/graphics/homepage/p6.png +0 -0
  1017. package/src/assets/plugins/highcharts/graphics/homepage/p6.svg +0 -9
  1018. package/src/assets/plugins/highcharts/graphics/homepage/product.png +0 -0
  1019. package/src/assets/plugins/highcharts/graphics/homepage/saturn.png +0 -0
  1020. package/src/assets/plugins/highcharts/graphics/homepage/sun.png +0 -0
  1021. package/src/assets/plugins/highcharts/graphics/homepage/uranus.png +0 -0
  1022. package/src/assets/plugins/highcharts/graphics/homepage/venus.png +0 -0
  1023. package/src/assets/plugins/highcharts/graphics/homepage/version.png +0 -0
  1024. package/src/assets/plugins/highcharts/graphics/rect.svg +0 -12
  1025. package/src/assets/plugins/highcharts/graphics/reset.svg +0 -16
  1026. package/src/assets/plugins/highcharts/graphics/sand.png +0 -0
  1027. package/src/assets/plugins/highcharts/graphics/save-chart-cloud.svg +0 -14
  1028. package/src/assets/plugins/highcharts/graphics/save.svg +0 -14
  1029. package/src/assets/plugins/highcharts/graphics/search.png +0 -0
  1030. package/src/assets/plugins/highcharts/graphics/skies.jpg +0 -0
  1031. package/src/assets/plugins/highcharts/graphics/snow.png +0 -0
  1032. package/src/assets/plugins/highcharts/graphics/sun.png +0 -0
  1033. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/blue-flake-big.svg +0 -32
  1034. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/blue-star-big.svg +0 -16
  1035. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/car-tree.svg +0 -429
  1036. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/green-flake-big.svg +0 -119
  1037. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/green-star.svg +0 -20
  1038. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/hill.svg +0 -193
  1039. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/hill2.svg +0 -164
  1040. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/horse.svg +0 -1
  1041. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/people.svg +0 -2336
  1042. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/pines.svg +0 -777
  1043. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/pond-skate.svg +0 -1
  1044. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/red-flake.svg +0 -30
  1045. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/red-house.svg +0 -85
  1046. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/red-star-big.svg +0 -36
  1047. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/red-star.svg +0 -20
  1048. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/santa-b.svg +0 -91
  1049. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/santa.svg +0 -91
  1050. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/snow-mound.svg +0 -146
  1051. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/snow.svg +0 -20788
  1052. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/sun-disk.svg +0 -597
  1053. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/tree-cluster.svg +0 -2735
  1054. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/white-flake-big.svg +0 -99
  1055. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/white-flake.big.svg +0 -96
  1056. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/white-star-big.svg +0 -36
  1057. package/src/assets/plugins/highcharts/index.html +0 -133
@@ -1,3721 +0,0 @@
1
- /**
2
- * @license Highcharts JS v9.3.3 (2022-02-01)
3
- *
4
- * (c) 2016-2021 Highsoft AS
5
- * Authors: Jon Arild Nygard
6
- *
7
- * License: www.highcharts.com/license
8
- */
9
- 'use strict';
10
- (function (factory) {
11
- if (typeof module === 'object' && module.exports) {
12
- factory['default'] = factory;
13
- module.exports = factory;
14
- } else if (typeof define === 'function' && define.amd) {
15
- define('highcharts/modules/sunburst', ['highcharts'], function (Highcharts) {
16
- factory(Highcharts);
17
- factory.Highcharts = Highcharts;
18
- return factory;
19
- });
20
- } else {
21
- factory(typeof Highcharts !== 'undefined' ? Highcharts : undefined);
22
- }
23
- }(function (Highcharts) {
24
- var _modules = Highcharts ? Highcharts._modules : {};
25
- function _registerModule(obj, path, args, fn) {
26
- if (!obj.hasOwnProperty(path)) {
27
- obj[path] = fn.apply(null, args);
28
- }
29
- }
30
- _registerModule(_modules, 'Series/ColorMapMixin.js', [_modules['Core/Globals.js'], _modules['Core/Series/Point.js'], _modules['Core/Utilities.js']], function (H, Point, U) {
31
- /* *
32
- *
33
- * (c) 2010-2021 Torstein Honsi
34
- *
35
- * License: www.highcharts.com/license
36
- *
37
- * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
38
- *
39
- * */
40
- // @todo cleanup & reduction - consider composition
41
- var noop = H.noop,
42
- seriesTypes = H.seriesTypes;
43
- var defined = U.defined,
44
- addEvent = U.addEvent;
45
- // Move points to the top of the z-index order when hovered
46
- addEvent(Point, 'afterSetState', function (e) {
47
- var point = this;
48
- if (point.moveToTopOnHover && point.graphic) {
49
- point.graphic.attr({
50
- zIndex: e && e.state === 'hover' ? 1 : 0
51
- });
52
- }
53
- });
54
- /**
55
- * Mixin for maps and heatmaps
56
- *
57
- * @private
58
- * @mixin Highcharts.colorMapPointMixin
59
- */
60
- var PointMixin = {
61
- dataLabelOnNull: true,
62
- moveToTopOnHover: true,
63
- /* eslint-disable valid-jsdoc */
64
- /**
65
- * Color points have a value option that determines whether or not it is
66
- * a null point
67
- * @private
68
- */
69
- isValid: function () {
70
- // undefined is allowed
71
- return (this.value !== null &&
72
- this.value !== Infinity &&
73
- this.value !== -Infinity);
74
- }
75
- /* eslint-enable valid-jsdoc */
76
- };
77
- /**
78
- * @private
79
- * @mixin Highcharts.colorMapSeriesMixin
80
- */
81
- var SeriesMixin = {
82
- pointArrayMap: ['value'],
83
- axisTypes: ['xAxis', 'yAxis', 'colorAxis'],
84
- trackerGroups: ['group', 'markerGroup', 'dataLabelsGroup'],
85
- getSymbol: noop,
86
- parallelArrays: ['x', 'y', 'value'],
87
- colorKey: 'value',
88
- pointAttribs: seriesTypes.column.prototype.pointAttribs,
89
- /* eslint-disable valid-jsdoc */
90
- /**
91
- * Get the color attibutes to apply on the graphic
92
- * @private
93
- * @function Highcharts.colorMapSeriesMixin.colorAttribs
94
- * @param {Highcharts.Point} point
95
- * @return {Highcharts.SVGAttributes}
96
- * The SVG attributes
97
- */
98
- colorAttribs: function (point) {
99
- var ret = {};
100
- if (defined(point.color) &&
101
- (!point.state || point.state === 'normal') // #15746
102
- ) {
103
- ret[this.colorProp || 'fill'] = point.color;
104
- }
105
- return ret;
106
- }
107
- };
108
- var ColorMapMixin = {
109
- PointMixin: PointMixin,
110
- SeriesMixin: SeriesMixin
111
- };
112
-
113
- return ColorMapMixin;
114
- });
115
- _registerModule(_modules, 'Series/Treemap/TreemapAlgorithmGroup.js', [], function () {
116
- /* *
117
- *
118
- * (c) 2014-2021 Highsoft AS
119
- *
120
- * Authors: Jon Arild Nygard / Oystein Moseng
121
- *
122
- * License: www.highcharts.com/license
123
- *
124
- * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
125
- *
126
- * */
127
- /* *
128
- *
129
- * Class
130
- *
131
- * */
132
- var TreemapAlgorithmGroup = /** @class */ (function () {
133
- /* *
134
- *
135
- * Constructor
136
- *
137
- * */
138
- function TreemapAlgorithmGroup(h, w, d, p) {
139
- this.height = h;
140
- this.width = w;
141
- this.plot = p;
142
- this.direction = d;
143
- this.startDirection = d;
144
- this.total = 0;
145
- this.nW = 0;
146
- this.lW = 0;
147
- this.nH = 0;
148
- this.lH = 0;
149
- this.elArr = [];
150
- this.lP = {
151
- total: 0,
152
- lH: 0,
153
- nH: 0,
154
- lW: 0,
155
- nW: 0,
156
- nR: 0,
157
- lR: 0,
158
- aspectRatio: function (w, h) {
159
- return Math.max((w / h), (h / w));
160
- }
161
- };
162
- }
163
- /* *
164
- *
165
- * Functions
166
- *
167
- * */
168
- /* eslint-disable valid-jsdoc */
169
- TreemapAlgorithmGroup.prototype.addElement = function (el) {
170
- this.lP.total = this.elArr[this.elArr.length - 1];
171
- this.total = this.total + el;
172
- if (this.direction === 0) {
173
- // Calculate last point old aspect ratio
174
- this.lW = this.nW;
175
- this.lP.lH = this.lP.total / this.lW;
176
- this.lP.lR = this.lP.aspectRatio(this.lW, this.lP.lH);
177
- // Calculate last point new aspect ratio
178
- this.nW = this.total / this.height;
179
- this.lP.nH = this.lP.total / this.nW;
180
- this.lP.nR = this.lP.aspectRatio(this.nW, this.lP.nH);
181
- }
182
- else {
183
- // Calculate last point old aspect ratio
184
- this.lH = this.nH;
185
- this.lP.lW = this.lP.total / this.lH;
186
- this.lP.lR = this.lP.aspectRatio(this.lP.lW, this.lH);
187
- // Calculate last point new aspect ratio
188
- this.nH = this.total / this.width;
189
- this.lP.nW = this.lP.total / this.nH;
190
- this.lP.nR = this.lP.aspectRatio(this.lP.nW, this.nH);
191
- }
192
- this.elArr.push(el);
193
- };
194
- TreemapAlgorithmGroup.prototype.reset = function () {
195
- this.nW = 0;
196
- this.lW = 0;
197
- this.elArr = [];
198
- this.total = 0;
199
- };
200
- return TreemapAlgorithmGroup;
201
- }());
202
- /* *
203
- *
204
- * Default Export
205
- *
206
- * */
207
-
208
- return TreemapAlgorithmGroup;
209
- });
210
- _registerModule(_modules, 'Series/DrawPointComposition.js', [], function () {
211
- /* *
212
- *
213
- * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
214
- *
215
- * */
216
- /* *
217
- *
218
- * Composition
219
- *
220
- * */
221
- var DrawPointComposition;
222
- (function (DrawPointComposition) {
223
- /* *
224
- *
225
- * Declarations
226
- *
227
- * */
228
- /* *
229
- *
230
- * Constants
231
- *
232
- * */
233
- var composedClasses = [];
234
- /* *
235
- *
236
- * Functions
237
- *
238
- * */
239
- /* eslint-disable valid-jsdoc */
240
- /**
241
- * @private
242
- */
243
- function compose(PointClass) {
244
- if (composedClasses.indexOf(PointClass) === -1) {
245
- composedClasses.push(PointClass);
246
- var pointProto = PointClass.prototype;
247
- pointProto.draw = draw;
248
- if (!pointProto.shouldDraw) {
249
- pointProto.shouldDraw = shouldDraw;
250
- }
251
- }
252
- return PointClass;
253
- }
254
- DrawPointComposition.compose = compose;
255
- /**
256
- * Handles the drawing of a component.
257
- * Can be used for any type of component that reserves the graphic property,
258
- * and provides a shouldDraw on its context.
259
- *
260
- * @private
261
- *
262
- * @todo add type checking.
263
- * @todo export this function to enable usage
264
- */
265
- function draw(params) {
266
- var _this = this;
267
- var animatableAttribs = params.animatableAttribs,
268
- onComplete = params.onComplete,
269
- css = params.css,
270
- renderer = params.renderer;
271
- var animation = (this.series && this.series.chart.hasRendered) ?
272
- // Chart-level animation on updates
273
- void 0 :
274
- // Series-level animation on new points
275
- (this.series &&
276
- this.series.options.animation);
277
- var graphic = this.graphic;
278
- params.attribs = params.attribs || {};
279
- // Assigning class in dot notation does go well in IE8
280
- // eslint-disable-next-line dot-notation
281
- params.attribs['class'] = this.getClassName();
282
- if (this.shouldDraw()) {
283
- if (!graphic) {
284
- this.graphic = graphic =
285
- renderer[params.shapeType](params.shapeArgs)
286
- .add(params.group);
287
- }
288
- graphic
289
- .css(css)
290
- .attr(params.attribs)
291
- .animate(animatableAttribs, params.isNew ? false : animation, onComplete);
292
- }
293
- else if (graphic) {
294
- var destroy_1 = function () {
295
- _this.graphic = graphic = (graphic && graphic.destroy());
296
- if (typeof onComplete === 'function') {
297
- onComplete();
298
- }
299
- };
300
- // animate only runs complete callback if something was animated.
301
- if (Object.keys(animatableAttribs).length) {
302
- graphic.animate(animatableAttribs, void 0, function () {
303
- destroy_1();
304
- });
305
- }
306
- else {
307
- destroy_1();
308
- }
309
- }
310
- }
311
- /**
312
- * @private
313
- */
314
- function shouldDraw() {
315
- return !this.isNull;
316
- }
317
- })(DrawPointComposition || (DrawPointComposition = {}));
318
- /* *
319
- *
320
- * Default Export
321
- *
322
- * */
323
-
324
- return DrawPointComposition;
325
- });
326
- _registerModule(_modules, 'Series/Treemap/TreemapPoint.js', [_modules['Series/DrawPointComposition.js'], _modules['Core/Series/SeriesRegistry.js'], _modules['Core/Utilities.js']], function (DrawPointComposition, SeriesRegistry, U) {
327
- /* *
328
- *
329
- * (c) 2014-2021 Highsoft AS
330
- *
331
- * Authors: Jon Arild Nygard / Oystein Moseng
332
- *
333
- * License: www.highcharts.com/license
334
- *
335
- * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
336
- *
337
- * */
338
- var __extends = (this && this.__extends) || (function () {
339
- var extendStatics = function (d,
340
- b) {
341
- extendStatics = Object.setPrototypeOf ||
342
- ({ __proto__: [] } instanceof Array && function (d,
343
- b) { d.__proto__ = b; }) ||
344
- function (d,
345
- b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
346
- return extendStatics(d, b);
347
- };
348
- return function (d, b) {
349
- extendStatics(d, b);
350
- function __() { this.constructor = d; }
351
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
352
- };
353
- })();
354
- var Point = SeriesRegistry.series.prototype.pointClass,
355
- _a = SeriesRegistry.seriesTypes,
356
- PiePoint = _a.pie.prototype.pointClass,
357
- ScatterPoint = _a.scatter.prototype.pointClass;
358
- var extend = U.extend,
359
- isNumber = U.isNumber,
360
- pick = U.pick;
361
- /* *
362
- *
363
- * Class
364
- *
365
- * */
366
- var TreemapPoint = /** @class */ (function (_super) {
367
- __extends(TreemapPoint, _super);
368
- function TreemapPoint() {
369
- /* *
370
- *
371
- * Properties
372
- *
373
- * */
374
- var _this = _super !== null && _super.apply(this,
375
- arguments) || this;
376
- _this.name = void 0;
377
- _this.node = void 0;
378
- _this.options = void 0;
379
- _this.series = void 0;
380
- _this.value = void 0;
381
- return _this;
382
- /* eslint-enable valid-jsdoc */
383
- }
384
- /* *
385
- *
386
- * Functions
387
- *
388
- * */
389
- /* eslint-disable valid-jsdoc */
390
- TreemapPoint.prototype.getClassName = function () {
391
- var className = Point.prototype.getClassName.call(this),
392
- series = this.series,
393
- options = series.options;
394
- // Above the current level
395
- if (this.node.level <= series.nodeMap[series.rootNode].level) {
396
- className += ' highcharts-above-level';
397
- }
398
- else if (!this.node.isLeaf &&
399
- !pick(options.interactByLeaf, !options.allowTraversingTree)) {
400
- className += ' highcharts-internal-node-interactive';
401
- }
402
- else if (!this.node.isLeaf) {
403
- className += ' highcharts-internal-node';
404
- }
405
- return className;
406
- };
407
- /**
408
- * A tree point is valid if it has han id too, assume it may be a parent
409
- * item.
410
- *
411
- * @private
412
- * @function Highcharts.Point#isValid
413
- */
414
- TreemapPoint.prototype.isValid = function () {
415
- return Boolean(this.id || isNumber(this.value));
416
- };
417
- TreemapPoint.prototype.setState = function (state) {
418
- Point.prototype.setState.call(this, state);
419
- // Graphic does not exist when point is not visible.
420
- if (this.graphic) {
421
- this.graphic.attr({
422
- zIndex: state === 'hover' ? 1 : 0
423
- });
424
- }
425
- };
426
- TreemapPoint.prototype.shouldDraw = function () {
427
- return isNumber(this.plotY) && this.y !== null;
428
- };
429
- return TreemapPoint;
430
- }(ScatterPoint));
431
- extend(TreemapPoint.prototype, {
432
- setVisible: PiePoint.prototype.setVisible
433
- });
434
- DrawPointComposition.compose(TreemapPoint);
435
- /* *
436
- *
437
- * Default Export
438
- *
439
- * */
440
-
441
- return TreemapPoint;
442
- });
443
- _registerModule(_modules, 'Series/Treemap/TreemapUtilities.js', [_modules['Core/Utilities.js']], function (U) {
444
- /* *
445
- *
446
- * (c) 2014-2021 Highsoft AS
447
- *
448
- * Authors: Jon Arild Nygard / Oystein Moseng
449
- *
450
- * License: www.highcharts.com/license
451
- *
452
- * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
453
- *
454
- * */
455
- /* *
456
- *
457
- * Imports
458
- *
459
- * */
460
- var objectEach = U.objectEach;
461
- /* *
462
- *
463
- * Namespace
464
- *
465
- * */
466
- var TreemapUtilities;
467
- (function (TreemapUtilities) {
468
- TreemapUtilities.AXIS_MAX = 100;
469
- /* eslint-disable no-invalid-this, valid-jsdoc */
470
- /**
471
- * @todo Similar to eachObject, this function is likely redundant
472
- */
473
- function isBoolean(x) {
474
- return typeof x === 'boolean';
475
- }
476
- TreemapUtilities.isBoolean = isBoolean;
477
- /**
478
- * @todo Similar to recursive, this function is likely redundant
479
- */
480
- function eachObject(list, func, context) {
481
- context = context || this;
482
- objectEach(list, function (val, key) {
483
- func.call(context, val, key, list);
484
- });
485
- }
486
- TreemapUtilities.eachObject = eachObject;
487
- /**
488
- * @todo find correct name for this function.
489
- * @todo Similar to reduce, this function is likely redundant
490
- */
491
- function recursive(item, func, context) {
492
- if (context === void 0) { context = this; }
493
- var next;
494
- next = func.call(context, item);
495
- if (next !== false) {
496
- recursive(next, func, context);
497
- }
498
- }
499
- TreemapUtilities.recursive = recursive;
500
- })(TreemapUtilities || (TreemapUtilities = {}));
501
- /* *
502
- *
503
- * Default Export
504
- *
505
- * */
506
-
507
- return TreemapUtilities;
508
- });
509
- _registerModule(_modules, 'Series/TreeUtilities.js', [_modules['Core/Color/Color.js'], _modules['Core/Utilities.js']], function (Color, U) {
510
- /* *
511
- *
512
- * (c) 2014-2021 Highsoft AS
513
- *
514
- * Authors: Jon Arild Nygard / Oystein Moseng
515
- *
516
- * License: www.highcharts.com/license
517
- *
518
- * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
519
- *
520
- * */
521
- var extend = U.extend,
522
- isArray = U.isArray,
523
- isNumber = U.isNumber,
524
- isObject = U.isObject,
525
- merge = U.merge,
526
- pick = U.pick;
527
- /* *
528
- *
529
- * Functions
530
- *
531
- * */
532
- /* eslint-disable valid-jsdoc */
533
- /**
534
- * @private
535
- */
536
- function getColor(node, options) {
537
- var index = options.index,
538
- mapOptionsToLevel = options.mapOptionsToLevel,
539
- parentColor = options.parentColor,
540
- parentColorIndex = options.parentColorIndex,
541
- series = options.series,
542
- colors = options.colors,
543
- siblings = options.siblings,
544
- points = series.points,
545
- chartOptionsChart = series.chart.options.chart;
546
- var getColorByPoint,
547
- point,
548
- level,
549
- colorByPoint,
550
- colorIndexByPoint,
551
- color,
552
- colorIndex;
553
- /**
554
- * @private
555
- */
556
- var variateColor = function (color) {
557
- var colorVariation = level && level.colorVariation;
558
- if (colorVariation &&
559
- colorVariation.key === 'brightness' &&
560
- index &&
561
- siblings) {
562
- return Color.parse(color).brighten(colorVariation.to * (index / siblings)).get();
563
- }
564
- return color;
565
- };
566
- if (node) {
567
- point = points[node.i];
568
- level = mapOptionsToLevel[node.level] || {};
569
- getColorByPoint = point && level.colorByPoint;
570
- if (getColorByPoint) {
571
- colorIndexByPoint = point.index % (colors ?
572
- colors.length :
573
- chartOptionsChart.colorCount);
574
- colorByPoint = colors && colors[colorIndexByPoint];
575
- }
576
- // Select either point color, level color or inherited color.
577
- if (!series.chart.styledMode) {
578
- color = pick(point && point.options.color, level && level.color, colorByPoint, parentColor && variateColor(parentColor), series.color);
579
- }
580
- colorIndex = pick(point && point.options.colorIndex, level && level.colorIndex, colorIndexByPoint, parentColorIndex, options.colorIndex);
581
- }
582
- return {
583
- color: color,
584
- colorIndex: colorIndex
585
- };
586
- }
587
- /**
588
- * Creates a map from level number to its given options.
589
- *
590
- * @private
591
- *
592
- * @param {Object} params
593
- * Object containing parameters.
594
- * - `defaults` Object containing default options. The default options are
595
- * merged with the userOptions to get the final options for a specific
596
- * level.
597
- * - `from` The lowest level number.
598
- * - `levels` User options from series.levels.
599
- * - `to` The highest level number.
600
- *
601
- * @return {Highcharts.Dictionary<object>|null}
602
- * Returns a map from level number to its given options.
603
- */
604
- function getLevelOptions(params) {
605
- var result = null,
606
- defaults,
607
- converted,
608
- i,
609
- from,
610
- to,
611
- levels;
612
- if (isObject(params)) {
613
- result = {};
614
- from = isNumber(params.from) ? params.from : 1;
615
- levels = params.levels;
616
- converted = {};
617
- defaults = isObject(params.defaults) ? params.defaults : {};
618
- if (isArray(levels)) {
619
- converted = levels.reduce(function (obj, item) {
620
- var level,
621
- levelIsConstant,
622
- options;
623
- if (isObject(item) && isNumber(item.level)) {
624
- options = merge({}, item);
625
- levelIsConstant = pick(options.levelIsConstant, defaults.levelIsConstant);
626
- // Delete redundant properties.
627
- delete options.levelIsConstant;
628
- delete options.level;
629
- // Calculate which level these options apply to.
630
- level = item.level + (levelIsConstant ? 0 : from - 1);
631
- if (isObject(obj[level])) {
632
- merge(true, obj[level], options); // #16329
633
- }
634
- else {
635
- obj[level] = options;
636
- }
637
- }
638
- return obj;
639
- }, {});
640
- }
641
- to = isNumber(params.to) ? params.to : 1;
642
- for (i = 0; i <= to; i++) {
643
- result[i] = merge({}, defaults, isObject(converted[i]) ? converted[i] : {});
644
- }
645
- }
646
- return result;
647
- }
648
- /**
649
- * @private
650
- * @todo Combine buildTree and buildNode with setTreeValues
651
- * @todo Remove logic from Treemap and make it utilize this mixin.
652
- */
653
- function setTreeValues(tree, options) {
654
- var before = options.before,
655
- idRoot = options.idRoot,
656
- mapIdToNode = options.mapIdToNode,
657
- nodeRoot = mapIdToNode[idRoot],
658
- levelIsConstant = (options.levelIsConstant !== false),
659
- points = options.points,
660
- point = points[tree.i],
661
- optionsPoint = point && point.options || {},
662
- children = [];
663
- var childrenTotal = 0;
664
- tree.levelDynamic = tree.level - (levelIsConstant ? 0 : nodeRoot.level);
665
- tree.name = pick(point && point.name, '');
666
- tree.visible = (idRoot === tree.id ||
667
- options.visible === true);
668
- if (typeof before === 'function') {
669
- tree = before(tree, options);
670
- }
671
- // First give the children some values
672
- tree.children.forEach(function (child, i) {
673
- var newOptions = extend({},
674
- options);
675
- extend(newOptions, {
676
- index: i,
677
- siblings: tree.children.length,
678
- visible: tree.visible
679
- });
680
- child = setTreeValues(child, newOptions);
681
- children.push(child);
682
- if (child.visible) {
683
- childrenTotal += child.val;
684
- }
685
- });
686
- // Set the values
687
- var value = pick(optionsPoint.value,
688
- childrenTotal);
689
- tree.visible = value >= 0 && (childrenTotal > 0 || tree.visible);
690
- tree.children = children;
691
- tree.childrenTotal = childrenTotal;
692
- tree.isLeaf = tree.visible && !childrenTotal;
693
- tree.val = value;
694
- return tree;
695
- }
696
- /**
697
- * Update the rootId property on the series. Also makes sure that it is
698
- * accessible to exporting.
699
- *
700
- * @private
701
- *
702
- * @param {Object} series
703
- * The series to operate on.
704
- *
705
- * @return {string}
706
- * Returns the resulting rootId after update.
707
- */
708
- function updateRootId(series) {
709
- var rootId,
710
- options;
711
- if (isObject(series)) {
712
- // Get the series options.
713
- options = isObject(series.options) ? series.options : {};
714
- // Calculate the rootId.
715
- rootId = pick(series.rootNode, options.rootId, '');
716
- // Set rootId on series.userOptions to pick it up in exporting.
717
- if (isObject(series.userOptions)) {
718
- series.userOptions.rootId = rootId;
719
- }
720
- // Set rootId on series to pick it up on next update.
721
- series.rootNode = rootId;
722
- }
723
- return rootId;
724
- }
725
- /* *
726
- *
727
- * Default Export
728
- *
729
- * */
730
- var TreeUtilities = {
731
- getColor: getColor,
732
- getLevelOptions: getLevelOptions,
733
- setTreeValues: setTreeValues,
734
- updateRootId: updateRootId
735
- };
736
-
737
- return TreeUtilities;
738
- });
739
- _registerModule(_modules, 'Series/Treemap/TreemapComposition.js', [_modules['Core/Series/SeriesRegistry.js'], _modules['Series/Treemap/TreemapUtilities.js'], _modules['Core/Utilities.js']], function (SeriesRegistry, TreemapUtilities, U) {
740
- /* *
741
- *
742
- * (c) 2014-2021 Highsoft AS
743
- *
744
- * Authors: Jon Arild Nygard / Oystein Moseng
745
- *
746
- * License: www.highcharts.com/license
747
- *
748
- * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
749
- *
750
- * */
751
- /* *
752
- *
753
- * Imports
754
- *
755
- * */
756
- var Series = SeriesRegistry.series;
757
- var addEvent = U.addEvent,
758
- extend = U.extend;
759
- /* *
760
- *
761
- * Composition
762
- *
763
- * */
764
- var treemapAxisDefaultValues = false;
765
- addEvent(Series, 'afterBindAxes', function () {
766
- // eslint-disable-next-line no-invalid-this
767
- var series = this,
768
- xAxis = series.xAxis,
769
- yAxis = series.yAxis,
770
- treeAxis;
771
- if (xAxis && yAxis) {
772
- if (series.is('treemap')) {
773
- treeAxis = {
774
- endOnTick: false,
775
- gridLineWidth: 0,
776
- lineWidth: 0,
777
- min: 0,
778
- // dataMin: 0,
779
- minPadding: 0,
780
- max: TreemapUtilities.AXIS_MAX,
781
- // dataMax: TreemapUtilities.AXIS_MAX,
782
- maxPadding: 0,
783
- startOnTick: false,
784
- title: void 0,
785
- tickPositions: []
786
- };
787
- extend(yAxis.options, treeAxis);
788
- extend(xAxis.options, treeAxis);
789
- treemapAxisDefaultValues = true;
790
- }
791
- else if (treemapAxisDefaultValues) {
792
- yAxis.setOptions(yAxis.userOptions);
793
- xAxis.setOptions(xAxis.userOptions);
794
- treemapAxisDefaultValues = false;
795
- }
796
- }
797
- });
798
-
799
- });
800
- _registerModule(_modules, 'Series/Treemap/TreemapSeries.js', [_modules['Core/Color/Color.js'], _modules['Series/ColorMapMixin.js'], _modules['Core/Globals.js'], _modules['Core/Legend/LegendSymbol.js'], _modules['Core/Series/SeriesRegistry.js'], _modules['Series/Treemap/TreemapAlgorithmGroup.js'], _modules['Series/Treemap/TreemapPoint.js'], _modules['Series/Treemap/TreemapUtilities.js'], _modules['Series/TreeUtilities.js'], _modules['Core/Utilities.js']], function (Color, ColorMapMixin, H, LegendSymbol, SeriesRegistry, TreemapAlgorithmGroup, TreemapPoint, TreemapUtilities, TU, U) {
801
- /* *
802
- *
803
- * (c) 2014-2021 Highsoft AS
804
- *
805
- * Authors: Jon Arild Nygard / Oystein Moseng
806
- *
807
- * License: www.highcharts.com/license
808
- *
809
- * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
810
- *
811
- * */
812
- var __extends = (this && this.__extends) || (function () {
813
- var extendStatics = function (d,
814
- b) {
815
- extendStatics = Object.setPrototypeOf ||
816
- ({ __proto__: [] } instanceof Array && function (d,
817
- b) { d.__proto__ = b; }) ||
818
- function (d,
819
- b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
820
- return extendStatics(d, b);
821
- };
822
- return function (d, b) {
823
- extendStatics(d, b);
824
- function __() { this.constructor = d; }
825
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
826
- };
827
- })();
828
- var color = Color.parse;
829
- var noop = H.noop;
830
- var Series = SeriesRegistry.series,
831
- _a = SeriesRegistry.seriesTypes,
832
- ColumnSeries = _a.column,
833
- HeatmapSeries = _a.heatmap,
834
- ScatterSeries = _a.scatter;
835
- var getColor = TU.getColor,
836
- getLevelOptions = TU.getLevelOptions,
837
- updateRootId = TU.updateRootId;
838
- var addEvent = U.addEvent,
839
- correctFloat = U.correctFloat,
840
- defined = U.defined,
841
- error = U.error,
842
- extend = U.extend,
843
- fireEvent = U.fireEvent,
844
- isArray = U.isArray,
845
- isObject = U.isObject,
846
- isString = U.isString,
847
- merge = U.merge,
848
- pick = U.pick,
849
- stableSort = U.stableSort;
850
- /* *
851
- *
852
- * Class
853
- *
854
- * */
855
- /**
856
- * @private
857
- * @class
858
- * @name Highcharts.seriesTypes.treemap
859
- *
860
- * @augments Highcharts.Series
861
- */
862
- var TreemapSeries = /** @class */ (function (_super) {
863
- __extends(TreemapSeries, _super);
864
- function TreemapSeries() {
865
- /* *
866
- *
867
- * Static Properties
868
- *
869
- * */
870
- var _this = _super !== null && _super.apply(this,
871
- arguments) || this;
872
- /* *
873
- *
874
- * Properties
875
- *
876
- * */
877
- _this.axisRatio = void 0;
878
- _this.data = void 0;
879
- _this.mapOptionsToLevel = void 0;
880
- _this.nodeMap = void 0;
881
- _this.options = void 0;
882
- _this.points = void 0;
883
- _this.rootNode = void 0;
884
- _this.tree = void 0;
885
- return _this;
886
- /* eslint-enable valid-jsdoc */
887
- }
888
- /* *
889
- *
890
- * Function
891
- *
892
- * */
893
- /* eslint-disable valid-jsdoc */
894
- TreemapSeries.prototype.algorithmCalcPoints = function (directionChange, last, group, childrenArea) {
895
- var pX,
896
- pY,
897
- pW,
898
- pH,
899
- gW = group.lW,
900
- gH = group.lH,
901
- plot = group.plot,
902
- keep,
903
- i = 0,
904
- end = group.elArr.length - 1;
905
- if (last) {
906
- gW = group.nW;
907
- gH = group.nH;
908
- }
909
- else {
910
- keep = group.elArr[group.elArr.length - 1];
911
- }
912
- group.elArr.forEach(function (p) {
913
- if (last || (i < end)) {
914
- if (group.direction === 0) {
915
- pX = plot.x;
916
- pY = plot.y;
917
- pW = gW;
918
- pH = p / pW;
919
- }
920
- else {
921
- pX = plot.x;
922
- pY = plot.y;
923
- pH = gH;
924
- pW = p / pH;
925
- }
926
- childrenArea.push({
927
- x: pX,
928
- y: pY,
929
- width: pW,
930
- height: correctFloat(pH)
931
- });
932
- if (group.direction === 0) {
933
- plot.y = plot.y + pH;
934
- }
935
- else {
936
- plot.x = plot.x + pW;
937
- }
938
- }
939
- i = i + 1;
940
- });
941
- // Reset variables
942
- group.reset();
943
- if (group.direction === 0) {
944
- group.width = group.width - gW;
945
- }
946
- else {
947
- group.height = group.height - gH;
948
- }
949
- plot.y = plot.parent.y + (plot.parent.height - group.height);
950
- plot.x = plot.parent.x + (plot.parent.width - group.width);
951
- if (directionChange) {
952
- group.direction = 1 - group.direction;
953
- }
954
- // If not last, then add uncalculated element
955
- if (!last) {
956
- group.addElement(keep);
957
- }
958
- };
959
- TreemapSeries.prototype.algorithmFill = function (directionChange, parent, children) {
960
- var childrenArea = [],
961
- pTot,
962
- direction = parent.direction,
963
- x = parent.x,
964
- y = parent.y,
965
- width = parent.width,
966
- height = parent.height,
967
- pX,
968
- pY,
969
- pW,
970
- pH;
971
- children.forEach(function (child) {
972
- pTot =
973
- (parent.width * parent.height) * (child.val / parent.val);
974
- pX = x;
975
- pY = y;
976
- if (direction === 0) {
977
- pH = height;
978
- pW = pTot / pH;
979
- width = width - pW;
980
- x = x + pW;
981
- }
982
- else {
983
- pW = width;
984
- pH = pTot / pW;
985
- height = height - pH;
986
- y = y + pH;
987
- }
988
- childrenArea.push({
989
- x: pX,
990
- y: pY,
991
- width: pW,
992
- height: pH
993
- });
994
- if (directionChange) {
995
- direction = 1 - direction;
996
- }
997
- });
998
- return childrenArea;
999
- };
1000
- TreemapSeries.prototype.algorithmLowAspectRatio = function (directionChange, parent, children) {
1001
- var childrenArea = [],
1002
- series = this,
1003
- pTot,
1004
- plot = {
1005
- x: parent.x,
1006
- y: parent.y,
1007
- parent: parent
1008
- },
1009
- direction = parent.direction,
1010
- i = 0,
1011
- end = children.length - 1,
1012
- group = new TreemapAlgorithmGroup(parent.height,
1013
- parent.width,
1014
- direction,
1015
- plot);
1016
- // Loop through and calculate all areas
1017
- children.forEach(function (child) {
1018
- pTot =
1019
- (parent.width * parent.height) * (child.val / parent.val);
1020
- group.addElement(pTot);
1021
- if (group.lP.nR > group.lP.lR) {
1022
- series.algorithmCalcPoints(directionChange, false, group, childrenArea, plot // @todo no supported
1023
- );
1024
- }
1025
- // If last child, then calculate all remaining areas
1026
- if (i === end) {
1027
- series.algorithmCalcPoints(directionChange, true, group, childrenArea, plot // @todo not supported
1028
- );
1029
- }
1030
- i = i + 1;
1031
- });
1032
- return childrenArea;
1033
- };
1034
- /**
1035
- * Over the alignment method by setting z index.
1036
- * @private
1037
- */
1038
- TreemapSeries.prototype.alignDataLabel = function (point, dataLabel, labelOptions) {
1039
- var style = labelOptions.style;
1040
- // #8160: Prevent the label from exceeding the point's
1041
- // boundaries in treemaps by applying ellipsis overflow.
1042
- // The issue was happening when datalabel's text contained a
1043
- // long sequence of characters without a whitespace.
1044
- if (style &&
1045
- !defined(style.textOverflow) &&
1046
- dataLabel.text &&
1047
- dataLabel.getBBox().width > dataLabel.text.textWidth) {
1048
- dataLabel.css({
1049
- textOverflow: 'ellipsis',
1050
- // unit (px) is required when useHTML is true
1051
- width: style.width += 'px'
1052
- });
1053
- }
1054
- ColumnSeries.prototype.alignDataLabel.apply(this, arguments);
1055
- if (point.dataLabel) {
1056
- // point.node.zIndex could be undefined (#6956)
1057
- point.dataLabel.attr({ zIndex: (point.node.zIndex || 0) + 1 });
1058
- }
1059
- };
1060
- TreemapSeries.prototype.buildNode = function (id, i, level, list, parent) {
1061
- var series = this,
1062
- children = [],
1063
- point = series.points[i],
1064
- height = 0,
1065
- node,
1066
- child;
1067
- // Actions
1068
- ((list[id] || [])).forEach(function (i) {
1069
- child = series.buildNode(series.points[i].id, i, (level + 1), list, id);
1070
- height = Math.max(child.height + 1, height);
1071
- children.push(child);
1072
- });
1073
- node = {
1074
- id: id,
1075
- i: i,
1076
- children: children,
1077
- height: height,
1078
- level: level,
1079
- parent: parent,
1080
- visible: false // @todo move this to better location
1081
- };
1082
- series.nodeMap[node.id] = node;
1083
- if (point) {
1084
- point.node = node;
1085
- }
1086
- return node;
1087
- };
1088
- /**
1089
- * Recursive function which calculates the area for all children of a
1090
- * node.
1091
- *
1092
- * @private
1093
- * @function Highcharts.Series#calculateChildrenAreas
1094
- *
1095
- * @param {Object} node
1096
- * The node which is parent to the children.
1097
- *
1098
- * @param {Object} area
1099
- * The rectangular area of the parent.
1100
- */
1101
- TreemapSeries.prototype.calculateChildrenAreas = function (parent, area) {
1102
- var series = this,
1103
- options = series.options,
1104
- mapOptionsToLevel = series.mapOptionsToLevel,
1105
- level = mapOptionsToLevel[parent.level + 1],
1106
- algorithm = pick((series[(level && level.layoutAlgorithm)] &&
1107
- level.layoutAlgorithm),
1108
- options.layoutAlgorithm),
1109
- alternate = options.alternateStartingDirection,
1110
- childrenValues = [],
1111
- children;
1112
- // Collect all children which should be included
1113
- children = parent.children.filter(function (n) {
1114
- return !n.ignore;
1115
- });
1116
- if (level && level.layoutStartingDirection) {
1117
- area.direction = level.layoutStartingDirection === 'vertical' ?
1118
- 0 :
1119
- 1;
1120
- }
1121
- childrenValues = series[algorithm](area, children);
1122
- children.forEach(function (child, index) {
1123
- var values = childrenValues[index];
1124
- child.values = merge(values, {
1125
- val: child.childrenTotal,
1126
- direction: (alternate ? 1 - area.direction : area.direction)
1127
- });
1128
- child.pointValues = merge(values, {
1129
- x: (values.x / series.axisRatio),
1130
- // Flip y-values to avoid visual regression with csvCoord in
1131
- // Axis.translate at setPointValues. #12488
1132
- y: TreemapUtilities.AXIS_MAX - values.y - values.height,
1133
- width: (values.width / series.axisRatio)
1134
- });
1135
- // If node has children, then call method recursively
1136
- if (child.children.length) {
1137
- series.calculateChildrenAreas(child, child.values);
1138
- }
1139
- });
1140
- };
1141
- /**
1142
- * Extend drawDataLabels with logic to handle custom options related to
1143
- * the treemap series:
1144
- *
1145
- * - Points which is not a leaf node, has dataLabels disabled by
1146
- * default.
1147
- *
1148
- * - Options set on series.levels is merged in.
1149
- *
1150
- * - Width of the dataLabel is set to match the width of the point
1151
- * shape.
1152
- *
1153
- * @private
1154
- */
1155
- TreemapSeries.prototype.drawDataLabels = function () {
1156
- var series = this,
1157
- mapOptionsToLevel = series.mapOptionsToLevel,
1158
- points = series.points.filter(function (n) {
1159
- return n.node.visible;
1160
- }), options, level;
1161
- points.forEach(function (point) {
1162
- level = mapOptionsToLevel[point.node.level];
1163
- // Set options to new object to avoid problems with scope
1164
- options = { style: {} };
1165
- // If not a leaf, then label should be disabled as default
1166
- if (!point.node.isLeaf) {
1167
- options.enabled = false;
1168
- }
1169
- // If options for level exists, include them as well
1170
- if (level && level.dataLabels) {
1171
- options = merge(options, level.dataLabels);
1172
- series._hasPointLabels = true;
1173
- }
1174
- // Set dataLabel width to the width of the point shape.
1175
- if (point.shapeArgs) {
1176
- options.style.width = point.shapeArgs.width;
1177
- if (point.dataLabel) {
1178
- point.dataLabel.css({
1179
- width: point.shapeArgs.width + 'px'
1180
- });
1181
- }
1182
- }
1183
- // Merge custom options with point options
1184
- point.dlOptions = merge(options, point.options.dataLabels);
1185
- });
1186
- Series.prototype.drawDataLabels.call(this);
1187
- };
1188
- /**
1189
- * Override drawPoints
1190
- * @private
1191
- */
1192
- TreemapSeries.prototype.drawPoints = function () {
1193
- var series = this,
1194
- chart = series.chart,
1195
- renderer = chart.renderer,
1196
- points = series.points,
1197
- styledMode = chart.styledMode,
1198
- options = series.options,
1199
- shadow = styledMode ? {} : options.shadow,
1200
- borderRadius = options.borderRadius,
1201
- withinAnimationLimit = chart.pointCount < options.animationLimit,
1202
- allowTraversingTree = options.allowTraversingTree;
1203
- points.forEach(function (point) {
1204
- var levelDynamic = point.node.levelDynamic,
1205
- animatableAttribs = {},
1206
- attribs = {},
1207
- css = {},
1208
- groupKey = 'level-group-' + point.node.level,
1209
- hasGraphic = !!point.graphic,
1210
- shouldAnimate = withinAnimationLimit && hasGraphic,
1211
- shapeArgs = point.shapeArgs;
1212
- // Don't bother with calculate styling if the point is not drawn
1213
- if (point.shouldDraw()) {
1214
- point.isInside = true;
1215
- if (borderRadius) {
1216
- attribs.r = borderRadius;
1217
- }
1218
- merge(true, // Extend object
1219
- // Which object to extend
1220
- shouldAnimate ? animatableAttribs : attribs,
1221
- // Add shapeArgs to animate/attr if graphic exists
1222
- hasGraphic ? shapeArgs : {},
1223
- // Add style attribs if !styleMode
1224
- styledMode ?
1225
- {} :
1226
- series.pointAttribs(point, point.selected ? 'select' : void 0));
1227
- // In styled mode apply point.color. Use CSS, otherwise the
1228
- // fill used in the style sheet will take precedence over
1229
- // the fill attribute.
1230
- if (series.colorAttribs && styledMode) {
1231
- // Heatmap is loaded
1232
- extend(css, series.colorAttribs(point));
1233
- }
1234
- if (!series[groupKey]) {
1235
- series[groupKey] = renderer.g(groupKey)
1236
- .attr({
1237
- // @todo Set the zIndex based upon the number of
1238
- // levels, instead of using 1000
1239
- zIndex: 1000 - (levelDynamic || 0)
1240
- })
1241
- .add(series.group);
1242
- series[groupKey].survive = true;
1243
- }
1244
- }
1245
- // Draw the point
1246
- point.draw({
1247
- animatableAttribs: animatableAttribs,
1248
- attribs: attribs,
1249
- css: css,
1250
- group: series[groupKey],
1251
- renderer: renderer,
1252
- shadow: shadow,
1253
- shapeArgs: shapeArgs,
1254
- shapeType: 'rect'
1255
- });
1256
- // If setRootNode is allowed, set a point cursor on clickables &
1257
- // add drillId to point
1258
- if (allowTraversingTree && point.graphic) {
1259
- point.drillId = options.interactByLeaf ?
1260
- series.drillToByLeaf(point) :
1261
- series.drillToByGroup(point);
1262
- }
1263
- });
1264
- };
1265
- /**
1266
- * Finds the drill id for a parent node. Returns false if point should
1267
- * not have a click event.
1268
- * @private
1269
- */
1270
- TreemapSeries.prototype.drillToByGroup = function (point) {
1271
- var series = this,
1272
- drillId = false;
1273
- if ((point.node.level - series.nodeMap[series.rootNode].level) ===
1274
- 1 &&
1275
- !point.node.isLeaf) {
1276
- drillId = point.id;
1277
- }
1278
- return drillId;
1279
- };
1280
- /**
1281
- * Finds the drill id for a leaf node. Returns false if point should not
1282
- * have a click event
1283
- * @private
1284
- */
1285
- TreemapSeries.prototype.drillToByLeaf = function (point) {
1286
- var series = this,
1287
- drillId = false,
1288
- nodeParent;
1289
- if ((point.node.parent !== series.rootNode) &&
1290
- point.node.isLeaf) {
1291
- nodeParent = point.node;
1292
- while (!drillId) {
1293
- nodeParent = series.nodeMap[nodeParent.parent];
1294
- if (nodeParent.parent === series.rootNode) {
1295
- drillId = nodeParent.id;
1296
- }
1297
- }
1298
- }
1299
- return drillId;
1300
- };
1301
- /**
1302
- * @todo remove this function at a suitable version.
1303
- * @private
1304
- */
1305
- TreemapSeries.prototype.drillToNode = function (id, redraw) {
1306
- error(32, false, void 0, { 'treemap.drillToNode': 'use treemap.setRootNode' });
1307
- this.setRootNode(id, redraw);
1308
- };
1309
- TreemapSeries.prototype.drillUp = function () {
1310
- var series = this,
1311
- node = series.nodeMap[series.rootNode];
1312
- if (node && isString(node.parent)) {
1313
- series.setRootNode(node.parent, true, { trigger: 'traverseUpButton' });
1314
- }
1315
- };
1316
- TreemapSeries.prototype.getExtremes = function () {
1317
- // Get the extremes from the value data
1318
- var _a = Series.prototype.getExtremes
1319
- .call(this,
1320
- this.colorValueData),
1321
- dataMin = _a.dataMin,
1322
- dataMax = _a.dataMax;
1323
- this.valueMin = dataMin;
1324
- this.valueMax = dataMax;
1325
- // Get the extremes from the y data
1326
- return Series.prototype.getExtremes.call(this);
1327
- };
1328
- /**
1329
- * Creates an object map from parent id to childrens index.
1330
- *
1331
- * @private
1332
- * @function Highcharts.Series#getListOfParents
1333
- *
1334
- * @param {Highcharts.SeriesTreemapDataOptions} [data]
1335
- * List of points set in options.
1336
- *
1337
- * @param {Array<string>} [existingIds]
1338
- * List of all point ids.
1339
- *
1340
- * @return {Object}
1341
- * Map from parent id to children index in data.
1342
- */
1343
- TreemapSeries.prototype.getListOfParents = function (data, existingIds) {
1344
- var arr = isArray(data) ? data : [],
1345
- ids = isArray(existingIds) ? existingIds : [],
1346
- listOfParents = arr.reduce(function (prev,
1347
- curr,
1348
- i) {
1349
- var parent = pick(curr.parent, '');
1350
- if (typeof prev[parent] === 'undefined') {
1351
- prev[parent] = [];
1352
- }
1353
- prev[parent].push(i);
1354
- return prev;
1355
- }, {
1356
- '': [] // Root of tree
1357
- });
1358
- // If parent does not exist, hoist parent to root of tree.
1359
- TreemapUtilities.eachObject(listOfParents, function (children, parent, list) {
1360
- if ((parent !== '') && (ids.indexOf(parent) === -1)) {
1361
- children.forEach(function (child) {
1362
- list[''].push(child);
1363
- });
1364
- delete list[parent];
1365
- }
1366
- });
1367
- return listOfParents;
1368
- };
1369
- /**
1370
- * Creates a tree structured object from the series points.
1371
- * @private
1372
- */
1373
- TreemapSeries.prototype.getTree = function () {
1374
- var series = this,
1375
- allIds = this.data.map(function (d) {
1376
- return d.id;
1377
- }), parentList = series.getListOfParents(this.data, allIds);
1378
- series.nodeMap = {};
1379
- return series.buildNode('', -1, 0, parentList);
1380
- };
1381
- /**
1382
- * Define hasData function for non-cartesian series. Returns true if the
1383
- * series has points at all.
1384
- * @private
1385
- */
1386
- TreemapSeries.prototype.hasData = function () {
1387
- return !!this.processedXData.length; // != 0
1388
- };
1389
- TreemapSeries.prototype.init = function (chart, options) {
1390
- var series = this,
1391
- setOptionsEvent;
1392
- // If color series logic is loaded, add some properties
1393
- this.colorAttribs = ColorMapMixin.SeriesMixin.colorAttribs;
1394
- setOptionsEvent = addEvent(series, 'setOptions', function (event) {
1395
- var options = event.userOptions;
1396
- if (defined(options.allowDrillToNode) &&
1397
- !defined(options.allowTraversingTree)) {
1398
- options.allowTraversingTree = options.allowDrillToNode;
1399
- delete options.allowDrillToNode;
1400
- }
1401
- if (defined(options.drillUpButton) &&
1402
- !defined(options.traverseUpButton)) {
1403
- options.traverseUpButton = options.drillUpButton;
1404
- delete options.drillUpButton;
1405
- }
1406
- });
1407
- Series.prototype.init.call(series, chart, options);
1408
- // Treemap's opacity is a different option from other series
1409
- delete series.opacity;
1410
- // Handle deprecated options.
1411
- series.eventsToUnbind.push(setOptionsEvent);
1412
- if (series.options.allowTraversingTree) {
1413
- series.eventsToUnbind.push(addEvent(series, 'click', series.onClickDrillToNode));
1414
- }
1415
- };
1416
- /**
1417
- * Add drilling on the suitable points.
1418
- * @private
1419
- */
1420
- TreemapSeries.prototype.onClickDrillToNode = function (event) {
1421
- var series = this,
1422
- point = event.point,
1423
- drillId = point && point.drillId;
1424
- // If a drill id is returned, add click event and cursor.
1425
- if (isString(drillId)) {
1426
- point.setState(''); // Remove hover
1427
- series.setRootNode(drillId, true, { trigger: 'click' });
1428
- }
1429
- };
1430
- /**
1431
- * Get presentational attributes
1432
- * @private
1433
- */
1434
- TreemapSeries.prototype.pointAttribs = function (point, state) {
1435
- var series = this,
1436
- mapOptionsToLevel = (isObject(series.mapOptionsToLevel) ?
1437
- series.mapOptionsToLevel :
1438
- {}),
1439
- level = point && mapOptionsToLevel[point.node.level] || {},
1440
- options = this.options,
1441
- attr,
1442
- stateOptions = (state && options.states[state]) || {},
1443
- className = (point && point.getClassName()) || '',
1444
- opacity;
1445
- // Set attributes by precedence. Point trumps level trumps series.
1446
- // Stroke width uses pick because it can be 0.
1447
- attr = {
1448
- 'stroke': (point && point.borderColor) ||
1449
- level.borderColor ||
1450
- stateOptions.borderColor ||
1451
- options.borderColor,
1452
- 'stroke-width': pick(point && point.borderWidth, level.borderWidth, stateOptions.borderWidth, options.borderWidth),
1453
- 'dashstyle': (point && point.borderDashStyle) ||
1454
- level.borderDashStyle ||
1455
- stateOptions.borderDashStyle ||
1456
- options.borderDashStyle,
1457
- 'fill': (point && point.color) || this.color
1458
- };
1459
- // Hide levels above the current view
1460
- if (className.indexOf('highcharts-above-level') !== -1) {
1461
- attr.fill = 'none';
1462
- attr['stroke-width'] = 0;
1463
- // Nodes with children that accept interaction
1464
- }
1465
- else if (className.indexOf('highcharts-internal-node-interactive') !== -1) {
1466
- opacity = pick(stateOptions.opacity, options.opacity);
1467
- attr.fill = color(attr.fill).setOpacity(opacity).get();
1468
- attr.cursor = 'pointer';
1469
- // Hide nodes that have children
1470
- }
1471
- else if (className.indexOf('highcharts-internal-node') !== -1) {
1472
- attr.fill = 'none';
1473
- }
1474
- else if (state) {
1475
- // Brighten and hoist the hover nodes
1476
- attr.fill = color(attr.fill)
1477
- .brighten(stateOptions.brightness)
1478
- .get();
1479
- }
1480
- return attr;
1481
- };
1482
- TreemapSeries.prototype.renderTraverseUpButton = function (rootId) {
1483
- var series = this,
1484
- nodeMap = series.nodeMap,
1485
- node = nodeMap[rootId],
1486
- name = node.name,
1487
- buttonOptions = series.options
1488
- .traverseUpButton,
1489
- backText = pick(buttonOptions.text,
1490
- name, '◁ Back'),
1491
- attr,
1492
- states;
1493
- if (rootId === '' || (series.is('sunburst') &&
1494
- series.tree.children.length === 1 &&
1495
- rootId === series.tree.children[0].id)) {
1496
- if (series.drillUpButton) {
1497
- series.drillUpButton = series.drillUpButton.destroy();
1498
- }
1499
- }
1500
- else if (!this.drillUpButton) {
1501
- attr = buttonOptions.theme;
1502
- states = attr && attr.states;
1503
- this.drillUpButton = this.chart.renderer
1504
- .button(backText, 0, 0, function () {
1505
- series.drillUp();
1506
- }, attr, states && states.hover, states && states.select)
1507
- .addClass('highcharts-drillup-button')
1508
- .attr({
1509
- align: buttonOptions.position.align,
1510
- zIndex: 7
1511
- })
1512
- .add()
1513
- .align(buttonOptions.position, false, buttonOptions.relativeTo || 'plotBox');
1514
- }
1515
- else {
1516
- this.drillUpButton.placed = false;
1517
- this.drillUpButton.attr({
1518
- text: backText
1519
- })
1520
- .align();
1521
- }
1522
- };
1523
- /**
1524
- * Set the node's color recursively, from the parent down.
1525
- * @private
1526
- */
1527
- TreemapSeries.prototype.setColorRecursive = function (node, parentColor, colorIndex, index, siblings) {
1528
- var series = this,
1529
- chart = series && series.chart,
1530
- colors = chart && chart.options && chart.options.colors,
1531
- colorInfo,
1532
- point;
1533
- if (node) {
1534
- colorInfo = getColor(node, {
1535
- colors: colors,
1536
- index: index,
1537
- mapOptionsToLevel: series.mapOptionsToLevel,
1538
- parentColor: parentColor,
1539
- parentColorIndex: colorIndex,
1540
- series: series,
1541
- siblings: siblings
1542
- });
1543
- point = series.points[node.i];
1544
- if (point) {
1545
- point.color = colorInfo.color;
1546
- point.colorIndex = colorInfo.colorIndex;
1547
- }
1548
- // Do it all again with the children
1549
- (node.children || []).forEach(function (child, i) {
1550
- series.setColorRecursive(child, colorInfo.color, colorInfo.colorIndex, i, node.children.length);
1551
- });
1552
- }
1553
- };
1554
- TreemapSeries.prototype.setPointValues = function () {
1555
- var series = this;
1556
- var points = series.points,
1557
- xAxis = series.xAxis,
1558
- yAxis = series.yAxis;
1559
- var styledMode = series.chart.styledMode;
1560
- // Get the crisp correction in classic mode. For this to work in
1561
- // styled mode, we would need to first add the shape (without x,
1562
- // y, width and height), then read the rendered stroke width
1563
- // using point.graphic.strokeWidth(), then modify and apply the
1564
- // shapeArgs. This applies also to column series, but the
1565
- // downside is performance and code complexity.
1566
- var getCrispCorrection = function (point) { return (styledMode ?
1567
- 0 :
1568
- ((series.pointAttribs(point)['stroke-width'] || 0) % 2) / 2); };
1569
- points.forEach(function (point) {
1570
- var _a = point.node,
1571
- values = _a.pointValues,
1572
- visible = _a.visible;
1573
- // Points which is ignored, have no values.
1574
- if (values && visible) {
1575
- var height = values.height,
1576
- width = values.width,
1577
- x = values.x,
1578
- y = values.y;
1579
- var crispCorr = getCrispCorrection(point);
1580
- var x1 = Math.round(xAxis.toPixels(x,
1581
- true)) - crispCorr;
1582
- var x2 = Math.round(xAxis.toPixels(x + width,
1583
- true)) - crispCorr;
1584
- var y1 = Math.round(yAxis.toPixels(y,
1585
- true)) - crispCorr;
1586
- var y2 = Math.round(yAxis.toPixels(y + height,
1587
- true)) - crispCorr;
1588
- // Set point values
1589
- var shapeArgs = {
1590
- x: Math.min(x1,
1591
- x2),
1592
- y: Math.min(y1,
1593
- y2),
1594
- width: Math.abs(x2 - x1),
1595
- height: Math.abs(y2 - y1)
1596
- };
1597
- point.plotX = shapeArgs.x + (shapeArgs.width / 2);
1598
- point.plotY = shapeArgs.y + (shapeArgs.height / 2);
1599
- point.shapeArgs = shapeArgs;
1600
- }
1601
- else {
1602
- // Reset visibility
1603
- delete point.plotX;
1604
- delete point.plotY;
1605
- }
1606
- });
1607
- };
1608
- /**
1609
- * Sets a new root node for the series.
1610
- *
1611
- * @private
1612
- * @function Highcharts.Series#setRootNode
1613
- *
1614
- * @param {string} id
1615
- * The id of the new root node.
1616
- *
1617
- * @param {boolean} [redraw=true]
1618
- * Wether to redraw the chart or not.
1619
- *
1620
- * @param {Object} [eventArguments]
1621
- * Arguments to be accessed in event handler.
1622
- *
1623
- * @param {string} [eventArguments.newRootId]
1624
- * Id of the new root.
1625
- *
1626
- * @param {string} [eventArguments.previousRootId]
1627
- * Id of the previous root.
1628
- *
1629
- * @param {boolean} [eventArguments.redraw]
1630
- * Wether to redraw the chart after.
1631
- *
1632
- * @param {Object} [eventArguments.series]
1633
- * The series to update the root of.
1634
- *
1635
- * @param {string} [eventArguments.trigger]
1636
- * The action which triggered the event. Undefined if the setRootNode is
1637
- * called directly.
1638
- *
1639
- * @emits Highcharts.Series#event:setRootNode
1640
- */
1641
- TreemapSeries.prototype.setRootNode = function (id, redraw, eventArguments) {
1642
- var series = this,
1643
- eventArgs = extend({
1644
- newRootId: id,
1645
- previousRootId: series.rootNode,
1646
- redraw: pick(redraw,
1647
- true),
1648
- series: series
1649
- },
1650
- eventArguments);
1651
- /**
1652
- * The default functionality of the setRootNode event.
1653
- *
1654
- * @private
1655
- * @param {Object} args The event arguments.
1656
- * @param {string} args.newRootId Id of the new root.
1657
- * @param {string} args.previousRootId Id of the previous root.
1658
- * @param {boolean} args.redraw Wether to redraw the chart after.
1659
- * @param {Object} args.series The series to update the root of.
1660
- * @param {string} [args.trigger=undefined] The action which
1661
- * triggered the event. Undefined if the setRootNode is called
1662
- * directly.
1663
- */
1664
- var defaultFn = function (args) {
1665
- var series = args.series;
1666
- // Store previous and new root ids on the series.
1667
- series.idPreviousRoot = args.previousRootId;
1668
- series.rootNode = args.newRootId;
1669
- // Redraw the chart
1670
- series.isDirty = true; // Force redraw
1671
- if (args.redraw) {
1672
- series.chart.redraw();
1673
- }
1674
- };
1675
- // Fire setRootNode event.
1676
- fireEvent(series, 'setRootNode', eventArgs, defaultFn);
1677
- };
1678
- /**
1679
- * Workaround for `inactive` state. Since `series.opacity` option is
1680
- * already reserved, don't use that state at all by disabling
1681
- * `inactiveOtherPoints` and not inheriting states by points.
1682
- * @private
1683
- */
1684
- TreemapSeries.prototype.setState = function (state) {
1685
- this.options.inactiveOtherPoints = true;
1686
- Series.prototype.setState.call(this, state, false);
1687
- this.options.inactiveOtherPoints = false;
1688
- };
1689
- TreemapSeries.prototype.setTreeValues = function (tree) {
1690
- var series = this,
1691
- options = series.options,
1692
- idRoot = series.rootNode,
1693
- mapIdToNode = series.nodeMap,
1694
- nodeRoot = mapIdToNode[idRoot],
1695
- levelIsConstant = (TreemapUtilities.isBoolean(options.levelIsConstant) ?
1696
- options.levelIsConstant :
1697
- true),
1698
- childrenTotal = 0,
1699
- children = [],
1700
- val,
1701
- point = series.points[tree.i];
1702
- // First give the children some values
1703
- tree.children.forEach(function (child) {
1704
- child = series.setTreeValues(child);
1705
- children.push(child);
1706
- if (!child.ignore) {
1707
- childrenTotal += child.val;
1708
- }
1709
- });
1710
- // Sort the children
1711
- stableSort(children, function (a, b) {
1712
- return (a.sortIndex || 0) - (b.sortIndex || 0);
1713
- });
1714
- // Set the values
1715
- val = pick(point && point.options.value, childrenTotal);
1716
- if (point) {
1717
- point.value = val;
1718
- }
1719
- extend(tree, {
1720
- children: children,
1721
- childrenTotal: childrenTotal,
1722
- // Ignore this node if point is not visible
1723
- ignore: !(pick(point && point.visible, true) && (val > 0)),
1724
- isLeaf: tree.visible && !childrenTotal,
1725
- levelDynamic: (tree.level - (levelIsConstant ? 0 : nodeRoot.level)),
1726
- name: pick(point && point.name, ''),
1727
- sortIndex: pick(point && point.sortIndex, -val),
1728
- val: val
1729
- });
1730
- return tree;
1731
- };
1732
- TreemapSeries.prototype.sliceAndDice = function (parent, children) {
1733
- return this.algorithmFill(true, parent, children);
1734
- };
1735
- TreemapSeries.prototype.squarified = function (parent, children) {
1736
- return this.algorithmLowAspectRatio(true, parent, children);
1737
- };
1738
- TreemapSeries.prototype.strip = function (parent, children) {
1739
- return this.algorithmLowAspectRatio(false, parent, children);
1740
- };
1741
- TreemapSeries.prototype.stripes = function (parent, children) {
1742
- return this.algorithmFill(false, parent, children);
1743
- };
1744
- TreemapSeries.prototype.translate = function () {
1745
- var series = this,
1746
- options = series.options,
1747
- // NOTE: updateRootId modifies series.
1748
- rootId = updateRootId(series),
1749
- rootNode,
1750
- pointValues,
1751
- seriesArea,
1752
- tree,
1753
- val;
1754
- // Call prototype function
1755
- Series.prototype.translate.call(series);
1756
- // @todo Only if series.isDirtyData is true
1757
- tree = series.tree = series.getTree();
1758
- rootNode = series.nodeMap[rootId];
1759
- if (rootId !== '' &&
1760
- (!rootNode || !rootNode.children.length)) {
1761
- series.setRootNode('', false);
1762
- rootId = series.rootNode;
1763
- rootNode = series.nodeMap[rootId];
1764
- }
1765
- series.renderTraverseUpButton(rootId);
1766
- series.mapOptionsToLevel = getLevelOptions({
1767
- from: rootNode.level + 1,
1768
- levels: options.levels,
1769
- to: tree.height,
1770
- defaults: {
1771
- levelIsConstant: series.options.levelIsConstant,
1772
- colorByPoint: options.colorByPoint
1773
- }
1774
- });
1775
- // Parents of the root node is by default visible
1776
- TreemapUtilities.recursive(series.nodeMap[series.rootNode], function (node) {
1777
- var next = false,
1778
- p = node.parent;
1779
- node.visible = true;
1780
- if (p || p === '') {
1781
- next = series.nodeMap[p];
1782
- }
1783
- return next;
1784
- });
1785
- // Children of the root node is by default visible
1786
- TreemapUtilities.recursive(series.nodeMap[series.rootNode].children, function (children) {
1787
- var next = false;
1788
- children.forEach(function (child) {
1789
- child.visible = true;
1790
- if (child.children.length) {
1791
- next = (next || []).concat(child.children);
1792
- }
1793
- });
1794
- return next;
1795
- });
1796
- series.setTreeValues(tree);
1797
- // Calculate plotting values.
1798
- series.axisRatio = (series.xAxis.len / series.yAxis.len);
1799
- series.nodeMap[''].pointValues = pointValues = {
1800
- x: 0,
1801
- y: 0,
1802
- width: TreemapUtilities.AXIS_MAX,
1803
- height: TreemapUtilities.AXIS_MAX
1804
- };
1805
- series.nodeMap[''].values = seriesArea = merge(pointValues, {
1806
- width: (pointValues.width * series.axisRatio),
1807
- direction: (options.layoutStartingDirection === 'vertical' ? 0 : 1),
1808
- val: tree.val
1809
- });
1810
- series.calculateChildrenAreas(tree, seriesArea);
1811
- // Logic for point colors
1812
- if (!series.colorAxis &&
1813
- !options.colorByPoint) {
1814
- series.setColorRecursive(series.tree);
1815
- }
1816
- // Update axis extremes according to the root node.
1817
- if (options.allowTraversingTree) {
1818
- val = rootNode.pointValues;
1819
- series.xAxis.setExtremes(val.x, val.x + val.width, false);
1820
- series.yAxis.setExtremes(val.y, val.y + val.height, false);
1821
- series.xAxis.setScale();
1822
- series.yAxis.setScale();
1823
- }
1824
- // Assign values to points.
1825
- series.setPointValues();
1826
- };
1827
- /**
1828
- * A treemap displays hierarchical data using nested rectangles. The data
1829
- * can be laid out in varying ways depending on options.
1830
- *
1831
- * @sample highcharts/demo/treemap-large-dataset/
1832
- * Treemap
1833
- *
1834
- * @extends plotOptions.scatter
1835
- * @excluding dragDrop, marker, jitter, dataSorting
1836
- * @product highcharts
1837
- * @requires modules/treemap
1838
- * @optionparent plotOptions.treemap
1839
- */
1840
- TreemapSeries.defaultOptions = merge(ScatterSeries.defaultOptions, {
1841
- /**
1842
- * When enabled the user can click on a point which is a parent and
1843
- * zoom in on its children. Deprecated and replaced by
1844
- * [allowTraversingTree](#plotOptions.treemap.allowTraversingTree).
1845
- *
1846
- * @sample {highcharts} highcharts/plotoptions/treemap-allowdrilltonode/
1847
- * Enabled
1848
- *
1849
- * @deprecated
1850
- * @type {boolean}
1851
- * @default false
1852
- * @since 4.1.0
1853
- * @product highcharts
1854
- * @apioption plotOptions.treemap.allowDrillToNode
1855
- */
1856
- /**
1857
- * When enabled the user can click on a point which is a parent and
1858
- * zoom in on its children.
1859
- *
1860
- * @sample {highcharts} highcharts/plotoptions/treemap-allowtraversingtree/
1861
- * Enabled
1862
- *
1863
- * @since 7.0.3
1864
- * @product highcharts
1865
- */
1866
- allowTraversingTree: false,
1867
- animationLimit: 250,
1868
- /**
1869
- * The border radius for each treemap item.
1870
- */
1871
- borderRadius: 0,
1872
- /**
1873
- * When the series contains less points than the crop threshold, all
1874
- * points are drawn, event if the points fall outside the visible plot
1875
- * area at the current zoom. The advantage of drawing all points
1876
- * (including markers and columns), is that animation is performed on
1877
- * updates. On the other hand, when the series contains more points than
1878
- * the crop threshold, the series data is cropped to only contain points
1879
- * that fall within the plot area. The advantage of cropping away
1880
- * invisible points is to increase performance on large series.
1881
- *
1882
- * @type {number}
1883
- * @default 300
1884
- * @since 4.1.0
1885
- * @product highcharts
1886
- * @apioption plotOptions.treemap.cropThreshold
1887
- */
1888
- /**
1889
- * Fires on a request for change of root node for the tree, before the
1890
- * update is made. An event object is passed to the function, containing
1891
- * additional properties `newRootId`, `previousRootId`, `redraw` and
1892
- * `trigger`.
1893
- *
1894
- * @sample {highcharts} highcharts/plotoptions/treemap-events-setrootnode/
1895
- * Alert update information on setRootNode event.
1896
- *
1897
- * @type {Function}
1898
- * @default undefined
1899
- * @since 7.0.3
1900
- * @product highcharts
1901
- * @apioption plotOptions.treemap.events.setRootNode
1902
- */
1903
- /**
1904
- * This option decides if the user can interact with the parent nodes
1905
- * or just the leaf nodes. When this option is undefined, it will be
1906
- * true by default. However when allowTraversingTree is true, then it
1907
- * will be false by default.
1908
- *
1909
- * @sample {highcharts} highcharts/plotoptions/treemap-interactbyleaf-false/
1910
- * False
1911
- * @sample {highcharts} highcharts/plotoptions/treemap-interactbyleaf-true-and-allowtraversingtree/
1912
- * InteractByLeaf and allowTraversingTree is true
1913
- *
1914
- * @type {boolean}
1915
- * @since 4.1.2
1916
- * @product highcharts
1917
- * @apioption plotOptions.treemap.interactByLeaf
1918
- */
1919
- /**
1920
- * The sort index of the point inside the treemap level.
1921
- *
1922
- * @sample {highcharts} highcharts/plotoptions/treemap-sortindex/
1923
- * Sort by years
1924
- *
1925
- * @type {number}
1926
- * @since 4.1.10
1927
- * @product highcharts
1928
- * @apioption plotOptions.treemap.sortIndex
1929
- */
1930
- /**
1931
- * A series specific or series type specific color set to apply instead
1932
- * of the global [colors](#colors) when
1933
- * [colorByPoint](#plotOptions.treemap.colorByPoint) is true.
1934
- *
1935
- * @type {Array<Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject>}
1936
- * @since 3.0
1937
- * @product highcharts
1938
- * @apioption plotOptions.treemap.colors
1939
- */
1940
- /**
1941
- * Whether to display this series type or specific series item in the
1942
- * legend.
1943
- */
1944
- showInLegend: false,
1945
- /**
1946
- * @ignore-option
1947
- */
1948
- marker: void 0,
1949
- /**
1950
- * When using automatic point colors pulled from the `options.colors`
1951
- * collection, this option determines whether the chart should receive
1952
- * one color per series or one color per point.
1953
- *
1954
- * @see [series colors](#plotOptions.treemap.colors)
1955
- *
1956
- * @since 2.0
1957
- * @product highcharts
1958
- * @apioption plotOptions.treemap.colorByPoint
1959
- */
1960
- colorByPoint: false,
1961
- /**
1962
- * @since 4.1.0
1963
- */
1964
- dataLabels: {
1965
- defer: false,
1966
- enabled: true,
1967
- formatter: function () {
1968
- var point = this && this.point ?
1969
- this.point :
1970
- {},
1971
- name = isString(point.name) ? point.name : '';
1972
- return name;
1973
- },
1974
- inside: true,
1975
- verticalAlign: 'middle'
1976
- },
1977
- tooltip: {
1978
- headerFormat: '',
1979
- pointFormat: '<b>{point.name}</b>: {point.value}<br/>'
1980
- },
1981
- /**
1982
- * Whether to ignore hidden points when the layout algorithm runs.
1983
- * If `false`, hidden points will leave open spaces.
1984
- *
1985
- * @since 5.0.8
1986
- */
1987
- ignoreHiddenPoint: true,
1988
- /**
1989
- * This option decides which algorithm is used for setting position
1990
- * and dimensions of the points.
1991
- *
1992
- * @see [How to write your own algorithm](https://www.highcharts.com/docs/chart-and-series-types/treemap)
1993
- *
1994
- * @sample {highcharts} highcharts/plotoptions/treemap-layoutalgorithm-sliceanddice/
1995
- * SliceAndDice by default
1996
- * @sample {highcharts} highcharts/plotoptions/treemap-layoutalgorithm-stripes/
1997
- * Stripes
1998
- * @sample {highcharts} highcharts/plotoptions/treemap-layoutalgorithm-squarified/
1999
- * Squarified
2000
- * @sample {highcharts} highcharts/plotoptions/treemap-layoutalgorithm-strip/
2001
- * Strip
2002
- *
2003
- * @since 4.1.0
2004
- * @validvalue ["sliceAndDice", "stripes", "squarified", "strip"]
2005
- */
2006
- layoutAlgorithm: 'sliceAndDice',
2007
- /**
2008
- * Defines which direction the layout algorithm will start drawing.
2009
- *
2010
- * @since 4.1.0
2011
- * @validvalue ["vertical", "horizontal"]
2012
- */
2013
- layoutStartingDirection: 'vertical',
2014
- /**
2015
- * Enabling this option will make the treemap alternate the drawing
2016
- * direction between vertical and horizontal. The next levels starting
2017
- * direction will always be the opposite of the previous.
2018
- *
2019
- * @sample {highcharts} highcharts/plotoptions/treemap-alternatestartingdirection-true/
2020
- * Enabled
2021
- *
2022
- * @since 4.1.0
2023
- */
2024
- alternateStartingDirection: false,
2025
- /**
2026
- * Used together with the levels and allowTraversingTree options. When
2027
- * set to false the first level visible to be level one, which is
2028
- * dynamic when traversing the tree. Otherwise the level will be the
2029
- * same as the tree structure.
2030
- *
2031
- * @since 4.1.0
2032
- */
2033
- levelIsConstant: true,
2034
- /**
2035
- * Options for the button appearing when drilling down in a treemap.
2036
- * Deprecated and replaced by
2037
- * [traverseUpButton](#plotOptions.treemap.traverseUpButton).
2038
- *
2039
- * @deprecated
2040
- */
2041
- drillUpButton: {
2042
- /**
2043
- * The position of the button.
2044
- *
2045
- * @deprecated
2046
- */
2047
- position: {
2048
- /**
2049
- * Vertical alignment of the button.
2050
- *
2051
- * @deprecated
2052
- * @type {Highcharts.VerticalAlignValue}
2053
- * @default top
2054
- * @product highcharts
2055
- * @apioption plotOptions.treemap.drillUpButton.position.verticalAlign
2056
- */
2057
- /**
2058
- * Horizontal alignment of the button.
2059
- *
2060
- * @deprecated
2061
- * @type {Highcharts.AlignValue}
2062
- */
2063
- align: 'right',
2064
- /**
2065
- * Horizontal offset of the button.
2066
- *
2067
- * @deprecated
2068
- */
2069
- x: -10,
2070
- /**
2071
- * Vertical offset of the button.
2072
- *
2073
- * @deprecated
2074
- */
2075
- y: 10
2076
- }
2077
- },
2078
- /**
2079
- * Options for the button appearing when traversing down in a treemap.
2080
- */
2081
- traverseUpButton: {
2082
- /**
2083
- * The position of the button.
2084
- */
2085
- position: {
2086
- /**
2087
- * Vertical alignment of the button.
2088
- *
2089
- * @type {Highcharts.VerticalAlignValue}
2090
- * @default top
2091
- * @product highcharts
2092
- * @apioption plotOptions.treemap.traverseUpButton.position.verticalAlign
2093
- */
2094
- /**
2095
- * Horizontal alignment of the button.
2096
- *
2097
- * @type {Highcharts.AlignValue}
2098
- */
2099
- align: 'right',
2100
- /**
2101
- * Horizontal offset of the button.
2102
- */
2103
- x: -10,
2104
- /**
2105
- * Vertical offset of the button.
2106
- */
2107
- y: 10
2108
- }
2109
- },
2110
- /**
2111
- * Set options on specific levels. Takes precedence over series options,
2112
- * but not point options.
2113
- *
2114
- * @sample {highcharts} highcharts/plotoptions/treemap-levels/
2115
- * Styling dataLabels and borders
2116
- * @sample {highcharts} highcharts/demo/treemap-with-levels/
2117
- * Different layoutAlgorithm
2118
- *
2119
- * @type {Array<*>}
2120
- * @since 4.1.0
2121
- * @product highcharts
2122
- * @apioption plotOptions.treemap.levels
2123
- */
2124
- /**
2125
- * Can set a `borderColor` on all points which lies on the same level.
2126
- *
2127
- * @type {Highcharts.ColorString}
2128
- * @since 4.1.0
2129
- * @product highcharts
2130
- * @apioption plotOptions.treemap.levels.borderColor
2131
- */
2132
- /**
2133
- * Set the dash style of the border of all the point which lies on the
2134
- * level. See
2135
- * [plotOptions.scatter.dashStyle](#plotoptions.scatter.dashstyle)
2136
- * for possible options.
2137
- *
2138
- * @type {Highcharts.DashStyleValue}
2139
- * @since 4.1.0
2140
- * @product highcharts
2141
- * @apioption plotOptions.treemap.levels.borderDashStyle
2142
- */
2143
- /**
2144
- * Can set the borderWidth on all points which lies on the same level.
2145
- *
2146
- * @type {number}
2147
- * @since 4.1.0
2148
- * @product highcharts
2149
- * @apioption plotOptions.treemap.levels.borderWidth
2150
- */
2151
- /**
2152
- * Can set a color on all points which lies on the same level.
2153
- *
2154
- * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
2155
- * @since 4.1.0
2156
- * @product highcharts
2157
- * @apioption plotOptions.treemap.levels.color
2158
- */
2159
- /**
2160
- * A configuration object to define how the color of a child varies from
2161
- * the parent's color. The variation is distributed among the children
2162
- * of node. For example when setting brightness, the brightness change
2163
- * will range from the parent's original brightness on the first child,
2164
- * to the amount set in the `to` setting on the last node. This allows a
2165
- * gradient-like color scheme that sets children out from each other
2166
- * while highlighting the grouping on treemaps and sectors on sunburst
2167
- * charts.
2168
- *
2169
- * @sample highcharts/demo/sunburst/
2170
- * Sunburst with color variation
2171
- *
2172
- * @since 6.0.0
2173
- * @product highcharts
2174
- * @apioption plotOptions.treemap.levels.colorVariation
2175
- */
2176
- /**
2177
- * The key of a color variation. Currently supports `brightness` only.
2178
- *
2179
- * @type {string}
2180
- * @since 6.0.0
2181
- * @product highcharts
2182
- * @validvalue ["brightness"]
2183
- * @apioption plotOptions.treemap.levels.colorVariation.key
2184
- */
2185
- /**
2186
- * The ending value of a color variation. The last sibling will receive
2187
- * this value.
2188
- *
2189
- * @type {number}
2190
- * @since 6.0.0
2191
- * @product highcharts
2192
- * @apioption plotOptions.treemap.levels.colorVariation.to
2193
- */
2194
- /**
2195
- * Can set the options of dataLabels on each point which lies on the
2196
- * level.
2197
- * [plotOptions.treemap.dataLabels](#plotOptions.treemap.dataLabels) for
2198
- * possible values.
2199
- *
2200
- * @extends plotOptions.treemap.dataLabels
2201
- * @since 4.1.0
2202
- * @product highcharts
2203
- * @apioption plotOptions.treemap.levels.dataLabels
2204
- */
2205
- /**
2206
- * Can set the layoutAlgorithm option on a specific level.
2207
- *
2208
- * @type {string}
2209
- * @since 4.1.0
2210
- * @product highcharts
2211
- * @validvalue ["sliceAndDice", "stripes", "squarified", "strip"]
2212
- * @apioption plotOptions.treemap.levels.layoutAlgorithm
2213
- */
2214
- /**
2215
- * Can set the layoutStartingDirection option on a specific level.
2216
- *
2217
- * @type {string}
2218
- * @since 4.1.0
2219
- * @product highcharts
2220
- * @validvalue ["vertical", "horizontal"]
2221
- * @apioption plotOptions.treemap.levels.layoutStartingDirection
2222
- */
2223
- /**
2224
- * Decides which level takes effect from the options set in the levels
2225
- * object.
2226
- *
2227
- * @sample {highcharts} highcharts/plotoptions/treemap-levels/
2228
- * Styling of both levels
2229
- *
2230
- * @type {number}
2231
- * @since 4.1.0
2232
- * @product highcharts
2233
- * @apioption plotOptions.treemap.levels.level
2234
- */
2235
- // Presentational options
2236
- /**
2237
- * The color of the border surrounding each tree map item.
2238
- *
2239
- * @type {Highcharts.ColorString}
2240
- */
2241
- borderColor: "#e6e6e6" /* neutralColor10 */,
2242
- /**
2243
- * The width of the border surrounding each tree map item.
2244
- */
2245
- borderWidth: 1,
2246
- colorKey: 'colorValue',
2247
- /**
2248
- * The opacity of a point in treemap. When a point has children, the
2249
- * visibility of the children is determined by the opacity.
2250
- *
2251
- * @since 4.2.4
2252
- */
2253
- opacity: 0.15,
2254
- /**
2255
- * A wrapper object for all the series options in specific states.
2256
- *
2257
- * @extends plotOptions.heatmap.states
2258
- */
2259
- states: {
2260
- /**
2261
- * Options for the hovered series
2262
- *
2263
- * @extends plotOptions.heatmap.states.hover
2264
- * @excluding halo
2265
- */
2266
- hover: {
2267
- /**
2268
- * The border color for the hovered state.
2269
- */
2270
- borderColor: "#999999" /* neutralColor40 */,
2271
- /**
2272
- * Brightness for the hovered point. Defaults to 0 if the
2273
- * heatmap series is loaded first, otherwise 0.1.
2274
- *
2275
- * @type {number}
2276
- * @default undefined
2277
- */
2278
- brightness: HeatmapSeries ? 0 : 0.1,
2279
- /**
2280
- * @extends plotOptions.heatmap.states.hover.halo
2281
- */
2282
- halo: false,
2283
- /**
2284
- * The opacity of a point in treemap. When a point has children,
2285
- * the visibility of the children is determined by the opacity.
2286
- *
2287
- * @since 4.2.4
2288
- */
2289
- opacity: 0.75,
2290
- /**
2291
- * The shadow option for hovered state.
2292
- */
2293
- shadow: false
2294
- }
2295
- }
2296
- });
2297
- return TreemapSeries;
2298
- }(ScatterSeries));
2299
- extend(TreemapSeries.prototype, {
2300
- buildKDTree: noop,
2301
- colorKey: 'colorValue',
2302
- directTouch: true,
2303
- drawLegendSymbol: LegendSymbol.drawRectangle,
2304
- getExtremesFromAll: true,
2305
- getSymbol: noop,
2306
- optionalAxis: 'colorAxis',
2307
- parallelArrays: ['x', 'y', 'value', 'colorValue'],
2308
- pointArrayMap: ['value'],
2309
- pointClass: TreemapPoint,
2310
- trackerGroups: ['group', 'dataLabelsGroup'],
2311
- utils: {
2312
- recursive: TreemapUtilities.recursive
2313
- }
2314
- });
2315
- SeriesRegistry.registerSeriesType('treemap', TreemapSeries);
2316
- /* *
2317
- *
2318
- * Default Export
2319
- *
2320
- * */
2321
- /* *
2322
- *
2323
- * API Options
2324
- *
2325
- * */
2326
- /**
2327
- * A `treemap` series. If the [type](#series.treemap.type) option is
2328
- * not specified, it is inherited from [chart.type](#chart.type).
2329
- *
2330
- * @extends series,plotOptions.treemap
2331
- * @excluding dataParser, dataURL, stack, dataSorting
2332
- * @product highcharts
2333
- * @requires modules/treemap
2334
- * @apioption series.treemap
2335
- */
2336
- /**
2337
- * An array of data points for the series. For the `treemap` series
2338
- * type, points can be given in the following ways:
2339
- *
2340
- * 1. An array of numerical values. In this case, the numerical values will be
2341
- * interpreted as `value` options. Example:
2342
- * ```js
2343
- * data: [0, 5, 3, 5]
2344
- * ```
2345
- *
2346
- * 2. An array of objects with named values. The following snippet shows only a
2347
- * few settings, see the complete options set below. If the total number of
2348
- * data points exceeds the series'
2349
- * [turboThreshold](#series.treemap.turboThreshold),
2350
- * this option is not available.
2351
- * ```js
2352
- * data: [{
2353
- * value: 9,
2354
- * name: "Point2",
2355
- * color: "#00FF00"
2356
- * }, {
2357
- * value: 6,
2358
- * name: "Point1",
2359
- * color: "#FF00FF"
2360
- * }]
2361
- * ```
2362
- *
2363
- * @sample {highcharts} highcharts/chart/reflow-true/
2364
- * Numerical values
2365
- * @sample {highcharts} highcharts/series/data-array-of-objects/
2366
- * Config objects
2367
- *
2368
- * @type {Array<number|null|*>}
2369
- * @extends series.heatmap.data
2370
- * @excluding x, y, pointPadding
2371
- * @product highcharts
2372
- * @apioption series.treemap.data
2373
- */
2374
- /**
2375
- * The value of the point, resulting in a relative area of the point
2376
- * in the treemap.
2377
- *
2378
- * @type {number|null}
2379
- * @product highcharts
2380
- * @apioption series.treemap.data.value
2381
- */
2382
- /**
2383
- * Serves a purpose only if a `colorAxis` object is defined in the chart
2384
- * options. This value will decide which color the point gets from the
2385
- * scale of the colorAxis.
2386
- *
2387
- * @type {number}
2388
- * @since 4.1.0
2389
- * @product highcharts
2390
- * @apioption series.treemap.data.colorValue
2391
- */
2392
- /**
2393
- * Only for treemap. Use this option to build a tree structure. The
2394
- * value should be the id of the point which is the parent. If no points
2395
- * has a matching id, or this option is undefined, then the parent will
2396
- * be set to the root.
2397
- *
2398
- * @sample {highcharts} highcharts/point/parent/
2399
- * Point parent
2400
- * @sample {highcharts} highcharts/demo/treemap-with-levels/
2401
- * Example where parent id is not matching
2402
- *
2403
- * @type {string}
2404
- * @since 4.1.0
2405
- * @product highcharts
2406
- * @apioption series.treemap.data.parent
2407
- */
2408
- ''; // adds doclets above to transpiled file
2409
-
2410
- return TreemapSeries;
2411
- });
2412
- _registerModule(_modules, 'Series/Sunburst/SunburstPoint.js', [_modules['Series/DrawPointComposition.js'], _modules['Core/Series/SeriesRegistry.js'], _modules['Core/Utilities.js']], function (DrawPointComposition, SeriesRegistry, U) {
2413
- /* *
2414
- *
2415
- * This module implements sunburst charts in Highcharts.
2416
- *
2417
- * (c) 2016-2021 Highsoft AS
2418
- *
2419
- * Authors: Jon Arild Nygard
2420
- *
2421
- * License: www.highcharts.com/license
2422
- *
2423
- * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
2424
- *
2425
- * */
2426
- var __extends = (this && this.__extends) || (function () {
2427
- var extendStatics = function (d,
2428
- b) {
2429
- extendStatics = Object.setPrototypeOf ||
2430
- ({ __proto__: [] } instanceof Array && function (d,
2431
- b) { d.__proto__ = b; }) ||
2432
- function (d,
2433
- b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
2434
- return extendStatics(d, b);
2435
- };
2436
- return function (d, b) {
2437
- extendStatics(d, b);
2438
- function __() { this.constructor = d; }
2439
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
2440
- };
2441
- })();
2442
- var Point = SeriesRegistry.series.prototype.pointClass,
2443
- TreemapPoint = SeriesRegistry.seriesTypes.treemap.prototype.pointClass;
2444
- var correctFloat = U.correctFloat,
2445
- extend = U.extend;
2446
- /* *
2447
- *
2448
- * Class
2449
- *
2450
- * */
2451
- var SunburstPoint = /** @class */ (function (_super) {
2452
- __extends(SunburstPoint, _super);
2453
- function SunburstPoint() {
2454
- /* *
2455
- *
2456
- * Properties
2457
- *
2458
- * */
2459
- var _this = _super !== null && _super.apply(this,
2460
- arguments) || this;
2461
- _this.node = void 0;
2462
- _this.options = void 0;
2463
- _this.series = void 0;
2464
- _this.shapeExisting = void 0;
2465
- return _this;
2466
- /* eslint-enable valid-jsdoc */
2467
- }
2468
- /* *
2469
- *
2470
- * Functions
2471
- *
2472
- * */
2473
- /* eslint-disable valid-jsdoc */
2474
- SunburstPoint.prototype.getDataLabelPath = function (label) {
2475
- var renderer = this.series.chart.renderer,
2476
- shapeArgs = this.shapeExisting,
2477
- start = shapeArgs.start,
2478
- end = shapeArgs.end,
2479
- angle = start + (end - start) / 2, // arc middle value
2480
- upperHalf = angle < 0 &&
2481
- angle > -Math.PI ||
2482
- angle > Math.PI,
2483
- r = (shapeArgs.r + (label.options.distance || 0)),
2484
- moreThanHalf;
2485
- // Check if point is a full circle
2486
- if (start === -Math.PI / 2 &&
2487
- correctFloat(end) === correctFloat(Math.PI * 1.5)) {
2488
- start = -Math.PI + Math.PI / 360;
2489
- end = -Math.PI / 360;
2490
- upperHalf = true;
2491
- }
2492
- // Check if dataLabels should be render in the
2493
- // upper half of the circle
2494
- if (end - start > Math.PI) {
2495
- upperHalf = false;
2496
- moreThanHalf = true;
2497
- }
2498
- if (this.dataLabelPath) {
2499
- this.dataLabelPath = this.dataLabelPath.destroy();
2500
- }
2501
- this.dataLabelPath = renderer
2502
- .arc({
2503
- open: true,
2504
- longArc: moreThanHalf ? 1 : 0
2505
- })
2506
- // Add it inside the data label group so it gets destroyed
2507
- // with the label
2508
- .add(label);
2509
- this.dataLabelPath.attr({
2510
- start: (upperHalf ? start : end),
2511
- end: (upperHalf ? end : start),
2512
- clockwise: +upperHalf,
2513
- x: shapeArgs.x,
2514
- y: shapeArgs.y,
2515
- r: (r + shapeArgs.innerR) / 2
2516
- });
2517
- return this.dataLabelPath;
2518
- };
2519
- SunburstPoint.prototype.isValid = function () {
2520
- return true;
2521
- };
2522
- return SunburstPoint;
2523
- }(TreemapPoint));
2524
- extend(SunburstPoint.prototype, {
2525
- getClassName: Point.prototype.getClassName,
2526
- haloPath: Point.prototype.haloPath,
2527
- setState: Point.prototype.setState
2528
- });
2529
- DrawPointComposition.compose(SunburstPoint);
2530
- /* *
2531
- *
2532
- * Defaul Export
2533
- *
2534
- * */
2535
-
2536
- return SunburstPoint;
2537
- });
2538
- _registerModule(_modules, 'Series/Sunburst/SunburstUtilities.js', [_modules['Core/Series/SeriesRegistry.js'], _modules['Core/Utilities.js']], function (SeriesRegistry, U) {
2539
- /* *
2540
- *
2541
- * This module implements sunburst charts in Highcharts.
2542
- *
2543
- * (c) 2016-2021 Highsoft AS
2544
- *
2545
- * Authors: Jon Arild Nygard
2546
- *
2547
- * License: www.highcharts.com/license
2548
- *
2549
- * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
2550
- *
2551
- * */
2552
- var TreemapSeries = SeriesRegistry.seriesTypes.treemap;
2553
- var isNumber = U.isNumber,
2554
- isObject = U.isObject,
2555
- merge = U.merge;
2556
- /* *
2557
- *
2558
- * Namespace
2559
- *
2560
- * */
2561
- var SunburstUtilities;
2562
- (function (SunburstUtilities) {
2563
- /* *
2564
- *
2565
- * Constants
2566
- *
2567
- * */
2568
- SunburstUtilities.recursive = TreemapSeries.prototype.utils.recursive;
2569
- /* *
2570
- *
2571
- * Functions
2572
- *
2573
- * */
2574
- /* eslint-disable valid-jsdoc */
2575
- /**
2576
- * @private
2577
- * @function calculateLevelSizes
2578
- *
2579
- * @param {Object} levelOptions
2580
- * Map of level to its options.
2581
- *
2582
- * @param {Highcharts.Dictionary<number>} params
2583
- * Object containing number parameters `innerRadius` and `outerRadius`.
2584
- *
2585
- * @return {Highcharts.SunburstSeriesLevelsOptions|undefined}
2586
- * Returns the modified options, or undefined.
2587
- */
2588
- function calculateLevelSizes(levelOptions, params) {
2589
- var result,
2590
- p = isObject(params) ? params : {},
2591
- totalWeight = 0,
2592
- diffRadius,
2593
- levels,
2594
- levelsNotIncluded,
2595
- remainingSize,
2596
- from,
2597
- to;
2598
- if (isObject(levelOptions)) {
2599
- result = merge({}, levelOptions);
2600
- from = isNumber(p.from) ? p.from : 0;
2601
- to = isNumber(p.to) ? p.to : 0;
2602
- levels = range(from, to);
2603
- levelsNotIncluded = Object.keys(result).filter(function (k) {
2604
- return levels.indexOf(+k) === -1;
2605
- });
2606
- diffRadius = remainingSize = isNumber(p.diffRadius) ?
2607
- p.diffRadius : 0;
2608
- // Convert percentage to pixels.
2609
- // Calculate the remaining size to divide between "weight" levels.
2610
- // Calculate total weight to use in convertion from weight to
2611
- // pixels.
2612
- levels.forEach(function (level) {
2613
- var options = result[level],
2614
- unit = options.levelSize.unit,
2615
- value = options.levelSize.value;
2616
- if (unit === 'weight') {
2617
- totalWeight += value;
2618
- }
2619
- else if (unit === 'percentage') {
2620
- options.levelSize = {
2621
- unit: 'pixels',
2622
- value: (value / 100) * diffRadius
2623
- };
2624
- remainingSize -= options.levelSize.value;
2625
- }
2626
- else if (unit === 'pixels') {
2627
- remainingSize -= value;
2628
- }
2629
- });
2630
- // Convert weight to pixels.
2631
- levels.forEach(function (level) {
2632
- var options = result[level],
2633
- weight;
2634
- if (options.levelSize.unit === 'weight') {
2635
- weight = options.levelSize.value;
2636
- result[level].levelSize = {
2637
- unit: 'pixels',
2638
- value: (weight / totalWeight) * remainingSize
2639
- };
2640
- }
2641
- });
2642
- // Set all levels not included in interval [from,to] to have 0
2643
- // pixels.
2644
- levelsNotIncluded.forEach(function (level) {
2645
- result[level].levelSize = {
2646
- value: 0,
2647
- unit: 'pixels'
2648
- };
2649
- });
2650
- }
2651
- return result;
2652
- }
2653
- SunburstUtilities.calculateLevelSizes = calculateLevelSizes;
2654
- /**
2655
- * @private
2656
- */
2657
- function getLevelFromAndTo(_a) {
2658
- var level = _a.level,
2659
- height = _a.height;
2660
- // Never displays level below 1
2661
- var from = level > 0 ? level : 1;
2662
- var to = level + height;
2663
- return { from: from, to: to };
2664
- }
2665
- SunburstUtilities.getLevelFromAndTo = getLevelFromAndTo;
2666
- /**
2667
- * TODO introduce step, which should default to 1.
2668
- * @private
2669
- */
2670
- function range(from, to) {
2671
- var result = [],
2672
- i;
2673
- if (isNumber(from) && isNumber(to) && from <= to) {
2674
- for (i = from; i <= to; i++) {
2675
- result.push(i);
2676
- }
2677
- }
2678
- return result;
2679
- }
2680
- SunburstUtilities.range = range;
2681
- /* eslint-enable valid-jsdoc */
2682
- })(SunburstUtilities || (SunburstUtilities = {}));
2683
- /* *
2684
- *
2685
- * Default Export
2686
- *
2687
- * */
2688
-
2689
- return SunburstUtilities;
2690
- });
2691
- _registerModule(_modules, 'Series/Sunburst/SunburstSeries.js', [_modules['Series/CenteredUtilities.js'], _modules['Core/Globals.js'], _modules['Core/Series/SeriesRegistry.js'], _modules['Series/Sunburst/SunburstPoint.js'], _modules['Series/Sunburst/SunburstUtilities.js'], _modules['Series/TreeUtilities.js'], _modules['Core/Utilities.js']], function (CU, H, SeriesRegistry, SunburstPoint, SunburstUtilities, TU, U) {
2692
- /* *
2693
- *
2694
- * This module implements sunburst charts in Highcharts.
2695
- *
2696
- * (c) 2016-2021 Highsoft AS
2697
- *
2698
- * Authors: Jon Arild Nygard
2699
- *
2700
- * License: www.highcharts.com/license
2701
- *
2702
- * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
2703
- *
2704
- * */
2705
- var __extends = (this && this.__extends) || (function () {
2706
- var extendStatics = function (d,
2707
- b) {
2708
- extendStatics = Object.setPrototypeOf ||
2709
- ({ __proto__: [] } instanceof Array && function (d,
2710
- b) { d.__proto__ = b; }) ||
2711
- function (d,
2712
- b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
2713
- return extendStatics(d, b);
2714
- };
2715
- return function (d, b) {
2716
- extendStatics(d, b);
2717
- function __() { this.constructor = d; }
2718
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
2719
- };
2720
- })();
2721
- var getCenter = CU.getCenter,
2722
- getStartAndEndRadians = CU.getStartAndEndRadians;
2723
- var noop = H.noop;
2724
- var Series = SeriesRegistry.series,
2725
- _a = SeriesRegistry.seriesTypes,
2726
- ColumnSeries = _a.column,
2727
- TreemapSeries = _a.treemap;
2728
- var getColor = TU.getColor,
2729
- getLevelOptions = TU.getLevelOptions,
2730
- setTreeValues = TU.setTreeValues,
2731
- updateRootId = TU.updateRootId;
2732
- var error = U.error,
2733
- extend = U.extend,
2734
- isNumber = U.isNumber,
2735
- isObject = U.isObject,
2736
- isString = U.isString,
2737
- merge = U.merge,
2738
- splat = U.splat;
2739
- /* *
2740
- *
2741
- * Constants
2742
- *
2743
- * */
2744
- var rad2deg = 180 / Math.PI;
2745
- /* *
2746
- *
2747
- * Functions
2748
- *
2749
- * */
2750
- // eslint-disable-next-line require-jsdoc
2751
- function isBoolean(x) {
2752
- return typeof x === 'boolean';
2753
- }
2754
- /**
2755
- * Find a set of coordinates given a start coordinates, an angle, and a
2756
- * distance.
2757
- *
2758
- * @private
2759
- * @function getEndPoint
2760
- *
2761
- * @param {number} x
2762
- * Start coordinate x
2763
- *
2764
- * @param {number} y
2765
- * Start coordinate y
2766
- *
2767
- * @param {number} angle
2768
- * Angle in radians
2769
- *
2770
- * @param {number} distance
2771
- * Distance from start to end coordinates
2772
- *
2773
- * @return {Highcharts.SVGAttributes}
2774
- * Returns the end coordinates, x and y.
2775
- */
2776
- var getEndPoint = function getEndPoint(x,
2777
- y,
2778
- angle,
2779
- distance) {
2780
- return {
2781
- x: x + (Math.cos(angle) * distance),
2782
- y: y + (Math.sin(angle) * distance)
2783
- };
2784
- };
2785
- // eslint-disable-next-line require-jsdoc
2786
- function getDlOptions(params) {
2787
- // Set options to new object to avoid problems with scope
2788
- var point = params.point,
2789
- shape = isObject(params.shapeArgs) ? params.shapeArgs : {},
2790
- optionsPoint = (isObject(params.optionsPoint) ?
2791
- params.optionsPoint.dataLabels :
2792
- {}),
2793
- // The splat was used because levels dataLabels
2794
- // options doesn't work as an array
2795
- optionsLevel = splat(isObject(params.level) ?
2796
- params.level.dataLabels :
2797
- {})[0],
2798
- options = merge({
2799
- style: {}
2800
- },
2801
- optionsLevel,
2802
- optionsPoint),
2803
- rotationRad,
2804
- rotation,
2805
- rotationMode = options.rotationMode;
2806
- if (!isNumber(options.rotation)) {
2807
- if (rotationMode === 'auto' || rotationMode === 'circular') {
2808
- if (point.innerArcLength < 1 &&
2809
- point.outerArcLength > shape.radius) {
2810
- rotationRad = 0;
2811
- // Triger setTextPath function to get textOutline etc.
2812
- if (point.dataLabelPath && rotationMode === 'circular') {
2813
- options.textPath = {
2814
- enabled: true
2815
- };
2816
- }
2817
- }
2818
- else if (point.innerArcLength > 1 &&
2819
- point.outerArcLength > 1.5 * shape.radius) {
2820
- if (rotationMode === 'circular') {
2821
- options.textPath = {
2822
- enabled: true,
2823
- attributes: {
2824
- dy: 5
2825
- }
2826
- };
2827
- }
2828
- else {
2829
- rotationMode = 'parallel';
2830
- }
2831
- }
2832
- else {
2833
- // Trigger the destroyTextPath function
2834
- if (point.dataLabel &&
2835
- point.dataLabel.textPathWrapper &&
2836
- rotationMode === 'circular') {
2837
- options.textPath = {
2838
- enabled: false
2839
- };
2840
- }
2841
- rotationMode = 'perpendicular';
2842
- }
2843
- }
2844
- if (rotationMode !== 'auto' && rotationMode !== 'circular') {
2845
- rotationRad = (shape.end -
2846
- (shape.end - shape.start) / 2);
2847
- }
2848
- if (rotationMode === 'parallel') {
2849
- options.style.width = Math.min(shape.radius * 2.5, (point.outerArcLength + point.innerArcLength) / 2);
2850
- }
2851
- else {
2852
- options.style.width = shape.radius;
2853
- }
2854
- if (rotationMode === 'perpendicular' &&
2855
- point.series.chart.renderer.fontMetrics(options.style.fontSize).h > point.outerArcLength) {
2856
- options.style.width = 1;
2857
- }
2858
- // Apply padding (#8515)
2859
- options.style.width = Math.max(options.style.width - 2 * (options.padding || 0), 1);
2860
- rotation = (rotationRad * rad2deg) % 180;
2861
- if (rotationMode === 'parallel') {
2862
- rotation -= 90;
2863
- }
2864
- // Prevent text from rotating upside down
2865
- if (rotation > 90) {
2866
- rotation -= 180;
2867
- }
2868
- else if (rotation < -90) {
2869
- rotation += 180;
2870
- }
2871
- options.rotation = rotation;
2872
- }
2873
- if (options.textPath) {
2874
- if (point.shapeExisting.innerR === 0 &&
2875
- options.textPath.enabled) {
2876
- // Enable rotation to render text
2877
- options.rotation = 0;
2878
- // Center dataLabel - disable textPath
2879
- options.textPath.enabled = false;
2880
- // Setting width and padding
2881
- options.style.width = Math.max((point.shapeExisting.r * 2) -
2882
- 2 * (options.padding || 0), 1);
2883
- }
2884
- else if (point.dlOptions &&
2885
- point.dlOptions.textPath &&
2886
- !point.dlOptions.textPath.enabled &&
2887
- (rotationMode === 'circular')) {
2888
- // Bring dataLabel back if was a center dataLabel
2889
- options.textPath.enabled = true;
2890
- }
2891
- if (options.textPath.enabled) {
2892
- // Enable rotation to render text
2893
- options.rotation = 0;
2894
- // Setting width and padding
2895
- options.style.width = Math.max((point.outerArcLength +
2896
- point.innerArcLength) / 2 -
2897
- 2 * (options.padding || 0), 1);
2898
- }
2899
- }
2900
- // NOTE: alignDataLabel positions the data label differntly when rotation is
2901
- // 0. Avoiding this by setting rotation to a small number.
2902
- if (options.rotation === 0) {
2903
- options.rotation = 0.001;
2904
- }
2905
- return options;
2906
- }
2907
- // eslint-disable-next-line require-jsdoc
2908
- function getAnimation(shape, params) {
2909
- var point = params.point,
2910
- radians = params.radians,
2911
- innerR = params.innerR,
2912
- idRoot = params.idRoot,
2913
- idPreviousRoot = params.idPreviousRoot,
2914
- shapeExisting = params.shapeExisting,
2915
- shapeRoot = params.shapeRoot,
2916
- shapePreviousRoot = params.shapePreviousRoot,
2917
- visible = params.visible,
2918
- from = {},
2919
- to = {
2920
- end: shape.end,
2921
- start: shape.start,
2922
- innerR: shape.innerR,
2923
- r: shape.r,
2924
- x: shape.x,
2925
- y: shape.y
2926
- };
2927
- if (visible) {
2928
- // Animate points in
2929
- if (!point.graphic && shapePreviousRoot) {
2930
- if (idRoot === point.id) {
2931
- from = {
2932
- start: radians.start,
2933
- end: radians.end
2934
- };
2935
- }
2936
- else {
2937
- from = (shapePreviousRoot.end <= shape.start) ? {
2938
- start: radians.end,
2939
- end: radians.end
2940
- } : {
2941
- start: radians.start,
2942
- end: radians.start
2943
- };
2944
- }
2945
- // Animate from center and outwards.
2946
- from.innerR = from.r = innerR;
2947
- }
2948
- }
2949
- else {
2950
- // Animate points out
2951
- if (point.graphic) {
2952
- if (idPreviousRoot === point.id) {
2953
- to = {
2954
- innerR: innerR,
2955
- r: innerR
2956
- };
2957
- }
2958
- else if (shapeRoot) {
2959
- to = (shapeRoot.end <= shapeExisting.start) ?
2960
- {
2961
- innerR: innerR,
2962
- r: innerR,
2963
- start: radians.end,
2964
- end: radians.end
2965
- } : {
2966
- innerR: innerR,
2967
- r: innerR,
2968
- start: radians.start,
2969
- end: radians.start
2970
- };
2971
- }
2972
- }
2973
- }
2974
- return {
2975
- from: from,
2976
- to: to
2977
- };
2978
- }
2979
- // eslint-disable-next-line require-jsdoc
2980
- function getDrillId(point, idRoot, mapIdToNode) {
2981
- var drillId,
2982
- node = point.node,
2983
- nodeRoot;
2984
- if (!node.isLeaf) {
2985
- // When it is the root node, the drillId should be set to parent.
2986
- if (idRoot === point.id) {
2987
- nodeRoot = mapIdToNode[idRoot];
2988
- drillId = nodeRoot.parent;
2989
- }
2990
- else {
2991
- drillId = point.id;
2992
- }
2993
- }
2994
- return drillId;
2995
- }
2996
- // eslint-disable-next-line require-jsdoc
2997
- function cbSetTreeValuesBefore(node, options) {
2998
- var mapIdToNode = options.mapIdToNode,
2999
- nodeParent = mapIdToNode[node.parent],
3000
- series = options.series,
3001
- chart = series.chart,
3002
- points = series.points,
3003
- point = points[node.i],
3004
- colors = (series.options.colors || chart && chart.options.colors),
3005
- colorInfo = getColor(node, {
3006
- colors: colors,
3007
- colorIndex: series.colorIndex,
3008
- index: options.index,
3009
- mapOptionsToLevel: options.mapOptionsToLevel,
3010
- parentColor: nodeParent && nodeParent.color,
3011
- parentColorIndex: nodeParent && nodeParent.colorIndex,
3012
- series: options.series,
3013
- siblings: options.siblings
3014
- });
3015
- node.color = colorInfo.color;
3016
- node.colorIndex = colorInfo.colorIndex;
3017
- if (point) {
3018
- point.color = node.color;
3019
- point.colorIndex = node.colorIndex;
3020
- // Set slicing on node, but avoid slicing the top node.
3021
- node.sliced = (node.id !== options.idRoot) ? point.sliced : false;
3022
- }
3023
- return node;
3024
- }
3025
- /* *
3026
- *
3027
- * Class
3028
- *
3029
- * */
3030
- var SunburstSeries = /** @class */ (function (_super) {
3031
- __extends(SunburstSeries, _super);
3032
- function SunburstSeries() {
3033
- /* *
3034
- *
3035
- * Static Properties
3036
- *
3037
- * */
3038
- var _this = _super !== null && _super.apply(this,
3039
- arguments) || this;
3040
- /* *
3041
- *
3042
- * Properties
3043
- *
3044
- * */
3045
- _this.center = void 0;
3046
- _this.data = void 0;
3047
- _this.mapOptionsToLevel = void 0;
3048
- _this.nodeMap = void 0;
3049
- _this.options = void 0;
3050
- _this.points = void 0;
3051
- _this.shapeRoot = void 0;
3052
- _this.startAndEndRadians = void 0;
3053
- _this.tree = void 0;
3054
- return _this;
3055
- /* eslint-enable valid-jsdoc */
3056
- }
3057
- /* *
3058
- *
3059
- * Functions
3060
- *
3061
- * */
3062
- /* eslint-disable valid-jsdoc */
3063
- SunburstSeries.prototype.alignDataLabel = function (_point, _dataLabel, labelOptions) {
3064
- if (labelOptions.textPath && labelOptions.textPath.enabled) {
3065
- return;
3066
- }
3067
- return _super.prototype.alignDataLabel.apply(this, arguments);
3068
- };
3069
- /**
3070
- * Animate the slices in. Similar to the animation of polar charts.
3071
- * @private
3072
- */
3073
- SunburstSeries.prototype.animate = function (init) {
3074
- var chart = this.chart,
3075
- center = [
3076
- chart.plotWidth / 2,
3077
- chart.plotHeight / 2
3078
- ],
3079
- plotLeft = chart.plotLeft,
3080
- plotTop = chart.plotTop,
3081
- attribs,
3082
- group = this.group;
3083
- // Initialize the animation
3084
- if (init) {
3085
- // Scale down the group and place it in the center
3086
- attribs = {
3087
- translateX: center[0] + plotLeft,
3088
- translateY: center[1] + plotTop,
3089
- scaleX: 0.001,
3090
- scaleY: 0.001,
3091
- rotation: 10,
3092
- opacity: 0.01
3093
- };
3094
- group.attr(attribs);
3095
- // Run the animation
3096
- }
3097
- else {
3098
- attribs = {
3099
- translateX: plotLeft,
3100
- translateY: plotTop,
3101
- scaleX: 1,
3102
- scaleY: 1,
3103
- rotation: 0,
3104
- opacity: 1
3105
- };
3106
- group.animate(attribs, this.options.animation);
3107
- }
3108
- };
3109
- SunburstSeries.prototype.drawPoints = function () {
3110
- var series = this,
3111
- mapOptionsToLevel = series.mapOptionsToLevel,
3112
- shapeRoot = series.shapeRoot,
3113
- group = series.group,
3114
- hasRendered = series.hasRendered,
3115
- idRoot = series.rootNode,
3116
- idPreviousRoot = series.idPreviousRoot,
3117
- nodeMap = series.nodeMap,
3118
- nodePreviousRoot = nodeMap[idPreviousRoot],
3119
- shapePreviousRoot = nodePreviousRoot && nodePreviousRoot.shapeArgs,
3120
- points = series.points,
3121
- radians = series.startAndEndRadians,
3122
- chart = series.chart,
3123
- optionsChart = chart && chart.options && chart.options.chart || {},
3124
- animation = (isBoolean(optionsChart.animation) ?
3125
- optionsChart.animation :
3126
- true),
3127
- positions = series.center,
3128
- center = {
3129
- x: positions[0],
3130
- y: positions[1]
3131
- },
3132
- innerR = positions[3] / 2,
3133
- renderer = series.chart.renderer,
3134
- animateLabels,
3135
- animateLabelsCalled = false,
3136
- addedHack = false,
3137
- hackDataLabelAnimation = !!(animation &&
3138
- hasRendered &&
3139
- idRoot !== idPreviousRoot &&
3140
- series.dataLabelsGroup);
3141
- if (hackDataLabelAnimation) {
3142
- series.dataLabelsGroup.attr({ opacity: 0 });
3143
- animateLabels = function () {
3144
- var s = series;
3145
- animateLabelsCalled = true;
3146
- if (s.dataLabelsGroup) {
3147
- s.dataLabelsGroup.animate({
3148
- opacity: 1,
3149
- visibility: 'visible'
3150
- });
3151
- }
3152
- };
3153
- }
3154
- points.forEach(function (point) {
3155
- var node = point.node,
3156
- level = mapOptionsToLevel[node.level],
3157
- shapeExisting = (point.shapeExisting || {}),
3158
- shape = node.shapeArgs || {},
3159
- animationInfo,
3160
- onComplete,
3161
- visible = !!(node.visible && node.shapeArgs);
3162
- if (hasRendered && animation) {
3163
- animationInfo = getAnimation(shape, {
3164
- center: center,
3165
- point: point,
3166
- radians: radians,
3167
- innerR: innerR,
3168
- idRoot: idRoot,
3169
- idPreviousRoot: idPreviousRoot,
3170
- shapeExisting: shapeExisting,
3171
- shapeRoot: shapeRoot,
3172
- shapePreviousRoot: shapePreviousRoot,
3173
- visible: visible
3174
- });
3175
- }
3176
- else {
3177
- // When animation is disabled, attr is called from animation.
3178
- animationInfo = {
3179
- to: shape,
3180
- from: {}
3181
- };
3182
- }
3183
- extend(point, {
3184
- shapeExisting: shape,
3185
- tooltipPos: [shape.plotX, shape.plotY],
3186
- drillId: getDrillId(point, idRoot, nodeMap),
3187
- name: '' + (point.name || point.id || point.index),
3188
- plotX: shape.plotX,
3189
- plotY: shape.plotY,
3190
- value: node.val,
3191
- isInside: visible,
3192
- isNull: !visible // used for dataLabels & point.draw
3193
- });
3194
- point.dlOptions = getDlOptions({
3195
- point: point,
3196
- level: level,
3197
- optionsPoint: point.options,
3198
- shapeArgs: shape
3199
- });
3200
- if (!addedHack && visible) {
3201
- addedHack = true;
3202
- onComplete = animateLabels;
3203
- }
3204
- point.draw({
3205
- animatableAttribs: animationInfo.to,
3206
- attribs: extend(animationInfo.from, (!chart.styledMode && series.pointAttribs(point, (point.selected && 'select')))),
3207
- onComplete: onComplete,
3208
- group: group,
3209
- renderer: renderer,
3210
- shapeType: 'arc',
3211
- shapeArgs: shape
3212
- });
3213
- });
3214
- // Draw data labels after points
3215
- // TODO draw labels one by one to avoid addtional looping
3216
- if (hackDataLabelAnimation && addedHack) {
3217
- series.hasRendered = false;
3218
- series.options.dataLabels.defer = true;
3219
- Series.prototype.drawDataLabels.call(series);
3220
- series.hasRendered = true;
3221
- // If animateLabels is called before labels were hidden, then call
3222
- // it again.
3223
- if (animateLabelsCalled) {
3224
- animateLabels();
3225
- }
3226
- }
3227
- else {
3228
- Series.prototype.drawDataLabels.call(series);
3229
- }
3230
- };
3231
- /**
3232
- * The layout algorithm for the levels.
3233
- * @private
3234
- */
3235
- SunburstSeries.prototype.layoutAlgorithm = function (parent, children, options) {
3236
- var startAngle = parent.start,
3237
- range = parent.end - startAngle,
3238
- total = parent.val,
3239
- x = parent.x,
3240
- y = parent.y,
3241
- radius = ((options &&
3242
- isObject(options.levelSize) &&
3243
- isNumber(options.levelSize.value)) ?
3244
- options.levelSize.value :
3245
- 0),
3246
- innerRadius = parent.r,
3247
- outerRadius = innerRadius + radius,
3248
- slicedOffset = options && isNumber(options.slicedOffset) ?
3249
- options.slicedOffset :
3250
- 0;
3251
- return (children || []).reduce(function (arr, child) {
3252
- var percentage = (1 / total) * child.val,
3253
- radians = percentage * range,
3254
- radiansCenter = startAngle + (radians / 2),
3255
- offsetPosition = getEndPoint(x,
3256
- y,
3257
- radiansCenter,
3258
- slicedOffset),
3259
- values = {
3260
- x: child.sliced ? offsetPosition.x : x,
3261
- y: child.sliced ? offsetPosition.y : y,
3262
- innerR: innerRadius,
3263
- r: outerRadius,
3264
- radius: radius,
3265
- start: startAngle,
3266
- end: startAngle + radians
3267
- };
3268
- arr.push(values);
3269
- startAngle = values.end;
3270
- return arr;
3271
- }, []);
3272
- };
3273
- /**
3274
- * Set the shape arguments on the nodes. Recursive from root down.
3275
- * @private
3276
- */
3277
- SunburstSeries.prototype.setShapeArgs = function (parent, parentValues, mapOptionsToLevel) {
3278
- var childrenValues = [],
3279
- level = parent.level + 1,
3280
- options = mapOptionsToLevel[level],
3281
- // Collect all children which should be included
3282
- children = parent.children.filter(function (n) {
3283
- return n.visible;
3284
- }), twoPi = 6.28; // Two times Pi.
3285
- childrenValues = this.layoutAlgorithm(parentValues, children, options);
3286
- children.forEach(function (child, index) {
3287
- var values = childrenValues[index],
3288
- angle = values.start + ((values.end - values.start) / 2),
3289
- radius = values.innerR + ((values.r - values.innerR) / 2),
3290
- radians = (values.end - values.start),
3291
- isCircle = (values.innerR === 0 && radians > twoPi),
3292
- center = (isCircle ?
3293
- { x: values.x,
3294
- y: values.y } :
3295
- getEndPoint(values.x,
3296
- values.y,
3297
- angle,
3298
- radius)),
3299
- val = (child.val ?
3300
- (child.childrenTotal > child.val ?
3301
- child.childrenTotal :
3302
- child.val) :
3303
- child.childrenTotal);
3304
- // The inner arc length is a convenience for data label filters.
3305
- if (this.points[child.i]) {
3306
- this.points[child.i].innerArcLength = radians * values.innerR;
3307
- this.points[child.i].outerArcLength = radians * values.r;
3308
- }
3309
- child.shapeArgs = merge(values, {
3310
- plotX: center.x,
3311
- plotY: center.y + 4 * Math.abs(Math.cos(angle))
3312
- });
3313
- child.values = merge(values, {
3314
- val: val
3315
- });
3316
- // If node has children, then call method recursively
3317
- if (child.children.length) {
3318
- this.setShapeArgs(child, child.values, mapOptionsToLevel);
3319
- }
3320
- }, this);
3321
- };
3322
- SunburstSeries.prototype.translate = function () {
3323
- var series = this,
3324
- options = series.options,
3325
- positions = series.center = getCenter.call(series),
3326
- radians = series.startAndEndRadians = getStartAndEndRadians(options.startAngle,
3327
- options.endAngle),
3328
- innerRadius = positions[3] / 2,
3329
- outerRadius = positions[2] / 2,
3330
- diffRadius = outerRadius - innerRadius,
3331
- // NOTE: updateRootId modifies series.
3332
- rootId = updateRootId(series),
3333
- mapIdToNode = series.nodeMap,
3334
- mapOptionsToLevel,
3335
- idTop,
3336
- nodeRoot = mapIdToNode && mapIdToNode[rootId],
3337
- nodeTop,
3338
- tree,
3339
- values,
3340
- nodeIds = {};
3341
- series.shapeRoot = nodeRoot && nodeRoot.shapeArgs;
3342
- // Call prototype function
3343
- Series.prototype.translate.call(series);
3344
- // @todo Only if series.isDirtyData is true
3345
- tree = series.tree = series.getTree();
3346
- // Render traverseUpButton, after series.nodeMap i calculated.
3347
- series.renderTraverseUpButton(rootId);
3348
- mapIdToNode = series.nodeMap;
3349
- nodeRoot = mapIdToNode[rootId];
3350
- idTop = isString(nodeRoot.parent) ? nodeRoot.parent : '';
3351
- nodeTop = mapIdToNode[idTop];
3352
- var _a = SunburstUtilities.getLevelFromAndTo(nodeRoot),
3353
- from = _a.from,
3354
- to = _a.to;
3355
- mapOptionsToLevel = getLevelOptions({
3356
- from: from,
3357
- levels: series.options.levels,
3358
- to: to,
3359
- defaults: {
3360
- colorByPoint: options.colorByPoint,
3361
- dataLabels: options.dataLabels,
3362
- levelIsConstant: options.levelIsConstant,
3363
- levelSize: options.levelSize,
3364
- slicedOffset: options.slicedOffset
3365
- }
3366
- });
3367
- // NOTE consider doing calculateLevelSizes in a callback to
3368
- // getLevelOptions
3369
- mapOptionsToLevel = SunburstUtilities.calculateLevelSizes(mapOptionsToLevel, {
3370
- diffRadius: diffRadius,
3371
- from: from,
3372
- to: to
3373
- });
3374
- // TODO Try to combine setTreeValues & setColorRecursive to avoid
3375
- // unnecessary looping.
3376
- setTreeValues(tree, {
3377
- before: cbSetTreeValuesBefore,
3378
- idRoot: rootId,
3379
- levelIsConstant: options.levelIsConstant,
3380
- mapOptionsToLevel: mapOptionsToLevel,
3381
- mapIdToNode: mapIdToNode,
3382
- points: series.points,
3383
- series: series
3384
- });
3385
- values = mapIdToNode[''].shapeArgs = {
3386
- end: radians.end,
3387
- r: innerRadius,
3388
- start: radians.start,
3389
- val: nodeRoot.val,
3390
- x: positions[0],
3391
- y: positions[1]
3392
- };
3393
- this.setShapeArgs(nodeTop, values, mapOptionsToLevel);
3394
- // Set mapOptionsToLevel on series for use in drawPoints.
3395
- series.mapOptionsToLevel = mapOptionsToLevel;
3396
- // #10669 - verify if all nodes have unique ids
3397
- series.data.forEach(function (child) {
3398
- if (nodeIds[child.id]) {
3399
- error(31, false, series.chart);
3400
- }
3401
- // map
3402
- nodeIds[child.id] = true;
3403
- });
3404
- // reset object
3405
- nodeIds = {};
3406
- };
3407
- /**
3408
- * A Sunburst displays hierarchical data, where a level in the hierarchy is
3409
- * represented by a circle. The center represents the root node of the tree.
3410
- * The visualization bears a resemblance to both treemap and pie charts.
3411
- *
3412
- * @sample highcharts/demo/sunburst
3413
- * Sunburst chart
3414
- *
3415
- * @extends plotOptions.pie
3416
- * @excluding allAreas, clip, colorAxis, colorKey, compare, compareBase,
3417
- * dataGrouping, depth, dragDrop, endAngle, gapSize, gapUnit,
3418
- * ignoreHiddenPoint, innerSize, joinBy, legendType, linecap,
3419
- * minSize, navigatorOptions, pointRange
3420
- * @product highcharts
3421
- * @requires modules/sunburst.js
3422
- * @optionparent plotOptions.sunburst
3423
- * @private
3424
- */
3425
- SunburstSeries.defaultOptions = merge(TreemapSeries.defaultOptions, {
3426
- /**
3427
- * Set options on specific levels. Takes precedence over series options,
3428
- * but not point options.
3429
- *
3430
- * @sample highcharts/demo/sunburst
3431
- * Sunburst chart
3432
- *
3433
- * @type {Array<*>}
3434
- * @apioption plotOptions.sunburst.levels
3435
- */
3436
- /**
3437
- * Can set a `borderColor` on all points which lies on the same level.
3438
- *
3439
- * @type {Highcharts.ColorString}
3440
- * @apioption plotOptions.sunburst.levels.borderColor
3441
- */
3442
- /**
3443
- * Can set a `borderWidth` on all points which lies on the same level.
3444
- *
3445
- * @type {number}
3446
- * @apioption plotOptions.sunburst.levels.borderWidth
3447
- */
3448
- /**
3449
- * Can set a `borderDashStyle` on all points which lies on the same
3450
- * level.
3451
- *
3452
- * @type {Highcharts.DashStyleValue}
3453
- * @apioption plotOptions.sunburst.levels.borderDashStyle
3454
- */
3455
- /**
3456
- * Can set a `color` on all points which lies on the same level.
3457
- *
3458
- * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
3459
- * @apioption plotOptions.sunburst.levels.color
3460
- */
3461
- /**
3462
- * Can set a `colorVariation` on all points which lies on the same
3463
- * level.
3464
- *
3465
- * @apioption plotOptions.sunburst.levels.colorVariation
3466
- */
3467
- /**
3468
- * The key of a color variation. Currently supports `brightness` only.
3469
- *
3470
- * @type {string}
3471
- * @apioption plotOptions.sunburst.levels.colorVariation.key
3472
- */
3473
- /**
3474
- * The ending value of a color variation. The last sibling will receive
3475
- * this value.
3476
- *
3477
- * @type {number}
3478
- * @apioption plotOptions.sunburst.levels.colorVariation.to
3479
- */
3480
- /**
3481
- * Can set `dataLabels` on all points which lies on the same level.
3482
- *
3483
- * @extends plotOptions.sunburst.dataLabels
3484
- * @apioption plotOptions.sunburst.levels.dataLabels
3485
- */
3486
- /**
3487
- * Decides which level takes effect from the options set in the levels
3488
- * object.
3489
- *
3490
- * @sample highcharts/demo/sunburst
3491
- * Sunburst chart
3492
- *
3493
- * @type {number}
3494
- * @apioption plotOptions.sunburst.levels.level
3495
- */
3496
- /**
3497
- * Can set a `levelSize` on all points which lies on the same level.
3498
- *
3499
- * @type {Object}
3500
- * @apioption plotOptions.sunburst.levels.levelSize
3501
- */
3502
- /**
3503
- * When enabled the user can click on a point which is a parent and
3504
- * zoom in on its children. Deprecated and replaced by
3505
- * [allowTraversingTree](#plotOptions.sunburst.allowTraversingTree).
3506
- *
3507
- * @deprecated
3508
- * @type {boolean}
3509
- * @default false
3510
- * @since 6.0.0
3511
- * @product highcharts
3512
- * @apioption plotOptions.sunburst.allowDrillToNode
3513
- */
3514
- /**
3515
- * When enabled the user can click on a point which is a parent and
3516
- * zoom in on its children.
3517
- *
3518
- * @type {boolean}
3519
- * @default false
3520
- * @since 7.0.3
3521
- * @product highcharts
3522
- * @apioption plotOptions.sunburst.allowTraversingTree
3523
- */
3524
- /**
3525
- * The center of the sunburst chart relative to the plot area. Can be
3526
- * percentages or pixel values.
3527
- *
3528
- * @sample {highcharts} highcharts/plotoptions/pie-center/
3529
- * Centered at 100, 100
3530
- *
3531
- * @type {Array<number|string>}
3532
- * @default ["50%", "50%"]
3533
- * @product highcharts
3534
- */
3535
- center: ['50%', '50%'],
3536
- colorByPoint: false,
3537
- /**
3538
- * Disable inherited opacity from Treemap series.
3539
- *
3540
- * @ignore-option
3541
- */
3542
- opacity: 1,
3543
- /**
3544
- * @declare Highcharts.SeriesSunburstDataLabelsOptionsObject
3545
- */
3546
- dataLabels: {
3547
- allowOverlap: true,
3548
- defer: true,
3549
- /**
3550
- * Decides how the data label will be rotated relative to the
3551
- * perimeter of the sunburst. Valid values are `auto`, `circular`,
3552
- * `parallel` and `perpendicular`. When `auto`, the best fit will be
3553
- * computed for the point. The `circular` option works similiar
3554
- * to `auto`, but uses the `textPath` feature - labels are curved,
3555
- * resulting in a better layout, however multiple lines and
3556
- * `textOutline` are not supported.
3557
- *
3558
- * The `rotation` option takes precedence over `rotationMode`.
3559
- *
3560
- * @type {string}
3561
- * @sample {highcharts} highcharts/plotoptions/sunburst-datalabels-rotationmode-circular/
3562
- * Circular rotation mode
3563
- * @validvalue ["auto", "perpendicular", "parallel", "circular"]
3564
- * @since 6.0.0
3565
- */
3566
- rotationMode: 'auto',
3567
- style: {
3568
- /** @internal */
3569
- textOverflow: 'ellipsis'
3570
- }
3571
- },
3572
- /**
3573
- * Which point to use as a root in the visualization.
3574
- *
3575
- * @type {string}
3576
- */
3577
- rootId: void 0,
3578
- /**
3579
- * Used together with the levels and `allowDrillToNode` options. When
3580
- * set to false the first level visible when drilling is considered
3581
- * to be level one. Otherwise the level will be the same as the tree
3582
- * structure.
3583
- */
3584
- levelIsConstant: true,
3585
- /**
3586
- * Determines the width of the ring per level.
3587
- *
3588
- * @sample {highcharts} highcharts/plotoptions/sunburst-levelsize/
3589
- * Sunburst with various sizes per level
3590
- *
3591
- * @since 6.0.5
3592
- */
3593
- levelSize: {
3594
- /**
3595
- * The value used for calculating the width of the ring. Its' affect
3596
- * is determined by `levelSize.unit`.
3597
- *
3598
- * @sample {highcharts} highcharts/plotoptions/sunburst-levelsize/
3599
- * Sunburst with various sizes per level
3600
- */
3601
- value: 1,
3602
- /**
3603
- * How to interpret `levelSize.value`.
3604
- *
3605
- * - `percentage` gives a width relative to result of outer radius
3606
- * minus inner radius.
3607
- *
3608
- * - `pixels` gives the ring a fixed width in pixels.
3609
- *
3610
- * - `weight` takes the remaining width after percentage and pixels,
3611
- * and distributes it accross all "weighted" levels. The value
3612
- * relative to the sum of all weights determines the width.
3613
- *
3614
- * @sample {highcharts} highcharts/plotoptions/sunburst-levelsize/
3615
- * Sunburst with various sizes per level
3616
- *
3617
- * @validvalue ["percentage", "pixels", "weight"]
3618
- */
3619
- unit: 'weight'
3620
- },
3621
- /**
3622
- * Options for the button appearing when traversing down in a treemap.
3623
- *
3624
- * @extends plotOptions.treemap.traverseUpButton
3625
- * @since 6.0.0
3626
- * @apioption plotOptions.sunburst.traverseUpButton
3627
- */
3628
- /**
3629
- * If a point is sliced, moved out from the center, how many pixels
3630
- * should it be moved?.
3631
- *
3632
- * @sample highcharts/plotoptions/sunburst-sliced
3633
- * Sliced sunburst
3634
- *
3635
- * @since 6.0.4
3636
- */
3637
- slicedOffset: 10
3638
- });
3639
- return SunburstSeries;
3640
- }(TreemapSeries));
3641
- extend(SunburstSeries.prototype, {
3642
- drawDataLabels: noop,
3643
- pointAttribs: ColumnSeries.prototype.pointAttribs,
3644
- pointClass: SunburstPoint,
3645
- utils: SunburstUtilities
3646
- });
3647
- SeriesRegistry.registerSeriesType('sunburst', SunburstSeries);
3648
- /* *
3649
- *
3650
- * Default Export
3651
- *
3652
- * */
3653
- /* *
3654
- *
3655
- * API Options
3656
- *
3657
- * */
3658
- /**
3659
- * A `sunburst` series. If the [type](#series.sunburst.type) option is
3660
- * not specified, it is inherited from [chart.type](#chart.type).
3661
- *
3662
- * @extends series,plotOptions.sunburst
3663
- * @excluding dataParser, dataURL, stack, dataSorting, boostThreshold,
3664
- * boostBlending
3665
- * @product highcharts
3666
- * @requires modules/sunburst.js
3667
- * @apioption series.sunburst
3668
- */
3669
- /**
3670
- * @type {Array<number|null|*>}
3671
- * @extends series.treemap.data
3672
- * @excluding x, y
3673
- * @product highcharts
3674
- * @apioption series.sunburst.data
3675
- */
3676
- /**
3677
- * @type {Highcharts.SeriesSunburstDataLabelsOptionsObject|Array<Highcharts.SeriesSunburstDataLabelsOptionsObject>}
3678
- * @product highcharts
3679
- * @apioption series.sunburst.data.dataLabels
3680
- */
3681
- /**
3682
- * The value of the point, resulting in a relative area of the point
3683
- * in the sunburst.
3684
- *
3685
- * @type {number|null}
3686
- * @since 6.0.0
3687
- * @product highcharts
3688
- * @apioption series.sunburst.data.value
3689
- */
3690
- /**
3691
- * Use this option to build a tree structure. The value should be the id of the
3692
- * point which is the parent. If no points has a matching id, or this option is
3693
- * undefined, then the parent will be set to the root.
3694
- *
3695
- * @type {string}
3696
- * @since 6.0.0
3697
- * @product highcharts
3698
- * @apioption series.sunburst.data.parent
3699
- */
3700
- /**
3701
- * Whether to display a slice offset from the center. When a sunburst point is
3702
- * sliced, its children are also offset.
3703
- *
3704
- * @sample highcharts/plotoptions/sunburst-sliced
3705
- * Sliced sunburst
3706
- *
3707
- * @type {boolean}
3708
- * @default false
3709
- * @since 6.0.4
3710
- * @product highcharts
3711
- * @apioption series.sunburst.data.sliced
3712
- */
3713
- ''; // detach doclets above
3714
-
3715
- return SunburstSeries;
3716
- });
3717
- _registerModule(_modules, 'masters/modules/sunburst.src.js', [], function () {
3718
-
3719
-
3720
- });
3721
- }));