@progress/kendo-angular-charts 7.0.0 → 7.1.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 (67) hide show
  1. package/api-types/series-point.interface.d.ts +8 -0
  2. package/argument-types/axis-label-content-args.interface.d.ts +39 -0
  3. package/argument-types/axis-note-content-args.interface.d.ts +21 -0
  4. package/argument-types/axis-note-visual-args.interface.d.ts +1 -1
  5. package/argument-types/error-bars-value-args.interface.d.ts +29 -0
  6. package/argument-types/series-labels-content-args.interface.d.ts +50 -0
  7. package/argument-types/series-note-content-args.interface.d.ts +29 -0
  8. package/bundles/kendo-angular-charts.umd.js +1 -1
  9. package/chart/axis-defaults/labels.component.d.ts +2 -2
  10. package/chart/category-axis-item/labels.component.d.ts +2 -2
  11. package/chart/category-axis-item/notes.label.component.d.ts +2 -2
  12. package/chart/series-defaults/labels.component.d.ts +2 -2
  13. package/chart/series-defaults/labels.from.component.d.ts +2 -2
  14. package/chart/series-defaults/labels.to.component.d.ts +2 -2
  15. package/chart/series-defaults/notes.label.component.d.ts +2 -2
  16. package/chart/series-item/labels.component.d.ts +4 -5
  17. package/chart/series-item/labels.from.component.d.ts +2 -2
  18. package/chart/series-item/labels.to.component.d.ts +2 -2
  19. package/chart/series-item/notes.label.component.d.ts +2 -2
  20. package/chart/value-axis-item/labels.component.d.ts +2 -2
  21. package/chart/value-axis-item/notes.label.component.d.ts +2 -2
  22. package/chart/x-axis-item/labels.component.d.ts +2 -2
  23. package/chart/x-axis-item/notes.label.component.d.ts +2 -2
  24. package/chart/y-axis-item/labels.component.d.ts +2 -2
  25. package/chart/y-axis-item/notes.label.component.d.ts +2 -2
  26. package/chart-options.interface.d.ts +113 -0
  27. package/chart.component.d.ts +2 -85
  28. package/common/events.d.ts +1 -0
  29. package/common/property-types.d.ts +6 -0
  30. package/esm2015/argument-types/axis-label-content-args.interface.js +5 -0
  31. package/esm2015/argument-types/axis-note-content-args.interface.js +5 -0
  32. package/esm2015/argument-types/error-bars-value-args.interface.js +5 -0
  33. package/esm2015/argument-types/series-labels-content-args.interface.js +5 -0
  34. package/esm2015/argument-types/series-note-content-args.interface.js +5 -0
  35. package/esm2015/chart-options.interface.js +5 -0
  36. package/esm2015/common/events.js +1 -0
  37. package/esm2015/field-types/series-labels-alignment.js +5 -0
  38. package/esm2015/package-metadata.js +1 -1
  39. package/esm2015/stock-chart/option-types/navigator/hint-content-args.interface.js +5 -0
  40. package/fesm2015/kendo-angular-charts.js +2 -2
  41. package/field-types/auto-base-unit-steps.interface.d.ts +1 -0
  42. package/field-types/border.interface.d.ts +4 -0
  43. package/field-types/series-labels-alignment.d.ts +21 -0
  44. package/main.d.ts +1 -0
  45. package/option-types/axis-defaults/labels.interface.d.ts +2 -10
  46. package/option-types/category-axis-item/labels.interface.d.ts +2 -12
  47. package/option-types/category-axis-item/notes.label.interface.d.ts +2 -3
  48. package/option-types/series-defaults/labels.from.interface.d.ts +3 -16
  49. package/option-types/series-defaults/labels.interface.d.ts +2 -15
  50. package/option-types/series-defaults/labels.to.interface.d.ts +3 -16
  51. package/option-types/series-defaults/notes.label.interface.d.ts +2 -3
  52. package/option-types/series-item/error-bars.interface.d.ts +2 -2
  53. package/option-types/series-item/labels.from.interface.d.ts +3 -17
  54. package/option-types/series-item/labels.interface.d.ts +4 -30
  55. package/option-types/series-item/labels.to.interface.d.ts +2 -15
  56. package/option-types/series-item/notes.label.interface.d.ts +2 -3
  57. package/option-types/value-axis-item/labels.interface.d.ts +2 -2
  58. package/option-types/value-axis-item/notes.label.interface.d.ts +2 -3
  59. package/option-types/x-axis-item/labels.interface.d.ts +2 -9
  60. package/option-types/x-axis-item/notes.label.interface.d.ts +2 -2
  61. package/option-types/y-axis-item/labels.interface.d.ts +2 -9
  62. package/option-types/y-axis-item/notes.label.interface.d.ts +2 -3
  63. package/package.json +1 -1
  64. package/stock-chart/navigator/hint.component.d.ts +2 -2
  65. package/stock-chart/option-types/navigator/hint-content-args.interface.d.ts +17 -0
  66. package/stock-chart/option-types/navigator/hint.interface.d.ts +2 -1
  67. package/stock-chart/option-types.d.ts +1 -0
@@ -4,7 +4,7 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { drawing } from '@progress/kendo-drawing';
6
6
  import { ConfigurationService } from '../../common/configuration.service';
7
- import { AxisLabelVisualArgs, LabelRotation, Margin, Padding } from '../../common/property-types';
7
+ import { AxisLabelContentArgs, AxisLabelVisualArgs, LabelRotation, Margin, Padding } from '../../common/property-types';
8
8
  import { AxisDefaultsLabels } from '../../common/property-types';
9
9
  import { SettingsComponent } from '../../common/settings.component';
10
10
  import * as i0 from "@angular/core";
@@ -13,7 +13,7 @@ import * as i0 from "@angular/core";
13
13
  */
14
14
  export declare class AxisDefaultsLabelsComponent extends SettingsComponent implements AxisDefaultsLabels {
15
15
  configurationService: ConfigurationService;
16
- content: (e: any) => string;
16
+ content: (e: AxisLabelContentArgs) => string;
17
17
  font: string;
18
18
  format: string;
19
19
  margin: Margin | number;
@@ -5,7 +5,7 @@
5
5
  import { drawing } from '@progress/kendo-drawing';
6
6
  import { ConfigurationService } from '../../common/configuration.service';
7
7
  import { SettingsComponent } from '../../common/settings.component';
8
- import { AxisLabelVisualArgs, Border, DateFormats, LabelRotation } from '../../common/property-types';
8
+ import { AxisLabelContentArgs, AxisLabelVisualArgs, Border, DateFormats, LabelRotation } from '../../common/property-types';
9
9
  import { AxisLabelsPosition } from '../../common/property-types';
10
10
  import { Margin, Padding } from '../../common/property-types';
11
11
  import { CategoryAxisLabels } from '../../common/property-types';
@@ -18,7 +18,7 @@ export declare class CategoryAxisLabelsComponent extends SettingsComponent imple
18
18
  background: string;
19
19
  border: Border;
20
20
  color: string;
21
- content: (e: any) => string;
21
+ content: (e: AxisLabelContentArgs) => string;
22
22
  culture: string;
23
23
  dateFormats: DateFormats;
24
24
  font: string;
@@ -3,7 +3,7 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { ConfigurationService } from '../../common/configuration.service';
6
- import { Border, NoteLabelPosition } from '../../common/property-types';
6
+ import { AxisNoteContentArgs, Border, NoteLabelPosition } from '../../common/property-types';
7
7
  import { CategoryAxisNotesLabel } from '../../common/property-types';
8
8
  import { SettingsComponent } from '../../common/settings.component';
9
9
  import * as i0 from "@angular/core";
@@ -15,7 +15,7 @@ export declare class CategoryAxisNotesLabelComponent extends SettingsComponent i
15
15
  background: string;
16
16
  border: Border;
17
17
  color: string;
18
- content: (e: any) => string;
18
+ content: (e: AxisNoteContentArgs) => string;
19
19
  font: string;
20
20
  format: string;
21
21
  position: NoteLabelPosition;
@@ -4,7 +4,7 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { drawing } from '@progress/kendo-drawing';
6
6
  import { ConfigurationService } from '../../common/configuration.service';
7
- import { Border, Margin, Padding, SeriesLabelsVisualArgs } from '../../common/property-types';
7
+ import { Border, Margin, Padding, SeriesLabelsContentArgs, SeriesLabelsVisualArgs } from '../../common/property-types';
8
8
  import { SeriesDefaultsLabels, SeriesDefaultsLabelsFrom, SeriesDefaultsLabelsTo } from '../../common/property-types';
9
9
  import { SettingsComponent } from '../../common/settings.component';
10
10
  import * as i0 from "@angular/core";
@@ -16,7 +16,7 @@ export declare class SeriesDefaultsLabelsComponent extends SettingsComponent imp
16
16
  background: string;
17
17
  border: Border;
18
18
  color: string;
19
- content: (e: any) => string;
19
+ content: (e: SeriesLabelsContentArgs) => string;
20
20
  font: string;
21
21
  format: string;
22
22
  margin: Margin | number;
@@ -3,7 +3,7 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { ConfigurationService } from '../../common/configuration.service';
6
- import { Border, Margin, Padding } from '../../common/property-types';
6
+ import { Border, Margin, Padding, SeriesLabelsContentArgs } from '../../common/property-types';
7
7
  import { SeriesDefaultsLabelsFrom } from '../../common/property-types';
8
8
  import { SettingsComponent } from '../../common/settings.component';
9
9
  import * as i0 from "@angular/core";
@@ -15,7 +15,7 @@ export declare class SeriesDefaultsLabelsFromComponent extends SettingsComponent
15
15
  background: string;
16
16
  border: Border;
17
17
  color: string;
18
- content: (e: any) => string;
18
+ content: (e: SeriesLabelsContentArgs) => string;
19
19
  font: string;
20
20
  format: string;
21
21
  margin: Margin | number;
@@ -3,7 +3,7 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { ConfigurationService } from '../../common/configuration.service';
6
- import { Border, Margin, Padding } from '../../common/property-types';
6
+ import { Border, Margin, Padding, SeriesLabelsContentArgs } from '../../common/property-types';
7
7
  import { SeriesDefaultsLabelsTo } from '../../common/property-types';
8
8
  import { SettingsComponent } from '../../common/settings.component';
9
9
  import * as i0 from "@angular/core";
@@ -15,7 +15,7 @@ export declare class SeriesDefaultsLabelsToComponent extends SettingsComponent i
15
15
  background: string;
16
16
  border: Border;
17
17
  color: string;
18
- content: (e: any) => string;
18
+ content: (e: SeriesLabelsContentArgs) => string;
19
19
  font: string;
20
20
  format: string;
21
21
  margin: Margin | number;
@@ -4,7 +4,7 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { ConfigurationService } from '../../common/configuration.service';
6
6
  import { SettingsComponent } from '../../common/settings.component';
7
- import { Border, NoteLabelPosition } from '../../common/property-types';
7
+ import { Border, NoteLabelPosition, SeriesNoteContentArgs } from '../../common/property-types';
8
8
  import { SeriesDefaultsNotesLabel } from '../../common/property-types';
9
9
  import * as i0 from "@angular/core";
10
10
  /**
@@ -15,7 +15,7 @@ export declare class SeriesDefaultsNotesLabelComponent extends SettingsComponent
15
15
  background: string;
16
16
  border: Border;
17
17
  color: string;
18
- content: (e: any) => string;
18
+ content: (e: SeriesNoteContentArgs) => string;
19
19
  font: string;
20
20
  format: string;
21
21
  position: NoteLabelPosition;
@@ -4,9 +4,8 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { drawing } from '@progress/kendo-drawing';
6
6
  import { ConfigurationService } from '../../common/configuration.service';
7
- import { Border, Margin, Padding, SeriesLabelsVisualArgs } from '../../common/property-types';
8
- import { SeriesLabels, SeriesLabelsFrom, SeriesLabelsTo } from '../../common/property-types';
9
- import { SeriesLabelsPosition } from '../../common/property-types';
7
+ import { Border, Margin, Padding, SeriesLabelsAlignment, SeriesLabelsContentArgs, SeriesLabelsVisualArgs } from '../../common/property-types';
8
+ import { SeriesLabels, SeriesLabelsFrom, SeriesLabelsPosition, SeriesLabelsTo } from '../../common/property-types';
10
9
  import { SettingsComponent } from '../../common/settings.component';
11
10
  import * as i0 from "@angular/core";
12
11
  /**
@@ -15,11 +14,11 @@ import * as i0 from "@angular/core";
15
14
  */
16
15
  export declare class SeriesLabelsComponent extends SettingsComponent implements SeriesLabels {
17
16
  configurationService: ConfigurationService;
18
- align: 'circle' | 'column' | 'center' | 'right' | 'left';
17
+ align: SeriesLabelsAlignment;
19
18
  background: string;
20
19
  border: Border;
21
20
  color: string;
22
- content: (e: any) => string;
21
+ content: (e: SeriesLabelsContentArgs) => string;
23
22
  distance: number;
24
23
  font: string;
25
24
  format: string;
@@ -3,7 +3,7 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { ConfigurationService } from '../../common/configuration.service';
6
- import { Border, Margin, Padding } from '../../common/property-types';
6
+ import { Border, Margin, Padding, SeriesLabelsContentArgs } from '../../common/property-types';
7
7
  import { SeriesLabelsFrom } from '../../common/property-types';
8
8
  import { SettingsComponent } from '../../common/settings.component';
9
9
  import * as i0 from "@angular/core";
@@ -15,7 +15,7 @@ export declare class SeriesLabelsFromComponent extends SettingsComponent impleme
15
15
  background: string;
16
16
  border: Border;
17
17
  color: string;
18
- content: (e: any) => string;
18
+ content: (e: SeriesLabelsContentArgs) => string;
19
19
  font: string;
20
20
  format: string;
21
21
  margin: Margin | number;
@@ -4,7 +4,7 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { ConfigurationService } from '../../common/configuration.service';
6
6
  import { SettingsComponent } from '../../common/settings.component';
7
- import { Border, Margin, Padding } from '../../common/property-types';
7
+ import { Border, Margin, Padding, SeriesLabelsContentArgs } from '../../common/property-types';
8
8
  import { SeriesLabelsTo } from '../../common/property-types';
9
9
  import * as i0 from "@angular/core";
10
10
  /**
@@ -15,7 +15,7 @@ export declare class SeriesLabelsToComponent extends SettingsComponent implement
15
15
  background: string;
16
16
  border: Border;
17
17
  color: string;
18
- content: (e: any) => string;
18
+ content: (e: SeriesLabelsContentArgs) => string;
19
19
  font: string;
20
20
  format: string;
21
21
  margin: Margin | number;
@@ -4,7 +4,7 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { ConfigurationService } from '../../common/configuration.service';
6
6
  import { SettingsComponent } from '../../common/settings.component';
7
- import { Border, NoteLabelPosition } from '../../common/property-types';
7
+ import { Border, NoteLabelPosition, SeriesNoteContentArgs } from '../../common/property-types';
8
8
  import { SeriesNotesLabel } from '../../common/property-types';
9
9
  import * as i0 from "@angular/core";
10
10
  /**
@@ -15,7 +15,7 @@ export declare class SeriesNotesLabelComponent extends SettingsComponent impleme
15
15
  background: string;
16
16
  border: Border;
17
17
  color: string;
18
- content: (e: any) => string;
18
+ content: (e: SeriesNoteContentArgs) => string;
19
19
  font: string;
20
20
  format: string;
21
21
  position: NoteLabelPosition;
@@ -4,7 +4,7 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { drawing } from '@progress/kendo-drawing';
6
6
  import { ConfigurationService } from '../../common/configuration.service';
7
- import { AxisLabelVisualArgs, Border, LabelRotation, Margin } from '../../common/property-types';
7
+ import { AxisLabelContentArgs, AxisLabelVisualArgs, Border, LabelRotation, Margin } from '../../common/property-types';
8
8
  import { AxisLabelsPosition } from '../../common/property-types';
9
9
  import { Padding } from '../../common/property-types';
10
10
  import { ValueAxisLabels } from '../../common/property-types';
@@ -18,7 +18,7 @@ export declare class ValueAxisLabelsComponent extends SettingsComponent implemen
18
18
  background: string;
19
19
  border: Border;
20
20
  color: string;
21
- content: (e: any) => string;
21
+ content: (e: AxisLabelContentArgs) => string;
22
22
  font: string;
23
23
  format: string;
24
24
  margin: Margin | number;
@@ -3,7 +3,7 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { ConfigurationService } from '../../common/configuration.service';
6
- import { Border, NoteLabelPosition } from '../../common/property-types';
6
+ import { AxisNoteContentArgs, Border, NoteLabelPosition } from '../../common/property-types';
7
7
  import { ValueAxisNotesLabel } from '../../common/property-types';
8
8
  import { SettingsComponent } from '../../common/settings.component';
9
9
  import * as i0 from "@angular/core";
@@ -15,7 +15,7 @@ export declare class ValueAxisNotesLabelComponent extends SettingsComponent impl
15
15
  background: string;
16
16
  border: Border;
17
17
  color: string;
18
- content: (e: any) => string;
18
+ content: (e: AxisNoteContentArgs) => string;
19
19
  font: string;
20
20
  format: string;
21
21
  position: NoteLabelPosition;
@@ -4,7 +4,7 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { drawing } from '@progress/kendo-drawing';
6
6
  import { ConfigurationService } from '../../common/configuration.service';
7
- import { AxisLabelsPosition, AxisLabelVisualArgs, Border, DateFormats, LabelRotation } from '../../common/property-types';
7
+ import { AxisLabelContentArgs, AxisLabelsPosition, AxisLabelVisualArgs, Border, DateFormats, LabelRotation } from '../../common/property-types';
8
8
  import { Margin, Padding } from '../../common/property-types';
9
9
  import { XAxisLabels } from '../../common/property-types';
10
10
  import { SettingsComponent } from '../../common/settings.component';
@@ -17,7 +17,7 @@ export declare class XAxisLabelsComponent extends SettingsComponent implements X
17
17
  background: string;
18
18
  border: Border;
19
19
  color: string;
20
- content: (e: any) => string;
20
+ content: (e: AxisLabelContentArgs) => string;
21
21
  culture: string;
22
22
  dateFormats: DateFormats;
23
23
  font: string;
@@ -3,7 +3,7 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { ConfigurationService } from '../../common/configuration.service';
6
- import { Border, NoteLabelPosition } from '../../common/property-types';
6
+ import { AxisNoteContentArgs, Border, NoteLabelPosition } from '../../common/property-types';
7
7
  import { XAxisNotesLabel } from '../../common/property-types';
8
8
  import { SettingsComponent } from '../../common/settings.component';
9
9
  import * as i0 from "@angular/core";
@@ -15,7 +15,7 @@ export declare class XAxisNotesLabelComponent extends SettingsComponent implemen
15
15
  background: string;
16
16
  border: Border;
17
17
  color: string;
18
- content: (e: any) => string;
18
+ content: (e: AxisNoteContentArgs) => string;
19
19
  font: string;
20
20
  format: string;
21
21
  position: NoteLabelPosition;
@@ -4,7 +4,7 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { drawing } from '@progress/kendo-drawing';
6
6
  import { ConfigurationService } from '../../common/configuration.service';
7
- import { AxisLabelVisualArgs, Border, DateFormats, LabelRotation } from '../../common/property-types';
7
+ import { AxisLabelContentArgs, AxisLabelVisualArgs, Border, DateFormats, LabelRotation } from '../../common/property-types';
8
8
  import { AxisLabelsPosition } from '../../common/property-types';
9
9
  import { Margin, Padding } from '../../common/property-types';
10
10
  import { YAxisLabels } from '../../common/property-types';
@@ -18,7 +18,7 @@ export declare class YAxisLabelsComponent extends SettingsComponent implements Y
18
18
  background: string;
19
19
  border: Border;
20
20
  color: string;
21
- content: (e: any) => string;
21
+ content: (e: AxisLabelContentArgs) => string;
22
22
  culture: string;
23
23
  dateFormats: DateFormats;
24
24
  font: string;
@@ -3,7 +3,7 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { ConfigurationService } from '../../common/configuration.service';
6
- import { Border, NoteLabelPosition } from '../../common/property-types';
6
+ import { AxisNoteContentArgs, Border, NoteLabelPosition } from '../../common/property-types';
7
7
  import { YAxisNotesLabel } from '../../common/property-types';
8
8
  import { SettingsComponent } from '../../common/settings.component';
9
9
  import * as i0 from "@angular/core";
@@ -15,7 +15,7 @@ export declare class YAxisNotesLabelComponent extends SettingsComponent implemen
15
15
  background: string;
16
16
  border: Border;
17
17
  color: string;
18
- content: (e: any) => string;
18
+ content: (e: AxisNoteContentArgs) => string;
19
19
  font: string;
20
20
  format: string;
21
21
  position: NoteLabelPosition;
@@ -0,0 +1,113 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { AxisDefaults, CategoryAxis, ChartArea, DragAction, Legend, Pane, PaneDefaults, PlotArea, Series, SeriesDefaults, Title, Tooltip, ValueAxis, XAxis, YAxis, Zoomable } from './common/property-types';
6
+ /**
7
+ * A configuration object that groups all root-level Chart options.
8
+ */
9
+ export interface ChartOptions {
10
+ /**
11
+ * Specifies if the Chart can be panned.
12
+ */
13
+ pannable?: boolean | DragAction;
14
+ /**
15
+ * Sets the preferred rendering engine.
16
+ * If not supported by the browser, the Chart switches to the first available mode.
17
+ *
18
+ * The supported values are:
19
+ * - `"svg"`—If available, renders the component as an inline `.svg` file.
20
+ * - `"canvas"`—If available, renders the component as a `canvas` element.
21
+ */
22
+ renderAs?: 'svg' | 'canvas';
23
+ /**
24
+ * The default colors for the Chart series.
25
+ * When all colors are used, new colors are pulled from the start again.
26
+ */
27
+ seriesColors?: string[];
28
+ /**
29
+ * The configuration options or the text of the Chart title.
30
+ */
31
+ title?: string | Title;
32
+ /**
33
+ * If set to `true`, the Chart plays animations when it displays the series.
34
+ * By default, animations are enabled.
35
+ */
36
+ transitions?: boolean;
37
+ /**
38
+ * Specifies if the Chart can be zoomed.
39
+ */
40
+ zoomable?: boolean | Zoomable;
41
+ /**
42
+ * The default options for all Chart axes. Accepts the options which are supported by
43
+ * [`categoryAxis`]({% slug api_charts_categoryaxisitemcomponent %}),
44
+ * [`valueAxis`]({% slug api_charts_valueaxisitemcomponent %}),
45
+ * [`xAxis`]({% slug api_charts_xaxisitemcomponent %}),
46
+ * and [`yAxis`]({% slug api_charts_yaxisitemcomponent %}).
47
+ */
48
+ axisDefaults?: AxisDefaults;
49
+ /**
50
+ * The configuration options of the category axis.
51
+ */
52
+ categoryAxis?: CategoryAxis | CategoryAxis[];
53
+ /**
54
+ * The configuration options of the Chart area.
55
+ * Represents the entire visible area of the Chart.
56
+ */
57
+ chartArea?: ChartArea;
58
+ /**
59
+ * The configuration options of the Chart legend.
60
+ */
61
+ legend?: Legend;
62
+ /**
63
+ * The configuration of the Chart panes.
64
+ * Panes are used to split the Chart into two or more parts. The panes are ordered from top to bottom.
65
+ * To associate each axis with a pane, set its `pane` option to the name of the desired pane.
66
+ * Axis that do not have a specified pane are placed in the top (default) pane.
67
+ * To move a series to the desired pane, associate them with an axis.
68
+ */
69
+ panes?: Pane[];
70
+ /**
71
+ * The default options of all panes.
72
+ */
73
+ paneDefaults?: PaneDefaults;
74
+ /**
75
+ * The configuration options of the plot area.
76
+ * The plot area is the area which displays the series.
77
+ */
78
+ plotArea?: PlotArea;
79
+ /**
80
+ * The configuration of the Chart series.
81
+ * The series type is determined by the value of the type field.
82
+ * If a type value is missing, the Chart renders the type that is
83
+ * specified in [`seriesDefaults`]({% slug api_charts_seriesdefaultscomponent %}).
84
+ * Some options accept functions as arguments. These arguments are evaluated for each point
85
+ * which is supplied as a parameter. If no value is returned, the Chart uses the `theme` or
86
+ * [`seriesDefaults`]({% slug api_charts_seriesdefaultscomponent %}) values.
87
+ */
88
+ series?: Series[];
89
+ /**
90
+ * The default options of all series.
91
+ */
92
+ seriesDefaults?: SeriesDefaults;
93
+ /**
94
+ * The configuration options of the Chart series tooltips.
95
+ * The tooltip of the Chart series is displayed when the
96
+ * [`tooltip.visible`]({% slug api_charts_tooltipcomponent %}#toc-visible) option is set to `true`.
97
+ */
98
+ tooltip?: Tooltip;
99
+ /**
100
+ * The configuration options of the value axis.
101
+ */
102
+ valueAxis?: ValueAxis | ValueAxis[];
103
+ /**
104
+ * The configuration options of the Scatter Chart X-axis.
105
+ * Supports all [`valueAxis`]({% slug api_charts_valueaxisitemcomponent %}) options.
106
+ */
107
+ xAxis?: XAxis | XAxis[];
108
+ /**
109
+ * The configuration options of the Scatter Chart Y-axis.
110
+ * Supports all [`valueAxis`]({% slug api_charts_valueaxisitemcomponent %}) options.
111
+ */
112
+ yAxis?: YAxis | YAxis[];
113
+ }
@@ -15,6 +15,7 @@ import { ChartPane } from './api-types/chart-pane.interface';
15
15
  import { ChartPlotArea } from './api-types/chart-plotarea.interface';
16
16
  import { SeriesPoint } from './api-types/series-point.interface';
17
17
  import './chart-defaults';
18
+ import { ChartOptions } from './chart-options.interface';
18
19
  import { DonutCenterTemplateDirective } from './chart/donut-center-template.directive';
19
20
  import { SeriesItemComponent } from './chart/series-item.component';
20
21
  import { CrosshairTooltipsContainerComponent } from './chart/tooltip/crosshair-tooltips-container.component';
@@ -90,7 +91,7 @@ import * as i0 from "@angular/core";
90
91
  *
91
92
  * ```
92
93
  */
93
- export declare class ChartComponent implements OnChanges, OnInit, OnDestroy, AfterViewInit, AfterViewChecked {
94
+ export declare class ChartComponent implements ChartOptions, OnChanges, OnInit, OnDestroy, AfterViewInit, AfterViewChecked {
94
95
  configurationService: ConfigurationService;
95
96
  themeService: ThemeService;
96
97
  protected element: ElementRef;
@@ -100,108 +101,24 @@ export declare class ChartComponent implements OnChanges, OnInit, OnDestroy, Aft
100
101
  protected instanceEventService: InstanceEventService;
101
102
  protected changeDetector: ChangeDetectorRef;
102
103
  protected renderer: Renderer2;
103
- /**
104
- * Specifies if the Chart can be panned.
105
- */
106
104
  pannable: boolean | DragAction;
107
- /**
108
- * Sets the preferred rendering engine.
109
- * If not supported by the browser, the Chart switches to the first available mode.
110
- *
111
- * The supported values are:
112
- * - `"svg"`—If available, renders the component as an inline `.svg` file.
113
- * - `"canvas"`—If available, renders the component as a `canvas` element.
114
- */
115
105
  renderAs: 'svg' | 'canvas';
116
- /**
117
- * The default colors for the Chart series.
118
- * When all colors are used, new colors are pulled from the start again.
119
- */
120
106
  seriesColors: string[];
121
- /**
122
- * The configuration options or the text of the Chart title.
123
- */
124
107
  title: string | Title;
125
- /**
126
- * If set to `true`, the Chart plays animations when it displays the series.
127
- * By default, animations are enabled.
128
- */
129
108
  transitions: boolean;
130
- /**
131
- * Specifies if the Chart can be zoomed.
132
- */
133
109
  zoomable: boolean | Zoomable;
134
- /**
135
- * The default options for all Chart axes. Accepts the options which are supported by
136
- * [`categoryAxis`]({% slug api_charts_categoryaxisitemcomponent %}),
137
- * [`valueAxis`]({% slug api_charts_valueaxisitemcomponent %}),
138
- * [`xAxis`]({% slug api_charts_xaxisitemcomponent %}),
139
- * and [`yAxis`]({% slug api_charts_yaxisitemcomponent %}).
140
- */
141
110
  axisDefaults: AxisDefaults;
142
- /**
143
- * The configuration options of the category axis.
144
- */
145
111
  categoryAxis: CategoryAxis | CategoryAxis[];
146
- /**
147
- * The configuration options of the Chart area.
148
- * Represents the entire visible area of the Chart.
149
- */
150
112
  chartArea: ChartArea;
151
- /**
152
- * The configuration options of the Chart legend.
153
- */
154
113
  legend: Legend;
155
- /**
156
- * The configuration of the Chart panes.
157
- * Panes are used to split the Chart into two or more parts. The panes are ordered from top to bottom.
158
- * To associate each axis with a pane, set its `pane` option to the name of the desired pane.
159
- * Axis that do not have a specified pane are placed in the top (default) pane.
160
- * To move a series to the desired pane, associate them with an axis.
161
- */
162
114
  panes: Pane[];
163
- /**
164
- * The default options of all panes.
165
- */
166
115
  paneDefaults: PaneDefaults;
167
- /**
168
- * The configuration options of the plot area.
169
- * The plot area is the area which displays the series.
170
- */
171
116
  plotArea: PlotArea;
172
- /**
173
- * The configuration of the Chart series.
174
- * The series type is determined by the value of the type field.
175
- * If a type value is missing, the Chart renders the type that is
176
- * specified in [`seriesDefaults`]({% slug api_charts_seriesdefaultscomponent %}).
177
- * Some options accept functions as arguments. These arguments are evaluated for each point
178
- * which is supplied as a parameter. If no value is returned, the Chart uses the `theme` or
179
- * [`seriesDefaults`]({% slug api_charts_seriesdefaultscomponent %}) values.
180
- */
181
117
  series: Series[];
182
- /**
183
- * The default options of all series.
184
- */
185
118
  seriesDefaults: SeriesDefaults;
186
- /**
187
- * The configuration options of the Chart series tooltips.
188
- * The tooltip of the Chart series is displayed when the
189
- * [`tooltip.visible`]({% slug api_charts_tooltipcomponent %}#toc-visible) option is set to `true`.
190
- */
191
119
  tooltip: Tooltip;
192
- /**
193
- * The configuration options of the value axis.
194
- */
195
120
  valueAxis: ValueAxis | ValueAxis[];
196
- /**
197
- * The configuration options of the Scatter Chart X-axis.
198
- * Supports all [`valueAxis`]({% slug api_charts_valueaxisitemcomponent %}) options.
199
- */
200
121
  xAxis: XAxis | XAxis[];
201
- /**
202
- * The configuration options of the Scatter Chart Y-axis.
203
- * Supports all [`valueAxis`]({% slug api_charts_valueaxisitemcomponent %}) options.
204
- */
205
122
  yAxis: YAxis | YAxis[];
206
123
  /**
207
124
  * Fires when the user clicks an axis label ([see example]({% slug overview_chart_charts %}#toc-events)).
@@ -8,6 +8,7 @@ export { DragEvent } from '../events/drag-event';
8
8
  export { DragStartEvent } from '../events/drag-start-event';
9
9
  export { LegendItemClickEvent } from '../events/legend-item-click-event';
10
10
  export { LegendItemHoverEvent } from '../events/legend-item-hover-event';
11
+ export { LegendItemLeaveEvent } from '../events/legend-item-leave-event';
11
12
  export { NoteClickEvent } from '../events/note-click-event';
12
13
  export { NoteHoverEvent } from '../events/note-hover-event';
13
14
  export { PaneRenderEvent } from '../events/pane-render-event';
@@ -37,6 +37,7 @@ export { Padding } from '../field-types/padding.interface';
37
37
  export { PlotBand } from '../field-types/plot-band.interface';
38
38
  export { PlotBandLabel } from '../field-types/plot-band-label.interface';
39
39
  export { SeriesLabelsPosition } from '../field-types/series-labels-position';
40
+ export { SeriesLabelsAlignment } from '../field-types/series-labels-alignment';
40
41
  export { SeriesLine } from '../field-types/series-line.interface';
41
42
  export { SeriesMean } from '../field-types/series-mean.interface';
42
43
  export { SeriesMedian } from '../field-types/series-median.interface';
@@ -44,16 +45,21 @@ export { SeriesWhiskers } from '../field-types/series-whiskers.interface';
44
45
  export { SeriesStack } from '../field-types/series-stack.interface';
45
46
  export { SeriesType } from '../field-types/series-type';
46
47
  export { WeekStartDay } from '../field-types/week-start-day.enum';
48
+ export { AxisLabelContentArgs } from '../argument-types/axis-label-content-args.interface';
47
49
  export { AxisLabelVisualArgs } from '../argument-types/axis-label-visual-args.interface';
48
50
  export { AxisNoteVisualArgs } from '../argument-types/axis-note-visual-args.interface';
51
+ export { AxisNoteContentArgs } from '../argument-types/axis-note-content-args.interface';
49
52
  export { ErrorBarsVisualArgs } from '../argument-types/error-bars-visual-args.interface';
53
+ export { ErrorBarsValueArgs } from '../argument-types/error-bars-value-args.interface';
50
54
  export { HighlightToggleArgs } from '../argument-types/highlight-toggle-args.interface';
51
55
  export { HighlightVisualArgs } from '../argument-types/highlight-visual-args.interface';
52
56
  export { LegendItemVisualArgs } from '../argument-types/legend-item-visual-args.interface';
53
57
  export { LegendLabelsContentArgs } from '../argument-types/legend-labels-content-args.interface';
54
58
  export { MarkersVisualArgs } from '../argument-types/markers-visual-args.interface';
55
59
  export { SeriesLabelsVisualArgs } from '../argument-types/series-labels-visual-args.interface';
60
+ export { SeriesLabelsContentArgs } from '../argument-types/series-labels-content-args.interface';
56
61
  export { SeriesNoteVisualArgs } from '../argument-types/series-note-visual-args.interface';
62
+ export { SeriesNoteContentArgs } from '../argument-types/series-note-content-args.interface';
57
63
  export { SeriesVisualArgs } from '../argument-types/series-visual-args.interface';
58
64
  export { TitleVisualArgs } from '../argument-types/title-visual-args.interface';
59
65
  export { PlotBandLabelVisualArgs } from '../argument-types/plot-band-label-visual-args.interface';
@@ -0,0 +1,5 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ export {};
@@ -0,0 +1,5 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ export {};
@@ -0,0 +1,5 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ export {};
@@ -0,0 +1,5 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ export {};
@@ -0,0 +1,5 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ export {};