@sisense/sdk-ui 2.8.0 → 2.10.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 (184) hide show
  1. package/dist/ai.cjs +32 -32
  2. package/dist/ai.js +126 -125
  3. package/dist/analytics-composer/node.cjs +3 -0
  4. package/dist/analytics-composer/node.d.ts +1 -0
  5. package/dist/analytics-composer/node.js +1033 -0
  6. package/dist/analytics-composer.cjs +118 -118
  7. package/dist/analytics-composer.js +2211 -2906
  8. package/dist/derive-chart-family-B1on_xkS.cjs +170 -0
  9. package/dist/derive-chart-family-BllGhqsW.js +29469 -0
  10. package/dist/dimensions-BYqdB-Q8.cjs +1 -0
  11. package/dist/{dimensions-b8xRITJn.js → dimensions-D-Z9sitz.js} +3 -3
  12. package/dist/execute-query-CABqVn7C.cjs +1 -0
  13. package/dist/execute-query-CGLL9vXX.js +6428 -0
  14. package/dist/index.cjs +25 -26
  15. package/dist/index.js +9320 -8693
  16. package/dist/index.umd.js +389 -440
  17. package/dist/packages/sdk-ui/src/analytics-composer/index-node.d.ts +9 -0
  18. package/dist/packages/sdk-ui/src/analytics-composer/index.d.ts +1 -0
  19. package/dist/packages/sdk-ui/src/analytics-composer/new-nlq-translator/common.d.ts +40 -0
  20. package/dist/packages/sdk-ui/src/analytics-composer/new-nlq-translator/index.d.ts +2 -0
  21. package/dist/packages/sdk-ui/src/analytics-composer/new-nlq-translator/translate-dimensions.d.ts +3 -0
  22. package/dist/packages/sdk-ui/src/analytics-composer/new-nlq-translator/translate-filters.d.ts +44 -0
  23. package/dist/packages/sdk-ui/src/analytics-composer/new-nlq-translator/translate-measures.d.ts +30 -0
  24. package/dist/packages/sdk-ui/src/analytics-composer/new-nlq-translator/translate-query-to-jaql.d.ts +18 -0
  25. package/dist/packages/sdk-ui/src/analytics-composer/new-nlq-translator/translate-query.d.ts +224 -0
  26. package/dist/packages/sdk-ui/src/analytics-composer/types.d.ts +40 -1
  27. package/dist/packages/sdk-ui/src/calendar-heatmap-chart.d.ts +12 -0
  28. package/dist/packages/sdk-ui/src/chart/helpers/get-load-data-function.d.ts +3 -1
  29. package/dist/packages/sdk-ui/src/chart/helpers/use-chart-data-preparation.d.ts +3 -1
  30. package/dist/packages/sdk-ui/src/chart/helpers/use-translated-data-options.d.ts +1 -1
  31. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/calendar-heatmap-chart-builder.d.ts +8 -0
  32. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/constants.d.ts +87 -0
  33. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/data-options/data-options.d.ts +54 -0
  34. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/data-options/index.d.ts +1 -0
  35. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/data.d.ts +33 -0
  36. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/design-options.d.ts +22 -0
  37. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/highcharts-options-builder.d.ts +8 -0
  38. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/index.d.ts +1 -0
  39. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/options/axes-options.d.ts +12 -0
  40. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/options/chart-options.d.ts +9 -0
  41. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/options/extras-options.d.ts +9 -0
  42. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/options/index.d.ts +7 -0
  43. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/options/legend-options.d.ts +8 -0
  44. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/options/plot-options.d.ts +9 -0
  45. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/options/series-options/calendar-data-generator.d.ts +35 -0
  46. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/options/series-options/index.d.ts +1 -0
  47. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/options/series-options/series-options.d.ts +9 -0
  48. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/options/tooltip-options.d.ts +9 -0
  49. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/calendar-heatmap-charts-grid.d.ts +26 -0
  50. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/calendar-heatmap.d.ts +17 -0
  51. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/calendar-pagination/calendar-pagination.d.ts +30 -0
  52. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/calendar-pagination/helpers.d.ts +3 -0
  53. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/calendar-pagination/index.d.ts +1 -0
  54. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/helpers/data-helpers.d.ts +4 -0
  55. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/helpers/sizing-helpers.d.ts +25 -0
  56. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/helpers/view-helpers.d.ts +14 -0
  57. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/hooks/index.d.ts +4 -0
  58. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/hooks/use-calendar-heatmap-chart-options.d.ts +55 -0
  59. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/hooks/use-calendar-heatmap-navigation.d.ts +33 -0
  60. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/index.d.ts +2 -0
  61. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/types.d.ts +13 -0
  62. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/helpers/data-options.d.ts +5 -1
  63. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/helpers/highchart-options/axis.d.ts +5 -0
  64. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/helpers/highchart-options/legend.d.ts +3 -2
  65. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/helpers/highchart-options/y-axis.d.ts +28 -0
  66. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/line-chart/helpers/design-options.d.ts +12 -0
  67. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/line-chart/highchart-options/axes.d.ts +6 -0
  68. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/line-chart/highcharts-options-builder.d.ts +2 -0
  69. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/line-chart/line-chart-builder.d.ts +2 -0
  70. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/polar-chart/data/index.d.ts +10 -0
  71. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/polar-chart/data-options/index.d.ts +12 -0
  72. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/polar-chart/design-options/index.d.ts +18 -0
  73. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/polar-chart/highchart-options/axes.d.ts +6 -0
  74. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/polar-chart/highchart-options/highcharts-options-builder.d.ts +2 -0
  75. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/polar-chart/polar-chart-builder.d.ts +2 -0
  76. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/stackable/area-chart/area-chart-builder.d.ts +2 -0
  77. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/stackable/area-chart/helpers/design-options.d.ts +12 -0
  78. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/stackable/area-chart/highchart-options/axes.d.ts +6 -0
  79. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/stackable/area-chart/highchart-options/highcharts-options-builder.d.ts +2 -0
  80. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/stackable/area-chart/highchart-options/labels-spacing.d.ts +8 -0
  81. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/stackable/bar-chart/highchart-options/axes.d.ts +6 -0
  82. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/stackable/bar-chart/highchart-options/labels-spacing.d.ts +9 -0
  83. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/stackable/column-chart/highchart-options/axes.d.ts +6 -0
  84. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/stackable/column-chart/highchart-options/labels-spacing.d.ts +9 -0
  85. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/stackable/helpers/highchart-options/stacking.d.ts +21 -0
  86. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/stackable/types.d.ts +1 -0
  87. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/types.d.ts +1 -1
  88. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/helpers/data-options.d.ts +22 -0
  89. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/helpers/data.d.ts +13 -0
  90. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/pie-chart/alerts/index.d.ts +5 -0
  91. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/pie-chart/data/index.d.ts +15 -0
  92. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/pie-chart/data-options/index.d.ts +32 -0
  93. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/pie-chart/design-options/index.d.ts +17 -0
  94. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/pie-chart/highchart-options/highcharts-options-builder.d.ts +2 -0
  95. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/pie-chart/pie-chart-builder.d.ts +2 -0
  96. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/pie-chart/types.d.ts +12 -0
  97. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/highcharts-based-chart-renderer/build-highchart-options.d.ts +9 -4
  98. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/highcharts-based-chart-renderer/highcharts-based-chart-renderer.d.ts +2 -4
  99. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/highcharts-based-chart-renderer/use-extra-config.d.ts +2 -0
  100. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/highcharts-based-chart-renderer/utils.d.ts +2 -1
  101. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/types.d.ts +1 -1
  102. package/dist/packages/sdk-ui/src/chart/restructured-charts/types.d.ts +10 -9
  103. package/dist/packages/sdk-ui/src/chart/restructured-charts/utils.d.ts +5 -0
  104. package/dist/packages/sdk-ui/src/chart-data/data-coloring/types.d.ts +6 -0
  105. package/dist/packages/sdk-ui/src/chart-data/types.d.ts +2 -1
  106. package/dist/packages/sdk-ui/src/chart-data-options/translate-data-options.d.ts +2 -1
  107. package/dist/packages/sdk-ui/src/chart-data-options/types.d.ts +19 -2
  108. package/dist/packages/sdk-ui/src/chart-data-options/utils.d.ts +4 -4
  109. package/dist/packages/sdk-ui/src/chart-data-options/validate-data-options/validate-categorical-data-options.d.ts +14 -0
  110. package/dist/packages/sdk-ui/src/chart-options-processor/cartesian/utils/axis/axis-builders.d.ts +155 -0
  111. package/dist/packages/sdk-ui/src/chart-options-processor/cartesian/utils/axis/axis-settings.d.ts +39 -0
  112. package/dist/packages/sdk-ui/src/chart-options-processor/cartesian/utils/axis/axis-transformers.d.ts +45 -0
  113. package/dist/packages/sdk-ui/src/chart-options-processor/cartesian/utils/axis/axis-utils.d.ts +1 -0
  114. package/dist/packages/sdk-ui/src/chart-options-processor/cartesian/utils/axis/date-utils.d.ts +27 -0
  115. package/dist/packages/sdk-ui/src/chart-options-processor/cartesian/utils/axis/index.d.ts +3 -0
  116. package/dist/packages/sdk-ui/src/chart-options-processor/cartesian/utils/chart-configuration.d.ts +33 -3
  117. package/dist/packages/sdk-ui/src/chart-options-processor/cartesian/utils/series-processor.d.ts +4 -1
  118. package/dist/packages/sdk-ui/src/chart-options-processor/{category-chart-options.d.ts → category-chart-options/category-chart-options.d.ts} +9 -5
  119. package/dist/packages/sdk-ui/src/chart-options-processor/category-chart-options/funnel-chart-options.d.ts +15 -0
  120. package/dist/packages/sdk-ui/src/chart-options-processor/category-chart-options/pie-chart-options.d.ts +15 -0
  121. package/dist/packages/sdk-ui/src/chart-options-processor/category-chart-options/sunburst-chart-options.d.ts +17 -0
  122. package/dist/packages/sdk-ui/src/chart-options-processor/category-chart-options/treemap-chart-options.d.ts +17 -0
  123. package/dist/packages/sdk-ui/src/chart-options-processor/chart-options-service.d.ts +26 -10
  124. package/dist/packages/sdk-ui/src/chart-options-processor/defaults/cartesian.d.ts +4 -3
  125. package/dist/packages/sdk-ui/src/chart-options-processor/scatter-chart-options.d.ts +3 -3
  126. package/dist/packages/sdk-ui/src/chart-options-processor/style-to-design-options-translator/translate-to-highcharts-options.d.ts +1 -3
  127. package/dist/packages/sdk-ui/src/chart-options-processor/translations/axis-section.d.ts +11 -12
  128. package/dist/packages/sdk-ui/src/chart-options-processor/translations/design-options.d.ts +19 -5
  129. package/dist/packages/sdk-ui/src/chart-options-processor/translations/legend-section.d.ts +28 -14
  130. package/dist/packages/sdk-ui/src/chart-options-processor/translations/pie-series.d.ts +34 -6
  131. package/dist/packages/sdk-ui/src/chart-options-processor/translations/tooltip-utils.d.ts +5 -0
  132. package/dist/packages/sdk-ui/src/chart-options-processor/translations/translations-to-highcharts.d.ts +1 -1
  133. package/dist/packages/sdk-ui/src/chart-options-processor/translations/types.d.ts +61 -4
  134. package/dist/packages/sdk-ui/src/chart-options-processor/translations/value-label-section.d.ts +2 -2
  135. package/dist/packages/sdk-ui/src/common/formatters/create-date-formatter.d.ts +10 -0
  136. package/dist/packages/sdk-ui/src/common/hooks/useDateFormatter.d.ts +7 -0
  137. package/dist/packages/sdk-ui/src/common/icons/double-arrow-end-icon.d.ts +6 -0
  138. package/dist/packages/sdk-ui/src/const.d.ts +2 -0
  139. package/dist/packages/sdk-ui/src/dashboard/components/editable-layout/utils.d.ts +0 -19
  140. package/dist/packages/sdk-ui/src/dashboard/hooks/jtd/index.d.ts +1 -1
  141. package/dist/packages/sdk-ui/src/dashboard/hooks/jtd/jtd-filters.d.ts +12 -1
  142. package/dist/packages/sdk-ui/src/dashboard/hooks/jtd/jtd-formatters.d.ts +18 -0
  143. package/dist/packages/sdk-ui/src/dashboard/hooks/jtd/jtd-handlers.d.ts +23 -0
  144. package/dist/packages/sdk-ui/src/dashboard/hooks/jtd/jtd-widget-transforms.d.ts +29 -0
  145. package/dist/packages/sdk-ui/src/index.d.ts +1 -0
  146. package/dist/packages/sdk-ui/src/models/dashboard/translate-dashboard-utils.d.ts +1 -0
  147. package/dist/packages/sdk-ui/src/pivot-table/formatters/data-cell-formatters/index.d.ts +1 -0
  148. package/dist/packages/sdk-ui/src/pivot-table/formatters/formatter-utils.d.ts +23 -0
  149. package/dist/packages/sdk-ui/src/pivot-table/formatters/header-cell-formatters/header-cell-value-formatter.d.ts +2 -1
  150. package/dist/packages/sdk-ui/src/pivot-table/formatters/types.d.ts +45 -3
  151. package/dist/packages/sdk-ui/src/pivot-table/formatters/utils.d.ts +1 -0
  152. package/dist/packages/sdk-ui/src/pivot-table/hooks/use-apply-pivot-table-formatting.d.ts +4 -1
  153. package/dist/packages/sdk-ui/src/polar-chart.d.ts +1 -1
  154. package/dist/packages/sdk-ui/src/props.d.ts +161 -7
  155. package/dist/packages/sdk-ui/src/query/date-formats/apply-date-format.d.ts +7 -6
  156. package/dist/packages/sdk-ui/src/query/date-formats/index.d.ts +1 -1
  157. package/dist/packages/sdk-ui/src/query/execute-query.d.ts +3 -1
  158. package/dist/packages/sdk-ui/src/query-execution/index.d.ts +1 -1
  159. package/dist/packages/sdk-ui/src/query-execution/types.d.ts +9 -2
  160. package/dist/packages/sdk-ui/src/sisense-chart/types.d.ts +2 -2
  161. package/dist/packages/sdk-ui/src/theme-provider/default-theme-settings.d.ts +1 -0
  162. package/dist/packages/sdk-ui/src/translation/resources/en.d.ts +11 -0
  163. package/dist/packages/sdk-ui/src/translation/resources/index.d.ts +22 -0
  164. package/dist/packages/sdk-ui/src/types.d.ts +254 -16
  165. package/dist/packages/sdk-ui/src/utils/combine-handlers.d.ts +19 -0
  166. package/dist/packages/sdk-ui/src/utils/utility-types/transformer.d.ts +8 -0
  167. package/dist/packages/sdk-ui/src/widget-by-id/translate-dashboard-filters.d.ts +1 -1
  168. package/dist/packages/sdk-ui/src/widget-by-id/translate-panel-color-format.d.ts +9 -0
  169. package/dist/packages/sdk-ui/src/widget-by-id/translate-statistical-models.d.ts +10 -0
  170. package/dist/packages/sdk-ui/src/widget-by-id/translate-widget-data-options.d.ts +0 -14
  171. package/dist/packages/sdk-ui/src/widget-by-id/types.d.ts +10 -10
  172. package/dist/types-BRtWk8uC.js +80 -0
  173. package/dist/types-Ds0KtTJF.cjs +1 -0
  174. package/dist/use-common-filters-D8tEa9zb.js +91245 -0
  175. package/dist/use-common-filters-hw1WKPCY.cjs +844 -0
  176. package/dist/{widget-composer-BPlNiX_P.cjs → widget-composer-B7zeAa_D.cjs} +9 -9
  177. package/dist/{widget-composer-SGEFYrXY.js → widget-composer-DL0xPtlC.js} +143 -217
  178. package/package.json +20 -10
  179. package/dist/derive-chart-family-6PZA-xZh.js +0 -92092
  180. package/dist/derive-chart-family-DQUVKMcV.cjs +0 -656
  181. package/dist/dimensions-x8nnAUew.cjs +0 -1
  182. package/dist/packages/sdk-ui/src/chart-options-processor/cartesian/utils/axis-configuration.d.ts +0 -41
  183. package/dist/use-common-filters-BHBy4uv6.js +0 -32218
  184. package/dist/use-common-filters-Cg217teN.cjs +0 -350
@@ -0,0 +1,155 @@
1
+ import { ChartType, CompleteThemeSettings } from '../../../../types';
2
+ import { CartesianChartData } from '../../../../chart-data/types';
3
+ import { CartesianChartDataOptionsInternal } from '../../../../chart-data-options/types';
4
+ import { StackableChartDesignOptions, PolarChartDesignOptions } from '../../../translations/design-options';
5
+ import { ChartDesignOptions } from '../../../translations/types';
6
+ import { Axis, AxisSettings, AxisMinMax, PlotBand } from '../../../translations/axis-section';
7
+ import { withChartSpecificAxisSettings, withPolarSpecificAxisSettings, withStacking } from './axis-utils';
8
+ export { withChartSpecificAxisSettings, withPolarSpecificAxisSettings, withStacking };
9
+ import { AxisClipped } from '../../../translations/translations-to-highcharts';
10
+ import { Stacking } from '../../../chart-options-service';
11
+ /**
12
+ * X-axis orientation type
13
+ */
14
+ export type XAxisOrientation = 'horizontal' | 'vertical';
15
+ /**
16
+ * Y-axis metadata containing all Y-axis related configuration
17
+ */
18
+ export interface YAxisMeta {
19
+ side: number[];
20
+ chartType: (string | undefined)[];
21
+ treatNullAsZero: boolean[];
22
+ connectNulls: boolean[];
23
+ }
24
+ /**
25
+ * Categories metadata containing categories, index mapping, and plot bands
26
+ */
27
+ export interface CategoriesMeta {
28
+ categories: string[];
29
+ indexMap: number[];
30
+ plotBands: PlotBand[];
31
+ }
32
+ /**
33
+ * Parameters for building X-axis settings
34
+ */
35
+ export interface BuildXAxisSettingsParams {
36
+ designOptions: ChartDesignOptions;
37
+ dataOptions: CartesianChartDataOptionsInternal;
38
+ chartData: CartesianChartData;
39
+ categoriesMeta: CategoriesMeta;
40
+ orientation: XAxisOrientation;
41
+ isContinuous: boolean;
42
+ dateFormatter?: (date: Date, format: string) => string;
43
+ }
44
+ /**
45
+ * Stacking configuration metadata
46
+ */
47
+ export interface StackingMeta {
48
+ stacking?: Stacking;
49
+ showTotal?: boolean;
50
+ }
51
+ /**
52
+ * Y-axis settings result containing both settings and clipping information
53
+ */
54
+ export interface YAxisSettingsResult {
55
+ settings: AxisSettings[];
56
+ clipped: AxisClipped[];
57
+ }
58
+ /**
59
+ * Determines if the X-axis should use continuous datetime scale
60
+ *
61
+ * @param xDataOptions - X-axis data options
62
+ * @returns true if continuous datetime X-axis should be used
63
+ */
64
+ export declare const isContinuousDatetimeXAxis: (xDataOptions: CartesianChartDataOptionsInternal['x']) => boolean;
65
+ /**
66
+ * Builds Y-axis metadata from chart data and options
67
+ *
68
+ * @param chartData - Cartesian chart data
69
+ * @param dataOptions - Chart data options
70
+ * @returns Y-axis metadata object
71
+ */
72
+ export declare const buildYAxisMeta: (chartData: CartesianChartData, dataOptions: CartesianChartDataOptionsInternal) => YAxisMeta;
73
+ /**
74
+ * Determines X-axis orientation based on chart type and Y-axis chart types
75
+ *
76
+ * @param chartType - Main chart type
77
+ * @param yAxisChartTypes - Array of Y-axis chart types
78
+ * @returns X-axis orientation
79
+ */
80
+ export declare const getXAxisOrientation: (chartType: ChartType, yAxisChartTypes: (string | undefined)[]) => XAxisOrientation;
81
+ /**
82
+ * Builds categories metadata including categories, index map, and plot bands
83
+ *
84
+ * @param chartData - Chart data
85
+ * @param dataOptions - Chart data options
86
+ * @param designOptions - Chart design options
87
+ * @param isContinuous - Whether X-axis is continuous
88
+ * @returns Categories metadata object
89
+ */
90
+ export declare const buildCategoriesMeta: (chartData: CartesianChartData, dataOptions: CartesianChartDataOptionsInternal, designOptions: ChartDesignOptions, isContinuous: boolean) => CategoriesMeta;
91
+ /**
92
+ * Builds X-axis settings based on whether it's continuous datetime or categorical
93
+ *
94
+ * @param params - Parameters object containing all required data
95
+ * @param params.designOptions - Chart design options
96
+ * @param params.dataOptions - Chart data options
97
+ * @param params.chartData - Chart data
98
+ * @param params.categoriesMeta - Categories metadata
99
+ * @param params.orientation - X-axis orientation
100
+ * @param params.isContinuous - Whether X-axis is continuous
101
+ * @param params.dateFormatter - Optional date formatter function
102
+ * @returns X-axis settings array
103
+ */
104
+ export declare const buildXAxisSettings: ({ designOptions, dataOptions, chartData, categoriesMeta, orientation, isContinuous, dateFormatter, }: BuildXAxisSettingsParams) => AxisSettings[];
105
+ /**
106
+ * Calculates Y-axis min/max values for a specific axis side
107
+ *
108
+ * @param axisIndex - Axis index (0 for left/primary, 1 for right/secondary)
109
+ * @param chartType - Chart type
110
+ * @param chartData - Chart data
111
+ * @param designOptions - Chart design options
112
+ * @param yAxisSide - Array indicating which side each series belongs to
113
+ * @param treatNullAsZero - Array indicating null treatment for each series
114
+ * @returns Axis min/max values
115
+ */
116
+ export declare const buildYAxisMinMax: (axisIndex: 0 | 1, chartType: ChartType, chartData: CartesianChartData, designOptions: ChartDesignOptions, yAxisSide: number[], treatNullAsZero: boolean[]) => AxisMinMax;
117
+ /**
118
+ * Builds stacking configuration metadata
119
+ *
120
+ * @param chartType - Chart type
121
+ * @param designOptions - Stackable chart design options
122
+ * @returns Stacking metadata
123
+ */
124
+ export declare const buildStackingMeta: (chartType: ChartType, designOptions: StackableChartDesignOptions) => StackingMeta;
125
+ /**
126
+ * Contextless transformer that normalizes Y-axis configuration for polar charts.
127
+ * Disables Y-axis titles which are not meaningful in polar coordinate system.
128
+ *
129
+ * @param designOptions - Polar chart design options to normalize
130
+ * @returns Normalized polar chart design options with Y-axis title disabled
131
+ * @example
132
+ * const normalizedOptions = withYAxisNormalizationForPolar(polarDesignOptions);
133
+ */
134
+ export declare const withYAxisNormalizationForPolar: (designOptions: Readonly<PolarChartDesignOptions>) => PolarChartDesignOptions;
135
+ /**
136
+ * Builds Y-axis settings and clipping information
137
+ *
138
+ * @param yAxis - Primary Y-axis configuration
139
+ * @param y2Axis - Secondary Y-axis configuration
140
+ * @param primaryMinMax - Primary axis min/max values
141
+ * @param secondaryMinMax - Secondary axis min/max values (optional)
142
+ * @param stackingMeta - Stacking configuration
143
+ * @param totalLabelRotation - Total label rotation angle
144
+ * @param dataOptions - Chart data options
145
+ * @param themeSettings - Theme settings (optional)
146
+ * @returns Y-axis settings and clipping information
147
+ */
148
+ export declare const buildYAxisSettings: (yAxis: Axis, y2Axis: Axis | undefined, primaryMinMax: AxisMinMax, secondaryMinMax: AxisMinMax | undefined, stackingMeta: StackingMeta, totalLabelRotation: number, dataOptions: CartesianChartDataOptionsInternal, themeSettings?: CompleteThemeSettings) => YAxisSettingsResult;
149
+ /**
150
+ * Determines if a secondary Y-axis is needed based on Y-axis side configuration
151
+ *
152
+ * @param yAxisSide - Array indicating which side each series belongs to
153
+ * @returns true if secondary Y-axis is needed
154
+ */
155
+ export declare const hasSecondaryYAxis: (yAxisSide: number[]) => boolean;
@@ -0,0 +1,39 @@
1
+ import { ChartDataOptionsInternal } from '../../../../chart-data-options/types';
2
+ import { CompleteThemeSettings } from '../../../../types';
3
+ import { AxisClipped } from '../../../translations/translations-to-highcharts';
4
+ import { Axis, AxisMinMax, AxisOrientation, AxisSettings, PlotBand } from '../../../translations/axis-section';
5
+ /**
6
+ * Builds X-axis settings for categorical axes
7
+ *
8
+ * @param axis - Primary X-axis configuration
9
+ * @param axis2 - Secondary X-axis configuration (optional)
10
+ * @param categories - Array of category labels
11
+ * @param plotBands - Array of plot band configurations
12
+ * @param xAxisOrientation - X-axis orientation ('horizontal' or 'vertical')
13
+ * @param dataOptions - Chart data options
14
+ * @returns Array of X-axis settings
15
+ */
16
+ export declare const getXAxisSettings: (axis: Axis, axis2: Axis | undefined, categories: string[], plotBands: PlotBand[], xAxisOrientation: AxisOrientation, dataOptions: ChartDataOptionsInternal) => AxisSettings[];
17
+ /**
18
+ * Creates Y-axis clipping information for cartesian charts.
19
+ *
20
+ * @param axis - Primary Y-axis configuration
21
+ * @param axis2 - Secondary Y-axis configuration (optional)
22
+ * @param axis2MinMax - Min/max values for secondary axis (optional)
23
+ * @returns Array of axis clipping information
24
+ */
25
+ export declare const getYClippings: (axis: Axis, axis2: Axis | undefined, axis2MinMax: AxisMinMax | undefined) => AxisClipped[];
26
+ /**
27
+ * Creates basic Y-axis settings configuration for cartesian charts.
28
+ * This function provides core Y-axis functionality without stacking-specific features.
29
+ * Use the withStacking transformer to add stacking capabilities when needed.
30
+ *
31
+ * @param axis - Primary Y-axis configuration
32
+ * @param axis2 - Secondary Y-axis configuration (optional)
33
+ * @param axisMinMax - Min/max values for primary axis
34
+ * @param axis2MinMax - Min/max values for secondary axis (optional)
35
+ * @param dataOptions - Chart data options
36
+ * @param themeSettings - Theme settings for styling (optional)
37
+ * @returns Array of basic axis settings
38
+ */
39
+ export declare const getYAxisSettings: (axis: Axis, axis2: Axis | undefined, axisMinMax: AxisMinMax, axis2MinMax: AxisMinMax | undefined, dataOptions: ChartDataOptionsInternal, themeSettings?: CompleteThemeSettings) => AxisSettings[];
@@ -0,0 +1,45 @@
1
+ import { Stacking } from '../../../chart-options-service';
2
+ import { ChartDataOptionsInternal } from '../../../../chart-data-options/types';
3
+ import { ChartType, CompleteThemeSettings } from '../../../../types';
4
+ import { AxisSettings } from '../../../translations/axis-section';
5
+ /**
6
+ * Configuration interface for stacking transformer
7
+ */
8
+ export interface StackingConfig {
9
+ stacking?: Stacking;
10
+ showTotal?: boolean;
11
+ totalLabelRotation?: number;
12
+ dataOptions: ChartDataOptionsInternal;
13
+ themeSettings?: CompleteThemeSettings;
14
+ }
15
+ /**
16
+ * Transformer that combines polar-specific axis transformations
17
+ * Applies both top title positioning and removes label rotation
18
+ */
19
+ export declare const withPolarSpecificAxisSettings: (axisSettings: AxisSettings[]) => AxisSettings[];
20
+ /**
21
+ * Transformer that applies stacking-specific enhancements to Y-axis settings.
22
+ * This transformer adds stacking-related properties (stack labels, total labels, formatting)
23
+ * to basic Y-axis settings for stackable charts.
24
+ *
25
+ * @param config - Stacking configuration containing stacking type, showTotal, rotation, and formatting options
26
+ * @returns A function that transforms basic Y-axis settings to include stacking support
27
+ *
28
+ * @example
29
+ * ```typescript
30
+ * // Apply stacking enhancements to basic Y-axis
31
+ * const stackedYAxis = flow(
32
+ * getYAxisSettings,
33
+ * withStacking({ stacking: 'normal', showTotal: true, totalLabelRotation: 0, dataOptions, themeSettings }),
34
+ * )(axis, axis2, axisMinMax, axis2MinMax, dataOptions, themeSettings);
35
+ * ```
36
+ */
37
+ export declare const withStacking: (config: StackingConfig) => (axisSettings: AxisSettings[]) => AxisSettings[];
38
+ /**
39
+ * Applies chart-specific axis settings to the axis settings array
40
+ *
41
+ * @param chartType - Chart type
42
+ * @param axisSettings - Array of axis settings
43
+ * @returns Array of axis settings with chart-specific settings applied
44
+ */
45
+ export declare const withChartSpecificAxisSettings: (chartType: ChartType) => (axisSettings: AxisSettings[]) => AxisSettings[];
@@ -0,0 +1,27 @@
1
+ import { StyledColumn } from '../../../../chart-data-options/types';
2
+ import { Axis, AxisSettings } from '../../../translations/axis-section';
3
+ /**
4
+ * Maps date granularity levels to their corresponding intervals in milliseconds
5
+ *
6
+ * @param granularity - The date granularity level
7
+ * @returns Interval in milliseconds for the given granularity
8
+ */
9
+ export declare const getInterval: (granularity: string) => number;
10
+ /**
11
+ * Creates a date formatter function for chart axis labels
12
+ *
13
+ * @param category - The styled column containing date formatting information
14
+ * @param dateFormatter - Optional external date formatter function
15
+ * @returns A function that formats timestamps as strings
16
+ */
17
+ export declare const getDateFormatter: (category: StyledColumn, dateFormatter?: ((date: Date, format: string) => string) | undefined) => (time: number) => string;
18
+ /**
19
+ * Builds X-axis settings for datetime axes with continuous data
20
+ *
21
+ * @param axis - Primary axis configuration
22
+ * @param category - The styled column for date formatting
23
+ * @param values - Array of numeric timestamp values
24
+ * @param dateFormatter - Optional date formatter function
25
+ * @returns Array of axis settings for datetime X-axis
26
+ */
27
+ export declare const getXAxisDatetimeSettings: (axis: Axis, category: StyledColumn, values: number[], dateFormatter?: ((date: Date, format: string) => string) | undefined) => AxisSettings[];
@@ -0,0 +1,3 @@
1
+ export { getInterval, getDateFormatter, getXAxisDatetimeSettings } from './date-utils';
2
+ export { getXAxisSettings, getYAxisSettings, getYClippings } from './axis-settings';
3
+ export { withStacking, withPolarSpecificAxisSettings, withChartSpecificAxisSettings, type StackingConfig, } from './axis-transformers';
@@ -1,13 +1,43 @@
1
+ import { ChartDesignOptions } from '../../../chart-options-processor/translations/types';
1
2
  import { AxisSettings } from '../../translations/axis-section';
2
3
  /**
3
- * Apply label positioning adjustments based on spacing calculations
4
+ * Configuration for Y-axis label positioning adjustments
4
5
  */
5
- export declare function applyLabelPositioning(xAxisSettings: AxisSettings[], yAxisSettings: AxisSettings[], rightShift: number, topShift: number, totalLabelRightSpacing: number, totalLabelTopSpacing: number): void;
6
+ type YAxisLabelPositioningConfig = {
7
+ readonly rightShift: number;
8
+ readonly topShift: number;
9
+ };
10
+ /**
11
+ * Configuration for X-axis label positioning adjustments
12
+ */
13
+ type XAxisLabelPositioningConfig = {
14
+ readonly totalLabelRightSpacing: number;
15
+ readonly totalLabelTopSpacing: number;
16
+ };
17
+ /**
18
+ * Higher-order function for Y-axis label positioning adjustments.
19
+ * Returns a function that transforms Y-axis settings without mutating the input parameters.
20
+ *
21
+ * @example
22
+ * const positionYAxisLabels = withYAxisLabelPositioning({ rightShift: 10, topShift: 20 });
23
+ * const updatedSettings = positionYAxisLabels(yAxisSettings);
24
+ */
25
+ export declare function withYAxisLabelPositioning(config: YAxisLabelPositioningConfig): (yAxisSettings: AxisSettings[]) => AxisSettings[];
26
+ /**
27
+ * Higher-order function for X-axis label positioning adjustments.
28
+ * Returns a function that transforms X-axis settings without mutating the input parameters.
29
+ *
30
+ * @example
31
+ * const positionXAxisLabels = withXAxisLabelPositioning({ totalLabelRightSpacing: 15, totalLabelTopSpacing: 25 });
32
+ * const updatedSettings = positionXAxisLabels(xAxisSettings);
33
+ */
34
+ export declare function withXAxisLabelPositioning(config: XAxisLabelPositioningConfig): (xAxisSettings: AxisSettings[]) => AxisSettings[];
6
35
  /**
7
36
  * Determine chart state information
8
37
  */
9
- export declare function determineChartState(chartType: string, chartDesignOptions: any, stacking?: string): {
38
+ export declare function determineChartState(chartType: string, chartDesignOptions: ChartDesignOptions, stacking?: string): {
10
39
  treatNullDataAsZeros: boolean;
11
40
  isPolarChart: boolean;
12
41
  polarType?: any;
13
42
  };
43
+ export {};
@@ -33,12 +33,15 @@ interface SeriesProcessingConfig {
33
33
  * Process and format series data for the chart
34
34
  */
35
35
  export declare function processSeries(config: SeriesProcessingConfig): {
36
+ shadow?: boolean | undefined;
37
+ linecap?: string | undefined;
38
+ dashStyle?: import("../../../types").DashStyle | undefined;
39
+ lineWidth?: number | undefined;
36
40
  dataLabels: {
37
41
  formatter: (this: import("../../tooltip").HighchartsDataPointContext) => string;
38
42
  };
39
43
  connectNulls: boolean;
40
44
  marker: import("../../translations/marker-section").MarkerSettings;
41
- lineWidth: number;
42
45
  type?: string | undefined;
43
46
  showInNavigator: boolean;
44
47
  stickyTracking: boolean;
@@ -1,9 +1,13 @@
1
- import { ChartDesignOptions } from './translations/types';
2
- import { ChartType, OptionsWithAlerts, CompleteThemeSettings } from '../types';
3
- import { CategoricalChartData } from '../chart-data/types';
4
- import { HighchartsOptionsInternal } from './chart-options-service';
5
- import { ChartDataOptionsInternal } from '../chart-data-options/types';
1
+ import { ChartDesignOptions } from '../translations/types';
2
+ import { ChartType, OptionsWithAlerts, CompleteThemeSettings } from '../../types';
3
+ import { CategoricalChartData } from '../../chart-data/types';
4
+ import { HighchartsOptionsInternal } from '../chart-options-service';
5
+ import { ChartDataOptionsInternal } from '../../chart-data-options/types';
6
6
  import { TFunction } from '@sisense/sdk-common';
7
+ export { getPieChartOptions } from './pie-chart-options';
8
+ export { getFunnelChartOptions } from './funnel-chart-options';
9
+ export { getTreemapChartOptions } from './treemap-chart-options';
10
+ export { getSunburstChartOptions } from './sunburst-chart-options';
7
11
  /**
8
12
  * Convert intermediate chart data, data options, and design options
9
13
  * into pure highcharts config data.
@@ -0,0 +1,15 @@
1
+ import { FunnelChartDesignOptions } from '../translations/design-options';
2
+ import { OptionsWithAlerts, CompleteThemeSettings } from '../../types';
3
+ import { CategoricalChartData } from '../../chart-data/types';
4
+ import { HighchartsOptionsInternal } from '../chart-options-service';
5
+ import { CategoricalChartDataOptionsInternal } from '../../chart-data-options/types';
6
+ /**
7
+ * Convert intermediate chart data, data options, and design options
8
+ * into pure highcharts config data for funnel charts.
9
+ *
10
+ * @param chartData - the data for the chart in an intermediate format
11
+ * @param chartDesignOptions - funnel chart specific design options
12
+ * @param dataOptions - chart data options
13
+ * @param themeSettings - theme settings
14
+ */
15
+ export declare const getFunnelChartOptions: (chartData: CategoricalChartData, chartDesignOptions: FunnelChartDesignOptions, dataOptions: CategoricalChartDataOptionsInternal, themeSettings?: CompleteThemeSettings) => OptionsWithAlerts<HighchartsOptionsInternal>;
@@ -0,0 +1,15 @@
1
+ import { PieChartDesignOptions } from '../translations/design-options';
2
+ import { OptionsWithAlerts, CompleteThemeSettings } from '../../types';
3
+ import { CategoricalChartData } from '../../chart-data/types';
4
+ import { HighchartsOptionsInternal } from '../chart-options-service';
5
+ import { CategoricalChartDataOptionsInternal } from '../../chart-data-options/types';
6
+ /**
7
+ * Convert intermediate chart data, data options, and design options
8
+ * into pure highcharts config data for pie charts.
9
+ *
10
+ * @param chartData - the data for the chart in an intermediate format
11
+ * @param chartDesignOptions - pie chart specific design options
12
+ * @param dataOptions - chart data options
13
+ * @param themeSettings - theme settings
14
+ */
15
+ export declare const getPieChartOptions: (chartData: CategoricalChartData, chartDesignOptions: PieChartDesignOptions, dataOptions: CategoricalChartDataOptionsInternal, themeSettings?: CompleteThemeSettings) => OptionsWithAlerts<HighchartsOptionsInternal>;
@@ -0,0 +1,17 @@
1
+ import { TreemapChartDesignOptions } from '../translations/design-options';
2
+ import { OptionsWithAlerts, CompleteThemeSettings } from '../../types';
3
+ import { CategoricalChartData } from '../../chart-data/types';
4
+ import { HighchartsOptionsInternal } from '../chart-options-service';
5
+ import { CategoricalChartDataOptionsInternal } from '../../chart-data-options/types';
6
+ import { TFunction } from '@sisense/sdk-common';
7
+ /**
8
+ * Convert intermediate chart data, data options, and design options
9
+ * into pure highcharts config data for sunburst charts.
10
+ *
11
+ * @param chartData - the data for the chart in an intermediate format
12
+ * @param chartDesignOptions - sunburst chart specific design options
13
+ * @param dataOptions - chart data options
14
+ * @param translate - translation function
15
+ * @param themeSettings - theme settings
16
+ */
17
+ export declare const getSunburstChartOptions: (chartData: CategoricalChartData, chartDesignOptions: TreemapChartDesignOptions, dataOptions: CategoricalChartDataOptionsInternal, translate: TFunction, themeSettings?: CompleteThemeSettings) => OptionsWithAlerts<HighchartsOptionsInternal>;
@@ -0,0 +1,17 @@
1
+ import { TreemapChartDesignOptions } from '../translations/design-options';
2
+ import { OptionsWithAlerts, CompleteThemeSettings } from '../../types';
3
+ import { CategoricalChartData } from '../../chart-data/types';
4
+ import { HighchartsOptionsInternal } from '../chart-options-service';
5
+ import { CategoricalChartDataOptionsInternal } from '../../chart-data-options/types';
6
+ import { TFunction } from '@sisense/sdk-common';
7
+ /**
8
+ * Convert intermediate chart data, data options, and design options
9
+ * into pure highcharts config data for treemap charts.
10
+ *
11
+ * @param chartData - the data for the chart in an intermediate format
12
+ * @param chartDesignOptions - treemap chart specific design options
13
+ * @param dataOptions - chart data options
14
+ * @param translate - translation function
15
+ * @param themeSettings - theme settings
16
+ */
17
+ export declare const getTreemapChartOptions: (chartData: CategoricalChartData, chartDesignOptions: TreemapChartDesignOptions, dataOptions: CategoricalChartDataOptionsInternal, translate: TFunction, themeSettings?: CompleteThemeSettings) => OptionsWithAlerts<HighchartsOptionsInternal>;
@@ -57,6 +57,12 @@ export type SeriesType = HighchartsSeriesValues & {
57
57
  dashStyle?: string;
58
58
  lineWidth?: number;
59
59
  zIndex?: number;
60
+ keys?: string[];
61
+ nullColor?: string;
62
+ borderWidth?: number;
63
+ borderColor?: string;
64
+ colsize?: number;
65
+ rowsize?: number;
60
66
  };
61
67
  type ChartPlotOptions = {
62
68
  dataLabels?: ValueLabelSettings;
@@ -118,6 +124,7 @@ export type PlotOptions = {
118
124
  boxplot?: ChartPlotOptions;
119
125
  scatter?: ChartPlotOptions;
120
126
  arearange?: ChartPlotOptions;
127
+ heatmap?: ChartPlotOptions;
121
128
  };
122
129
  /**
123
130
  * Highcharts options internal
@@ -146,6 +153,13 @@ export type HighchartsOptionsInternal = {
146
153
  zooming?: {
147
154
  type: string;
148
155
  };
156
+ plotBorderWidth?: number;
157
+ backgroundColor?: string;
158
+ marginBottom?: number;
159
+ marginLeft?: number;
160
+ marginRight?: number;
161
+ width?: number;
162
+ height?: number;
149
163
  };
150
164
  title?: {
151
165
  text: string | null;
@@ -176,16 +190,18 @@ export type HighchartsOptionsInternal = {
176
190
  enabled: boolean;
177
191
  };
178
192
  drilldown?: DrilldownOptions;
179
- };
180
- export type Style = {
181
- fontFamily?: string;
182
- fontSize?: string;
183
- fontWeight?: string;
184
- color?: string;
185
- textOutline?: string;
186
- pointerEvents?: string;
187
- textOverflow?: string;
188
- width?: string;
193
+ accessibility?: {
194
+ enabled?: boolean;
195
+ landmarkVerbosity?: 'one' | 'all';
196
+ };
197
+ colorAxis?: {
198
+ min?: number;
199
+ max?: number;
200
+ stops?: [number, string][];
201
+ labels?: {
202
+ format: string;
203
+ };
204
+ };
189
205
  };
190
206
  type Navigator = {
191
207
  series: {
@@ -1,10 +1,11 @@
1
1
  import { AxisSettings } from '../translations/axis-section';
2
- import { Style, HighchartsOptionsInternal, Stacking } from '../chart-options-service';
2
+ import { HighchartsOptionsInternal, Stacking } from '../chart-options-service';
3
+ import { TextStyle } from '../translations/types';
3
4
  import { ChartType } from '../../types';
4
5
  import { PolarType } from '../translations/design-options';
5
6
  export declare const lineColorDefault = "#d1d1d7";
6
- export declare const fontStyleDefault: Style;
7
- export declare const stackTotalFontStyleDefault: Style;
7
+ export declare const fontStyleDefault: TextStyle;
8
+ export declare const stackTotalFontStyleDefault: TextStyle;
8
9
  export declare const xAxisDefaults: AxisSettings;
9
10
  export declare const yAxisDefaults: AxisSettings;
10
11
  export declare const chartOptionsDefaults: (chartType: ChartType, polarType?: PolarType, stacking?: Stacking) => HighchartsOptionsInternal;
@@ -1,14 +1,14 @@
1
1
  import { ChartDesignOptions } from './translations/types';
2
- import { ChartType, OptionsWithAlerts, CompleteThemeSettings } from '../types';
2
+ import { ChartType, OptionsWithAlerts, CompleteThemeSettings, LegendOptions } from '../types';
3
3
  import { ScatterChartData } from '../chart-data/types';
4
4
  import { HighchartsOptionsInternal } from './chart-options-service';
5
5
  import { ChartDataOptionsInternal } from '../chart-data-options/types';
6
- import { LegendPosition, LegendSettings } from './translations/legend-section';
6
+ import { LegendSettings } from './translations/legend-section';
7
7
  /**
8
8
  * @param position
9
9
  * @internal
10
10
  */
11
- export declare const getScatterLegendSettings: (position: LegendPosition) => LegendSettings;
11
+ export declare const getScatterLegendSettings: (legend?: LegendOptions) => LegendSettings;
12
12
  /**
13
13
  * Convert intermediate chart data, data options, and design options
14
14
  * into pure highcharts config data.
@@ -1,10 +1,8 @@
1
- import { Legend, PolarStyleOptions, PieStyleOptions, StackableStyleOptions, LineStyleOptions, AreaStyleOptions, FunnelStyleOptions, ScatterStyleOptions, BaseStyleOptions, TreemapStyleOptions, SunburstStyleOptions, BoxplotStyleOptions, ScattermapStyleOptions, BaseAxisStyleOptions, ChartStyleOptions, ChartType } from '../../types';
1
+ import { PolarStyleOptions, PieStyleOptions, StackableStyleOptions, LineStyleOptions, AreaStyleOptions, FunnelStyleOptions, ScatterStyleOptions, BaseStyleOptions, TreemapStyleOptions, SunburstStyleOptions, BoxplotStyleOptions, ScattermapStyleOptions, BaseAxisStyleOptions, ChartStyleOptions, ChartType } from '../../types';
2
2
  import { StackableChartDesignOptions, LineChartDesignOptions, PieChartDesignOptions, FunnelChartDesignOptions, PolarChartDesignOptions, ScatterChartDesignOptions, AreaChartDesignOptions, TreemapChartDesignOptions, SunburstChartDesignOptions, BoxplotChartDesignOptions, ScattermapChartDesignOptions, BaseDesignOptionsType } from '../translations/design-options';
3
- import { LegendPosition } from '../translations/legend-section';
4
3
  import { StackType } from '../translations/translations-to-highcharts';
5
4
  import { CartesianChartType, SeriesDesignOptions } from '../translations/types';
6
5
  import { CartesianChartDataOptionsInternal } from '../../chart-data-options/types';
7
- export declare const getLegend: (legend?: Legend) => LegendPosition;
8
6
  export declare const DefaultStackType: StackType;
9
7
  export declare const getCartesianChartStyle: (styleOptions: BaseStyleOptions & BaseAxisStyleOptions, shouldHaveY2Axis: boolean) => BaseDesignOptionsType;
10
8
  export declare const getStackableChartDesignOptions: (styleOptions: AreaStyleOptions | StackableStyleOptions, dataOptions: CartesianChartDataOptionsInternal, hasY2Axis: boolean, chartType: CartesianChartType) => StackableChartDesignOptions;
@@ -1,8 +1,5 @@
1
- import { Stacking, Style } from '../chart-options-service';
2
- import { ChartDataOptionsInternal, StyledColumn } from '../../chart-data-options/types';
3
- import { ChartType, CompleteThemeSettings } from '../../types';
1
+ import { TextStyle } from './types';
4
2
  import { CategoricalXValues } from '../../chart-data/types';
5
- import { AxisClipped } from './translations-to-highcharts';
6
3
  export type Axis = {
7
4
  enabled?: boolean;
8
5
  titleEnabled?: boolean;
@@ -31,7 +28,7 @@ export type AxisSettings = {
31
28
  text?: string | null;
32
29
  enabled?: boolean;
33
30
  margin?: number;
34
- style?: Style;
31
+ style?: TextStyle;
35
32
  };
36
33
  gridLineDashStyle?: 'Dot';
37
34
  gridLineWidth?: number;
@@ -39,12 +36,14 @@ export type AxisSettings = {
39
36
  tickWidth?: number;
40
37
  lineColor?: string;
41
38
  lineWidth?: number;
39
+ offset?: number;
42
40
  labels?: {
43
41
  overflow?: 'none' | 'justify';
44
42
  enabled?: boolean;
45
43
  autoRotation?: number[];
46
- style?: Style;
44
+ style?: TextStyle;
47
45
  rotation?: number;
46
+ y?: number;
48
47
  formatter?: (this: AxisLabelsFormatterContextObject) => string;
49
48
  };
50
49
  min?: number | null;
@@ -70,9 +69,13 @@ export type AxisSettings = {
70
69
  stackLabels?: StackLabel;
71
70
  showLastLabel?: boolean;
72
71
  visible?: boolean;
72
+ accessibility?: {
73
+ description?: string;
74
+ rangeDescription?: string;
75
+ };
73
76
  };
74
77
  export type StackLabel = {
75
- style: Style;
78
+ style: TextStyle;
76
79
  crop: boolean;
77
80
  allowOverlap: boolean;
78
81
  enabled: boolean;
@@ -100,12 +103,8 @@ export type AxisPlotBand = {
100
103
  text: string;
101
104
  x: number;
102
105
  y: number;
103
- style?: Style;
106
+ style?: TextStyle;
104
107
  };
105
108
  };
106
109
  export declare const getCategoricalCompareValue: (value: CategoricalXValues) => number;
107
110
  export declare const getDefaultDateFormat: (granularity?: string) => "HH:mm:ss" | "yyyy" | "yyyy Q" | "MM/yyyy" | "ww yyyy" | "M/d/yy" | "HH" | "M/d/yy HH" | "HH:mm" | undefined;
108
- export declare const getDateFormatter: (category: StyledColumn, dateFormatter?: ((date: Date, format: string) => string) | undefined) => (time: number) => string;
109
- export declare const getXAxisDatetimeSettings: (axis: Axis, category: StyledColumn, values: number[], dateFormatter?: ((date: Date, format: string) => string) | undefined) => AxisSettings[];
110
- export declare const getXAxisSettings: (axis: Axis, axis2: Axis | undefined, categories: string[], plotBands: PlotBand[], xAxisOrientation: AxisOrientation, dataOptions: ChartDataOptionsInternal, chartType: ChartType) => AxisSettings[];
111
- export declare const getYAxisSettings: (axis: Axis, axis2: Axis | undefined, axisMinMax: AxisMinMax, axis2MinMax: AxisMinMax | undefined, showTotal: boolean, totalLabelRotation: number, dataOptions: ChartDataOptionsInternal, stacking: Stacking | undefined, themeSettings?: CompleteThemeSettings) => [AxisSettings[], AxisClipped[]];