@aquera/nile-visualization 2.9.28 → 2.9.30

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 (136) hide show
  1. package/README.md +8 -0
  2. package/dist/src/index.d.ts +6 -1
  3. package/dist/src/index.js +3 -0
  4. package/dist/src/internal/chart-events.d.ts +92 -0
  5. package/dist/src/internal/chart-events.js +291 -0
  6. package/dist/src/internal/chart-runtime.d.ts +41 -0
  7. package/dist/src/internal/chart-runtime.js +30 -0
  8. package/dist/src/internal/highcharts-provider.js +2 -0
  9. package/dist/src/internal/nile-chart-base.d.ts +43 -0
  10. package/dist/src/internal/nile-chart-base.js +67 -0
  11. package/dist/src/internal/resolve-widget-kind.d.ts +10 -0
  12. package/dist/src/internal/resolve-widget-kind.js +16 -0
  13. package/dist/src/internal/responsive-defaults.d.ts +32 -0
  14. package/dist/src/internal/responsive-defaults.js +255 -0
  15. package/dist/src/internal/types/chart-forecast-config.type.d.ts +35 -0
  16. package/dist/src/internal/types/chart-forecast-config.type.js +2 -0
  17. package/dist/src/internal/types/highcharts-passthrough.type.d.ts +80 -0
  18. package/dist/src/internal/types/highcharts-passthrough.type.js +24 -0
  19. package/dist/src/internal/types/index.d.ts +3 -0
  20. package/dist/src/internal/types/index.js +1 -1
  21. package/dist/src/internal/types/primitive-chart-config.type.d.ts +2 -1
  22. package/dist/src/internal/types/widget-config.type.d.ts +14 -3
  23. package/dist/src/nile-anomaly-chart/nile-anomaly-chart.d.ts +2 -0
  24. package/dist/src/nile-anomaly-chart/nile-anomaly-chart.js +8 -1
  25. package/dist/src/nile-area-chart/nile-area-chart.d.ts +1 -0
  26. package/dist/src/nile-area-chart/nile-area-chart.js +7 -1
  27. package/dist/src/nile-area-negative-chart/nile-area-negative-chart.d.ts +1 -0
  28. package/dist/src/nile-area-negative-chart/nile-area-negative-chart.js +7 -1
  29. package/dist/src/nile-area-range-chart/nile-area-range-chart.d.ts +1 -0
  30. package/dist/src/nile-area-range-chart/nile-area-range-chart.js +7 -1
  31. package/dist/src/nile-area-spline-chart/nile-area-spline-chart.d.ts +1 -0
  32. package/dist/src/nile-area-spline-chart/nile-area-spline-chart.js +7 -1
  33. package/dist/src/nile-bar-chart/nile-bar-chart.d.ts +2 -0
  34. package/dist/src/nile-bar-chart/nile-bar-chart.js +8 -1
  35. package/dist/src/nile-bellcurve-chart/nile-bellcurve-chart.d.ts +1 -0
  36. package/dist/src/nile-bellcurve-chart/nile-bellcurve-chart.js +7 -1
  37. package/dist/src/nile-boxplot-chart/nile-boxplot-chart.d.ts +1 -0
  38. package/dist/src/nile-boxplot-chart/nile-boxplot-chart.js +7 -1
  39. package/dist/src/nile-bubble-chart/nile-bubble-chart.d.ts +1 -0
  40. package/dist/src/nile-bubble-chart/nile-bubble-chart.js +7 -1
  41. package/dist/src/nile-chart/index.d.ts +1 -1
  42. package/dist/src/nile-chart/nile-chart-config.d.ts +22 -83
  43. package/dist/src/nile-chart/nile-chart-skeleton.js +1 -1
  44. package/dist/src/nile-chart/nile-chart.css.js +3 -1
  45. package/dist/src/nile-chart/nile-chart.d.ts +68 -0
  46. package/dist/src/nile-chart/nile-chart.js +244 -7
  47. package/dist/src/nile-cluster-chart/nile-cluster-chart.d.ts +1 -0
  48. package/dist/src/nile-cluster-chart/nile-cluster-chart.js +7 -1
  49. package/dist/src/nile-column-chart/nile-column-chart.d.ts +1 -0
  50. package/dist/src/nile-column-chart/nile-column-chart.js +7 -1
  51. package/dist/src/nile-column-drilldown-chart/nile-column-drilldown-chart.d.ts +1 -0
  52. package/dist/src/nile-column-drilldown-chart/nile-column-drilldown-chart.js +8 -1
  53. package/dist/src/nile-column-pyramid-chart/nile-column-pyramid-chart.d.ts +1 -0
  54. package/dist/src/nile-column-pyramid-chart/nile-column-pyramid-chart.js +7 -1
  55. package/dist/src/nile-column-range-chart/nile-column-range-chart.d.ts +1 -0
  56. package/dist/src/nile-column-range-chart/nile-column-range-chart.js +7 -1
  57. package/dist/src/nile-dashboard-builder/nile-dashboard-builder.css.js +24 -8
  58. package/dist/src/nile-dashboard-builder/nile-dashboard-builder.d.ts +111 -0
  59. package/dist/src/nile-dashboard-builder/nile-dashboard-builder.js +188 -6
  60. package/dist/src/nile-donut-chart/nile-donut-chart.d.ts +1 -0
  61. package/dist/src/nile-donut-chart/nile-donut-chart.js +7 -1
  62. package/dist/src/nile-dumbbell-chart/nile-dumbbell-chart.d.ts +1 -0
  63. package/dist/src/nile-dumbbell-chart/nile-dumbbell-chart.js +7 -1
  64. package/dist/src/nile-dumbbell-lower-chart/nile-dumbbell-lower-chart.d.ts +1 -0
  65. package/dist/src/nile-dumbbell-lower-chart/nile-dumbbell-lower-chart.js +7 -1
  66. package/dist/src/nile-dumbbell-upper-chart/nile-dumbbell-upper-chart.d.ts +1 -0
  67. package/dist/src/nile-dumbbell-upper-chart/nile-dumbbell-upper-chart.js +7 -1
  68. package/dist/src/nile-euler-chart/nile-euler-chart.d.ts +1 -0
  69. package/dist/src/nile-euler-chart/nile-euler-chart.js +7 -1
  70. package/dist/src/nile-fan-chart/nile-fan-chart.d.ts +1 -0
  71. package/dist/src/nile-fan-chart/nile-fan-chart.js +7 -1
  72. package/dist/src/nile-filter-chart/nile-filter-chart.d.ts +2 -0
  73. package/dist/src/nile-filter-chart/nile-filter-chart.js +14 -0
  74. package/dist/src/nile-filter-chart/utils/prompt.js +31 -6
  75. package/dist/src/nile-filter-chart/utils/types.d.ts +2 -0
  76. package/dist/src/nile-flame-chart/nile-flame-chart.d.ts +1 -0
  77. package/dist/src/nile-flame-chart/nile-flame-chart.js +7 -1
  78. package/dist/src/nile-forecast-chart/index.d.ts +2 -0
  79. package/dist/src/nile-forecast-chart/index.js +2 -0
  80. package/dist/src/nile-forecast-chart/nile-forecast-chart.css.d.ts +1 -0
  81. package/dist/src/nile-forecast-chart/nile-forecast-chart.css.js +46 -0
  82. package/dist/src/nile-forecast-chart/nile-forecast-chart.d.ts +90 -0
  83. package/dist/src/nile-forecast-chart/nile-forecast-chart.js +551 -0
  84. package/dist/src/nile-funnel-chart/nile-funnel-chart.d.ts +1 -0
  85. package/dist/src/nile-funnel-chart/nile-funnel-chart.js +7 -1
  86. package/dist/src/nile-gauge-chart/nile-gauge-chart.d.ts +20 -0
  87. package/dist/src/nile-gauge-chart/nile-gauge-chart.js +80 -4
  88. package/dist/src/nile-heatmap-chart/nile-heatmap-chart.d.ts +1 -0
  89. package/dist/src/nile-heatmap-chart/nile-heatmap-chart.js +7 -1
  90. package/dist/src/nile-histogram-chart/nile-histogram-chart.d.ts +1 -0
  91. package/dist/src/nile-histogram-chart/nile-histogram-chart.js +7 -1
  92. package/dist/src/nile-inverted-area-chart/nile-inverted-area-chart.d.ts +1 -0
  93. package/dist/src/nile-inverted-area-chart/nile-inverted-area-chart.js +7 -1
  94. package/dist/src/nile-line-chart/nile-line-chart.d.ts +1 -0
  95. package/dist/src/nile-line-chart/nile-line-chart.js +7 -1
  96. package/dist/src/nile-line-column-chart/nile-line-column-chart.d.ts +1 -0
  97. package/dist/src/nile-line-column-chart/nile-line-column-chart.js +7 -1
  98. package/dist/src/nile-lollipop-chart/nile-lollipop-chart.d.ts +1 -0
  99. package/dist/src/nile-lollipop-chart/nile-lollipop-chart.js +7 -1
  100. package/dist/src/nile-map-chart/nile-map-chart.d.ts +23 -3
  101. package/dist/src/nile-map-chart/nile-map-chart.js +52 -12
  102. package/dist/src/nile-master-detail-chart/nile-master-detail-chart.css.js +13 -1
  103. package/dist/src/nile-master-detail-chart/nile-master-detail-chart.d.ts +1 -0
  104. package/dist/src/nile-master-detail-chart/nile-master-detail-chart.js +48 -4
  105. package/dist/src/nile-organization-chart/nile-organization-chart.d.ts +1 -0
  106. package/dist/src/nile-organization-chart/nile-organization-chart.js +7 -1
  107. package/dist/src/nile-pie-chart/nile-pie-chart.d.ts +2 -0
  108. package/dist/src/nile-pie-chart/nile-pie-chart.js +8 -1
  109. package/dist/src/nile-polygon-chart/nile-polygon-chart.d.ts +1 -0
  110. package/dist/src/nile-polygon-chart/nile-polygon-chart.js +7 -1
  111. package/dist/src/nile-radar-chart/nile-radar-chart.d.ts +1 -0
  112. package/dist/src/nile-radar-chart/nile-radar-chart.js +7 -1
  113. package/dist/src/nile-radial-bar-chart/nile-radial-bar-chart.d.ts +1 -0
  114. package/dist/src/nile-radial-bar-chart/nile-radial-bar-chart.js +7 -1
  115. package/dist/src/nile-scatter-chart/nile-scatter-chart.d.ts +1 -0
  116. package/dist/src/nile-scatter-chart/nile-scatter-chart.js +7 -1
  117. package/dist/src/nile-spiderweb-chart/nile-spiderweb-chart.d.ts +1 -0
  118. package/dist/src/nile-spiderweb-chart/nile-spiderweb-chart.js +7 -1
  119. package/dist/src/nile-spline-chart/nile-spline-chart.d.ts +1 -0
  120. package/dist/src/nile-spline-chart/nile-spline-chart.js +7 -1
  121. package/dist/src/nile-stacked-chart/nile-stacked-chart.d.ts +1 -0
  122. package/dist/src/nile-stacked-chart/nile-stacked-chart.js +7 -1
  123. package/dist/src/nile-timeline-chart/nile-timeline-chart.d.ts +1 -0
  124. package/dist/src/nile-timeline-chart/nile-timeline-chart.js +7 -1
  125. package/dist/src/nile-trendline-chart/nile-trendline-chart.d.ts +2 -0
  126. package/dist/src/nile-trendline-chart/nile-trendline-chart.js +8 -1
  127. package/dist/src/nile-variable-pie-chart/nile-variable-pie-chart.d.ts +1 -0
  128. package/dist/src/nile-variable-pie-chart/nile-variable-pie-chart.js +7 -1
  129. package/dist/src/nile-vector-chart/nile-vector-chart.d.ts +1 -0
  130. package/dist/src/nile-vector-chart/nile-vector-chart.js +7 -1
  131. package/dist/src/nile-waterfall-chart/nile-waterfall-chart.d.ts +1 -0
  132. package/dist/src/nile-waterfall-chart/nile-waterfall-chart.js +7 -1
  133. package/dist/src/nile-widget-viewer/nile-widget-viewer.js +6 -6
  134. package/dist/src/nile-xrange-chart/nile-xrange-chart.d.ts +1 -0
  135. package/dist/src/nile-xrange-chart/nile-xrange-chart.js +7 -1
  136. package/package.json +2 -1
@@ -5,6 +5,7 @@ import NileElement from '../internal/nile-element.js';
5
5
  import { applySeparatedChartConfig } from '../internal/separated-chart-config.js';
6
6
  import { getHighcharts } from '../internal/highcharts-provider.js';
7
7
  import { deepMerge } from '../internal/utils.js';
8
+ import { withResponsiveDefaults } from '../internal/responsive-defaults.js';
8
9
  import { styles } from './nile-area-negative-chart.css.js';
9
10
  let NileAreaNegativeChart = class NileAreaNegativeChart extends NileElement {
10
11
  constructor() {
@@ -18,6 +19,7 @@ let NileAreaNegativeChart = class NileAreaNegativeChart extends NileElement {
18
19
  this.data = [];
19
20
  this.categories = [];
20
21
  this.options = {};
22
+ this.noResponsive = false;
21
23
  this.loading = false;
22
24
  this.height = '400px';
23
25
  this.yAxisTitle = '';
@@ -122,7 +124,7 @@ let NileAreaNegativeChart = class NileAreaNegativeChart extends NileElement {
122
124
  }
123
125
  buildOptions() {
124
126
  const self = this;
125
- return deepMerge({
127
+ const merged = deepMerge({
126
128
  chart: { type: 'area', ...(this.height ? { height: this.height } : {}) },
127
129
  title: { text: this.chartTitle || undefined },
128
130
  subtitle: { text: this.chartSubtitle || undefined },
@@ -160,6 +162,7 @@ let NileAreaNegativeChart = class NileAreaNegativeChart extends NileElement {
160
162
  legend: (() => { const { show, ...rest } = this.legend ?? {}; return { enabled: show ?? this.showLegend, ...rest }; })(),
161
163
  credits: { enabled: false },
162
164
  }, this.options);
165
+ return withResponsiveDefaults(merged, 'areaNegative', this.noResponsive);
163
166
  }
164
167
  async initChart() {
165
168
  if (this.loading || !this.chartContainer)
@@ -204,6 +207,9 @@ __decorate([
204
207
  __decorate([
205
208
  property({ type: Object })
206
209
  ], NileAreaNegativeChart.prototype, "options", void 0);
210
+ __decorate([
211
+ property({ type: Boolean, attribute: 'no-responsive' })
212
+ ], NileAreaNegativeChart.prototype, "noResponsive", void 0);
207
213
  __decorate([
208
214
  property({ type: Boolean, reflect: true })
209
215
  ], NileAreaNegativeChart.prototype, "loading", void 0);
@@ -21,6 +21,7 @@ export declare class NileAreaRangeChart extends NileElement {
21
21
  data: AreaRangeSeriesData[];
22
22
  categories: string[];
23
23
  options: Highcharts.Options;
24
+ noResponsive: boolean;
24
25
  loading: boolean;
25
26
  height: string;
26
27
  yAxisTitle: string;
@@ -5,6 +5,7 @@ import NileElement from '../internal/nile-element.js';
5
5
  import { applySeparatedChartConfig } from '../internal/separated-chart-config.js';
6
6
  import { getHighcharts } from '../internal/highcharts-provider.js';
7
7
  import { deepMerge } from '../internal/utils.js';
8
+ import { withResponsiveDefaults } from '../internal/responsive-defaults.js';
8
9
  import { styles } from './nile-area-range-chart.css.js';
9
10
  let NileAreaRangeChart = class NileAreaRangeChart extends NileElement {
10
11
  constructor() {
@@ -18,6 +19,7 @@ let NileAreaRangeChart = class NileAreaRangeChart extends NileElement {
18
19
  this.data = [];
19
20
  this.categories = [];
20
21
  this.options = {};
22
+ this.noResponsive = false;
21
23
  this.loading = false;
22
24
  this.height = '400px';
23
25
  this.yAxisTitle = '';
@@ -120,7 +122,7 @@ let NileAreaRangeChart = class NileAreaRangeChart extends NileElement {
120
122
  }
121
123
  buildOptions() {
122
124
  const self = this;
123
- return deepMerge({
125
+ const merged = deepMerge({
124
126
  chart: { ...(this.height ? { height: this.height } : {}) },
125
127
  title: { text: this.chartTitle || undefined },
126
128
  subtitle: { text: this.chartSubtitle || undefined },
@@ -158,6 +160,7 @@ let NileAreaRangeChart = class NileAreaRangeChart extends NileElement {
158
160
  legend: (() => { const { show, ...rest } = this.legend ?? {}; return { enabled: show ?? this.showLegend, ...rest }; })(),
159
161
  credits: { enabled: false },
160
162
  }, this.options);
163
+ return withResponsiveDefaults(merged, 'areaRange', this.noResponsive);
161
164
  }
162
165
  async initChart() {
163
166
  if (this.loading || !this.chartContainer)
@@ -202,6 +205,9 @@ __decorate([
202
205
  __decorate([
203
206
  property({ type: Object })
204
207
  ], NileAreaRangeChart.prototype, "options", void 0);
208
+ __decorate([
209
+ property({ type: Boolean, attribute: 'no-responsive' })
210
+ ], NileAreaRangeChart.prototype, "noResponsive", void 0);
205
211
  __decorate([
206
212
  property({ type: Boolean, reflect: true })
207
213
  ], NileAreaRangeChart.prototype, "loading", void 0);
@@ -20,6 +20,7 @@ export declare class NileAreaSplineChart extends NileElement {
20
20
  data: AreaSplineSeriesData[];
21
21
  categories: string[];
22
22
  options: Highcharts.Options;
23
+ noResponsive: boolean;
23
24
  loading: boolean;
24
25
  height: string;
25
26
  yAxisTitle: string;
@@ -5,6 +5,7 @@ import NileElement from '../internal/nile-element.js';
5
5
  import { applySeparatedChartConfig } from '../internal/separated-chart-config.js';
6
6
  import { getHighcharts } from '../internal/highcharts-provider.js';
7
7
  import { deepMerge } from '../internal/utils.js';
8
+ import { withResponsiveDefaults } from '../internal/responsive-defaults.js';
8
9
  import { styles } from './nile-area-spline-chart.css.js';
9
10
  let NileAreaSplineChart = class NileAreaSplineChart extends NileElement {
10
11
  constructor() {
@@ -18,6 +19,7 @@ let NileAreaSplineChart = class NileAreaSplineChart extends NileElement {
18
19
  this.data = [];
19
20
  this.categories = [];
20
21
  this.options = {};
22
+ this.noResponsive = false;
21
23
  this.loading = false;
22
24
  this.height = '400px';
23
25
  this.yAxisTitle = '';
@@ -122,7 +124,7 @@ let NileAreaSplineChart = class NileAreaSplineChart extends NileElement {
122
124
  }
123
125
  buildOptions() {
124
126
  const self = this;
125
- return deepMerge({
127
+ const merged = deepMerge({
126
128
  chart: { type: 'areaspline', ...(this.height ? { height: this.height } : {}) },
127
129
  title: { text: this.chartTitle || undefined },
128
130
  subtitle: { text: this.chartSubtitle || undefined },
@@ -156,6 +158,7 @@ let NileAreaSplineChart = class NileAreaSplineChart extends NileElement {
156
158
  legend: (() => { const { show, ...rest } = this.legend ?? {}; return { enabled: show ?? this.showLegend, ...rest }; })(),
157
159
  credits: { enabled: false },
158
160
  }, this.options);
161
+ return withResponsiveDefaults(merged, 'areaSpline', this.noResponsive);
159
162
  }
160
163
  async initChart() {
161
164
  if (this.loading || !this.chartContainer)
@@ -200,6 +203,9 @@ __decorate([
200
203
  __decorate([
201
204
  property({ type: Object })
202
205
  ], NileAreaSplineChart.prototype, "options", void 0);
206
+ __decorate([
207
+ property({ type: Boolean, attribute: 'no-responsive' })
208
+ ], NileAreaSplineChart.prototype, "noResponsive", void 0);
203
209
  __decorate([
204
210
  property({ type: Boolean, reflect: true })
205
211
  ], NileAreaSplineChart.prototype, "loading", void 0);
@@ -25,6 +25,8 @@ export declare class NileBarChart extends NileElement {
25
25
  categories: string[];
26
26
  /** Deep-merge override object for full Highcharts options. */
27
27
  options: Highcharts.Options;
28
+ /** Opts out of the built-in responsive rules — the chart still reflows, it just keeps its full legend/axis chrome at every size. */
29
+ noResponsive: boolean;
28
30
  /** Whether to show a loading indicator instead of the chart. */
29
31
  loading: boolean;
30
32
  /** CSS height for the chart container. */
@@ -4,6 +4,7 @@ import { html } from 'lit';
4
4
  import NileElement from '../internal/nile-element.js';
5
5
  import { getHighcharts } from '../internal/highcharts-provider.js';
6
6
  import { deepMerge } from '../internal/utils.js';
7
+ import { withResponsiveDefaults } from '../internal/responsive-defaults.js';
7
8
  import { styles } from './nile-bar-chart.css.js';
8
9
  let NileBarChart = class NileBarChart extends NileElement {
9
10
  constructor() {
@@ -23,6 +24,8 @@ let NileBarChart = class NileBarChart extends NileElement {
23
24
  this.categories = [];
24
25
  /** Deep-merge override object for full Highcharts options. */
25
26
  this.options = {};
27
+ /** Opts out of the built-in responsive rules — the chart still reflows, it just keeps its full legend/axis chrome at every size. */
28
+ this.noResponsive = false;
26
29
  /** Whether to show a loading indicator instead of the chart. */
27
30
  this.loading = false;
28
31
  /** CSS height for the chart container. */
@@ -235,7 +238,8 @@ let NileBarChart = class NileBarChart extends NileElement {
235
238
  enabled: false,
236
239
  },
237
240
  };
238
- return deepMerge(defaults, this.options);
241
+ const merged = deepMerge(defaults, this.options);
242
+ return withResponsiveDefaults(merged, 'bar', this.noResponsive);
239
243
  }
240
244
  async initChart() {
241
245
  if (this.loading || !this.chartContainer)
@@ -280,6 +284,9 @@ __decorate([
280
284
  __decorate([
281
285
  property({ type: Object })
282
286
  ], NileBarChart.prototype, "options", void 0);
287
+ __decorate([
288
+ property({ type: Boolean, attribute: 'no-responsive' })
289
+ ], NileBarChart.prototype, "noResponsive", void 0);
283
290
  __decorate([
284
291
  property({ type: Boolean, reflect: true })
285
292
  ], NileBarChart.prototype, "loading", void 0);
@@ -17,6 +17,7 @@ export declare class NileBellcurveChart extends NileElement {
17
17
  /** Raw numeric observations; mean and standard deviation are derived for the fitted curve. */
18
18
  data: BellcurveSamples;
19
19
  options: Highcharts.Options;
20
+ noResponsive: boolean;
20
21
  loading: boolean;
21
22
  height: string;
22
23
  xAxisTitle: string;
@@ -5,6 +5,7 @@ import { getHighcharts } from '../internal/highcharts-provider.js';
5
5
  import NileElement from '../internal/nile-element.js';
6
6
  import { applySeparatedChartConfig } from '../internal/separated-chart-config.js';
7
7
  import { deepMerge } from '../internal/utils.js';
8
+ import { withResponsiveDefaults } from '../internal/responsive-defaults.js';
8
9
  import { styles } from './nile-bellcurve-chart.css.js';
9
10
  const BELLCURVE_BASE_ID = 'nile-bellcurve-base';
10
11
  let NileBellcurveChart = class NileBellcurveChart extends NileElement {
@@ -20,6 +21,7 @@ let NileBellcurveChart = class NileBellcurveChart extends NileElement {
20
21
  /** Raw numeric observations; mean and standard deviation are derived for the fitted curve. */
21
22
  this.data = [];
22
23
  this.options = {};
24
+ this.noResponsive = false;
23
25
  this.loading = false;
24
26
  this.height = '400px';
25
27
  this.xAxisTitle = '';
@@ -146,7 +148,7 @@ let NileBellcurveChart = class NileBellcurveChart extends NileElement {
146
148
  const scatterData = sorted.map(v => [v, v]);
147
149
  const pts = this.pointsInInterval > 0 ? this.pointsInInterval : 40;
148
150
  const iv = this.intervals > 0 ? this.intervals : 3;
149
- return deepMerge({
151
+ const merged = deepMerge({
150
152
  chart: { ...(this.height ? { height: this.height } : {}) },
151
153
  title: { text: this.chartTitle || undefined },
152
154
  subtitle: { text: this.chartSubtitle || undefined },
@@ -220,6 +222,7 @@ let NileBellcurveChart = class NileBellcurveChart extends NileElement {
220
222
  ],
221
223
  credits: { enabled: false },
222
224
  }, this.options);
225
+ return withResponsiveDefaults(merged, 'bellcurve', this.noResponsive);
223
226
  }
224
227
  async initChart() {
225
228
  if (this.loading || !this.chartContainer)
@@ -261,6 +264,9 @@ __decorate([
261
264
  __decorate([
262
265
  property({ type: Object })
263
266
  ], NileBellcurveChart.prototype, "options", void 0);
267
+ __decorate([
268
+ property({ type: Boolean, attribute: 'no-responsive' })
269
+ ], NileBellcurveChart.prototype, "noResponsive", void 0);
264
270
  __decorate([
265
271
  property({ type: Boolean, reflect: true })
266
272
  ], NileBellcurveChart.prototype, "loading", void 0);
@@ -31,6 +31,7 @@ export declare class NileBoxplotChart extends NileElement {
31
31
  categories: string[];
32
32
  data: BoxplotSeriesData[];
33
33
  options: Highcharts.Options;
34
+ noResponsive: boolean;
34
35
  loading: boolean;
35
36
  height: string;
36
37
  xAxisTitle: string;
@@ -5,6 +5,7 @@ import { getHighcharts } from '../internal/highcharts-provider.js';
5
5
  import NileElement from '../internal/nile-element.js';
6
6
  import { applySeparatedChartConfig } from '../internal/separated-chart-config.js';
7
7
  import { deepMerge } from '../internal/utils.js';
8
+ import { withResponsiveDefaults } from '../internal/responsive-defaults.js';
8
9
  import { styles } from './nile-boxplot-chart.css.js';
9
10
  let NileBoxplotChart = class NileBoxplotChart extends NileElement {
10
11
  constructor() {
@@ -19,6 +20,7 @@ let NileBoxplotChart = class NileBoxplotChart extends NileElement {
19
20
  this.categories = [];
20
21
  this.data = [];
21
22
  this.options = {};
23
+ this.noResponsive = false;
22
24
  this.loading = false;
23
25
  this.height = '400px';
24
26
  this.xAxisTitle = '';
@@ -157,7 +159,7 @@ let NileBoxplotChart = class NileBoxplotChart extends NileElement {
157
159
  title: { text: this.yAxisTitle || undefined },
158
160
  gridLineWidth: 1,
159
161
  };
160
- return deepMerge({
162
+ const merged = deepMerge({
161
163
  chart: {
162
164
  type: 'boxplot',
163
165
  ...(this.height ? { height: this.height } : {}),
@@ -207,6 +209,7 @@ let NileBoxplotChart = class NileBoxplotChart extends NileElement {
207
209
  series: this.mapSeries(),
208
210
  credits: { enabled: false },
209
211
  }, this.options);
212
+ return withResponsiveDefaults(merged, 'boxplot', this.noResponsive);
210
213
  }
211
214
  async initChart() {
212
215
  if (this.loading || !this.chartContainer)
@@ -251,6 +254,9 @@ __decorate([
251
254
  __decorate([
252
255
  property({ type: Object })
253
256
  ], NileBoxplotChart.prototype, "options", void 0);
257
+ __decorate([
258
+ property({ type: Boolean, attribute: 'no-responsive' })
259
+ ], NileBoxplotChart.prototype, "noResponsive", void 0);
254
260
  __decorate([
255
261
  property({ type: Boolean, reflect: true })
256
262
  ], NileBoxplotChart.prototype, "loading", void 0);
@@ -19,6 +19,7 @@ export declare class NileBubbleChart extends NileElement {
19
19
  chartSubtitle: string;
20
20
  data: BubbleChartSeriesData[];
21
21
  options: Highcharts.Options;
22
+ noResponsive: boolean;
22
23
  loading: boolean;
23
24
  height: string;
24
25
  xAxisTitle: string;
@@ -4,6 +4,7 @@ import { html } from 'lit';
4
4
  import { getHighcharts } from '../internal/highcharts-provider.js';
5
5
  import NileElement from '../internal/nile-element.js';
6
6
  import { deepMerge } from '../internal/utils.js';
7
+ import { withResponsiveDefaults } from '../internal/responsive-defaults.js';
7
8
  import { styles } from './nile-bubble-chart.css.js';
8
9
  let NileBubbleChart = class NileBubbleChart extends NileElement {
9
10
  constructor() {
@@ -17,6 +18,7 @@ let NileBubbleChart = class NileBubbleChart extends NileElement {
17
18
  this.chartSubtitle = '';
18
19
  this.data = [];
19
20
  this.options = {};
21
+ this.noResponsive = false;
20
22
  this.loading = false;
21
23
  this.height = '400px';
22
24
  this.xAxisTitle = '';
@@ -155,7 +157,7 @@ let NileBubbleChart = class NileBubbleChart extends NileElement {
155
157
  }
156
158
  buildOptions() {
157
159
  const self = this;
158
- return deepMerge({
160
+ const merged = deepMerge({
159
161
  chart: { type: 'bubble', ...(this.height ? { height: this.height } : {}), zoomType: 'xy' },
160
162
  title: { text: this.chartTitle || undefined },
161
163
  subtitle: { text: this.chartSubtitle || undefined },
@@ -175,6 +177,7 @@ let NileBubbleChart = class NileBubbleChart extends NileElement {
175
177
  legend: (() => { const { show, ...rest } = this.legend ?? {}; return { enabled: show ?? this.showLegend, ...rest }; })(),
176
178
  credits: { enabled: false },
177
179
  }, this.options);
180
+ return withResponsiveDefaults(merged, 'bubble', this.noResponsive);
178
181
  }
179
182
  async initChart() {
180
183
  if (this.loading || !this.chartContainer)
@@ -213,6 +216,9 @@ __decorate([
213
216
  __decorate([
214
217
  property({ type: Object })
215
218
  ], NileBubbleChart.prototype, "options", void 0);
219
+ __decorate([
220
+ property({ type: Boolean, attribute: 'no-responsive' })
221
+ ], NileBubbleChart.prototype, "noResponsive", void 0);
216
222
  __decorate([
217
223
  property({ type: Boolean, reflect: true })
218
224
  ], NileBubbleChart.prototype, "loading", void 0);
@@ -2,4 +2,4 @@ export { NileChart } from './nile-chart.js';
2
2
  export type { NileChartConfig, NileBarChartConfig, NilePieChartConfig, NileTrendlineChartConfig, NileAnomalyChartConfig, NileLineChartConfig, NileAreaChartConfig, NileColumnChartConfig, NileDonutChartConfig, NileScatterChartConfig, NileBubbleChartConfig, NileSplineChartConfig, NileRadarChartConfig, NileGaugeChartConfig, NileWaterfallChartConfig, NileMasterDetailChartConfig, NileKpiChartConfig, NileMapChartConfig, NileListChartConfig, NileMessageChartConfig, ChartType, SwitchAggregation, NileAiConfig, NileChartMenuConfig, NileChartMenuItem, } from './nile-chart-config.js';
3
3
  export { convertConfig, registerAdapter } from '../internal/chart-adapters.js';
4
4
  export { nileChartConfig } from './nile-chart-config-builder.js';
5
- export type { AiConfigType, SwitchableConfigType, AqConfigType, ChartColorPaletteConfig, ColorPaletteName, ColorPaletteSize, ChartBarConfigType, ChartPieConfigType, ChartTrendlineConfigType, ChartAnomalyConfigType, ChartLineConfigType, ChartAreaConfigType, ChartInvertedAreaConfigType, ChartColumnConfigType, ChartDonutConfigType, ChartScatterConfigType, ChartBubbleConfigType, ChartSplineConfigType, ChartRadarConfigType, ChartGaugeConfigType, ChartWaterfallConfigType, ChartClusterConfigType, ChartStackedConfigType, ChartHistogramConfigType, ChartBellcurveConfigType, ChartBoxplotConfigType, ChartTimelineConfigType, ChartMasterDetailConfigType, ChartDumbbellConfigType, ChartDumbbellLowerConfigType, ChartDumbbellUpperConfigType, ChartColumnPyramidConfigType, ChartLollipopConfigType, ChartAreaSplineConfigType, ChartAreaNegativeConfigType, ChartAreaRangeConfigType, ChartColumnRangeConfigType, ChartColumnDrilldownConfigType, ChartRadialBarConfigType, ChartVariablePieConfigType, ChartEulerConfigType, ChartPolygonConfigType, ChartVectorConfigType, ChartXrangeConfigType, ChartFanConfigType, ChartFunnelConfigType, ChartOrganizationConfigType, ChartLineColumnConfigType, ChartHeatmapConfigType, ChartFlameConfigType, ChartSpiderwebConfigType, ChartKpiConfigType, ChartKpiPropsType, ChartMapConfigType, PrimitiveChartConfigType, SeparatedChartConfigInputType, AllChartConfigType, ChartConfigType, NileChartConfigInputType, CSSObject, LegendConfig, LegendNavigationConfig, LegendTitleConfig, LegendAccessibilityConfig, ChartSpacingConfig, ChartAiPanelPayload, ChartAiSenderPayload, NileAiPanelConfigInputType, NileAiSenderConfigInputType, } from '../internal/types/index.js';
5
+ export type { AiConfigType, SwitchableConfigType, AqConfigType, ChartColorPaletteConfig, ColorPaletteName, ColorPaletteSize, ChartBarConfigType, ChartPieConfigType, ChartTrendlineConfigType, ChartAnomalyConfigType, ChartLineConfigType, ChartAreaConfigType, ChartInvertedAreaConfigType, ChartColumnConfigType, ChartDonutConfigType, ChartScatterConfigType, ChartBubbleConfigType, ChartSplineConfigType, ChartRadarConfigType, ChartGaugeConfigType, ChartWaterfallConfigType, ChartClusterConfigType, ChartStackedConfigType, ChartHistogramConfigType, ChartBellcurveConfigType, ChartBoxplotConfigType, ChartTimelineConfigType, ChartMasterDetailConfigType, ChartDumbbellConfigType, ChartDumbbellLowerConfigType, ChartDumbbellUpperConfigType, ChartColumnPyramidConfigType, ChartLollipopConfigType, ChartAreaSplineConfigType, ChartAreaNegativeConfigType, ChartAreaRangeConfigType, ChartColumnRangeConfigType, ChartColumnDrilldownConfigType, ChartRadialBarConfigType, ChartVariablePieConfigType, ChartEulerConfigType, ChartPolygonConfigType, ChartVectorConfigType, ChartXrangeConfigType, ChartFanConfigType, ChartForecastConfigType, ChartFunnelConfigType, ChartOrganizationConfigType, ChartLineColumnConfigType, ChartHeatmapConfigType, ChartFlameConfigType, ChartSpiderwebConfigType, ChartKpiConfigType, ChartKpiPropsType, ChartMapConfigType, PrimitiveChartConfigType, SeparatedChartConfigInputType, AllChartConfigType, ChartConfigType, NileChartConfigInputType, CSSObject, LegendConfig, LegendNavigationConfig, LegendTitleConfig, LegendAccessibilityConfig, ChartSpacingConfig, ChartAiPanelPayload, ChartAiSenderPayload, NileAiPanelConfigInputType, NileAiSenderConfigInputType, } from '../internal/types/index.js';
@@ -1,9 +1,8 @@
1
1
  import type { ChartConfigType } from '../internal/types/chart-config.type.js';
2
- /** Every supported `chart.type` value for `<nile-chart>`. */
3
2
  export type ChartType = ChartConfigType['type'];
4
3
  import type { BarChartSeriesData } from '../nile-bar-chart/nile-bar-chart.js';
5
4
  import type { PieChartSeriesData } from '../nile-pie-chart/nile-pie-chart.js';
6
- import type { LegendConfig, ChartSpacingConfig } from '../internal/types/index.js';
5
+ import type { LegendConfig, ChartSpacingConfig, HighchartsPassthroughConfig } from '../internal/types/index.js';
7
6
  import type { TrendlineSeriesData, ForecastConfig } from '../nile-trendline-chart/nile-trendline-chart.js';
8
7
  import type { AnomalySeriesData, AnomalyConfig } from '../nile-anomaly-chart/nile-anomaly-chart.js';
9
8
  import type { LineChartSeriesData } from '../nile-line-chart/nile-line-chart.js';
@@ -16,6 +15,7 @@ import type { SplineChartSeriesData } from '../nile-spline-chart/nile-spline-cha
16
15
  import type { RadarChartSeriesData } from '../nile-radar-chart/nile-radar-chart.js';
17
16
  import type { GaugeBand } from '../nile-gauge-chart/nile-gauge-chart.js';
18
17
  import type { WaterfallDataPoint } from '../nile-waterfall-chart/nile-waterfall-chart.js';
18
+ import type { ForecastSeriesData, ForecastDashStyle } from '../nile-forecast-chart/nile-forecast-chart.js';
19
19
  import type { KpiVariant, KpiValueFormat, KpiNumberSystem, SparklineType, TrendDirection } from '../nile-kpi-chart/nile-kpi-chart.js';
20
20
  import type { MapChartDataPoint } from '../nile-map-chart/nile-map-chart.js';
21
21
  import type { StatusLightConfig } from '../nile-chart-message/nile-chart-message.js';
@@ -52,23 +52,12 @@ import type { XrangeDataPoint } from '../nile-xrange-chart/nile-xrange-chart.js'
52
52
  import type { LineColumnSeriesPart } from '../nile-line-column-chart/nile-line-column-chart.js';
53
53
  import type { ChartColorPaletteConfig } from '../internal/types/chart-color-palette.type.js';
54
54
  export type SwitchAggregation = 'by-category' | 'by-series' | 'flatten';
55
- /**
56
- * A built-in menu action (fullscreen, print, or a download).
57
- * Set the matching flag to `true`; optionally override the displayed `label`.
58
- *
59
- * @example
60
- * { type: 'default', downloadPng: true }
61
- * { type: 'default', downloadCsv: true, label: 'Export CSV', divider: true }
62
- */
63
55
  export interface NileChartMenuItemDefault {
64
56
  type: 'default';
65
- /** Override the default label (e.g. "Download PNG"). */
66
57
  label?: string;
67
- /** Optional nile-glyph icon name shown as a leading prefix (e.g. `'download'`). */
68
58
  glyph?: string;
69
59
  method?: string;
70
60
  color?: string;
71
- /** Show a divider line above this item. */
72
61
  divider?: boolean;
73
62
  fullscreen?: true;
74
63
  print?: true;
@@ -76,70 +65,24 @@ export interface NileChartMenuItemDefault {
76
65
  downloadSvg?: true;
77
66
  downloadCsv?: true;
78
67
  }
79
- /**
80
- * A custom menu item. Clicking it fires a `nile-menu-change` event with `{ id }`.
81
- *
82
- * @example
83
- * { type: 'custom', label: 'Send to Slack', id: 'send-slack' }
84
- */
85
68
  export interface NileChartMenuItemCustom {
86
69
  type: 'custom';
87
- /** Label shown in the menu. */
88
70
  label: string;
89
- /** Identifier emitted in the `nile-menu-change` event when clicked. */
90
71
  id: string;
91
- /** Optional nile-glyph icon name shown as a leading prefix (e.g. `'share-07'`). */
92
72
  glyph?: string;
93
- /** Render method for the leading glyph (passed to nile-glyph `method`, e.g. `'fill'`, `'stroke'`). */
94
73
  method?: string;
95
- /** Color for the leading glyph (passed to nile-glyph `color`, e.g. a hex value or CSS var). */
96
74
  color?: string;
97
- /** Show a divider line above this item. */
98
75
  divider?: boolean;
99
76
  }
100
- /**
101
- * A group that renders a section header followed by its child items.
102
- *
103
- * @example
104
- * {
105
- * type: 'group',
106
- * label: 'Export',
107
- * items: [
108
- * { type: 'default', downloadPng: true },
109
- * { type: 'default', downloadCsv: true },
110
- * ]
111
- * }
112
- */
113
77
  export interface NileChartMenuItemGroup {
114
78
  type: 'group';
115
- /** Text shown as the section header. */
116
79
  label: string;
117
- /** Items rendered under this group header. */
118
80
  items: Array<NileChartMenuItemDefault | NileChartMenuItemCustom>;
119
- /** Show a divider line above the group header. */
120
81
  divider?: boolean;
121
82
  }
122
83
  export type NileChartMenuItem = NileChartMenuItemDefault | NileChartMenuItemCustom | NileChartMenuItemGroup;
123
- /**
124
- * Controls the chart's actions menu.
125
- *
126
- * @example
127
- * menu: {
128
- * enabled: true,
129
- * items: [
130
- * { type: 'default', downloadPng: true },
131
- * { type: 'default', downloadCsv: true },
132
- * { type: 'custom', label: 'Share report', id: 'share-report', divider: true },
133
- * ]
134
- * }
135
- */
136
84
  export interface NileChartMenuConfig {
137
- /** Show the menu trigger button. Must be `true` to enable the menu. */
138
85
  enabled?: boolean;
139
- /**
140
- * Ordered list of menu items. Each item is either a built-in action
141
- * (`type: 'default'`) or a custom event-driven item (`type: 'custom'`).
142
- */
143
86
  items?: NileChartMenuItem[];
144
87
  }
145
88
  export interface NileAiConfig {
@@ -147,12 +90,10 @@ export interface NileAiConfig {
147
90
  placeholder?: string;
148
91
  welcomeMessage?: string;
149
92
  }
150
- export interface NileChartConfigBase {
93
+ export interface NileChartConfigBase extends HighchartsPassthroughConfig {
151
94
  chartTitle?: string;
152
95
  chartSubtitle?: string;
153
- /** Font size for the header title (number → px, or any CSS length string). */
154
96
  titleFontSize?: string | number;
155
- /** Font size for the header subtitle (number → px, or any CSS length string). */
156
97
  subtitleFontSize?: string | number;
157
98
  noHeader?: boolean;
158
99
  noPadding?: boolean;
@@ -167,13 +108,7 @@ export interface NileChartConfigBase {
167
108
  menu?: NileChartMenuConfig;
168
109
  menuItems?: NileChartMenuItem[];
169
110
  legend?: LegendConfig;
170
- /** Color palette applied to the chart's series. */
171
111
  colorPalette?: ChartColorPaletteConfig;
172
- /**
173
- * Space (px) between the chart's outer edge and its plot area — maps to
174
- * Highcharts `chart.spacingTop/Right/Bottom/Left`. Applies to every chart
175
- * type. e.g. `{ right: 40 }` gives a right-aligned legend room to breathe.
176
- */
177
112
  chartSpacing?: ChartSpacingConfig;
178
113
  chartBg?: string;
179
114
  chartBorderRadius?: string | number;
@@ -271,12 +206,6 @@ export interface NileMapChartConfig extends NileChartConfigBase {
271
206
  seriesType?: 'map' | 'mapline' | 'mappoint' | 'mapbubble' | 'tiledwebmap';
272
207
  zoom?: boolean;
273
208
  }
274
- /**
275
- * Tabular grid variant of `<nile-chart>` — renders a `<nile-data-grid>` and
276
- * exposes its full public property surface.
277
- *
278
- * Use `type: 'grid'`.
279
- */
280
209
  export interface NileGridChartConfig extends NileChartConfigBase {
281
210
  type: 'grid';
282
211
  data: unknown[];
@@ -468,7 +397,6 @@ export interface NileMasterDetailChartConfig extends NileChartConfigBase {
468
397
  seriesColor?: string;
469
398
  detailType?: string;
470
399
  masterType?: string;
471
- /** Render only the master (overview) pane — no detail chart. */
472
400
  masterOnly?: boolean;
473
401
  masterCollapsible?: boolean;
474
402
  xAxisType?: 'datetime' | 'linear' | 'logarithmic' | 'category';
@@ -494,6 +422,24 @@ export interface NileFanChartConfig extends NileChartConfigBase {
494
422
  forecastStartIndex?: number;
495
423
  forecastBandLabel?: string;
496
424
  }
425
+ export interface NileForecastChartConfig extends NileChartConfigBase {
426
+ type: 'forecast';
427
+ data: ForecastSeriesData[];
428
+ forecastData?: ForecastSeriesData[];
429
+ forecastStart?: number | null;
430
+ forecastDashStyle?: ForecastDashStyle;
431
+ zoom?: boolean;
432
+ showNowLine?: boolean;
433
+ nowLabel?: string;
434
+ nowLineColor?: string;
435
+ forecastBandLabel?: string;
436
+ forecastBandColor?: string;
437
+ xAxisTitle?: string;
438
+ yAxisTitle?: string;
439
+ secondaryAxisTitle?: string;
440
+ secondaryAxisMin?: number | null;
441
+ timezone?: string;
442
+ }
497
443
  export interface NileFunnelChartConfig extends NileChartConfigBase {
498
444
  type: 'funnel';
499
445
  data: FunnelDataPoint[];
@@ -566,7 +512,6 @@ export interface NileLineColumnChartConfig extends NileChartConfigBase {
566
512
  }
567
513
  export interface NileKpiChartConfig extends NileChartConfigBase {
568
514
  type: 'kpi';
569
- /** Display variant. Default: 'default'. */
570
515
  variant?: KpiVariant;
571
516
  label?: string;
572
517
  value?: number | string;
@@ -619,15 +564,10 @@ export interface NileKpiChartConfig extends NileChartConfigBase {
619
564
  cardPaddingVertical?: string | number;
620
565
  cardPaddingHorizontal?: string | number;
621
566
  contentGap?: string | number;
622
- /** Abbreviation scale. Default 'auto'. */
623
567
  valueFormat?: KpiValueFormat;
624
- /** Decimal places on the abbreviated value. */
625
568
  precision?: number | null;
626
- /** Base unit (e.g. 'L', 'g', 'm') combined with the magnitude prefix: "1.5KL", "2.5Kg". */
627
569
  unit?: string;
628
- /** BCP 47 locale for number formatting, e.g. 'en-IN'. Defaults to browser locale. */
629
570
  locale?: string;
630
- /** Number system: 'indian' (1,00,000 / L / Cr) or 'international' (100,000 / K / M / B / T). */
631
571
  numberSystem?: KpiNumberSystem;
632
572
  tooltipEnabled?: boolean;
633
573
  }
@@ -656,5 +596,4 @@ export interface NileListChartConfig extends NileChartConfigBase {
656
596
  markerColor?: string;
657
597
  allowHtml?: boolean;
658
598
  }
659
- /** Discriminated union of every named chart config — use for typed `<nile-chart>` configs. */
660
- export type NileChartConfig = NileBarChartConfig | NilePieChartConfig | NileLineChartConfig | NileAreaChartConfig | NileColumnChartConfig | NileDonutChartConfig | NileScatterChartConfig | NileBubbleChartConfig | NileSplineChartConfig | NileRadarChartConfig | NileGaugeChartConfig | NileWaterfallChartConfig | NileMapChartConfig | NileGridChartConfig | NileTrendlineChartConfig | NileAnomalyChartConfig | NileHistogramChartConfig | NileBellcurveChartConfig | NileBoxplotChartConfig | NileStackedChartConfig | NileClusterChartConfig | NileColumnPyramidChartConfig | NileColumnRangeChartConfig | NileColumnDrilldownChartConfig | NileLollipopChartConfig | NileInvertedAreaChartConfig | NileAreaSplineChartConfig | NileAreaNegativeChartConfig | NileAreaRangeChartConfig | NileDumbbellChartConfig | NileDumbbellLowerChartConfig | NileDumbbellUpperChartConfig | NileRadialBarChartConfig | NileSpiderwebChartConfig | NileTimelineChartConfig | NileMasterDetailChartConfig | NileFanChartConfig | NileFunnelChartConfig | NileOrganizationChartConfig | NileHeatmapChartConfig | NileFlameChartConfig | NileVariablePieChartConfig | NileEulerChartConfig | NilePolygonChartConfig | NileVectorChartConfig | NileXrangeChartConfig | NileLineColumnChartConfig | NileKpiChartConfig | NileFilterChartConfig | NileMessageChartConfig | NileListChartConfig;
599
+ export type NileChartConfig = NileBarChartConfig | NilePieChartConfig | NileLineChartConfig | NileAreaChartConfig | NileColumnChartConfig | NileDonutChartConfig | NileScatterChartConfig | NileBubbleChartConfig | NileSplineChartConfig | NileRadarChartConfig | NileGaugeChartConfig | NileWaterfallChartConfig | NileMapChartConfig | NileGridChartConfig | NileTrendlineChartConfig | NileAnomalyChartConfig | NileHistogramChartConfig | NileBellcurveChartConfig | NileBoxplotChartConfig | NileStackedChartConfig | NileClusterChartConfig | NileColumnPyramidChartConfig | NileColumnRangeChartConfig | NileColumnDrilldownChartConfig | NileLollipopChartConfig | NileInvertedAreaChartConfig | NileAreaSplineChartConfig | NileAreaNegativeChartConfig | NileAreaRangeChartConfig | NileDumbbellChartConfig | NileDumbbellLowerChartConfig | NileDumbbellUpperChartConfig | NileRadialBarChartConfig | NileSpiderwebChartConfig | NileTimelineChartConfig | NileMasterDetailChartConfig | NileFanChartConfig | NileForecastChartConfig | NileFunnelChartConfig | NileOrganizationChartConfig | NileHeatmapChartConfig | NileFlameChartConfig | NileVariablePieChartConfig | NileEulerChartConfig | NilePolygonChartConfig | NileVectorChartConfig | NileXrangeChartConfig | NileLineColumnChartConfig | NileKpiChartConfig | NileFilterChartConfig | NileMessageChartConfig | NileListChartConfig;
@@ -5,7 +5,7 @@ const SKELETON_TYPE_MAP = {
5
5
  columnRange: 'columns', columnDrilldown: 'columns', lollipop: 'columns',
6
6
  line: 'line', area: 'line', spline: 'line', areaSpline: 'line',
7
7
  invertedArea: 'line', areaNegative: 'line', areaRange: 'line',
8
- fan: 'line', bellcurve: 'line', 'master-detail': 'line',
8
+ fan: 'line', forecast: 'line', bellcurve: 'line', 'master-detail': 'line',
9
9
  trendline: 'trendline', anomaly: 'anomaly',
10
10
  pie: 'pie', donut: 'pie', variablePie: 'pie', radialBar: 'pie', gauge: 'pie', euler: 'pie',
11
11
  scatter: 'scatter', bubble: 'scatter', dumbbell: 'scatter', boxplot: 'scatter',
@@ -105,6 +105,7 @@ export const styles = css `
105
105
  :host([fit]) .nile-chart-card {
106
106
  display: flex;
107
107
  flex-direction: column;
108
+ box-sizing: border-box;
108
109
  height: 100%;
109
110
  }
110
111
 
@@ -241,7 +242,8 @@ export const styles = css `
241
242
  padding-top: 0;
242
243
  }
243
244
 
244
- :host([no-padding]) .nile-chart-inner {
245
+ :host([no-padding]) .nile-chart-inner,
246
+ :host([minimized]) .nile-chart-inner {
245
247
  padding: 0;
246
248
  }
247
249