@progress/kendo-angular-charts 13.2.0-develop.5 → 13.2.0-develop.7

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 (82) hide show
  1. package/chart/axis-defaults/crosshair.component.d.ts +17 -0
  2. package/chart/axis-defaults/crosshair.tooltip.component.d.ts +18 -0
  3. package/chart/axis-defaults/labels.component.d.ts +41 -0
  4. package/chart/axis-defaults/title.component.d.ts +24 -0
  5. package/chart/axis-defaults.component.d.ts +19 -0
  6. package/chart/category-axis-item/crosshair.component.d.ts +17 -0
  7. package/chart/category-axis-item/crosshair.tooltip.component.d.ts +18 -0
  8. package/chart/category-axis-item/labels.component.d.ts +58 -0
  9. package/chart/category-axis-item/notes.label.component.d.ts +22 -0
  10. package/chart/category-axis-item/title.component.d.ts +25 -0
  11. package/chart/category-axis-item.component.d.ts +38 -0
  12. package/chart/chart-area.component.d.ts +20 -0
  13. package/chart/legend.component.d.ts +46 -0
  14. package/chart/pane/title.component.d.ts +18 -0
  15. package/chart/pane-defaults/title.component.d.ts +18 -0
  16. package/chart/pane-defaults.component.d.ts +8 -0
  17. package/chart/pane.component.d.ts +18 -51
  18. package/chart/panes.component.d.ts +8 -32
  19. package/chart/plot-area.component.d.ts +18 -0
  20. package/chart/series-defaults/labels.component.d.ts +20 -0
  21. package/chart/series-defaults/labels.from.component.d.ts +20 -0
  22. package/chart/series-defaults/labels.to.component.d.ts +20 -0
  23. package/chart/series-defaults/notes.icon.component.d.ts +8 -0
  24. package/chart/series-defaults/notes.label.component.d.ts +21 -0
  25. package/chart/series-defaults/tooltip.component.d.ts +12 -0
  26. package/chart/series-defaults.component.d.ts +16 -0
  27. package/chart/series-item/error-bars.component.d.ts +4 -0
  28. package/chart/series-item/extremes.component.d.ts +8 -0
  29. package/chart/series-item/highlight.component.d.ts +4 -0
  30. package/chart/series-item/labels.component.d.ts +25 -0
  31. package/chart/series-item/labels.from.component.d.ts +20 -0
  32. package/chart/series-item/labels.to.component.d.ts +20 -0
  33. package/chart/series-item/markers.component.d.ts +12 -0
  34. package/chart/series-item/notes.icon.component.d.ts +10 -0
  35. package/chart/series-item/notes.label.component.d.ts +26 -0
  36. package/chart/series-item/outliers.component.d.ts +10 -0
  37. package/chart/series-item/tooltip.component.d.ts +8 -0
  38. package/chart/series-item.component.d.ts +287 -0
  39. package/chart/series.component.d.ts +8 -18
  40. package/chart/subtitle.component.d.ts +24 -57
  41. package/chart/title.component.d.ts +37 -56
  42. package/chart/tooltip.component.d.ts +16 -0
  43. package/chart/value-axis-item/crosshair.component.d.ts +15 -0
  44. package/chart/value-axis-item/crosshair.tooltip.component.d.ts +16 -0
  45. package/chart/value-axis-item/labels.component.d.ts +43 -0
  46. package/chart/value-axis-item/notes.icon.component.d.ts +8 -0
  47. package/chart/value-axis-item/notes.label.component.d.ts +21 -0
  48. package/chart/value-axis-item/title.component.d.ts +24 -0
  49. package/chart/value-axis-item.component.d.ts +35 -0
  50. package/chart/value-axis.component.d.ts +6 -26
  51. package/chart/x-axis-item/crosshair.component.d.ts +12 -0
  52. package/chart/x-axis-item/crosshair.tooltip.component.d.ts +18 -0
  53. package/chart/x-axis-item/labels.component.d.ts +29 -0
  54. package/chart/x-axis-item/notes.icon.component.d.ts +8 -0
  55. package/chart/x-axis-item/notes.label.component.d.ts +22 -0
  56. package/chart/x-axis-item/title.component.d.ts +25 -0
  57. package/chart/x-axis-item.component.d.ts +13 -0
  58. package/chart/y-axis-item/labels.component.d.ts +42 -0
  59. package/chart/y-axis-item/notes.icon.component.d.ts +8 -0
  60. package/chart/y-axis-item/notes.label.component.d.ts +22 -0
  61. package/chart/y-axis-item/title.component.d.ts +25 -0
  62. package/chart/y-axis-item.component.d.ts +23 -0
  63. package/chart-breadcrumb.component.d.ts +2 -0
  64. package/chart.component.d.ts +15 -45
  65. package/esm2020/chart/pane.component.mjs +10 -51
  66. package/esm2020/chart/panes.component.mjs +8 -32
  67. package/esm2020/chart/series.component.mjs +8 -18
  68. package/esm2020/chart/subtitle.component.mjs +4 -57
  69. package/esm2020/chart/title.component.mjs +5 -56
  70. package/esm2020/chart/value-axis.component.mjs +7 -27
  71. package/esm2020/chart-breadcrumb.component.mjs +13 -6
  72. package/esm2020/chart.component.mjs +6 -45
  73. package/esm2020/package-metadata.mjs +2 -2
  74. package/fesm2015/progress-kendo-angular-charts.mjs +63 -295
  75. package/fesm2020/progress-kendo-angular-charts.mjs +63 -295
  76. package/field-types/line-style.d.ts +3 -3
  77. package/option-types/plot-area.interface.d.ts +1 -1
  78. package/option-types/series-defaults/tooltip.interface.d.ts +1 -1
  79. package/option-types/series-item/labels.from.interface.d.ts +9 -9
  80. package/option-types/series-item/labels.to.interface.d.ts +9 -9
  81. package/option-types/series-item.interface.d.ts +0 -7
  82. package/package.json +7 -7
@@ -13,9 +13,26 @@ import * as i0 from "@angular/core";
13
13
  export declare class AxisDefaultsCrosshairComponent extends SettingsComponent implements AxisDefaultsCrosshair {
14
14
  configurationService: ConfigurationService;
15
15
  color: string;
16
+ /**
17
+ * The dash type of the crosshair.
18
+ * @default 'solid'
19
+ */
16
20
  dashType: DashType;
21
+ /**
22
+ * The opacity of the crosshair. By default, the crosshair is opaque.
23
+ * @default 1
24
+ */
17
25
  opacity: number;
26
+ /**
27
+ * If set to `true`, the Chart displays the axis crosshair.
28
+ * By default, the axis crosshair is not visible.
29
+ * @default false
30
+ */
18
31
  visible: boolean;
32
+ /**
33
+ * The width of the crosshair in pixels.
34
+ * @default 1
35
+ */
19
36
  width: number;
20
37
  tooltip: AxisDefaultsCrosshairTooltip;
21
38
  constructor(configurationService: ConfigurationService);
@@ -17,9 +17,27 @@ export declare class AxisDefaultsCrosshairTooltipComponent extends SettingsCompo
17
17
  background: string;
18
18
  border: Border;
19
19
  color: string;
20
+ /**
21
+ * The tooltip font.
22
+ * @default '12px, sans-serif'
23
+ */
20
24
  font: string;
25
+ /**
26
+ * The format for displaying the tooltip. Uses the [`format`](slug:api_intl_intlservice#toc-format) method of `IntlService`.
27
+ * Contains one placeholder (`"{0}"`) which represents the category value.
28
+ * @default '{0}'
29
+ */
21
30
  format: string;
31
+ /**
32
+ * The padding of the crosshair tooltip. A numeric value sets all paddings.
33
+ * @default 0
34
+ */
22
35
  padding: Padding | number;
36
+ /**
37
+ * If set to `true`, the Chart displays the axis crosshair tooltip.
38
+ * By default, the axis crosshair tooltip is not visible.
39
+ * @default false
40
+ */
23
41
  visible: boolean;
24
42
  constructor(configurationService: ConfigurationService);
25
43
  static ɵfac: i0.ɵɵFactoryDeclaration<AxisDefaultsCrosshairTooltipComponent, never>;
@@ -14,14 +14,55 @@ import * as i0 from "@angular/core";
14
14
  export declare class AxisDefaultsLabelsComponent extends SettingsComponent implements AxisDefaultsLabels {
15
15
  configurationService: ConfigurationService;
16
16
  content: (e: AxisLabelContentArgs) => string;
17
+ /**
18
+ * The font style of the labels.
19
+ * @default '12px, sans-serif'
20
+ */
17
21
  font: string;
22
+ /**
23
+ * The format for displaying the labels. Uses the [`format`]({% slug api_intl_intlservice %}#toc-format) method of `IntlService`.
24
+ * Contains one placeholder (`"{0}"`) which represents the category value.
25
+ * @default '{0}'
26
+ */
18
27
  format: string;
28
+ /**
29
+ * The margin of the labels. A numeric value sets all margins.
30
+ * @default 0
31
+ */
19
32
  margin: Margin | number;
33
+ /**
34
+ * If set to `true`, the Chart mirrors the axis labels and ticks.
35
+ * If the labels are normally on the left side of the axis,
36
+ * the mirroring of the axis renders them to the right.
37
+ * @default false
38
+ */
20
39
  mirror: boolean;
40
+ /**
41
+ * The padding of the labels. A numeric value sets all paddings.
42
+ * @default 0
43
+ */
21
44
  padding: Padding | number;
45
+ /**
46
+ * The rotation angle of the labels. By default, the labels are not rotated.
47
+ * If the axis is horizontal, can be set to `"auto"`.
48
+ * In this case, the labels are rotated only if the slot size is not sufficient for the entire labels.
49
+ * @default 0
50
+ */
22
51
  rotation: LabelRotation | number | 'auto';
52
+ /**
53
+ * The number of labels to skip. By default, no labels are skipped.
54
+ * @default 0
55
+ */
23
56
  skip: number;
57
+ /**
58
+ * The label-rendering step&mdash;renders every n<sup>th</sup> label. By default, every label is rendered.
59
+ * @default 1
60
+ */
24
61
  step: number;
62
+ /**
63
+ * If set to `true`, the Chart displays the axis labels. By default, the axis labels are visible.
64
+ * @default true
65
+ */
25
66
  visible: boolean;
26
67
  visual: (e: AxisLabelVisualArgs) => drawing.Element;
27
68
  constructor(configurationService: ConfigurationService);
@@ -16,12 +16,36 @@ export declare class AxisDefaultsTitleComponent extends SettingsComponent implem
16
16
  background: string;
17
17
  border: Border;
18
18
  color: string;
19
+ /**
20
+ * The font style of the title.
21
+ * @default 'bold 16px, sans-serif'
22
+ */
19
23
  font: string;
24
+ /**
25
+ * The margin of the title. A numeric value sets all margins.
26
+ * @default 5
27
+ */
20
28
  margin: Margin | number;
29
+ /**
30
+ * The padding of the title. A numeric value sets all paddings.
31
+ * @default 0
32
+ */
21
33
  padding: Padding | number;
34
+ /**
35
+ * The position of the title.
36
+ * @default 'center'
37
+ */
22
38
  position: AxisTitlePosition;
39
+ /**
40
+ * The rotation angle of the title. By default, the title is not rotated.
41
+ * @default 0
42
+ */
23
43
  rotation: number;
24
44
  text: string;
45
+ /**
46
+ * If set to `true`, the Chart displays the axis title. By default, the axis title is visible.
47
+ * @default true
48
+ */
25
49
  visible: boolean;
26
50
  visual: (e: TitleVisualArgs) => drawing.Element;
27
51
  constructor(configurationService: ConfigurationService);
@@ -24,11 +24,30 @@ export declare class AxisDefaultsComponent extends SettingsComponent implements
24
24
  majorTicks: AxisTicks;
25
25
  minorGridLines: GridLines;
26
26
  minorTicks: AxisTicks;
27
+ /**
28
+ * If set to `true`, the Chart prevents the axis range from snapping to zero.
29
+ * Setting it to `false`, forces the axis range to snap to zero.
30
+ * @default false
31
+ */
27
32
  narrowRange: boolean;
28
33
  pane: string;
29
34
  plotBands: PlotBand[];
35
+ /**
36
+ * If set to `true`, the axis direction is reversed. By default, categories are listed from left to
37
+ * right and from bottom to top.
38
+ * @default false
39
+ */
30
40
  reverse: boolean;
41
+ /**
42
+ * The angle (degrees) of the first category on the axis.
43
+ * Angles increase clockwise with zero to the left. Negative values are acceptable.
44
+ * @default 90
45
+ */
31
46
  startAngle: number;
47
+ /**
48
+ * If set to `true`, the Chart displays the axis.
49
+ * @default true
50
+ */
32
51
  visible: boolean;
33
52
  crosshair: AxisDefaultsCrosshair;
34
53
  labels: AxisDefaultsLabels;
@@ -13,9 +13,26 @@ import * as i0 from "@angular/core";
13
13
  export declare class CategoryAxisCrosshairComponent extends SettingsComponent implements CategoryAxisCrosshair {
14
14
  configurationService: ConfigurationService;
15
15
  color: string;
16
+ /**
17
+ * The dash type of the crosshair.
18
+ * @default 'solid'
19
+ */
16
20
  dashType: DashType;
21
+ /**
22
+ * The opacity of the crosshair. By default, the crosshair is opaque.
23
+ * @default 1
24
+ */
17
25
  opacity: number;
26
+ /**
27
+ * If set to `true`, the Chart displays the category axis crosshair.
28
+ * By default, the category axis crosshair is not visible.
29
+ * @default false
30
+ */
18
31
  visible: boolean;
32
+ /**
33
+ * The width of the crosshair in pixels.
34
+ * @default 1
35
+ */
19
36
  width: number;
20
37
  tooltip: CategoryAxisCrosshairTooltip;
21
38
  constructor(configurationService: ConfigurationService);
@@ -16,9 +16,27 @@ export declare class CategoryAxisCrosshairTooltipComponent extends SettingsCompo
16
16
  background: string;
17
17
  border: Border;
18
18
  color: string;
19
+ /**
20
+ * The tooltip font.
21
+ * @default '12px, sans-serif'
22
+ */
19
23
  font: string;
24
+ /**
25
+ * The format used to display the tooltip. Uses the [`format`]({% slug api_intl_intlservice %}#toc-format) method of IntlService.
26
+ * Contains one placeholder (`"{0}"`) which represents the category value.
27
+ * @default '{0}'
28
+ */
20
29
  format: string;
30
+ /**
31
+ * The padding of the crosshair tooltip. A numeric value sets all paddings.
32
+ * @default 0
33
+ */
21
34
  padding: Padding | number;
35
+ /**
36
+ * If set to `true`, the Chart displays the category axis crosshair tooltip.
37
+ * By default, the category axis crosshair tooltip is not visible.
38
+ * @default false
39
+ */
22
40
  visible: boolean;
23
41
  constructor(configurationService: ConfigurationService);
24
42
  static ɵfac: i0.ɵɵFactoryDeclaration<CategoryAxisCrosshairTooltipComponent, never>;
@@ -20,16 +20,74 @@ export declare class CategoryAxisLabelsComponent extends SettingsComponent imple
20
20
  color: string;
21
21
  content: (e: AxisLabelContentArgs) => string;
22
22
  culture: string;
23
+ /**
24
+ * The format for displaying the labels of the date category axis.
25
+ * The `{0}` placeholder represents the category value.
26
+ * The Chart selects the appropriate format for the current [`categoryAxis.baseUnit`]({% slug api_charts_categoryaxis %}#toc-baseunit) option.
27
+ * Setting the [`categoryAxis.labels.format`]({% slug api_charts_categoryaxislabels %}#toc-format) option overrides the date formats.
28
+ * For more information, refer to the [`format`]({% slug api_intl_intlservice %}#toc-format) method of IntlService.
29
+ *
30
+ * For Radar Charts, the feature is not supported. Use [`categoryAxis.labels.format`]({% slug api_charts_categoryaxislabels %}#toc-format) instead.
31
+ * @default 'M/d'
32
+ */
23
33
  dateFormats: DateFormats;
34
+ /**
35
+ * The font style of the labels.
36
+ * @default '12px, sans-serif'
37
+ */
24
38
  font: string;
39
+ /**
40
+ * The format for displaying the labels. Uses the [`format`]({% slug api_intl_intlservice %}#toc-format) method of IntlService.
41
+ * Contains one placeholder (`"{0}"`) which represents the category value.
42
+ * @default '{0}'
43
+ */
25
44
  format: string;
45
+ /**
46
+ * The margin of the labels. A numeric value sets all margins.
47
+ * @default 0
48
+ */
26
49
  margin: Margin | number;
50
+ /**
51
+ * If set to `true`, the Chart mirrors the axis labels and ticks. If the labels are normally on the
52
+ * left side of the axis, the mirroring of the axis renders them to the right.
53
+ * @default false
54
+ */
27
55
  mirror: boolean;
56
+ /**
57
+ * The padding of the labels. A numeric value sets all paddings.
58
+ * @default 0
59
+ */
28
60
  padding: Padding | number;
61
+ /**
62
+ * The position of the axis labels. By default, labels are positioned next to the axis.
63
+ * When `position` is set to `end`, the labels are placed at the end of the crossing axis, usually at the top or right end of the Chart unless the crossing axis has been reversed.
64
+ * Alternatively, when the `position` property is set to `start`, the axis labels will be positioned at the beginning of the crossing axis, typically located at the left or bottom end of the Chart, unless the crossing axis has been reversed.
65
+ * @default 'onAxis'
66
+ */
29
67
  position: AxisLabelsPosition;
68
+ /**
69
+ * The rotation angle of the labels. By default, the labels are not rotated.
70
+ * If the axis is horizontal, can be set to `"auto"`.
71
+ * In this case, the labels are rotated
72
+ * only if the slot size is not sufficient for the entire labels.
73
+ * @default 0
74
+ */
30
75
  rotation: LabelRotation | number | 'auto';
76
+ /**
77
+ * The number of labels to skip. By default, no labels are skipped.
78
+ * @default 0
79
+ */
31
80
  skip: number;
81
+ /**
82
+ * The rendering step of the label&mdash;renders every n<sup>th</sup> label. By default, every label is rendered.
83
+ * @default 1
84
+ */
32
85
  step: number;
86
+ /**
87
+ * If set to `true`, the Chart displays the category axis labels.
88
+ * By default, the category axis labels are visible.
89
+ * @default true
90
+ */
33
91
  visible: boolean;
34
92
  visual: (e: AxisLabelVisualArgs) => drawing.Element;
35
93
  constructor(configurationService: ConfigurationService);
@@ -16,10 +16,32 @@ export declare class CategoryAxisNotesLabelComponent extends SettingsComponent i
16
16
  border: Border;
17
17
  color: string;
18
18
  content: (e: AxisNoteContentArgs) => string;
19
+ /**
20
+ * The font style of the label.
21
+ * @default '12px, sans-serif'
22
+ */
19
23
  font: string;
24
+ /**
25
+ * The format for displaying the notes label. Uses the [`format`]({% slug api_intl_intlservice %}#toc-format) method of IntlService.
26
+ * Contains one placeholder (`"{0}"`) which represents the category value.
27
+ * @default '{0}'
28
+ */
20
29
  format: string;
30
+ /**
31
+ * The position of the label.
32
+ * @default "inside"
33
+ */
21
34
  position: NoteLabelPosition;
35
+ /**
36
+ * The rotation angle of the label. By default, the label is not rotated.
37
+ * @default 0
38
+ */
22
39
  rotation: number;
40
+ /**
41
+ * If set to `true`, the Chart displays the category notes label.
42
+ * By default, the category notes label is visible.
43
+ * @default true
44
+ */
23
45
  visible: boolean;
24
46
  constructor(configurationService: ConfigurationService);
25
47
  static ɵfac: i0.ɵɵFactoryDeclaration<CategoryAxisNotesLabelComponent, never>;
@@ -16,12 +16,37 @@ export declare class CategoryAxisTitleComponent extends SettingsComponent implem
16
16
  background: string;
17
17
  border: Border;
18
18
  color: string;
19
+ /**
20
+ * The font style of the title.
21
+ * @default 'bold 16px, sans-serif'
22
+ */
19
23
  font: string;
24
+ /**
25
+ * The margin of the title. A numeric value sets all margins.
26
+ * @default 5
27
+ */
20
28
  margin: Margin | number;
29
+ /**
30
+ * The padding of the title. A numeric value sets all paddings.
31
+ * @default 0
32
+ */
21
33
  padding: Padding | number;
34
+ /**
35
+ * The position of the title.
36
+ * @default 'center'
37
+ */
22
38
  position: AxisTitlePosition;
39
+ /**
40
+ * The rotation angle of the title. By default, the title is not rotated.
41
+ * @default 0
42
+ */
23
43
  rotation: number;
24
44
  text: string;
45
+ /**
46
+ * If set to `true`, the Chart displays the category axis title.
47
+ * By default, the category axis title is visible.
48
+ * @default true
49
+ */
25
50
  visible: boolean;
26
51
  visual: (e: TitleVisualArgs) => drawing.Element;
27
52
  constructor(configurationService: ConfigurationService);
@@ -28,19 +28,57 @@ export declare class CategoryAxisItemComponent extends CollectionItemComponent i
28
28
  majorGridLines: GridLines;
29
29
  majorTicks: AxisTicks;
30
30
  max: any;
31
+ /**
32
+ * The maximum number of groups (categories) to display when
33
+ * [`categoryAxis.baseUnit`]({% slug api_charts_categoryaxis %}#toc-baseunit) is set to `"fit"` or
34
+ * [`categoryAxis.baseUnitStep`]({% slug api_charts_categoryaxis %}#toc-baseunitstep) is set to `"auto"`.
35
+ * @default 10
36
+ */
31
37
  maxDateGroups: number;
32
38
  maxDivisions: number;
33
39
  min: any;
34
40
  minorGridLines: GridLines;
35
41
  minorTicks: AxisTicks;
42
+ /**
43
+ * The unique axis name. Used to associate a series with a category axis,
44
+ * which utilizes the [`series.categoryAxis`]({% slug api_charts_series %}#toc-categoryaxis) option.
45
+ * @default 'primary'
46
+ */
36
47
  name: string;
37
48
  pane: string;
38
49
  plotBands: PlotBand[];
50
+ /**
51
+ * If set to `true`, the category axis direction is reversed.
52
+ * By default, categories are listed from left to right and from bottom to top.
53
+ * @default false
54
+ */
39
55
  reverse: boolean;
56
+ /**
57
+ * If set to `true`, the Chart rounds the first and last date to the nearest base unit.
58
+ * @default true
59
+ */
40
60
  roundToBaseUnit: boolean;
61
+ /**
62
+ * The angle (degrees) of the first category on the axis.
63
+ * Angles increase clockwise with zero to the left. Negative values are acceptable.
64
+ * @default 90
65
+ */
41
66
  startAngle: number;
67
+ /**
68
+ * The category axis type.
69
+ * The supported values include `category` for a discrete category axis and `date` for a specialized axis for displaying chronological data.
70
+ * @default 'category'
71
+ */
42
72
  type: 'category' | 'date';
73
+ /**
74
+ * If set to `true`, the Chart displays the category axis. By default, the category axis is visible.
75
+ * @default true
76
+ */
43
77
  visible: boolean;
78
+ /**
79
+ * The week start day when the `baseUnit` is set to `"weeks"`.
80
+ * @default 'Sunday'
81
+ */
44
82
  weekStartDay: WeekStartDay;
45
83
  crosshair: CategoryAxisCrosshair;
46
84
  labels: CategoryAxisLabels;
@@ -14,11 +14,31 @@ import * as i0 from "@angular/core";
14
14
  */
15
15
  export declare class ChartAreaComponent extends SettingsComponent implements ChartArea {
16
16
  configurationService: ConfigurationService;
17
+ /**
18
+ * The background color of the Chart area. Accepts a valid CSS color string, including hex and rgb.
19
+ * @default 'white'
20
+ */
17
21
  background: string;
18
22
  border: Border;
23
+ /**
24
+ * The height of the Chart area.
25
+ * @default 400
26
+ */
19
27
  height: number;
28
+ /**
29
+ * The margin of the Chart area. A numeric value sets all margins.
30
+ * @default 5
31
+ */
20
32
  margin: Margin | number;
33
+ /**
34
+ * The background opacity of the Chart area. By default, the background is opaque.
35
+ * @default 1
36
+ */
21
37
  opacity: number;
38
+ /**
39
+ * The width of the Chart area.
40
+ * @default 600
41
+ */
22
42
  width: number;
23
43
  constructor(configurationService: ConfigurationService);
24
44
  static ɵfac: i0.ɵɵFactoryDeclaration<ChartAreaComponent, never>;
@@ -12,18 +12,64 @@ import * as i0 from "@angular/core";
12
12
  */
13
13
  export declare class LegendComponent extends SettingsComponent implements Legend {
14
14
  configurationService: ConfigurationService;
15
+ /**
16
+ * The legend is horizontally aligned when [`legend.position`]({% slug api_charts_legend %}#toc-position) is set to `"top"` or `"bottom"`.
17
+ * The legend is vertically aligned when [`legend.position`]({% slug api_charts_legend %}#toc-position) is set to `"left"` or `"right"`.
18
+ * @default 'center'
19
+ */
15
20
  align: 'start' | 'center' | 'end';
21
+ /**
22
+ * The background color of the legend. Accepts a valid CSS color string, including hex and rgb.
23
+ * @default 'white'
24
+ */
16
25
  background: string;
17
26
  border: Border;
18
27
  height: number;
19
28
  labels: LegendLabels;
29
+ /**
30
+ * The margin of the Chart legend. A numeric value sets all paddings.
31
+ * @default 5
32
+ */
20
33
  margin: Margin | number;
34
+ /**
35
+ * The X offset of the Chart legend. The offset is relative to the default position of the legend.
36
+ * For example, a value of `20` moves the legend 20 pixels to the right of its initial position.
37
+ * Negative values move the legend to the left of its current position.
38
+ * @default 0
39
+ */
21
40
  offsetX: number;
41
+ /**
42
+ * The Y offset of the chart legend. The offset is relative to the current position of the legend.
43
+ * For example, a value of `20` moves the legend 20 pixels down from its initial position.
44
+ * Negative values move the legend upwards from its current position.
45
+ * @default 0
46
+ */
22
47
  offsetY: number;
48
+ /**
49
+ * The orientation of the legend items.
50
+ * @default 'vertical'
51
+ */
23
52
  orientation: 'vertical' | 'horizontal';
53
+ /**
54
+ * The padding of the Chart legend. A numeric value sets all paddings.
55
+ * @default 5
56
+ */
24
57
  padding: Padding | number;
58
+ /**
59
+ * The positions of the Chart legend.
60
+ * Setting the legend position to `custom` allows you to position the legend using the [`legend.offsetX`](slug:api_charts_legend#toc-offsetx) and [`legend.offsetY`](slug:api_charts_legend#toc-offsety) options.
61
+ * @default 'right'
62
+ */
25
63
  position: 'top' | 'bottom' | 'left' | 'right' | 'custom';
64
+ /**
65
+ * If set to `true`, the legend items are reversed.
66
+ * @default false
67
+ */
26
68
  reverse: boolean;
69
+ /**
70
+ * If set to `true`, the Chart displays the legend. By default, the Chart legend is visible.
71
+ * @default true
72
+ */
27
73
  visible: boolean;
28
74
  width: number;
29
75
  markers: LegendMarkers;
@@ -16,10 +16,28 @@ export declare class PanesTitleComponent extends SettingsComponent implements Pa
16
16
  background: string;
17
17
  border: Border;
18
18
  color: string;
19
+ /**
20
+ * The font style of the title.
21
+ * @default '700 18px sans-serif'
22
+ */
19
23
  font: string;
24
+ /**
25
+ * The margin of the title. A numeric value sets all margins.
26
+ * @default 5
27
+ */
20
28
  margin: Margin | number;
29
+ /**
30
+ * The position of the title.
31
+ *
32
+ * The positioning of the axis title can be set to `left` for left positioning, `right` for right positioning (both applicable to the horizontal axis), or `center` for positioning in the center.
33
+ * @default 'center'
34
+ */
21
35
  position: 'left' | 'right' | 'center';
22
36
  text: string;
37
+ /**
38
+ * If set to `true`, the Chart displays the pane title.
39
+ * @default true
40
+ */
23
41
  visible: boolean;
24
42
  visual: (e: any) => drawing.Element;
25
43
  constructor(configurationService: ConfigurationService);
@@ -15,9 +15,27 @@ export declare class PaneDefaultsTitleComponent extends SettingsComponent implem
15
15
  background: string;
16
16
  border: Border;
17
17
  color: string;
18
+ /**
19
+ * The font style of the title.
20
+ * @default '16px sans-serif'
21
+ */
18
22
  font: string;
23
+ /**
24
+ * The margin of the title. A numeric value sets all margins.
25
+ * @default 5
26
+ */
19
27
  margin: Margin | number;
28
+ /**
29
+ * The position of the title.
30
+ *
31
+ * The positioning of the axis title can be set to `left` for left positioning, `right` for right positioning (both applicable to the horizontal axis), or `center` for positioning in the center.
32
+ * @default 'center'
33
+ */
20
34
  position: 'left' | 'right' | 'center';
35
+ /**
36
+ * If set to `true`, the Chart displays the pane title.
37
+ * @default true
38
+ */
21
39
  visible: boolean;
22
40
  visual: (e: any) => drawing.Element;
23
41
  constructor(configurationService: ConfigurationService);
@@ -16,7 +16,15 @@ export declare class PaneDefaultsComponent extends SettingsComponent implements
16
16
  border: Border;
17
17
  clip: boolean;
18
18
  height: number;
19
+ /**
20
+ * The margin of the pane. A numeric value sets all margins.
21
+ * @default 0
22
+ */
19
23
  margin: Margin | number;
24
+ /**
25
+ * The padding of the pane. A numeric value sets all paddings.
26
+ * @default 0
27
+ */
20
28
  padding: Padding | number;
21
29
  title: PaneDefaultsTitle;
22
30
  constructor(configurationService: ConfigurationService);