@progress/kendo-charts 2.12.3-develop.4 → 2.13.0-develop.2

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 (167) hide show
  1. package/dist/cdn/js/kendo-charts.js +1 -1
  2. package/dist/cdn/main.js +1 -1
  3. package/dist/es/chart/plotarea/categorical-plotarea.js +9 -6
  4. package/dist/es2015/chart/plotarea/categorical-plotarea.js +9 -6
  5. package/dist/npm/api-types/axis-range.interface.d.ts +14 -0
  6. package/dist/npm/api-types/chart-axis.interface.d.ts +50 -0
  7. package/dist/npm/api-types/chart-pane.interface.d.ts +16 -0
  8. package/dist/npm/api-types/chart-plotarea.interface.d.ts +16 -0
  9. package/dist/npm/api-types/event-axis-options.interface.d.ts +9 -0
  10. package/dist/npm/api-types/event-series-options.interface.d.ts +19 -0
  11. package/dist/npm/api-types/series-point.interface.d.ts +46 -0
  12. package/dist/npm/api-types.d.ts +7 -0
  13. package/dist/npm/argument-types/axis-label-content-args.interface.d.ts +41 -0
  14. package/dist/npm/argument-types/axis-label-visual-args.interface.d.ts +52 -0
  15. package/dist/npm/argument-types/axis-note-content-args.interface.d.ts +19 -0
  16. package/dist/npm/argument-types/axis-note-visual-args.interface.d.ts +32 -0
  17. package/dist/npm/argument-types/error-bars-value-args.interface.d.ts +29 -0
  18. package/dist/npm/argument-types/error-bars-visual-args.interface.d.ts +37 -0
  19. package/dist/npm/argument-types/highlight-toggle-args.interface.d.ts +41 -0
  20. package/dist/npm/argument-types/highlight-visual-args.interface.d.ts +63 -0
  21. package/dist/npm/argument-types/legend-item-visual-args.interface.d.ts +43 -0
  22. package/dist/npm/argument-types/legend-labels-content-args.interface.d.ts +31 -0
  23. package/dist/npm/argument-types/markers-visual-args.interface.d.ts +47 -0
  24. package/dist/npm/argument-types/plot-band-label-visual-args.interface.d.ts +32 -0
  25. package/dist/npm/argument-types/series-labels-content-args.interface.d.ts +54 -0
  26. package/dist/npm/argument-types/series-labels-visual-args.interface.d.ts +77 -0
  27. package/dist/npm/argument-types/series-note-content-args.interface.d.ts +29 -0
  28. package/dist/npm/argument-types/series-note-visual-args.interface.d.ts +52 -0
  29. package/dist/npm/argument-types/series-visual-args.interface.d.ts +95 -0
  30. package/dist/npm/argument-types/title-visual-args.interface.d.ts +32 -0
  31. package/dist/npm/chart-options.d.ts +226 -0
  32. package/dist/npm/chart.d.ts +4 -3
  33. package/dist/npm/field-types/auto-base-unit-steps.interface.d.ts +62 -0
  34. package/dist/npm/field-types/axis-labels-position.d.ts +62 -0
  35. package/dist/npm/field-types/axis-line.interface.d.ts +41 -0
  36. package/dist/npm/field-types/axis-ticks.interface.d.ts +45 -0
  37. package/dist/npm/field-types/axis-title-position.d.ts +62 -0
  38. package/dist/npm/field-types/base-unit.d.ts +82 -0
  39. package/dist/npm/field-types/border.interface.d.ts +19 -4
  40. package/dist/npm/field-types/bullet-target-line.interface.d.ts +9 -0
  41. package/dist/npm/field-types/bullet-target.interface.d.ts +23 -0
  42. package/dist/npm/field-types/category-base-unit.d.ts +113 -0
  43. package/dist/npm/field-types/dash-type.d.ts +87 -5
  44. package/dist/npm/field-types/date-formats.interface.d.ts +47 -0
  45. package/dist/npm/field-types/drag-action.interface.d.ts +17 -0
  46. package/dist/npm/field-types/error-bar-line.interface.d.ts +16 -0
  47. package/dist/npm/field-types/grid-lines.interface.d.ts +47 -0
  48. package/dist/npm/field-types/highlight-line.interface.d.ts +27 -0
  49. package/dist/npm/field-types/label-connectors.interface.d.ts +19 -0
  50. package/dist/npm/field-types/label-rotation.interface.d.ts +24 -0
  51. package/dist/npm/field-types/legend-labels.interface.d.ts +37 -0
  52. package/dist/npm/field-types/line-style.d.ts +90 -0
  53. package/dist/npm/field-types/lock-axis.d.ts +19 -0
  54. package/dist/npm/field-types/margin.interface.d.ts +15 -5
  55. package/dist/npm/field-types/marker-type.d.ts +94 -0
  56. package/dist/npm/field-types/modifier-key.d.ts +30 -0
  57. package/dist/npm/field-types/mousewheel-select.interface.d.ts +17 -0
  58. package/dist/npm/field-types/mousewheel-zoom.interface.d.ts +21 -0
  59. package/dist/npm/field-types/negative-bubble-values.interface.d.ts +15 -0
  60. package/dist/npm/field-types/note-label-position.d.ts +107 -0
  61. package/dist/npm/field-types/note-line.interface.d.ts +26 -0
  62. package/dist/npm/field-types/note-position.d.ts +104 -0
  63. package/dist/npm/field-types/overlay.interface.d.ts +15 -0
  64. package/dist/npm/field-types/padding.interface.d.ts +11 -1
  65. package/dist/npm/field-types/plot-band-label.interface.d.ts +100 -0
  66. package/dist/npm/field-types/plot-band.interface.d.ts +53 -0
  67. package/dist/npm/field-types/series-labels-alignment.d.ts +16 -0
  68. package/dist/npm/field-types/series-labels-position.d.ts +28 -0
  69. package/dist/npm/field-types/series-line.interface.d.ts +32 -0
  70. package/dist/npm/field-types/series-mean.interface.d.ts +26 -0
  71. package/dist/npm/field-types/series-median.interface.d.ts +26 -0
  72. package/dist/npm/field-types/series-pattern.interface.d.ts +77 -67
  73. package/dist/npm/field-types/series-stack.interface.d.ts +19 -0
  74. package/dist/npm/field-types/series-type.d.ts +244 -0
  75. package/dist/npm/field-types/series-whiskers.interface.d.ts +26 -0
  76. package/dist/npm/field-types/trendline-forecast.interface.d.ts +14 -0
  77. package/dist/npm/field-types/week-start-day.enum.d.ts +49 -0
  78. package/dist/npm/field-types.d.ts +46 -6
  79. package/dist/npm/main.d.ts +4 -0
  80. package/dist/npm/main.js +11 -6
  81. package/dist/npm/option-types/axis-crosshair-tooltip.interface.d.ts +49 -0
  82. package/dist/npm/option-types/axis-defaults/crosshair.interface.d.ts +43 -0
  83. package/dist/npm/option-types/axis-defaults/crosshair.tooltip.interface.d.ts +6 -0
  84. package/dist/npm/option-types/axis-defaults/labels.interface.d.ts +69 -0
  85. package/dist/npm/option-types/axis-defaults/title.interface.d.ts +63 -0
  86. package/dist/npm/option-types/axis-defaults.interface.d.ts +101 -0
  87. package/dist/npm/option-types/category-axis-item/crosshair.interface.d.ts +40 -0
  88. package/dist/npm/option-types/category-axis-item/crosshair.tooltip.interface.d.ts +6 -0
  89. package/dist/npm/option-types/category-axis-item/labels.interface.d.ts +115 -0
  90. package/dist/npm/option-types/category-axis-item/notes.icon.interface.d.ts +32 -0
  91. package/dist/npm/option-types/category-axis-item/notes.interface.d.ts +40 -0
  92. package/dist/npm/option-types/category-axis-item/notes.label.interface.d.ts +55 -0
  93. package/dist/npm/option-types/category-axis-item/range-labels.interface.d.ts +28 -0
  94. package/dist/npm/option-types/category-axis-item/select.interface.d.ts +35 -0
  95. package/dist/npm/option-types/category-axis-item/title.interface.d.ts +65 -0
  96. package/dist/npm/option-types/category-axis-item.interface.d.ts +195 -0
  97. package/dist/npm/option-types/chart-area.interface.d.ts +36 -0
  98. package/dist/npm/option-types/legend/inactive-items.interface.d.ts +12 -0
  99. package/dist/npm/option-types/legend/item.interface.d.ts +124 -0
  100. package/dist/npm/option-types/legend/legend-title.interface.d.ts +67 -0
  101. package/dist/npm/option-types/legend/markers.interface.d.ts +34 -0
  102. package/dist/npm/option-types/legend.interface.d.ts +120 -0
  103. package/dist/npm/option-types/navigator/hint-content-args.interface.d.ts +15 -0
  104. package/dist/npm/option-types/navigator/hint.interface.d.ts +27 -0
  105. package/dist/npm/option-types/navigator/select.interface.d.ts +22 -0
  106. package/dist/npm/option-types/navigator.interface.d.ts +56 -0
  107. package/dist/npm/option-types/pane/title.interface.d.ts +65 -0
  108. package/dist/npm/option-types/pane-defaults/title.interface.d.ts +51 -0
  109. package/dist/npm/option-types/pane-defaults.interface.d.ts +53 -0
  110. package/dist/npm/option-types/pane.interface.d.ts +53 -0
  111. package/dist/npm/option-types/plot-area.interface.d.ts +33 -0
  112. package/dist/npm/option-types/series-defaults/labels.from.interface.d.ts +54 -0
  113. package/dist/npm/option-types/series-defaults/labels.interface.d.ts +78 -0
  114. package/dist/npm/option-types/series-defaults/labels.to.interface.d.ts +57 -0
  115. package/dist/npm/option-types/series-defaults/notes.icon.interface.d.ts +32 -0
  116. package/dist/npm/option-types/series-defaults/notes.interface.d.ts +31 -0
  117. package/dist/npm/option-types/series-defaults/notes.label.interface.d.ts +58 -0
  118. package/dist/npm/option-types/series-defaults/tooltip.interface.d.ts +54 -0
  119. package/dist/npm/option-types/series-defaults.interface.d.ts +218 -0
  120. package/dist/npm/option-types/series-item/error-bars.interface.d.ts +60 -0
  121. package/dist/npm/option-types/series-item/extremes.interface.d.ts +32 -0
  122. package/dist/npm/option-types/series-item/highlight.interface.d.ts +64 -0
  123. package/dist/npm/option-types/series-item/labels.from.interface.d.ts +73 -0
  124. package/dist/npm/option-types/series-item/labels.interface.d.ts +104 -0
  125. package/dist/npm/option-types/series-item/labels.to.interface.d.ts +74 -0
  126. package/dist/npm/option-types/series-item/markers-highlight.interface.d.ts +22 -0
  127. package/dist/npm/option-types/series-item/markers.interface.d.ts +59 -0
  128. package/dist/npm/option-types/series-item/notes.icon.interface.d.ts +32 -0
  129. package/dist/npm/option-types/series-item/notes.interface.d.ts +35 -0
  130. package/dist/npm/option-types/series-item/notes.label.interface.d.ts +59 -0
  131. package/dist/npm/option-types/series-item/outliers.interface.d.ts +32 -0
  132. package/dist/npm/option-types/series-item/tooltip.interface.d.ts +59 -0
  133. package/dist/npm/option-types/series-item/trendline.interface.d.ts +31 -0
  134. package/dist/npm/option-types/series-item.interface.d.ts +645 -0
  135. package/dist/npm/option-types/subtitle.interface.d.ts +74 -0
  136. package/dist/npm/option-types/title.interface.d.ts +75 -0
  137. package/dist/npm/option-types/tooltip-border.interface.d.ts +12 -0
  138. package/dist/npm/option-types/tooltip.interface.d.ts +65 -0
  139. package/dist/npm/option-types/value-axis-item/crosshair.interface.d.ts +36 -0
  140. package/dist/npm/option-types/value-axis-item/crosshair.tooltip.interface.d.ts +6 -0
  141. package/dist/npm/option-types/value-axis-item/labels.interface.d.ts +101 -0
  142. package/dist/npm/option-types/value-axis-item/notes.icon.interface.d.ts +32 -0
  143. package/dist/npm/option-types/value-axis-item/notes.interface.d.ts +39 -0
  144. package/dist/npm/option-types/value-axis-item/notes.label.interface.d.ts +60 -0
  145. package/dist/npm/option-types/value-axis-item/title.interface.d.ts +64 -0
  146. package/dist/npm/option-types/value-axis-item.interface.d.ts +148 -0
  147. package/dist/npm/option-types/x-axis-item/crosshair.interface.d.ts +33 -0
  148. package/dist/npm/option-types/x-axis-item/crosshair.tooltip.interface.d.ts +6 -0
  149. package/dist/npm/option-types/x-axis-item/labels.interface.d.ts +109 -0
  150. package/dist/npm/option-types/x-axis-item/notes.icon.interface.d.ts +32 -0
  151. package/dist/npm/option-types/x-axis-item/notes.interface.d.ts +40 -0
  152. package/dist/npm/option-types/x-axis-item/notes.label.interface.d.ts +58 -0
  153. package/dist/npm/option-types/x-axis-item/title.interface.d.ts +65 -0
  154. package/dist/npm/option-types/x-axis-item.interface.d.ts +165 -0
  155. package/dist/npm/option-types/y-axis-item/crosshair.interface.d.ts +36 -0
  156. package/dist/npm/option-types/y-axis-item/crosshair.tooltip.interface.d.ts +6 -0
  157. package/dist/npm/option-types/y-axis-item/labels.interface.d.ts +107 -0
  158. package/dist/npm/option-types/y-axis-item/notes.icon.interface.d.ts +32 -0
  159. package/dist/npm/option-types/y-axis-item/notes.interface.d.ts +40 -0
  160. package/dist/npm/option-types/y-axis-item/notes.label.interface.d.ts +58 -0
  161. package/dist/npm/option-types/y-axis-item/title.interface.d.ts +65 -0
  162. package/dist/npm/option-types/y-axis-item.interface.d.ts +154 -0
  163. package/dist/npm/option-types/zoomable.interface.d.ts +16 -0
  164. package/dist/npm/property-types.d.ts +151 -0
  165. package/dist/npm/sankey.d.ts +5 -3
  166. package/dist/systemjs/kendo-charts.js +1 -1
  167. package/package.json +4 -2
@@ -0,0 +1,22 @@
1
+ import { MousewheelSelect } from "../../property-types";
2
+
3
+ /**
4
+ * Represents the `navigator.select` options.
5
+ */
6
+ export interface NavigatorSelect {
7
+ /**
8
+ * Specifies the lower boundary of the selected range.
9
+ */
10
+ from?: Date;
11
+
12
+ /**
13
+ * Specifies the configuration of the mousewheel selection.
14
+ * When set to `false`, the mousewheel does not update the selection.
15
+ */
16
+ mousewheel?: boolean | MousewheelSelect;
17
+
18
+ /**
19
+ * Specifies the upper boundary of the selected range.
20
+ */
21
+ to?: Date;
22
+ }
@@ -0,0 +1,56 @@
1
+ import { CategoryAxis } from './category-axis-item.interface';
2
+ import { Pane } from './pane.interface';
3
+ import { Series } from './series-item.interface';
4
+ import { NavigatorHintOptions as NavigatorHint } from './navigator/hint.interface';
5
+ import { NavigatorSelect } from './navigator/select.interface';
6
+
7
+ /**
8
+ * Represents the configuration options of the navigator.
9
+ */
10
+ export interface NavigatorOptions {
11
+ /**
12
+ * Specifies the visibility of the navigator.
13
+ */
14
+ visible?: boolean;
15
+
16
+ // These options are also available as child components.
17
+
18
+ /**
19
+ * Specifies the configuration options of the category axis.
20
+ */
21
+ categoryAxis?: CategoryAxis;
22
+
23
+ /**
24
+ * Specifies the default options of the navigator hint.
25
+ */
26
+ hint?: NavigatorHint;
27
+
28
+ /**
29
+ * Specifies the navigator pane configuration.
30
+ */
31
+ pane?: Pane;
32
+
33
+ /**
34
+ * Specifies the position of the navigator.
35
+ * By default, the navigator is positioned at the bottom.
36
+ */
37
+ position?: 'top' | 'bottom';
38
+
39
+ /**
40
+ * Specifies the initially selected range.
41
+ * If no range is specified, the full range of values is shown.
42
+ */
43
+ select?: NavigatorSelect;
44
+
45
+ /**
46
+ * An array of series definitions.
47
+ * Accepts the same options as the root series collection.
48
+ * Omitting the array and specifying a single series is also acceptable.
49
+ */
50
+ series?: Series | Series[];
51
+
52
+ /**
53
+ * @hidden
54
+ */
55
+ redrawSlaves(): void;
56
+ }
@@ -0,0 +1,65 @@
1
+ import { drawing } from '@progress/kendo-drawing';
2
+ import { Border, Margin } from '../../property-types';
3
+
4
+ /**
5
+ * Represents the `panes.title` options.
6
+ */
7
+ export interface PanesTitle {
8
+
9
+ /**
10
+ * Specifies the background color of the title. Accepts a valid CSS color string, including HEX and RGB.
11
+ */
12
+ background?: string;
13
+
14
+ /**
15
+ * Specifies the border of the title.
16
+ */
17
+ border?: Border;
18
+
19
+ /**
20
+ * Specifies the text color of the title. Accepts a valid CSS color string, including HEX and RGB.
21
+ */
22
+ color?: string;
23
+
24
+ /**
25
+ * Specifies the font style of the title.
26
+ */
27
+ font?: string;
28
+
29
+ /**
30
+ * Specifies the margin of the title. A numeric value sets all margins.
31
+ */
32
+ margin?: Margin | number;
33
+
34
+ /**
35
+ * Specifies the position of the title.
36
+ *
37
+ * You can set the positioning to `left` for left positioning, `right` for right positioning (both applicable to the horizontal axis), or `center` for positioning in the center.
38
+ */
39
+ position?: 'left' | 'right' | 'center';
40
+
41
+ /**
42
+ * Specifies the text of the title.
43
+ * You can split the text into multiple lines by using line feed characters (`"\n"`).
44
+ */
45
+ text?: string;
46
+
47
+ /**
48
+ * Determines whether the Chart displays the pane title.
49
+ * When set to `true`, the title is visible. By default, the pane title is visible.
50
+ */
51
+ visible?: boolean;
52
+
53
+ /**
54
+ * Specifies a function that can be used to create a custom visual for the title.
55
+ *
56
+ * The available argument fields are:
57
+ *
58
+ * - `text`—The label text.
59
+ * - `rect`—The geometry `Rect` that defines where the visual has to be rendered.
60
+ * - `sender`—The Chart instance (might be `undefined`).
61
+ * - `options`—The label options.
62
+ * - `createVisual`—A function that can be used to get the default visual.
63
+ */
64
+ visual?: (e: any) => drawing.Element;
65
+ }
@@ -0,0 +1,51 @@
1
+ import { drawing } from '@progress/kendo-drawing';
2
+ import { Border, Margin } from '../../property-types';
3
+
4
+ /**
5
+ * Represents the options for default pane title.
6
+ */
7
+ export interface PaneDefaultsTitle {
8
+
9
+ /**
10
+ * Specifies the background color of the title. Accepts a valid CSS color string, including HEX and RGB.
11
+ */
12
+ background?: string;
13
+
14
+ /**
15
+ * Specifies the border of the title.
16
+ */
17
+ border?: Border;
18
+
19
+ /**
20
+ * Specifies the text color of the title. Accepts a valid CSS color string, including hex and rgb.
21
+ */
22
+ color?: string;
23
+
24
+ /**
25
+ * Specifies the font style of the title.
26
+ */
27
+ font?: string;
28
+
29
+ /**
30
+ * Specifies the margin of the title. A numeric value sets all margins.
31
+ */
32
+ margin?: Margin | number;
33
+
34
+ /**
35
+ * Specifies the position of the title.
36
+ *
37
+ * You can set the positioning to `left` for left positioning, `right` for right positioning (both applicable to the horizontal axis), or `center` for positioning in the center.
38
+ */
39
+ position?: 'left' | 'right' | 'center';
40
+
41
+ /**
42
+ * Determines whether the Chart displays the pane title.
43
+ * When set to `true`, the title is visible. By default, the pane title is visible.
44
+ */
45
+ visible?: boolean;
46
+
47
+ /**
48
+ * Specifies a function that can be used to create a custom visual for the title.
49
+ */
50
+ visual?: (e: any) => drawing.Element;
51
+ }
@@ -0,0 +1,53 @@
1
+ import { Border, Margin, Padding } from '../property-types';
2
+ import { PanesTitle } from './pane/title.interface';
3
+
4
+ /**
5
+ * Represents the configuration options of the Chart pane defaults.
6
+ */
7
+ export interface PaneDefaults {
8
+ /**
9
+ * Specifies the background color of the pane. Accepts a valid CSS color string, including HEX and RGB.
10
+ */
11
+ background?: string;
12
+
13
+ /**
14
+ * Specifies the border of the pane.
15
+ */
16
+ border?: Border;
17
+
18
+ /**
19
+ * Specifies whether the Charts in the pane have to be clipped.
20
+ * By default, all Charts except the Radar and Polar Charts are clipped.
21
+ */
22
+ clip?: boolean;
23
+
24
+ /**
25
+ * Specifies the height of the pane in pixels.
26
+ */
27
+ height?: number;
28
+
29
+ /**
30
+ * Specifies the margin of the pane. A numeric value sets all margins.
31
+ */
32
+ margin?: Margin | number;
33
+
34
+ /**
35
+ * Specifies the padding of the pane. A numeric value sets all paddings.
36
+ */
37
+ padding?: Padding | number;
38
+
39
+ /**
40
+ * Specifies the title configuration of the pane.
41
+ * To display the title, set the [`panes.title.text`]({% slug api_charts_panes_title %}#text) option.
42
+ */
43
+ title?: PanesTitle;
44
+
45
+ /**
46
+ * The unique name of the pane.
47
+ *
48
+ * @hidden
49
+ * There's no point in setting a default name for panes, as it must be unique.
50
+ * Included for backward compatibility with KendoReact.
51
+ */
52
+ name?: string;
53
+ }
@@ -0,0 +1,53 @@
1
+ import { Border, Margin, Padding } from '../property-types';
2
+ import { PanesTitle } from './pane/title.interface';
3
+
4
+ /**
5
+ * Represents the Chart pane configuration options.
6
+ */
7
+ export interface Pane {
8
+
9
+ /**
10
+ * Sets the background color of the pane.
11
+ * Accepts a valid CSS color string, including hex and rgb.
12
+ */
13
+ background?: string;
14
+
15
+ /**
16
+ * Configures the border of the pane.
17
+ */
18
+ border?: Border;
19
+
20
+ /**
21
+ * Determines if the Charts in the pane have to be clipped.
22
+ * By default, all Charts except the Radar and Polar Charts are clipped.
23
+ */
24
+ clip?: boolean;
25
+
26
+ /**
27
+ * Sets the height of the pane in pixels.
28
+ */
29
+ height?: number;
30
+
31
+ /**
32
+ * Sets the margin of the pane.
33
+ * A numeric value sets all margins.
34
+ */
35
+ margin?: Margin | number;
36
+
37
+ /**
38
+ * Sets the unique name of the pane.
39
+ */
40
+ name?: string;
41
+
42
+ /**
43
+ * Sets the padding of the pane.
44
+ * A numeric value sets all paddings.
45
+ */
46
+ padding?: Padding | number;
47
+
48
+ /**
49
+ * Configures the title of the pane.
50
+ * To display the title, set the [`panes.title.text`]({% slug api_charts_panestitle %}#text) option.
51
+ */
52
+ title?: string | PanesTitle;
53
+ }
@@ -0,0 +1,33 @@
1
+ import { Border, Margin, Padding } from '../property-types';
2
+ /**
3
+ * Specifies the configuration options of the Chart plot area.
4
+ */
5
+ export interface PlotArea {
6
+
7
+ /**
8
+ * Specifies the background color of the Chart plot area.
9
+ * Accepts a valid CSS color string, including HEX and RGB.
10
+ */
11
+ background?: string;
12
+
13
+ /**
14
+ * Specifies the border of the plot area.
15
+ */
16
+ border?: Border;
17
+
18
+ /**
19
+ * Specifies the margin of the plot area. A numeric value sets all margins.
20
+ */
21
+ margin?: Margin | number;
22
+
23
+ /**
24
+ * Specifies the background opacity of the plot area. By default, the background is opaque.
25
+ */
26
+ opacity?: number;
27
+
28
+ /**
29
+ * Specifies the padding of the plot area. A numeric value sets all paddings.
30
+ * For Pie, Donut, Radar, and Polar Charts, the default padding is proportional to the Chart size.
31
+ */
32
+ padding?: Padding | number;
33
+ }
@@ -0,0 +1,54 @@
1
+ import { Border, Margin, Padding, SeriesLabelsContentArgs } from '../../property-types';
2
+
3
+ /**
4
+ * Represents the configuration options of the Chart series `from` labels.
5
+ */
6
+ export interface SeriesDefaultsLabelsFrom {
7
+
8
+ /**
9
+ * Specifies the background color of the `from` labels. Accepts a valid CSS color string, including HEX and RGB.
10
+ */
11
+ background?: string;
12
+
13
+ /**
14
+ * Specifies the border of the `from` labels.
15
+ */
16
+ border?: Border;
17
+
18
+ /**
19
+ * Specifies the text color of the `from` labels. Accepts a valid CSS color string, including HEX and RGB.
20
+ */
21
+ color?: string;
22
+
23
+ /**
24
+ * Specifies the function which returns the `from` label content of the Chart series.
25
+ * You can split the text into multiple lines by using line feed characters (`"\n"`).
26
+ */
27
+ content?: (e: SeriesLabelsContentArgs) => string;
28
+
29
+ /**
30
+ * Specifies the font style of the from labels.
31
+ */
32
+ font?: string;
33
+
34
+ /**
35
+ * Specifies the format of the `from` labels. Uses the [`format` method from `@progress/kendo-intl`](https://github.com/telerik/kendo-intl?tab=readme-ov-file#general-formatting).
36
+ */
37
+ format?: string;
38
+
39
+ /**
40
+ * Specifies the margin of the `from` labels. A numeric value sets all margins.
41
+ */
42
+ margin?: Margin | number;
43
+
44
+ /**
45
+ * Specifies the padding of the `from` labels. A numeric value sets all paddings.
46
+ */
47
+ padding?: Padding | number;
48
+
49
+ /**
50
+ * Determines whether the Chart displays the series `from` labels.
51
+ * When set to `true`, the labels are visible. By default, the Chart series from labels are not displayed.
52
+ */
53
+ visible?: boolean;
54
+ }
@@ -0,0 +1,78 @@
1
+ import { drawing } from '@progress/kendo-drawing';
2
+ import { Border, Margin, Padding, SeriesLabelsContentArgs, SeriesLabelsVisualArgs } from '../../property-types';
3
+ import { SeriesDefaultsLabelsFrom } from './labels.from.interface';
4
+ import { SeriesDefaultsLabelsTo } from './labels.to.interface';
5
+ /**
6
+ * Represents the configuration options of the series labels.
7
+ */
8
+ export interface SeriesDefaultsLabels {
9
+
10
+ /**
11
+ * Specifies the background color of the labels. Accepts a valid CSS color string, including HEX and RGB.
12
+ */
13
+ background?: string;
14
+
15
+ /**
16
+ * Specifies the border of the labels.
17
+ */
18
+ border?: Border;
19
+
20
+ /**
21
+ * Specifies the text color of the labels. Accepts a valid CSS color string, including HEX and RGB.
22
+ */
23
+ color?: string;
24
+
25
+ /**
26
+ * Specifies the function which returns the Chart series labels content.
27
+ * You can split the text into multiple lines by using line feed characters (`"\n"`).
28
+ */
29
+ content?: (e: SeriesLabelsContentArgs) => string;
30
+
31
+ /**
32
+ * Specifies the font style of the labels.
33
+ */
34
+ font?: string;
35
+
36
+ /**
37
+ * Specifies the format of the labels. Uses the [`format` method from `@progress/kendo-intl`](https://github.com/telerik/kendo-intl?tab=readme-ov-file#general-formatting).
38
+ */
39
+ format?: string;
40
+
41
+ /**
42
+ * Specifies the margin of the labels. A numeric value sets all margins.
43
+ */
44
+ margin?: Margin | number;
45
+
46
+ /**
47
+ * Specifies the padding of the labels. A numeric value sets all margins.
48
+ */
49
+ padding?: Padding | number;
50
+
51
+ /**
52
+ * Specifies the rotation angle of the labels. By default, the labels are not rotated.
53
+ */
54
+ rotation?: number;
55
+
56
+ /**
57
+ * Determines whether the Chart displays the series labels.
58
+ * When set to `true`, the labels are visible. By default, the Chart series labels are not displayed.
59
+ */
60
+ visible?: boolean;
61
+
62
+ /**
63
+ * Specifies a function that can be used to create a custom visual for the labels.
64
+ */
65
+ visual?: (e: SeriesLabelsVisualArgs) => drawing.Element;
66
+
67
+ /**
68
+ * Specifies the Chart series `from` label configuration.
69
+ * Displays the series labels when either the `seriesDefaults.labels.visible` or the `seriesDefaults.labels.from.visible` option is set to `true`.
70
+ */
71
+ from?: SeriesDefaultsLabelsFrom;
72
+
73
+ /**
74
+ * Specifies the Chart series `to` label configuration.
75
+ * Displays the series labels when either the `seriesDefaults.labels.visible` or the `seriesDefaults.labels.to.visible` option is set to `true`.
76
+ */
77
+ to?: SeriesDefaultsLabelsTo;
78
+ }
@@ -0,0 +1,57 @@
1
+ import { Border, Margin, Padding, SeriesLabelsContentArgs } from '../../property-types';
2
+
3
+ /**
4
+ * Represents the configuration options of the Chart series `to` labels.
5
+ */
6
+ export interface SeriesDefaultsLabelsTo {
7
+
8
+ /**
9
+ * Specifies the background color of `to` lables. Accepts a valid CSS color string, including HEX and RGB.
10
+ */
11
+ background?: string;
12
+
13
+ /**
14
+ * Specifies the border of `to` labels.
15
+ */
16
+ border?: Border;
17
+
18
+ /**
19
+ * Specifies the text color of `to` labels. Accepts a valid CSS color string, including HEX and RGB.
20
+ */
21
+ color?: string;
22
+
23
+ /**
24
+ * Specifies the function which returns the `from` label content of the Chart series.
25
+ * You can split the text into multiple lines by using the line feed characters (`"\n"`).
26
+ */
27
+ content?: (e: SeriesLabelsContentArgs) => string;
28
+
29
+ /**
30
+ * Specifies the font style of the `to` labels.
31
+ */
32
+ font?: string;
33
+
34
+ /**
35
+ * Specifies the format of the `to` labels.
36
+ * {% platform_content angular %}
37
+ * The value is formatted using the [`format`](https://www.telerik.com/kendo-angular-ui/components/globalization/internationalization/api/intlservice#format) method of `IntlService`.
38
+ * {% endplatform_content %}
39
+ */
40
+ format?: string;
41
+
42
+ /**
43
+ * Specifies the margin of the `to` labels. A numeric value sets all margins.
44
+ */
45
+ margin?: Margin | number;
46
+
47
+ /**
48
+ * Specifies the padding of the `to` labels. A numeric value sets all paddings.
49
+ */
50
+ padding?: Padding | number;
51
+
52
+ /**
53
+ * Determines whether the Chart displays the `to` labels of the series.
54
+ * When set to `true`, the labels are visible. By default, the `to` labels of the Chart series are not displayed.
55
+ */
56
+ visible?: boolean;
57
+ }
@@ -0,0 +1,32 @@
1
+ import { Border, MarkerType } from '../../property-types';
2
+
3
+ /**
4
+ * Represents the configuration options of the series notes icon.
5
+ */
6
+ export interface SeriesDefaultsNotesIcon {
7
+
8
+ /**
9
+ * Specifies the background color of the notes icon.
10
+ */
11
+ background?: string;
12
+
13
+ /**
14
+ * Specifies the border of the notes icon.
15
+ */
16
+ border?: Border;
17
+
18
+ /**
19
+ * Specifies the size of the notes icon.
20
+ */
21
+ size?: number;
22
+
23
+ /**
24
+ * Specifies the shape of the notes icon.
25
+ */
26
+ type?: MarkerType;
27
+
28
+ /**
29
+ * Determines the visibility of the notes icon.
30
+ */
31
+ visible?: boolean;
32
+ }
@@ -0,0 +1,31 @@
1
+ import { drawing } from '@progress/kendo-drawing';
2
+ import { NoteLine, SeriesNoteVisualArgs } from '../../property-types';
3
+ import { SeriesDefaultsNotesIcon } from './notes.icon.interface';
4
+ import { SeriesDefaultsNotesLabel } from './notes.label.interface';
5
+
6
+ /**
7
+ * Represents the configuration options of the series notes.
8
+ */
9
+ export interface SeriesDefaultsNotes {
10
+
11
+ /**
12
+ * Specifies the line of the notes.
13
+ */
14
+ line?: NoteLine;
15
+
16
+ /**
17
+ * Specifies a function for creating a custom visual for the notes.
18
+ *
19
+ */
20
+ visual?: (e: SeriesNoteVisualArgs) => drawing.Element;
21
+
22
+ /**
23
+ * Specifies the icon of the notes.
24
+ */
25
+ icon?: SeriesDefaultsNotesIcon;
26
+
27
+ /**
28
+ * Specifies the label of the notes.
29
+ */
30
+ label?: SeriesDefaultsNotesLabel;
31
+ }
@@ -0,0 +1,58 @@
1
+ import { Border, NoteLabelPosition, SeriesNoteContentArgs } from '../../property-types';
2
+
3
+ /**
4
+ * Represents the configuration options of the series notes label.
5
+ */
6
+ export interface SeriesDefaultsNotesLabel {
7
+
8
+ /**
9
+ * Specifies the background color of the label. Accepts a valid CSS color string, including HEX and RGB.
10
+ */
11
+ background?: string;
12
+
13
+ /**
14
+ * Specifies the border of the label.
15
+ */
16
+ border?: Border;
17
+
18
+ /**
19
+ * Specifies the text color of the label. Accepts a valid CSS color string, including HEX and RGB.
20
+ */
21
+ color?: string;
22
+
23
+ /**
24
+ * Specifies the function which returns the label content.
25
+ * You can split the text into multiple lines by using line feed characters (`"\n"`).
26
+ */
27
+ content?: (e: SeriesNoteContentArgs) => string;
28
+
29
+ /**
30
+ * Specifies the font style of the label.
31
+ */
32
+ font?: string;
33
+
34
+ /**
35
+ * Specifies the format for displaying the notes label.
36
+ * Contains one placeholder (`"{0}"`) which represents the axis value.
37
+ * {% platform_content angular %}
38
+ * The value is formatted using the [`format`](https://www.telerik.com/kendo-angular-ui/components/globalization/internationalization/api/intlservice#format) method of `IntlService`.
39
+ * {% endplatform_content %}
40
+ */
41
+ format?: string;
42
+
43
+ /**
44
+ * Specifies the position of the labels.
45
+ */
46
+ position?: NoteLabelPosition;
47
+
48
+ /**
49
+ * Specifies the rotation angle of the label. By default, the label is not rotated.
50
+ */
51
+ rotation?: number;
52
+
53
+ /**
54
+ * Determines whether the Chart displays the [`seriesDefaults`]({% slug api_charts_seriesdefaults %}) notes label.
55
+ * When set to `true`, the label is visible. By default, the notes label is visible.
56
+ */
57
+ visible?: boolean;
58
+ }