@highcharts/grid-pro 2.1.1 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (373) hide show
  1. package/css/grid-pro.css +428 -432
  2. package/es-modules/Accessibility/A11yI18n.js +3 -3
  3. package/es-modules/Accessibility/Accessibility.js +4 -3
  4. package/es-modules/Accessibility/AccessibilityComponent.d.ts +1 -1
  5. package/es-modules/Accessibility/AccessibilityComponent.js +4 -3
  6. package/es-modules/Accessibility/Components/AnnotationsA11y.js +4 -3
  7. package/es-modules/Accessibility/Components/ContainerComponent.js +4 -3
  8. package/es-modules/Accessibility/Components/InfoRegionsComponent.js +4 -3
  9. package/es-modules/Accessibility/Components/LegendComponent.js +4 -3
  10. package/es-modules/Accessibility/Components/MenuComponent.js +4 -3
  11. package/es-modules/Accessibility/Components/NavigatorComponent.js +3 -3
  12. package/es-modules/Accessibility/Components/RangeSelectorComponent.js +4 -3
  13. package/es-modules/Accessibility/Components/SeriesComponent/ForcedMarkers.js +14 -3
  14. package/es-modules/Accessibility/Components/SeriesComponent/NewDataAnnouncer.js +4 -3
  15. package/es-modules/Accessibility/Components/SeriesComponent/SeriesComponent.js +4 -3
  16. package/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js +4 -3
  17. package/es-modules/Accessibility/Components/SeriesComponent/SeriesKeyboardNavigation.js +4 -3
  18. package/es-modules/Accessibility/Components/ZoomComponent.js +4 -3
  19. package/es-modules/Accessibility/FocusBorder.js +4 -3
  20. package/es-modules/Accessibility/HighContrastMode.js +4 -3
  21. package/es-modules/Accessibility/HighContrastTheme.js +4 -3
  22. package/es-modules/Accessibility/KeyboardNavigation.js +4 -3
  23. package/es-modules/Accessibility/KeyboardNavigationHandler.js +4 -3
  24. package/es-modules/Accessibility/Options/A11yDefaults.js +4 -3
  25. package/es-modules/Accessibility/Options/DeprecatedOptions.js +4 -3
  26. package/es-modules/Accessibility/Options/LangDefaults.js +4 -3
  27. package/es-modules/Accessibility/ProxyElement.js +4 -3
  28. package/es-modules/Accessibility/ProxyProvider.js +4 -3
  29. package/es-modules/Accessibility/Utils/Announcer.js +4 -3
  30. package/es-modules/Accessibility/Utils/ChartUtilities.js +4 -3
  31. package/es-modules/Accessibility/Utils/DOMElementProvider.js +4 -3
  32. package/es-modules/Accessibility/Utils/EventProvider.d.ts +1 -1
  33. package/es-modules/Accessibility/Utils/EventProvider.js +4 -3
  34. package/es-modules/Accessibility/Utils/HTMLUtilities.js +4 -3
  35. package/es-modules/Core/Animation/AnimationOptions.d.ts +42 -0
  36. package/es-modules/Core/Animation/AnimationOptions.js +10 -0
  37. package/es-modules/Core/Animation/AnimationUtilities.js +39 -3
  38. package/es-modules/Core/Animation/Fx.d.ts +1 -130
  39. package/es-modules/Core/Animation/Fx.js +13 -6
  40. package/es-modules/Core/Animation/FxBase.d.ts +1 -0
  41. package/es-modules/Core/Animation/FxBase.js +11 -0
  42. package/es-modules/Core/Callback.d.ts +49 -0
  43. package/es-modules/Core/Callback.js +10 -0
  44. package/es-modules/Core/Chart/Chart.d.ts +659 -400
  45. package/es-modules/Core/Chart/Chart.js +64 -54
  46. package/es-modules/Core/Chart/Chart3D.d.ts +123 -233
  47. package/es-modules/Core/Chart/Chart3D.js +22 -35
  48. package/es-modules/Core/Chart/ChartBase.d.ts +3 -0
  49. package/es-modules/Core/Chart/ChartBase.js +11 -0
  50. package/es-modules/Core/Chart/ChartDefaults.js +7 -12
  51. package/es-modules/Core/Chart/ChartNavigationComposition.d.ts +1 -55
  52. package/es-modules/Core/Chart/ChartNavigationComposition.js +13 -13
  53. package/es-modules/Core/Chart/ChartOptions.d.ts +1217 -0
  54. package/es-modules/Core/Chart/ChartOptions.js +10 -0
  55. package/es-modules/Core/Chart/GanttChart.d.ts +0 -38
  56. package/es-modules/Core/Chart/GanttChart.js +4 -3
  57. package/es-modules/Core/Chart/MapChart.d.ts +9 -4
  58. package/es-modules/Core/Chart/MapChart.js +13 -3
  59. package/es-modules/Core/Chart/StockChart.d.ts +0 -85
  60. package/es-modules/Core/Chart/StockChart.js +33 -15
  61. package/es-modules/Core/Color/Color.d.ts +16 -24
  62. package/es-modules/Core/Color/Color.js +26 -8
  63. package/es-modules/Core/Color/ColorString.d.ts +0 -23
  64. package/es-modules/Core/Color/ColorString.js +11 -0
  65. package/es-modules/Core/Color/ColorType.d.ts +0 -33
  66. package/es-modules/Core/Color/ColorType.js +11 -0
  67. package/es-modules/Core/Color/GradientColor.d.ts +0 -33
  68. package/es-modules/Core/Color/GradientColor.js +11 -0
  69. package/es-modules/Core/Color/Palettes.d.ts +1 -84
  70. package/es-modules/Core/Color/Palettes.js +2 -1
  71. package/es-modules/Core/Defaults.d.ts +6 -0
  72. package/es-modules/Core/Defaults.js +30 -66
  73. package/es-modules/Core/Foundation.d.ts +1 -19
  74. package/es-modules/Core/Foundation.js +7 -4
  75. package/es-modules/Core/Geometry/CircleObject.d.ts +5 -0
  76. package/es-modules/Core/Geometry/CircleObject.js +10 -0
  77. package/es-modules/Core/Geometry/CircleUtilities.d.ts +1 -189
  78. package/es-modules/Core/Geometry/CircleUtilities.js +17 -15
  79. package/es-modules/Core/Geometry/GeometryObject.d.ts +7 -0
  80. package/es-modules/Core/Geometry/GeometryObject.js +10 -0
  81. package/es-modules/Core/Geometry/GeometryUtilities.d.ts +1 -48
  82. package/es-modules/Core/Geometry/GeometryUtilities.js +9 -7
  83. package/es-modules/Core/Geometry/IntersectionObject.d.ts +7 -0
  84. package/es-modules/Core/Geometry/IntersectionObject.js +10 -0
  85. package/es-modules/Core/Geometry/PolygonClip.d.ts +1 -19
  86. package/es-modules/Core/Geometry/PolygonClip.js +9 -7
  87. package/es-modules/Core/Globals.d.ts +9 -31
  88. package/es-modules/Core/Globals.js +9 -10
  89. package/es-modules/Core/GlobalsBase.d.ts +35 -0
  90. package/es-modules/Core/GlobalsBase.js +11 -0
  91. package/es-modules/Core/HttpUtilities.d.ts +54 -17
  92. package/es-modules/Core/HttpUtilities.js +15 -14
  93. package/es-modules/Core/JSON.d.ts +29 -0
  94. package/es-modules/Core/JSON.js +13 -0
  95. package/es-modules/Core/KeyboardEvent.d.ts +1 -0
  96. package/es-modules/Core/KeyboardEvent.js +11 -0
  97. package/es-modules/Core/MSPointer.d.ts +1 -74
  98. package/es-modules/Core/MSPointer.js +23 -13
  99. package/es-modules/Core/Math3D.d.ts +1 -117
  100. package/es-modules/Core/Math3D.js +13 -10
  101. package/es-modules/Core/Options.d.ts +334 -0
  102. package/es-modules/Core/Options.js +10 -0
  103. package/es-modules/Core/Pointer.d.ts +71 -445
  104. package/es-modules/Core/Pointer.js +51 -65
  105. package/es-modules/Core/PointerEvent.d.ts +18 -0
  106. package/es-modules/Core/PointerEvent.js +11 -0
  107. package/es-modules/Core/Renderer/AlignObject.d.ts +25 -27
  108. package/es-modules/Core/Renderer/AlignObject.js +11 -0
  109. package/es-modules/Core/Renderer/BBoxObject.d.ts +20 -31
  110. package/es-modules/Core/Renderer/BBoxObject.js +11 -0
  111. package/es-modules/Core/Renderer/CSSObject.d.ts +268 -59
  112. package/es-modules/Core/Renderer/CSSObject.js +10 -0
  113. package/es-modules/Core/Renderer/DOMElementType.d.ts +1 -33
  114. package/es-modules/Core/Renderer/DOMElementType.js +11 -0
  115. package/es-modules/Core/Renderer/DashStyleValue.d.ts +1 -27
  116. package/es-modules/Core/Renderer/DashStyleValue.js +11 -0
  117. package/es-modules/Core/Renderer/FontMetricsObject.d.ts +6 -26
  118. package/es-modules/Core/Renderer/FontMetricsObject.js +11 -0
  119. package/es-modules/Core/Renderer/HTML/AST.d.ts +3 -15
  120. package/es-modules/Core/Renderer/HTML/AST.js +22 -13
  121. package/es-modules/Core/Renderer/HTML/HTMLAttributes.d.ts +1 -25
  122. package/es-modules/Core/Renderer/HTML/HTMLAttributes.js +11 -0
  123. package/es-modules/Core/Renderer/HTML/HTMLElement.d.ts +0 -54
  124. package/es-modules/Core/Renderer/HTML/HTMLElement.js +27 -22
  125. package/es-modules/Core/Renderer/PolygonBoxObject.d.ts +15 -12
  126. package/es-modules/Core/Renderer/PolygonBoxObject.js +11 -0
  127. package/es-modules/Core/Renderer/Position3DObject.d.ts +6 -30
  128. package/es-modules/Core/Renderer/Position3DObject.js +11 -0
  129. package/es-modules/Core/Renderer/PositionObject.d.ts +9 -23
  130. package/es-modules/Core/Renderer/PositionObject.js +11 -0
  131. package/es-modules/Core/Renderer/RectangleObject.d.ts +6 -30
  132. package/es-modules/Core/Renderer/RectangleObject.js +11 -0
  133. package/es-modules/Core/Renderer/RendererRegistry.d.ts +1 -29
  134. package/es-modules/Core/Renderer/RendererRegistry.js +6 -3
  135. package/es-modules/Core/Renderer/RendererType.d.ts +1 -53
  136. package/es-modules/Core/Renderer/RendererType.js +11 -0
  137. package/es-modules/Core/Renderer/RendererUtilities.d.ts +1 -26
  138. package/es-modules/Core/Renderer/RendererUtilities.js +7 -4
  139. package/es-modules/Core/Renderer/SVG/ButtonThemeObject.d.ts +26 -31
  140. package/es-modules/Core/Renderer/SVG/SVGArc3D.d.ts +1 -44
  141. package/es-modules/Core/Renderer/SVG/SVGAttributes.d.ts +15 -51
  142. package/es-modules/Core/Renderer/SVG/SVGAttributes3D.d.ts +1 -42
  143. package/es-modules/Core/Renderer/SVG/SVGCuboid.d.ts +1 -42
  144. package/es-modules/Core/Renderer/SVG/SVGElement.d.ts +459 -0
  145. package/es-modules/Core/Renderer/SVG/SVGElement3D.d.ts +1 -0
  146. package/es-modules/Core/Renderer/SVG/SVGElementBase.d.ts +0 -23
  147. package/es-modules/Core/Renderer/SVG/SVGLabel.d.ts +14 -0
  148. package/es-modules/Core/Renderer/SVG/SVGPath.d.ts +18 -56
  149. package/es-modules/Core/Renderer/SVG/SVGPath3D.d.ts +0 -30
  150. package/es-modules/Core/Renderer/SVG/SVGRenderer.d.ts +652 -0
  151. package/es-modules/Core/Renderer/SVG/SVGRenderer3D.d.ts +1 -0
  152. package/es-modules/Core/Renderer/SVG/SVGRendererBase.d.ts +0 -24
  153. package/es-modules/Core/Renderer/SVG/SymbolOptions.d.ts +3 -26
  154. package/es-modules/Core/Renderer/SVG/SymbolType.d.ts +1 -41
  155. package/es-modules/Core/Renderer/SVG/Symbols.d.ts +146 -0
  156. package/es-modules/Core/Renderer/SVG/TextBuilder.d.ts +1 -0
  157. package/es-modules/Core/Renderer/ShadowOptionsObject.d.ts +21 -30
  158. package/es-modules/Core/Renderer/ShadowOptionsObject.js +11 -0
  159. package/es-modules/Core/Renderer/SizeObject.d.ts +0 -23
  160. package/es-modules/Core/Renderer/SizeObject.js +11 -0
  161. package/es-modules/Core/Responsive.d.ts +91 -28
  162. package/es-modules/Core/Responsive.js +7 -8
  163. package/es-modules/Core/Templating.d.ts +16 -0
  164. package/es-modules/Core/Templating.js +9 -4
  165. package/es-modules/Core/Time.d.ts +10 -1
  166. package/es-modules/Core/Time.js +4 -3
  167. package/es-modules/Core/Tooltip.d.ts +63 -115
  168. package/es-modules/Core/Tooltip.js +61 -27
  169. package/es-modules/Core/TooltipOptions.d.ts +681 -0
  170. package/es-modules/Core/TooltipOptions.js +10 -0
  171. package/es-modules/Core/Utilities.d.ts +75 -106
  172. package/es-modules/Core/Utilities.js +19 -53
  173. package/es-modules/Data/ColumnUtils.js +3 -3
  174. package/es-modules/Data/Connectors/CSVConnector.js +3 -3
  175. package/es-modules/Data/Connectors/CSVConnectorOptions.d.ts +3 -3
  176. package/es-modules/Data/Connectors/DataConnector.d.ts +12 -1
  177. package/es-modules/Data/Connectors/DataConnector.js +34 -4
  178. package/es-modules/Data/Connectors/DataConnectorOptions.d.ts +3 -3
  179. package/es-modules/Data/Connectors/DataConnectorType.d.ts +3 -3
  180. package/es-modules/Data/Connectors/GoogleSheetsConnector.js +3 -3
  181. package/es-modules/Data/Connectors/GoogleSheetsConnectorOptions.d.ts +3 -3
  182. package/es-modules/Data/Connectors/HTMLTableConnector.js +3 -3
  183. package/es-modules/Data/Connectors/HTMLTableConnectorOptions.d.ts +3 -3
  184. package/es-modules/Data/Connectors/JSONConnector.js +3 -3
  185. package/es-modules/Data/Connectors/JSONConnectorOptions.d.ts +3 -3
  186. package/es-modules/Data/Converters/CSVConverter.js +3 -3
  187. package/es-modules/Data/Converters/CSVConverterOptions.d.ts +3 -3
  188. package/es-modules/Data/Converters/DataConverter.js +3 -3
  189. package/es-modules/Data/Converters/DataConverterType.d.ts +3 -3
  190. package/es-modules/Data/Converters/DataConverterUtils.js +3 -3
  191. package/es-modules/Data/Converters/GoogleSheetsConverter.js +3 -3
  192. package/es-modules/Data/Converters/GoogleSheetsConverterOptions.d.ts +3 -3
  193. package/es-modules/Data/Converters/HTMLTableConverter.js +3 -3
  194. package/es-modules/Data/Converters/HTMLTableConverterOptions.d.ts +3 -3
  195. package/es-modules/Data/Converters/JSONConverter.js +3 -3
  196. package/es-modules/Data/Converters/JSONConverterOptions.d.ts +3 -3
  197. package/es-modules/Data/DataCursor.js +3 -3
  198. package/es-modules/Data/DataEvent.js +3 -3
  199. package/es-modules/Data/DataPool.js +3 -3
  200. package/es-modules/Data/DataPoolOptions.d.ts +3 -3
  201. package/es-modules/Data/DataTable.d.ts +6 -6
  202. package/es-modules/Data/DataTable.js +64 -30
  203. package/es-modules/Data/DataTableCore.d.ts +2 -2
  204. package/es-modules/Data/DataTableCore.js +5 -5
  205. package/es-modules/Data/DataTableOptions.js +3 -3
  206. package/es-modules/Data/Formula/Formula.js +3 -3
  207. package/es-modules/Data/Formula/FormulaParser.js +3 -3
  208. package/es-modules/Data/Formula/FormulaProcessor.js +3 -3
  209. package/es-modules/Data/Formula/FormulaTypes.js +3 -3
  210. package/es-modules/Data/Formula/Functions/ABS.js +3 -3
  211. package/es-modules/Data/Formula/Functions/AND.js +3 -3
  212. package/es-modules/Data/Formula/Functions/AVERAGE.js +3 -3
  213. package/es-modules/Data/Formula/Functions/AVERAGEA.js +3 -3
  214. package/es-modules/Data/Formula/Functions/COUNT.js +3 -3
  215. package/es-modules/Data/Formula/Functions/COUNTA.js +3 -3
  216. package/es-modules/Data/Formula/Functions/IF.js +3 -3
  217. package/es-modules/Data/Formula/Functions/ISNA.js +3 -3
  218. package/es-modules/Data/Formula/Functions/MAX.js +3 -3
  219. package/es-modules/Data/Formula/Functions/MEDIAN.js +3 -3
  220. package/es-modules/Data/Formula/Functions/MIN.js +3 -3
  221. package/es-modules/Data/Formula/Functions/MOD.js +3 -3
  222. package/es-modules/Data/Formula/Functions/MODE.js +3 -3
  223. package/es-modules/Data/Formula/Functions/NOT.js +3 -3
  224. package/es-modules/Data/Formula/Functions/OR.js +3 -3
  225. package/es-modules/Data/Formula/Functions/PRODUCT.js +3 -3
  226. package/es-modules/Data/Formula/Functions/SUM.js +3 -3
  227. package/es-modules/Data/Formula/Functions/XOR.js +3 -3
  228. package/es-modules/Data/Modifiers/ChainModifier.js +3 -3
  229. package/es-modules/Data/Modifiers/ChainModifierOptions.js +3 -3
  230. package/es-modules/Data/Modifiers/DataModifier.js +3 -3
  231. package/es-modules/Data/Modifiers/DataModifierEvent.js +3 -3
  232. package/es-modules/Data/Modifiers/DataModifierOptions.js +3 -3
  233. package/es-modules/Data/Modifiers/DataModifierType.d.ts +3 -3
  234. package/es-modules/Data/Modifiers/FilterModifier.js +3 -3
  235. package/es-modules/Data/Modifiers/FilterModifierOptions.js +3 -3
  236. package/es-modules/Data/Modifiers/InvertModifier.js +3 -3
  237. package/es-modules/Data/Modifiers/InvertModifierOptions.js +3 -3
  238. package/es-modules/Data/Modifiers/MathModifier.js +3 -3
  239. package/es-modules/Data/Modifiers/MathModifierOptions.js +3 -3
  240. package/es-modules/Data/Modifiers/RangeModifier.js +3 -3
  241. package/es-modules/Data/Modifiers/RangeModifierOptions.js +3 -3
  242. package/es-modules/Data/Modifiers/SortModifier.js +32 -6
  243. package/es-modules/Data/Modifiers/SortModifierOptions.d.ts +41 -4
  244. package/es-modules/Data/Modifiers/SortModifierOptions.js +3 -3
  245. package/es-modules/Grid/Core/Accessibility/A11yOptions.d.ts +77 -0
  246. package/es-modules/Grid/Core/Accessibility/A11yOptions.js +4 -3
  247. package/es-modules/Grid/Core/Accessibility/Accessibility.d.ts +67 -0
  248. package/es-modules/Grid/Core/Accessibility/Accessibility.js +176 -3
  249. package/es-modules/Grid/Core/Credits.js +3 -3
  250. package/es-modules/Grid/Core/Defaults.js +17 -5
  251. package/es-modules/Grid/Core/Globals.d.ts +4 -4
  252. package/es-modules/Grid/Core/Globals.js +5 -5
  253. package/es-modules/Grid/Core/Grid.d.ts +12 -1
  254. package/es-modules/Grid/Core/Grid.js +110 -8
  255. package/es-modules/Grid/Core/GridUtils.js +3 -3
  256. package/es-modules/Grid/Core/Options.d.ts +17 -1
  257. package/es-modules/Grid/Core/Options.js +3 -3
  258. package/es-modules/Grid/Core/Pagination/Pagination.js +3 -3
  259. package/es-modules/Grid/Core/Pagination/PaginationOptions.d.ts +0 -40
  260. package/es-modules/Grid/Core/Pagination/PaginationOptions.js +11 -0
  261. package/es-modules/Grid/Core/Querying/FilteringController.js +3 -3
  262. package/es-modules/Grid/Core/Querying/PaginationController.js +3 -3
  263. package/es-modules/Grid/Core/Querying/QueryingController.js +3 -3
  264. package/es-modules/Grid/Core/Querying/SortingController.d.ts +15 -0
  265. package/es-modules/Grid/Core/Querying/SortingController.js +89 -51
  266. package/es-modules/Grid/Core/Table/Actions/ColumnFiltering/ColumnFiltering.js +3 -3
  267. package/es-modules/Grid/Core/Table/Actions/ColumnFiltering/FilterCell.d.ts +2 -2
  268. package/es-modules/Grid/Core/Table/Actions/ColumnFiltering/FilterCell.js +3 -3
  269. package/es-modules/Grid/Core/Table/Actions/ColumnFiltering/FilterRow.js +3 -3
  270. package/es-modules/Grid/Core/Table/Actions/ColumnFiltering/FilteringTypes.js +3 -3
  271. package/es-modules/Grid/Core/Table/Actions/ColumnSorting.d.ts +12 -2
  272. package/es-modules/Grid/Core/Table/Actions/ColumnSorting.js +85 -18
  273. package/es-modules/Grid/Core/Table/Actions/ColumnsResizer.js +3 -3
  274. package/es-modules/Grid/Core/Table/Actions/RowsVirtualizer.d.ts +37 -0
  275. package/es-modules/Grid/Core/Table/Actions/RowsVirtualizer.js +137 -26
  276. package/es-modules/Grid/Core/Table/Body/TableCell.d.ts +9 -2
  277. package/es-modules/Grid/Core/Table/Body/TableCell.js +15 -8
  278. package/es-modules/Grid/Core/Table/Body/TableRow.d.ts +18 -0
  279. package/es-modules/Grid/Core/Table/Body/TableRow.js +56 -10
  280. package/es-modules/Grid/Core/Table/Cell.d.ts +0 -7
  281. package/es-modules/Grid/Core/Table/Cell.js +5 -3
  282. package/es-modules/Grid/Core/Table/CellContent/CellContent.js +3 -3
  283. package/es-modules/Grid/Core/Table/CellContent/TextContent.js +4 -4
  284. package/es-modules/Grid/Core/Table/Column.d.ts +1 -1
  285. package/es-modules/Grid/Core/Table/Column.js +3 -3
  286. package/es-modules/Grid/Core/Table/ColumnResizing/AdjacentResizingMode.js +3 -3
  287. package/es-modules/Grid/Core/Table/ColumnResizing/ColumnResizing.js +3 -3
  288. package/es-modules/Grid/Core/Table/ColumnResizing/DistributedResizingMode.js +3 -3
  289. package/es-modules/Grid/Core/Table/ColumnResizing/IndependentResizingMode.js +3 -3
  290. package/es-modules/Grid/Core/Table/ColumnResizing/ResizingMode.js +3 -3
  291. package/es-modules/Grid/Core/Table/Header/ColumnToolbar/ColumnToolbar.js +14 -5
  292. package/es-modules/Grid/Core/Table/Header/ColumnToolbar/FilterPopup.js +3 -3
  293. package/es-modules/Grid/Core/Table/Header/ColumnToolbar/MenuButtons/FilterMenuButton.js +3 -3
  294. package/es-modules/Grid/Core/Table/Header/ColumnToolbar/MenuButtons/SortMenuButton.d.ts +9 -0
  295. package/es-modules/Grid/Core/Table/Header/ColumnToolbar/MenuButtons/SortMenuButton.js +35 -6
  296. package/es-modules/Grid/Core/Table/Header/ColumnToolbar/MenuPopup.js +5 -4
  297. package/es-modules/Grid/Core/Table/Header/ColumnToolbar/StateHelpers.js +11 -7
  298. package/es-modules/Grid/Core/Table/Header/ColumnToolbar/ToolbarButtons/FilterToolbarButton.js +3 -3
  299. package/es-modules/Grid/Core/Table/Header/ColumnToolbar/ToolbarButtons/MenuToolbarButton.js +3 -3
  300. package/es-modules/Grid/Core/Table/Header/ColumnToolbar/ToolbarButtons/SortToolbarButton.d.ts +5 -1
  301. package/es-modules/Grid/Core/Table/Header/ColumnToolbar/ToolbarButtons/SortToolbarButton.js +92 -9
  302. package/es-modules/Grid/Core/Table/Header/HeaderCell.d.ts +2 -2
  303. package/es-modules/Grid/Core/Table/Header/HeaderCell.js +8 -7
  304. package/es-modules/Grid/Core/Table/Header/HeaderRow.js +3 -3
  305. package/es-modules/Grid/Core/Table/Header/TableHeader.js +3 -3
  306. package/es-modules/Grid/Core/Table/Row.js +3 -3
  307. package/es-modules/Grid/Core/Table/Table.d.ts +30 -0
  308. package/es-modules/Grid/Core/Table/Table.js +118 -7
  309. package/es-modules/Grid/Core/UI/Button.js +3 -3
  310. package/es-modules/Grid/Core/UI/ContextMenu.js +3 -3
  311. package/es-modules/Grid/Core/UI/ContextMenuButton.js +3 -3
  312. package/es-modules/Grid/Core/UI/Popup.js +3 -3
  313. package/es-modules/Grid/Core/UI/SvgIcons.js +3 -3
  314. package/es-modules/Grid/Core/UI/Toolbar.js +3 -3
  315. package/es-modules/Grid/Core/UI/ToolbarButton.js +3 -3
  316. package/es-modules/Grid/Pro/CellEditing/CellEditMode.d.ts +3 -44
  317. package/es-modules/Grid/Pro/CellEditing/CellEditMode.js +16 -0
  318. package/es-modules/Grid/Pro/CellEditing/CellEditing.js +3 -3
  319. package/es-modules/Grid/Pro/CellEditing/CellEditingComposition.js +3 -3
  320. package/es-modules/Grid/Pro/CellRendering/CellContentPro.js +3 -3
  321. package/es-modules/Grid/Pro/CellRendering/CellRenderer.js +3 -3
  322. package/es-modules/Grid/Pro/CellRendering/CellRendererRegistry.js +3 -3
  323. package/es-modules/Grid/Pro/CellRendering/CellRendererType.d.ts +1 -34
  324. package/es-modules/Grid/Pro/CellRendering/CellRendererType.js +15 -0
  325. package/es-modules/Grid/Pro/CellRendering/CellRenderersComposition.js +3 -3
  326. package/es-modules/Grid/Pro/CellRendering/ContentTypes/CheckboxContent.js +3 -3
  327. package/es-modules/Grid/Pro/CellRendering/ContentTypes/DateInputContent.js +3 -3
  328. package/es-modules/Grid/Pro/CellRendering/ContentTypes/DateInputContentBase.js +3 -3
  329. package/es-modules/Grid/Pro/CellRendering/ContentTypes/DateTimeInputContent.js +3 -3
  330. package/es-modules/Grid/Pro/CellRendering/ContentTypes/NumberInputContent.js +3 -3
  331. package/es-modules/Grid/Pro/CellRendering/ContentTypes/SelectContent.js +3 -3
  332. package/es-modules/Grid/Pro/CellRendering/ContentTypes/SparklineContent.d.ts +7 -5
  333. package/es-modules/Grid/Pro/CellRendering/ContentTypes/SparklineContent.js +3 -3
  334. package/es-modules/Grid/Pro/CellRendering/ContentTypes/TextInputContent.js +3 -3
  335. package/es-modules/Grid/Pro/CellRendering/ContentTypes/TimeInputContent.js +3 -3
  336. package/es-modules/Grid/Pro/CellRendering/Renderers/CheckboxRenderer.js +3 -3
  337. package/es-modules/Grid/Pro/CellRendering/Renderers/DateInputRenderer.js +3 -3
  338. package/es-modules/Grid/Pro/CellRendering/Renderers/DateInputRendererBase.js +3 -3
  339. package/es-modules/Grid/Pro/CellRendering/Renderers/DateTimeInputRenderer.js +3 -3
  340. package/es-modules/Grid/Pro/CellRendering/Renderers/NumberInputRenderer.js +3 -3
  341. package/es-modules/Grid/Pro/CellRendering/Renderers/SelectRenderer.js +3 -3
  342. package/es-modules/Grid/Pro/CellRendering/Renderers/SparklineRenderer.d.ts +3 -3
  343. package/es-modules/Grid/Pro/CellRendering/Renderers/SparklineRenderer.js +3 -3
  344. package/es-modules/Grid/Pro/CellRendering/Renderers/TextInputRenderer.js +3 -3
  345. package/es-modules/Grid/Pro/CellRendering/Renderers/TextRenderer.js +3 -3
  346. package/es-modules/Grid/Pro/CellRendering/Renderers/TimeInputRenderer.js +3 -3
  347. package/es-modules/Grid/Pro/ColumnTypes/Validator.d.ts +10 -1
  348. package/es-modules/Grid/Pro/ColumnTypes/Validator.js +50 -8
  349. package/es-modules/Grid/Pro/ColumnTypes/ValidatorComposition.js +3 -3
  350. package/es-modules/Grid/Pro/Credits/CreditsPro.js +3 -3
  351. package/es-modules/Grid/Pro/Credits/CreditsProComposition.js +3 -3
  352. package/es-modules/Grid/Pro/Export/Exporting.js +4 -5
  353. package/es-modules/Grid/Pro/Export/ExportingComposition.js +3 -3
  354. package/es-modules/Grid/Pro/GridEvents.d.ts +1 -0
  355. package/es-modules/Grid/Pro/GridEvents.js +3 -3
  356. package/es-modules/Grid/Pro/Pagination/PaginationComposition.js +3 -3
  357. package/es-modules/Grid/index.js +3 -3
  358. package/es-modules/Shared/BaseForm.js +3 -3
  359. package/es-modules/Shared/DownloadURL.d.ts +1 -85
  360. package/es-modules/Shared/DownloadURL.js +14 -11
  361. package/es-modules/Shared/LangOptionsCore.d.ts +4 -3
  362. package/es-modules/Shared/TimeBase.d.ts +1 -46
  363. package/es-modules/Shared/TimeBase.js +8 -7
  364. package/es-modules/Shared/Types.d.ts +4 -3
  365. package/es-modules/masters/grid-pro.src.d.ts +8 -13
  366. package/es-modules/masters/grid-pro.src.js +15 -7
  367. package/grid-pro.d.ts +8 -13
  368. package/grid-pro.js +6 -5
  369. package/grid-pro.js.map +1 -1
  370. package/grid-pro.src.d.ts +8 -13
  371. package/grid-pro.src.js +1923 -721
  372. package/package.json +1 -1
  373. package/es-modules/Grid/Pro/highcharts.d.ts +0 -7
@@ -0,0 +1,1217 @@
1
+ import type { AlignObject } from '../Renderer/AlignObject';
2
+ import type { ButtonRelativeToValue } from '../../Maps/MapNavigationOptions';
3
+ import type AnimationOptions from '../../Core/Animation/AnimationOptions';
4
+ import type Axis from '../Axis/Axis';
5
+ import type Chart from './Chart';
6
+ import type ColorType from '../../Core/Color/ColorType';
7
+ import type CSSObject from '../Renderer/CSSObject';
8
+ import type { GeoJSON, TopoJSON } from '../../Maps/GeoJSON';
9
+ import type { HTMLDOMElement } from '../Renderer/DOMElementType';
10
+ import type { NumberFormatterCallbackFunction } from '../Options';
11
+ import type { SeriesTypeOptions } from '../Series/SeriesType';
12
+ import type ShadowOptionsObject from '../Renderer/ShadowOptionsObject';
13
+ import type SVGAttributes from '../Renderer/SVG/SVGAttributes';
14
+ declare module '../Options' {
15
+ interface Options {
16
+ /**
17
+ * General options for the chart.
18
+ */
19
+ chart: ChartOptions;
20
+ }
21
+ }
22
+ export interface ChartAddSeriesCallbackFunction {
23
+ (this: Chart, event: ChartAddSeriesEventObject): void;
24
+ }
25
+ export interface ChartAddSeriesEventObject {
26
+ options: SeriesTypeOptions;
27
+ preventDefault: Function;
28
+ target: Chart;
29
+ type: 'addSeries';
30
+ }
31
+ export interface ChartClickCallbackFunction {
32
+ (this: Chart, event: PointerEvent): void;
33
+ }
34
+ export interface ChartClickEventAxisObject {
35
+ axis: Axis;
36
+ value: number;
37
+ }
38
+ export interface ChartClickEventObject {
39
+ xAxis: Array<ChartClickEventAxisObject>;
40
+ yAxis: Array<ChartClickEventAxisObject>;
41
+ zAxis?: Array<ChartClickEventAxisObject>;
42
+ }
43
+ /**
44
+ * Event listeners for the chart.
45
+ */
46
+ export interface ChartEventsOptions {
47
+ /**
48
+ * Fires when a series is added to the chart after load time, using the
49
+ * `addSeries` method. One parameter, `event`, is passed to the
50
+ * function, containing common event information. Through
51
+ * `event.options` you can access the series options that were passed to
52
+ * the `addSeries` method. Returning false prevents the series from
53
+ * being added.
54
+ *
55
+ * @sample {highcharts} highcharts/chart/events-addseries/
56
+ * Alert on add series
57
+ * @sample {highstock} stock/chart/events-addseries/
58
+ * Alert on add series
59
+ *
60
+ * @since 1.2.0
61
+ */
62
+ addSeries?: ChartAddSeriesCallbackFunction;
63
+ /**
64
+ * Fires when clicking on the plot background. One parameter, `event`,
65
+ * is passed to the function, containing common event information.
66
+ *
67
+ * Information on the clicked spot can be found through `event.xAxis`
68
+ * and `event.yAxis`, which are arrays containing the axes of each
69
+ * dimension and each axis' value at the clicked spot. The primary axes
70
+ * are `event.xAxis[0]` and `event.yAxis[0]`. Remember the unit of a
71
+ * datetime axis is milliseconds since 1970-01-01 00:00:00.
72
+ *
73
+ * ```js
74
+ * click: function(e) {
75
+ * console.log(
76
+ * Highcharts.dateFormat('%Y-%m-%d %H:%M:%S', e.xAxis[0].value),
77
+ * e.yAxis[0].value
78
+ * )
79
+ * }
80
+ * ```
81
+ *
82
+ * @sample {highcharts} highcharts/chart/events-click/
83
+ * Alert coordinates on click
84
+ * @sample {highcharts} highcharts/chart/events-container/
85
+ * Alternatively, attach event to container
86
+ * @sample {highstock} stock/chart/events-click/
87
+ * Alert coordinates on click
88
+ * @sample {highstock} highcharts/chart/events-container/
89
+ * Alternatively, attach event to container
90
+ * @sample {highmaps} maps/chart/events-click/
91
+ * Record coordinates on click
92
+ * @sample {highmaps} highcharts/chart/events-container/
93
+ * Alternatively, attach event to container
94
+ *
95
+ * @since 1.2.0
96
+ */
97
+ click?: ChartClickCallbackFunction;
98
+ /**
99
+ * Fires when the chart is finished loading. Since v4.2.2, it also waits
100
+ * for images to be loaded, for example from point markers. One
101
+ * parameter, `event`, is passed to the function, containing common
102
+ * event information.
103
+ *
104
+ * There is also a second parameter to the chart constructor where a
105
+ * callback function can be passed to be executed on chart.load.
106
+ *
107
+ * @sample {highcharts} highcharts/chart/events-load/
108
+ * Alert on chart load
109
+ * @sample {highcharts} highcharts/chart/events-render/
110
+ * Load vs Redraw vs Render
111
+ * @sample {highstock} stock/chart/events-load/
112
+ * Alert on chart load
113
+ * @sample {highmaps} maps/chart/events-load/
114
+ * Add series on chart load
115
+ */
116
+ load?: ChartLoadCallbackFunction;
117
+ /**
118
+ * Fires when the chart is redrawn, either after a call to
119
+ * `chart.redraw()` or after an axis, series or point is modified with
120
+ * the `redraw` option set to `true`. One parameter, `event`, is passed
121
+ * to the function, containing common event information.
122
+ *
123
+ * @sample {highcharts} highcharts/chart/events-redraw/
124
+ * Alert on chart redraw
125
+ * @sample {highcharts} highcharts/chart/events-render/
126
+ * Load vs Redraw vs Render
127
+ * @sample {highstock} stock/chart/events-redraw/
128
+ * Alert on chart redraw when adding a series or moving the
129
+ * zoomed range
130
+ * @sample {highmaps} maps/chart/events-redraw/
131
+ * Set subtitle on chart redraw
132
+ *
133
+ * @since 1.2.0
134
+ */
135
+ redraw?: ChartRedrawCallbackFunction;
136
+ /**
137
+ * Fires after initial load of the chart (directly after the `load`
138
+ * event), and after each redraw (directly after the `redraw` event).
139
+ *
140
+ * @sample {highcharts} highcharts/chart/events-render/
141
+ * Load vs Redraw vs Render
142
+ *
143
+ * @since 5.0.7
144
+ */
145
+ render?: ChartRenderCallbackFunction;
146
+ /**
147
+ * Fires when an area of the chart has been selected. Selection is
148
+ * enabled by setting the chart's zoomType. One parameter, `event`, is
149
+ * passed to the function, containing common event information. The
150
+ * default action for the selection event is to zoom the chart to the
151
+ * selected area. It can be prevented by calling
152
+ * `event.preventDefault()` or return false.
153
+ *
154
+ * Information on the selected area can be found through `event.xAxis`
155
+ * and `event.yAxis`, which are arrays containing the axes of each
156
+ * dimension and each axis' min and max values. The primary axes are
157
+ * `event.xAxis[0]` and `event.yAxis[0]`. Remember the unit of a
158
+ * datetime axis is milliseconds since 1970-01-01 00:00:00.
159
+ *
160
+ * ```js
161
+ * selection: function(event) {
162
+ * // log the min and max of the primary, datetime x-axis
163
+ * console.log(
164
+ * Highcharts.dateFormat(
165
+ * '%Y-%m-%d %H:%M:%S',
166
+ * event.xAxis[0].min
167
+ * ),
168
+ * Highcharts.dateFormat(
169
+ * '%Y-%m-%d %H:%M:%S',
170
+ * event.xAxis[0].max
171
+ * )
172
+ * );
173
+ * // log the min and max of the y axis
174
+ * console.log(event.yAxis[0].min, event.yAxis[0].max);
175
+ * }
176
+ * ```
177
+ *
178
+ * @sample {highcharts} highcharts/chart/events-selection/
179
+ * Report on selection and reset
180
+ * @sample {highcharts} highcharts/chart/events-selection-points/
181
+ * Select a range of points through a drag selection
182
+ * @sample {highstock} stock/chart/events-selection/
183
+ * Report on selection and reset
184
+ * @sample {highstock} highcharts/chart/events-selection-points/
185
+ * Select a range of points through a drag selection
186
+ * (Highcharts)
187
+ */
188
+ selection?: ChartSelectionCallbackFunction;
189
+ }
190
+ export interface ChartLoadCallbackFunction {
191
+ (this: Chart, event: Event): void;
192
+ }
193
+ /**
194
+ * General options for the chart.
195
+ */
196
+ export interface ChartOptions {
197
+ /**
198
+ * When using multiple axes, align the thresholds. When this is true, other
199
+ * ticks will also be aligned.
200
+ *
201
+ * Note that for line series and some other series types, the `threshold`
202
+ * option is set to `null` by default. This will in turn cause their y-axis
203
+ * to not have a threshold. In order to avoid that, set the series
204
+ * `threshold` to 0 or another number.
205
+ *
206
+ * If `startOnTick` or `endOnTick` in the axis options are set to false, or
207
+ * if the axis is logarithmic, the threshold will not be aligned.
208
+ *
209
+ * @sample {highcharts} highcharts/chart/alignthresholds/ Set to true
210
+ *
211
+ * @since 10.0.0
212
+ * @product highcharts highstock gantt
213
+ */
214
+ alignThresholds?: boolean;
215
+ /**
216
+ * When using multiple axes, the ticks of two or more opposite axes
217
+ * will automatically be aligned by adding ticks to the axis or axes
218
+ * with the least ticks, as if `tickAmount` were specified.
219
+ *
220
+ * This can be prevented by setting `alignTicks` to false. If the grid
221
+ * lines look messy, it's a good idea to hide them for the secondary
222
+ * axis by setting `gridLineWidth` to 0.
223
+ *
224
+ * If `startOnTick` or `endOnTick` in the axis options are set to false,
225
+ * then the `alignTicks ` will be disabled for the axis.
226
+ *
227
+ * Disabled for logarithmic axes.
228
+ *
229
+ * @sample {highcharts} highcharts/chart/alignticks-true/
230
+ * True by default
231
+ * @sample {highcharts} highcharts/chart/alignticks-false/
232
+ * False
233
+ * @sample {highstock} stock/chart/alignticks-true/
234
+ * True by default
235
+ * @sample {highstock} stock/chart/alignticks-false/
236
+ * False
237
+ *
238
+ * @default true
239
+ * @product highcharts highstock gantt
240
+ */
241
+ alignTicks?: boolean;
242
+ /**
243
+ * Set the overall animation for all chart updating. Animation can be
244
+ * disabled throughout the chart by setting it to false here. It can
245
+ * be overridden for each individual API method as a function parameter.
246
+ * The only animation not affected by this option is the initial series
247
+ * animation, see [plotOptions.series.animation](
248
+ * #plotOptions.series.animation).
249
+ *
250
+ * The animation can either be set as a boolean or a configuration
251
+ * object. If `true`, it will use the 'swing' jQuery easing and a
252
+ * duration of 500 ms. If used as a configuration object, the following
253
+ * properties are supported:
254
+ *
255
+ * - `defer`: The animation delay time in milliseconds.
256
+ *
257
+ * - `duration`: The duration of the animation in milliseconds.
258
+ *
259
+ * - `easing`: A string reference to an easing function set on the
260
+ * `Math` object. See
261
+ * [the easing demo](https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/plotoptions/series-animation-easing/).
262
+ *
263
+ * When zooming on a series with less than 100 points, the chart redraw
264
+ * will be done with animation, but in case of more data points, it is
265
+ * necessary to set this option to ensure animation on zoom.
266
+ *
267
+ * @sample {highcharts} highcharts/chart/animation-none/
268
+ * Updating with no animation
269
+ * @sample {highcharts} highcharts/chart/animation-duration/
270
+ * With a longer duration
271
+ * @sample {highcharts} highcharts/chart/animation-easing/
272
+ * With a jQuery UI easing
273
+ * @sample {highmaps} maps/chart/animation-none/
274
+ * Updating with no animation
275
+ * @sample {highmaps} maps/chart/animation-duration/
276
+ * With a longer duration
277
+ *
278
+ * @default true
279
+ */
280
+ animation?: (boolean | Partial<AnimationOptions>);
281
+ /**
282
+ * When a chart with an x and a y-axis is rendered, we first pre-render the
283
+ * labels of both in order to measure them. Then, if either of the axis
284
+ * labels take up so much space that it significantly affects the length of
285
+ * the other axis, we repeat the process.
286
+ *
287
+ * By default we stop at two axis layout runs, but it may be that the second
288
+ * run also alter the space required by either axis, for example if it
289
+ * causes the labels to rotate. In this situation, a subsequent redraw of
290
+ * the chart may cause the tick and label placement to change for apparently
291
+ * no reason.
292
+ *
293
+ * Use the `axisLayoutRuns` option to set the maximum allowed number of
294
+ * repetitions. But keep in mind that the default value of 2 is set because
295
+ * every run costs performance time.
296
+ *
297
+ * **Note:** Changing that option to higher than the default might decrease
298
+ * performance significantly, especially with bigger sets of data.
299
+ *
300
+ * @default 2
301
+ * @since 11.3.0
302
+ */
303
+ axisLayoutRuns?: number;
304
+ /**
305
+ * The background color of the outer chart area.
306
+ *
307
+ * @see In styled mode, the background is set with the
308
+ * `.highcharts-background` class.
309
+ *
310
+ * @sample {highcharts} highcharts/chart/backgroundcolor-color/
311
+ * Color
312
+ * @sample {highcharts} highcharts/chart/backgroundcolor-gradient/
313
+ * Gradient
314
+ * @sample {highstock} stock/chart/backgroundcolor-color/
315
+ * Color
316
+ * @sample {highstock} stock/chart/backgroundcolor-gradient/
317
+ * Gradient
318
+ * @sample {highmaps} maps/chart/backgroundcolor-color/
319
+ * Color
320
+ * @sample {highmaps} maps/chart/backgroundcolor-gradient/
321
+ * Gradient
322
+ */
323
+ backgroundColor?: ColorType;
324
+ /**
325
+ * The color of the outer chart border.
326
+ *
327
+ * @see In styled mode, the stroke is set with the
328
+ * `.highcharts-background` class.
329
+ *
330
+ * @sample {highcharts} highcharts/chart/bordercolor/
331
+ * Brown border
332
+ * @sample {highstock} stock/chart/border/
333
+ * Brown border
334
+ * @sample {highmaps} maps/chart/border/
335
+ * Border options
336
+ */
337
+ borderColor?: ColorType;
338
+ /**
339
+ * The corner radius of the outer chart border.
340
+ *
341
+ * @sample {highcharts} highcharts/chart/borderradius/
342
+ * 20px radius
343
+ * @sample {highstock} stock/chart/border/
344
+ * 10px radius
345
+ * @sample {highmaps} maps/chart/border/
346
+ * Border options
347
+ */
348
+ borderRadius?: number;
349
+ /**
350
+ * The pixel width of the outer chart border.
351
+ *
352
+ * @see In styled mode, the stroke is set with the
353
+ * `.highcharts-background` class.
354
+ *
355
+ * @sample {highcharts} highcharts/chart/borderwidth/
356
+ * 5px border
357
+ * @sample {highstock} stock/chart/border/
358
+ * 2px border
359
+ * @sample {highmaps} maps/chart/border/
360
+ * Border options
361
+ *
362
+ * @default 0
363
+ */
364
+ borderWidth?: number;
365
+ /**
366
+ * A CSS class name to apply to the charts container `div`, allowing
367
+ * unique CSS styling for each chart.
368
+ */
369
+ className?: string;
370
+ /**
371
+ * In styled mode, this sets how many colors the class names
372
+ * should rotate between. With ten colors, series (or points) are
373
+ * given class names like `highcharts-color-0`, `highcharts-color-1`
374
+ * [...] `highcharts-color-9`. The equivalent in non-styled mode
375
+ * is to set colors using the [colors](#colors) setting.
376
+ *
377
+ * @since 5.0.0
378
+ */
379
+ colorCount?: number;
380
+ /**
381
+ * The default series type for the chart. Can be any of the chart types
382
+ * listed under [plotOptions](#plotOptions) and [series](#series) or can
383
+ * be a series provided by an additional module.
384
+ *
385
+ * In TypeScript this option has no effect in sense of typing and
386
+ * instead the `type` option must always be set in the series.
387
+ *
388
+ * @sample {highcharts} highcharts/chart/type-bar/
389
+ * Bar
390
+ * @sample {highstock} stock/chart/type/
391
+ * Areaspline
392
+ * @sample {highmaps} maps/chart/type-mapline/
393
+ * Mapline
394
+ *
395
+ * @default {highcharts} line
396
+ * @default {highstock} line
397
+ * @default {highmaps} map
398
+ * @since 2.1.0
399
+ */
400
+ defaultSeriesType?: string;
401
+ /**
402
+ * By default, (because of memory and performance reasons) the chart does
403
+ * not copy the data but keeps it as a reference. In some cases, this might
404
+ * result in mutating the original data source. In order to prevent that,
405
+ * set that property to false. Please note that changing that might decrease
406
+ * performance, especially with bigger sets of data.
407
+ *
408
+ * @since 10.1.0
409
+ */
410
+ allowMutatingData?: boolean;
411
+ /**
412
+ * Event listeners for the chart.
413
+ */
414
+ events?: ChartEventsOptions;
415
+ /**
416
+ * An explicit width for the chart. By default (when `null`) the width
417
+ * is calculated from the offset width of the containing element.
418
+ *
419
+ * @sample {highcharts} highcharts/chart/width/
420
+ * 800px wide
421
+ * @sample {highstock} stock/chart/width/
422
+ * 800px wide
423
+ * @sample {highmaps} maps/chart/size/
424
+ * Chart with explicit size
425
+ */
426
+ height?: (null | number | string);
427
+ /**
428
+ * If true, the axes will scale to the remaining visible series once
429
+ * one series is hidden. If false, hiding and showing a series will
430
+ * not affect the axes or the other series. For stacks, once one series
431
+ * within the stack is hidden, the rest of the stack will close in
432
+ * around it even if the axis is not affected.
433
+ *
434
+ * @sample {highcharts} highcharts/chart/ignorehiddenseries-true/
435
+ * True by default
436
+ * @sample {highcharts} highcharts/chart/ignorehiddenseries-false/
437
+ * False
438
+ * @sample {highcharts} highcharts/chart/ignorehiddenseries-true-stacked/
439
+ * True with stack
440
+ * @sample {highstock} stock/chart/ignorehiddenseries-true/
441
+ * True by default
442
+ * @sample {highstock} stock/chart/ignorehiddenseries-false/
443
+ * False
444
+ *
445
+ * @since 1.2.0
446
+ * @product highcharts highstock gantt
447
+ */
448
+ ignoreHiddenSeries?: boolean;
449
+ /**
450
+ * Whether to invert the axes so that the x axis is vertical and y axis
451
+ * is horizontal. When `true`, the x axis is [reversed](#xAxis.reversed)
452
+ * by default.
453
+ *
454
+ * @productdesc {highcharts}
455
+ * If a bar series is present in the chart, it will be inverted
456
+ * automatically. Inverting the chart doesn't have an effect if there
457
+ * are no cartesian series in the chart.
458
+ *
459
+ * @sample {highcharts} highcharts/chart/inverted/
460
+ * Inverted line
461
+ * @sample {highstock} stock/navigator/inverted/
462
+ * Inverted stock chart
463
+ *
464
+ * @default false
465
+ * @product highcharts highstock gantt
466
+ */
467
+ inverted?: boolean;
468
+ /**
469
+ * Default `mapData` for all series, in terms of a GeoJSON or TopoJSON
470
+ * object. If set to a string, it functions as an index into the
471
+ * `Highcharts.maps` array.
472
+ *
473
+ * For picking out individual shapes and geometries to use for each series
474
+ * of the map, see [series.mapData](#series.map.mapData).
475
+ *
476
+ * @sample maps/demo/geojson
477
+ * Loading GeoJSON data
478
+ * @sample maps/chart/topojson
479
+ * Loading TopoJSON data
480
+ *
481
+ * @since 5.0.0
482
+ * @product highmaps
483
+ */
484
+ map?: string | GeoJSON | TopoJSON;
485
+ /**
486
+ * Set lat/lon transformation definitions for the chart. If not defined,
487
+ * these are extracted from the map data.
488
+ *
489
+ * @since 5.0.0
490
+ * @product highmaps
491
+ */
492
+ mapTransforms?: any;
493
+ /**
494
+ * The margin between the outer edge of the chart and the plot area.
495
+ * The numbers in the array designate top, right, bottom and left
496
+ * respectively. Use the options `marginTop`, `marginRight`,
497
+ * `marginBottom` and `marginLeft` for shorthand setting of one option.
498
+ *
499
+ * By default there is no margin. The actual space is dynamically
500
+ * calculated from the offset of axis labels, axis title, title,
501
+ * subtitle and legend in addition to the `spacingTop`, `spacingRight`,
502
+ * `spacingBottom` and `spacingLeft` options.
503
+ *
504
+ * @sample {highcharts} highcharts/chart/margins-zero/
505
+ * Zero margins
506
+ * @sample {highstock} stock/chart/margin-zero/
507
+ * Zero margins
508
+ */
509
+ margin?: (number | Array<number>);
510
+ /**
511
+ * The margin between the bottom outer edge of the chart and the plot
512
+ * area. Use this to set a fixed pixel value for the margin as opposed
513
+ * to the default dynamic margin. See also `spacingBottom`.
514
+ *
515
+ * @sample {highcharts} highcharts/chart/marginbottom/
516
+ * 100px bottom margin
517
+ * @sample {highstock} stock/chart/marginbottom/
518
+ * 100px bottom margin
519
+ * @sample {highmaps} maps/chart/margin/
520
+ * 100px margins
521
+ *
522
+ * @since 2.0
523
+ */
524
+ marginBottom?: number;
525
+ /**
526
+ * The margin between the left outer edge of the chart and the plot
527
+ * area. Use this to set a fixed pixel value for the margin as opposed
528
+ * to the default dynamic margin. See also `spacingLeft`.
529
+ *
530
+ * @sample {highcharts} highcharts/chart/marginleft/
531
+ * 150px left margin
532
+ * @sample {highstock} stock/chart/marginleft/
533
+ * 150px left margin
534
+ * @sample {highmaps} maps/chart/margin/
535
+ * 100px margins
536
+ *
537
+ * @since 2.0
538
+ */
539
+ marginLeft?: number;
540
+ /**
541
+ * The margin between the right outer edge of the chart and the plot
542
+ * area. Use this to set a fixed pixel value for the margin as opposed
543
+ * to the default dynamic margin. See also `spacingRight`.
544
+ *
545
+ * @sample {highcharts} highcharts/chart/marginright/
546
+ * 100px right margin
547
+ * @sample {highstock} stock/chart/marginright/
548
+ * 100px right margin
549
+ * @sample {highmaps} maps/chart/margin/
550
+ * 100px margins
551
+ *
552
+ * @since 22.0
553
+ */
554
+ marginRight?: number;
555
+ /**
556
+ * The margin between the top outer edge of the chart and the plot area.
557
+ * Use this to set a fixed pixel value for the margin as opposed to
558
+ * the default dynamic margin. See also `spacingTop`.
559
+ *
560
+ * @sample {highcharts} highcharts/chart/margintop/
561
+ * 100px top margin
562
+ * @sample {highstock} stock/chart/margintop/
563
+ * 100px top margin
564
+ * @sample {highmaps} maps/chart/margin/
565
+ * 100px margins
566
+ *
567
+ * @since 2.0
568
+ */
569
+ marginTop?: number;
570
+ /**
571
+ * Callback function to override the default function that formats all
572
+ * the numbers in the chart. Returns a string with the formatted number.
573
+ *
574
+ * @sample highcharts/members/highcharts-numberformat
575
+ * Arabic digits in Highcharts
576
+ *
577
+ * @since 8.0.0
578
+ */
579
+ numberFormatter?: NumberFormatterCallbackFunction;
580
+ /**
581
+ * Allows setting a key to switch between zooming and panning. Can be
582
+ * one of `alt`, `ctrl`, `meta` (the command key on Mac and Windows
583
+ * key on Windows) or `shift`. The keys are mapped directly to the key
584
+ * properties of the click event argument (`event.altKey`,
585
+ * `event.ctrlKey`, `event.metaKey` and `event.shiftKey`).
586
+ *
587
+ * @since 4.0.3
588
+ * @product highcharts gantt
589
+ * @validvalue ["alt", "ctrl", "meta", "shift"]
590
+ */
591
+ panKey?: 'ctrl' | 'shift';
592
+ /**
593
+ * Allow panning in a chart. Best used with [panKey](#chart.panKey)
594
+ * to combine zooming and panning.
595
+ *
596
+ * On touch devices, when the [tooltip.followTouchMove](
597
+ * #tooltip.followTouchMove) option is `true` (default), panning
598
+ * requires two fingers. To allow panning with one finger, set
599
+ * `followTouchMove` to `false`.
600
+ *
601
+ * @sample {highcharts} highcharts/chart/pankey/
602
+ * Zooming and panning
603
+ * @sample {highstock} stock/chart/panning/
604
+ * Zooming and xy panning
605
+ */
606
+ panning?: ChartPanningOptions;
607
+ /**
608
+ * Equivalent to [zoomType](#chart.zoomType), but for multitouch
609
+ * gestures only. By default, the `pinchType` is the same as the
610
+ * `zoomType` setting. However, pinching can be enabled separately in
611
+ * some cases, for example in stock charts where a mouse drag pans the
612
+ * chart, while pinching is enabled. When [tooltip.followTouchMove](
613
+ * #tooltip.followTouchMove) is true, pinchType only applies to
614
+ * two-finger touches.
615
+ *
616
+ * @default {highcharts} undefined
617
+ * @default {highstock} undefined
618
+ * @since 3.0
619
+ * @product highcharts highstock gantt
620
+ * @deprecated
621
+ */
622
+ pinchType?: ChartPinchTypeValue;
623
+ /**
624
+ * The background color or gradient for the plot area.
625
+ *
626
+ * @see In styled mode, the plot background is set with the
627
+ * `.highcharts-plot-background` class.
628
+ *
629
+ * @sample {highcharts} highcharts/chart/plotbackgroundcolor-color/
630
+ * Color
631
+ * @sample {highcharts} highcharts/chart/plotbackgroundcolor-gradient/
632
+ * Gradient
633
+ * @sample {highstock} stock/chart/plotbackgroundcolor-color/
634
+ * Color
635
+ * @sample {highstock} stock/chart/plotbackgroundcolor-gradient/
636
+ * Gradient
637
+ * @sample {highmaps} maps/chart/plotbackgroundcolor-color/
638
+ * Color
639
+ * @sample {highmaps} maps/chart/plotbackgroundcolor-gradient/
640
+ * Gradient
641
+ */
642
+ plotBackgroundColor?: ColorType;
643
+ /**
644
+ * The URL for an image to use as the plot background. To set an image
645
+ * as the background for the entire chart, set a CSS background image
646
+ * to the container element. Note that for the image to be applied to
647
+ * exported charts, its URL needs to be accessible by the export server.
648
+ *
649
+ * @see In styled mode, a plot background image can be set with the
650
+ * `.highcharts-plot-background` class and a [custom pattern](
651
+ * https://www.highcharts.com/docs/chart-design-and-style/gradients-shadows-and-patterns).
652
+ *
653
+ * @sample {highcharts} highcharts/chart/plotbackgroundimage/
654
+ * Skies
655
+ * @sample {highstock} stock/chart/plotbackgroundimage/
656
+ * Skies
657
+ */
658
+ plotBackgroundImage?: string;
659
+ /**
660
+ * The color of the inner chart or plot area border.
661
+ *
662
+ * @see In styled mode, a plot border stroke can be set with the
663
+ * `.highcharts-plot-border` class.
664
+ *
665
+ * @sample {highcharts} highcharts/chart/plotbordercolor/
666
+ * Blue border
667
+ * @sample {highstock} stock/chart/plotborder/
668
+ * Blue border
669
+ * @sample {highmaps} maps/chart/plotborder/
670
+ * Plot border options
671
+ */
672
+ plotBorderColor?: ColorType;
673
+ /**
674
+ * The pixel width of the plot area border.
675
+ *
676
+ * @sample {highcharts} highcharts/chart/plotborderwidth/
677
+ * 1px border
678
+ * @sample {highstock} stock/chart/plotborder/
679
+ * 2px border
680
+ * @sample {highmaps} maps/chart/plotborder/
681
+ * Plot border options
682
+ *
683
+ * @default 0
684
+ */
685
+ plotBorderWidth?: number;
686
+ /**
687
+ * Whether to apply a drop shadow to the plot area. Requires that
688
+ * plotBackgroundColor be set. The shadow can be an object configuration
689
+ * containing `color`, `offsetX`, `offsetY`, `opacity` and `width`.
690
+ *
691
+ * @sample {highcharts} highcharts/chart/plotshadow/
692
+ * Plot shadow
693
+ * @sample {highstock} stock/chart/plotshadow/
694
+ * Plot shadow
695
+ * @sample {highmaps} maps/chart/plotborder/
696
+ * Plot border options
697
+ *
698
+ * @default false
699
+ */
700
+ plotShadow?: (boolean | Partial<ShadowOptionsObject>);
701
+ /**
702
+ * Whether to reflow the chart to fit the width of the container div
703
+ * on resizing the window.
704
+ *
705
+ * @sample {highcharts} highcharts/chart/reflow-true/
706
+ * True by default
707
+ * @sample {highcharts} highcharts/chart/reflow-false/
708
+ * False
709
+ * @sample {highstock} stock/chart/reflow-true/
710
+ * True by default
711
+ * @sample {highstock} stock/chart/reflow-false/
712
+ * False
713
+ * @sample {highmaps} maps/chart/reflow-true/
714
+ * True by default
715
+ * @sample {highmaps} maps/chart/reflow-false/
716
+ * False
717
+ *
718
+ * @since 2.1
719
+ */
720
+ reflow?: boolean;
721
+ /**
722
+ * The HTML element where the chart will be rendered. If it is a string,
723
+ * the element by that id is used. The HTML element can also be passed
724
+ * by direct reference, or as the first argument of the chart
725
+ * constructor, in which case the option is not needed.
726
+ *
727
+ * @sample {highcharts} highcharts/chart/reflow-true/
728
+ * String
729
+ * @sample {highcharts} highcharts/chart/renderto-object/
730
+ * Object reference
731
+ * @sample {highstock} stock/chart/renderto-string/
732
+ * String
733
+ * @sample {highstock} stock/chart/renderto-object/
734
+ * Object reference
735
+ */
736
+ renderTo?: (string | HTMLDOMElement);
737
+ /**
738
+ * The button that appears after a selection zoom, allowing the user
739
+ * to reset zoom. This option is deprecated in favor of
740
+ * [zooming](#chart.zooming).
741
+ *
742
+ * @since 2.2
743
+ * @deprecated 10.2.1
744
+ */
745
+ resetZoomButton?: ChartResetZoomButtonOptions;
746
+ /**
747
+ * Whether to apply a drop shadow to the outer chart area. Requires
748
+ * that backgroundColor be set. The shadow can be an object
749
+ * configuration containing `color`, `offsetX`, `offsetY`, `opacity` and
750
+ * `width`.
751
+ *
752
+ * @sample {highcharts} highcharts/chart/shadow/
753
+ * Shadow
754
+ * @sample {highstock} stock/chart/shadow/
755
+ * Shadow
756
+ * @sample {highmaps} maps/chart/border/
757
+ * Chart border and shadow
758
+ *
759
+ * @default false
760
+ */
761
+ shadow?: (boolean | Partial<ShadowOptionsObject>);
762
+ /**
763
+ * The background color of the marker square when selecting (zooming
764
+ * in on) an area of the chart.
765
+ *
766
+ * @see In styled mode, the selection marker fill is set with the
767
+ * `.highcharts-selection-marker` class.
768
+ *
769
+ * @default rgba(51,92,173,0.25)
770
+ * @since 2.1.7
771
+ */
772
+ selectionMarkerFill?: ColorType;
773
+ /**
774
+ * Whether to apply a drop shadow to the global series group. This causes
775
+ * all the series to have the same shadow. Contrary to the `series.shadow`
776
+ * option, this prevents items from casting shadows on each other, like for
777
+ * others series in a stack. The shadow can be an object configuration
778
+ * containing `color`, `offsetX`, `offsetY`, `opacity` and `width`.
779
+ *
780
+ * @sample highcharts/chart/seriesgroupshadow/
781
+ * Shadow
782
+ *
783
+ * @default false
784
+ */
785
+ seriesGroupShadow?: (boolean | Partial<ShadowOptionsObject>);
786
+ /**
787
+ * Whether to show the axes initially. This only applies to empty charts
788
+ * where series are added dynamically, as axes are automatically added
789
+ * to cartesian series.
790
+ *
791
+ * @sample {highcharts} highcharts/chart/showaxes-false/
792
+ * False by default
793
+ * @sample {highcharts} highcharts/chart/showaxes-true/
794
+ * True
795
+ *
796
+ * @since 1.2.5
797
+ * @product highcharts gantt
798
+ */
799
+ showAxes?: boolean;
800
+ /**
801
+ * The space between the bottom edge of the chart and the content (plot
802
+ * area, axis title and labels, title, subtitle or legend in top
803
+ * position).
804
+ *
805
+ * @sample {highcharts} highcharts/chart/spacingbottom/
806
+ * Spacing bottom set to 100
807
+ * @sample {highstock} stock/chart/spacingbottom/
808
+ * Spacing bottom set to 100
809
+ * @sample {highmaps} maps/chart/spacing/
810
+ * Spacing 100 all around
811
+ *
812
+ * @default 15
813
+ * @since 2.1
814
+ */
815
+ spacing?: Array<number>;
816
+ /**
817
+ * The space between the bottom edge of the chart and the content (plot
818
+ * area, axis title and labels, title, subtitle or legend in top
819
+ * position).
820
+ *
821
+ * @sample {highcharts} highcharts/chart/spacingbottom/
822
+ * Spacing bottom set to 100
823
+ * @sample {highstock} stock/chart/spacingbottom/
824
+ * Spacing bottom set to 100
825
+ * @sample {highmaps} maps/chart/spacing/
826
+ * Spacing 100 all around
827
+ *
828
+ * @default 15
829
+ * @since 2.1
830
+ */
831
+ spacingBottom?: number;
832
+ /**
833
+ * The space between the left edge of the chart and the content (plot
834
+ * area, axis title and labels, title, subtitle or legend in top
835
+ * position).
836
+ *
837
+ * @sample {highcharts} highcharts/chart/spacingleft/
838
+ * Spacing left set to 100
839
+ * @sample {highstock} stock/chart/spacingleft/
840
+ * Spacing left set to 100
841
+ * @sample {highmaps} maps/chart/spacing/
842
+ * Spacing 100 all around
843
+ *
844
+ * @default 10
845
+ * @since 2.1
846
+ */
847
+ spacingLeft?: number;
848
+ /**
849
+ * The space between the right edge of the chart and the content (plot
850
+ * area, axis title and labels, title, subtitle or legend in top
851
+ * position).
852
+ *
853
+ * @sample {highcharts} highcharts/chart/spacingright-100/
854
+ * Spacing set to 100
855
+ * @sample {highcharts} highcharts/chart/spacingright-legend/
856
+ * Legend in right position with default spacing
857
+ * @sample {highstock} stock/chart/spacingright/
858
+ * Spacing set to 100
859
+ * @sample {highmaps} maps/chart/spacing/
860
+ * Spacing 100 all around
861
+ *
862
+ * @default 10
863
+ * @since 2.1
864
+ */
865
+ spacingRight?: number;
866
+ /**
867
+ * The space between the top edge of the chart and the content (plot
868
+ * area, axis title and labels, title, subtitle or legend in top
869
+ * position).
870
+ *
871
+ * @sample {highcharts} highcharts/chart/spacingtop-100/
872
+ * A top spacing of 100
873
+ * @sample {highcharts} highcharts/chart/spacingtop-10/
874
+ * Floating chart title makes the plot area align to the default
875
+ * spacingTop of 10.
876
+ * @sample {highstock} stock/chart/spacingtop/
877
+ * A top spacing of 100
878
+ * @sample {highmaps} maps/chart/spacing/
879
+ * Spacing 100 all around
880
+ *
881
+ * @default 10
882
+ * @since 2.1
883
+ */
884
+ spacingTop?: number;
885
+ /**
886
+ * Additional CSS styles to apply inline to the container `div` and the root
887
+ * SVG.
888
+ *
889
+ * According to the CSS syntax documentation, it is recommended to quote
890
+ * font family names that contain white space, digits, or punctuation
891
+ * characters other than hyphens. In such cases, wrap the fontFamily
892
+ * name as follows: `fontFamily: '"Font name"'`.
893
+ *
894
+ * Since v11, the root font size is 1rem by default, and all child element
895
+ * are given a relative `em` font size by default. This allows implementers
896
+ * to control all the chart's font sizes by only setting the root level.
897
+ *
898
+ * @see In styled mode, general chart styles can be set with the
899
+ * `.highcharts-root` class.
900
+ * @sample {highcharts} highcharts/chart/style-serif-font/
901
+ * Using a serif type font
902
+ * @sample {highcharts} highcharts/chart/style-special-font/
903
+ * Using a font with special character in name
904
+ * @sample {highcharts} highcharts/members/relative-font-size/
905
+ * Relative font sizes
906
+ * @sample {highcharts} highcharts/css/em/
907
+ * Styled mode with relative font sizes
908
+ * @sample {highstock} stock/chart/style/
909
+ * Using a serif type font
910
+ * @sample {highmaps} maps/chart/style-serif-font/
911
+ * Using a serif type font
912
+ *
913
+ * @default {"fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif", "fontSize":"1rem"}
914
+ */
915
+ style?: CSSObject;
916
+ /**
917
+ * Whether to apply styled mode. When in styled mode, no presentational
918
+ * attributes or CSS are applied to the chart SVG. Instead, CSS rules
919
+ * are required to style the chart. The default style sheet is
920
+ * available from `https://code.highcharts.com/css/highcharts.css`.
921
+ *
922
+ * [Read more in the docs](https://www.highcharts.com/docs/chart-design-and-style/style-by-css)
923
+ * on what classes and variables are available.
924
+ *
925
+ * @sample highcharts/css/colors
926
+ * Color theming with CSS
927
+ * @sample highcharts/css/prefers-color-scheme
928
+ * Dynamic theme based on system settings
929
+ *
930
+ * @default false
931
+ * @since 7.0
932
+ */
933
+ styledMode?: boolean;
934
+ /**
935
+ * The default series type for the chart. Can be any of the chart types
936
+ * listed under [plotOptions](#plotOptions) and [series](#series) or can
937
+ * be a series provided by an additional module.
938
+ *
939
+ * In TypeScript this option has no effect in sense of typing and
940
+ * instead the `type` option must always be set in the series.
941
+ *
942
+ * @sample {highcharts} highcharts/chart/type-bar/
943
+ * Bar
944
+ * @sample {highstock} stock/chart/type/
945
+ * Areaspline
946
+ * @sample {highmaps} maps/chart/type-mapline/
947
+ * Mapline
948
+ *
949
+ * @default {highcharts} line
950
+ * @default {highstock} line
951
+ * @default {highmaps} map
952
+ * @since 2.1.0
953
+ */
954
+ type?: string;
955
+ /**
956
+ * An explicit height for the chart. If a _number_, the height is
957
+ * given in pixels. If given a _percentage string_ (for example
958
+ * `'56%'`), the height is given as the percentage of the actual chart
959
+ * width. This allows for preserving the aspect ratio across responsive
960
+ * sizes.
961
+ *
962
+ * By default (when `null`) the height is calculated from the offset
963
+ * height of the containing element, or 400 pixels if the containing
964
+ * element's height is 0.
965
+ *
966
+ * @sample {highcharts} highcharts/chart/height/
967
+ * Forced 200px height
968
+ * @sample {highstock} stock/chart/height/
969
+ * 300px height
970
+ * @sample {highmaps} maps/chart/size/
971
+ * Chart with explicit size
972
+ * @sample highcharts/chart/height-percent/
973
+ * Highcharts with percentage height
974
+ * @sample highcharts/chart/height-inherited/
975
+ * Chart with inherited height
976
+ */
977
+ width?: (null | number);
978
+ /**
979
+ * Enables zooming by a single touch, in combination with
980
+ * [chart.zoomType](#chart.zoomType). When enabled, two-finger pinch
981
+ * will still work as set up by [chart.pinchType](#chart.pinchType).
982
+ * However, `zoomBySingleTouch` will interfere with touch-dragging the
983
+ * chart to read the tooltip. And especially when vertical zooming is
984
+ * enabled, it will make it hard to scroll vertically on the page.
985
+ * @since 9.0.0
986
+ * @sample highcharts/chart/zoombysingletouch
987
+ * Zoom by single touch enabled, with buttons to toggle
988
+ * @product highcharts highstock gantt
989
+ * @deprecated
990
+ */
991
+ zoomBySingleTouch?: boolean;
992
+ /**
993
+ * Chart zooming options.
994
+ *
995
+ * @sample highcharts/plotoptions/sankey-node-color
996
+ * Zooming in sankey series
997
+ * @sample highcharts/series-treegraph/link-types
998
+ * Zooming in treegraph series
999
+ *
1000
+ * @since 10.2.1
1001
+ */
1002
+ zooming: Partial<ChartZoomingOptions>;
1003
+ /**
1004
+ * Decides in what dimensions the user can zoom by dragging the mouse.
1005
+ * Can be one of `x`, `y` or `xy`.
1006
+ *
1007
+ * @see [panKey](#chart.panKey)
1008
+ *
1009
+ * @sample {highcharts} highcharts/chart/zoomtype-none/
1010
+ * None by default
1011
+ * @sample {highcharts} highcharts/chart/zoomtype-x/
1012
+ * X
1013
+ * @sample {highcharts} highcharts/chart/zoomtype-y/
1014
+ * Y
1015
+ * @sample {highcharts} highcharts/chart/zoomtype-xy/
1016
+ * Xy
1017
+ * @sample {highcharts} highcharts/chart/zoomtype-polar/
1018
+ * Zoom on polar chart
1019
+ * @sample {highstock} stock/demo/basic-line/
1020
+ * None by default
1021
+ * @sample {highstock} stock/chart/zoomtype-x/
1022
+ * X
1023
+ * @sample {highstock} stock/chart/zoomtype-y/
1024
+ * Y
1025
+ * @sample {highstock} stock/chart/zoomtype-xy/
1026
+ * Xy
1027
+ * @sample {highstock} stock/chart/zoomtype-xy/
1028
+ * Map with selection zoom
1029
+ *
1030
+ * @validvalue ["x", "y", "xy"]
1031
+ * @deprecated
1032
+ */
1033
+ zoomType?: ('x' | 'xy' | 'y');
1034
+ }
1035
+ /**
1036
+ * Allow panning in a chart. Best used with [panKey](#chart.panKey)
1037
+ * to combine zooming and panning.
1038
+ *
1039
+ * On touch devices, when the [tooltip.followTouchMove](
1040
+ * #tooltip.followTouchMove) option is `true` (default), panning
1041
+ * requires two fingers. To allow panning with one finger, set
1042
+ * `followTouchMove` to `false`.
1043
+ *
1044
+ * @sample {highcharts} highcharts/chart/pankey/
1045
+ * Zooming and panning
1046
+ * @sample {highstock} stock/chart/panning/
1047
+ * Zooming and xy panning
1048
+ */
1049
+ export interface ChartPanningOptions {
1050
+ /**
1051
+ * Enable or disable chart panning.
1052
+ *
1053
+ * @default {highcharts} false
1054
+ * @default {highstock|highmaps} true
1055
+ */
1056
+ enabled: boolean;
1057
+ /**
1058
+ * Decides in what dimensions the user can pan the chart. Can be
1059
+ * one of `x`, `y`, or `xy`.
1060
+ *
1061
+ * During panning, all axes will behave as if
1062
+ * [`startOnTick`](#yAxis.startOnTick) and
1063
+ * [`endOnTick`](#yAxis.endOnTick) were set to `false`. After the
1064
+ * panning action is finished, the axes will adjust to their actual
1065
+ * settings.
1066
+ *
1067
+ * **Note:** For non-cartesian series, the only supported panning type
1068
+ * is `xy`, as zooming in a single direction is not applicable due to
1069
+ * the radial nature of the coordinate system.
1070
+ *
1071
+ * @sample {highcharts} highcharts/chart/panning-type
1072
+ * Zooming and xy panning
1073
+ *
1074
+ * @product highcharts highstock gantt
1075
+ */
1076
+ type: ChartPanningTypeValue;
1077
+ }
1078
+ export type ChartPanningTypeValue = ('x' | 'y' | 'xy');
1079
+ export type ChartPinchTypeValue = ('x' | 'y' | 'xy');
1080
+ export interface ChartRedrawCallbackFunction {
1081
+ (this: Chart, event: Event): void;
1082
+ }
1083
+ export interface ChartRenderCallbackFunction {
1084
+ (this: Chart, event: Event): void;
1085
+ }
1086
+ /**
1087
+ * The button that appears after a selection zoom, allowing the user
1088
+ * to reset zoom.
1089
+ */
1090
+ export interface ChartResetZoomButtonOptions {
1091
+ /**
1092
+ * The position of the button.
1093
+ *
1094
+ * Note: Adjusting position values might cause overlap with chart
1095
+ * elements. Ensure coordinates do not obstruct other components or
1096
+ * data visibility.
1097
+ *
1098
+ * @sample {highcharts} highcharts/chart/resetzoombutton-position/
1099
+ * Above the plot area
1100
+ * @sample {highstock} highcharts/chart/resetzoombutton-position/
1101
+ * Above the plot area
1102
+ * @sample {highmaps} highcharts/chart/resetzoombutton-position/
1103
+ * Above the plot area
1104
+ *
1105
+ * @since 10.2.1
1106
+ */
1107
+ position?: AlignObject;
1108
+ /**
1109
+ * What frame the button placement should be related to. Can be
1110
+ * either `plotBox` or `spacingBox`.
1111
+ *
1112
+ * @sample {highcharts} highcharts/chart/resetzoombutton-relativeto/
1113
+ * Relative to the chart
1114
+ * @sample {highstock} highcharts/chart/resetzoombutton-relativeto/
1115
+ * Relative to the chart
1116
+ *
1117
+ * @default plot
1118
+ */
1119
+ relativeTo?: ButtonRelativeToValue;
1120
+ /**
1121
+ * A collection of attributes for the button. The object takes SVG
1122
+ * attributes like `fill`, `stroke`, `stroke-width` or `r`, the
1123
+ * border radius. The theme also supports `style`, a collection of
1124
+ * CSS properties for the text. Equivalent attributes for the hover
1125
+ * state are given in `theme.states.hover`.
1126
+ *
1127
+ * @sample {highcharts} highcharts/chart/resetzoombutton-theme/
1128
+ * Theming the button
1129
+ * @sample {highstock} highcharts/chart/resetzoombutton-theme/
1130
+ * Theming the button
1131
+ *
1132
+ * @since 10.2.1
1133
+ */
1134
+ theme?: SVGAttributes;
1135
+ }
1136
+ export interface ChartSelectionAxisContextObject {
1137
+ axis: Axis;
1138
+ max: number;
1139
+ min: number;
1140
+ }
1141
+ export interface ChartSelectionCallbackFunction {
1142
+ (this: Chart, event: ChartSelectionContextObject): (boolean | undefined);
1143
+ }
1144
+ export interface ChartSelectionContextObject {
1145
+ xAxis: Array<ChartSelectionAxisContextObject>;
1146
+ yAxis: Array<ChartSelectionAxisContextObject>;
1147
+ }
1148
+ /**
1149
+ * Chart zooming options.
1150
+ * @since 10.2.1
1151
+ *
1152
+ * @sample highcharts/plotoptions/sankey-node-color
1153
+ * Zooming in sankey series
1154
+ * @sample highcharts/series-treegraph/link-types
1155
+ * Zooming in treegraph series
1156
+ */
1157
+ export interface ChartZoomingOptions {
1158
+ /**
1159
+ * Set a key to hold when dragging to zoom the chart. This is useful to
1160
+ * avoid zooming while moving points. Should be set different than
1161
+ * [chart.panKey](#chart.panKey).
1162
+ *
1163
+ * @default {highcharts} undefined
1164
+ * @validvalue ["alt", "ctrl", "meta", "shift"]
1165
+ * @requires modules/draggable-points
1166
+ */
1167
+ key?: string;
1168
+ /**
1169
+ * Equivalent to [type](#chart.zooming.type), but for multitouch
1170
+ * gestures only. By default, the `pinchType` is the same as the
1171
+ * `type` setting. However, pinching can be enabled separately in
1172
+ * some cases, for example in stock charts where a mouse drag pans the
1173
+ * chart, while pinching is enabled. When [tooltip.followTouchMove](
1174
+ * #tooltip.followTouchMove) is true, pinchType only applies to
1175
+ * two-finger touches.
1176
+ *
1177
+ * @default {highcharts} undefined
1178
+ * @default {highstock} x
1179
+ * @product highcharts highstock gantt
1180
+ * @validvalue ["x", "y", "xy"]
1181
+ */
1182
+ pinchType?: string;
1183
+ /**
1184
+ * The button that appears after a selection zoom, allowing the user
1185
+ * to reset zoom.
1186
+ */
1187
+ resetButton?: ChartResetZoomButtonOptions;
1188
+ /**
1189
+ * Enables zooming by a single touch, in combination with
1190
+ * [chart.zooming.type](#chart.zooming.type). When enabled, two-finger
1191
+ * pinch will still work as set up by [chart.zooming.pinchType]
1192
+ * (#chart.zooming.pinchType). However, `singleTouch` will interfere
1193
+ * with touch-dragging the chart to read the tooltip. And especially
1194
+ * when vertical zooming is enabled, it will make it hard to scroll
1195
+ * vertically on the page.
1196
+ *
1197
+ * @sample highcharts/chart/zoombysingletouch
1198
+ * Zoom by single touch enabled, with buttons to toggle
1199
+ *
1200
+ * @product highcharts highstock gantt
1201
+ */
1202
+ singleTouch: boolean;
1203
+ /**
1204
+ * Decides in what dimensions the user can zoom by dragging the mouse.
1205
+ * Can be one of `x`, `y` or `xy`.
1206
+ *
1207
+ * **Note:** For non-cartesian series, the only supported zooming type
1208
+ * is `xy`, as zooming in a single direction is not applicable due to
1209
+ * the radial nature of the coordinate system.
1210
+ *
1211
+ * @default {highcharts} undefined
1212
+ * @product highcharts highstock gantt
1213
+ */
1214
+ type?: ChartZoomingTypeValue;
1215
+ }
1216
+ export type ChartZoomingTypeValue = ('x' | 'xy' | 'y');
1217
+ export default ChartOptions;