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

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 (161) hide show
  1. package/dist/npm/api-types/axis-range.interface.d.ts +14 -0
  2. package/dist/npm/api-types/chart-axis.interface.d.ts +50 -0
  3. package/dist/npm/api-types/chart-pane.interface.d.ts +16 -0
  4. package/dist/npm/api-types/chart-plotarea.interface.d.ts +16 -0
  5. package/dist/npm/api-types/event-axis-options.interface.d.ts +9 -0
  6. package/dist/npm/api-types/event-series-options.interface.d.ts +19 -0
  7. package/dist/npm/api-types/series-point.interface.d.ts +46 -0
  8. package/dist/npm/api-types.d.ts +7 -0
  9. package/dist/npm/argument-types/axis-label-content-args.interface.d.ts +41 -0
  10. package/dist/npm/argument-types/axis-label-visual-args.interface.d.ts +52 -0
  11. package/dist/npm/argument-types/axis-note-content-args.interface.d.ts +19 -0
  12. package/dist/npm/argument-types/axis-note-visual-args.interface.d.ts +32 -0
  13. package/dist/npm/argument-types/error-bars-value-args.interface.d.ts +29 -0
  14. package/dist/npm/argument-types/error-bars-visual-args.interface.d.ts +37 -0
  15. package/dist/npm/argument-types/highlight-toggle-args.interface.d.ts +41 -0
  16. package/dist/npm/argument-types/highlight-visual-args.interface.d.ts +63 -0
  17. package/dist/npm/argument-types/legend-item-visual-args.interface.d.ts +43 -0
  18. package/dist/npm/argument-types/legend-labels-content-args.interface.d.ts +31 -0
  19. package/dist/npm/argument-types/markers-visual-args.interface.d.ts +47 -0
  20. package/dist/npm/argument-types/plot-band-label-visual-args.interface.d.ts +32 -0
  21. package/dist/npm/argument-types/series-labels-content-args.interface.d.ts +54 -0
  22. package/dist/npm/argument-types/series-labels-visual-args.interface.d.ts +77 -0
  23. package/dist/npm/argument-types/series-note-content-args.interface.d.ts +29 -0
  24. package/dist/npm/argument-types/series-note-visual-args.interface.d.ts +52 -0
  25. package/dist/npm/argument-types/series-visual-args.interface.d.ts +95 -0
  26. package/dist/npm/argument-types/title-visual-args.interface.d.ts +32 -0
  27. package/dist/npm/chart-options.d.ts +226 -0
  28. package/dist/npm/chart.d.ts +4 -3
  29. package/dist/npm/field-types/auto-base-unit-steps.interface.d.ts +62 -0
  30. package/dist/npm/field-types/axis-labels-position.d.ts +62 -0
  31. package/dist/npm/field-types/axis-line.interface.d.ts +41 -0
  32. package/dist/npm/field-types/axis-ticks.interface.d.ts +45 -0
  33. package/dist/npm/field-types/axis-title-position.d.ts +62 -0
  34. package/dist/npm/field-types/base-unit.d.ts +82 -0
  35. package/dist/npm/field-types/border.interface.d.ts +19 -4
  36. package/dist/npm/field-types/bullet-target-line.interface.d.ts +9 -0
  37. package/dist/npm/field-types/bullet-target.interface.d.ts +23 -0
  38. package/dist/npm/field-types/category-base-unit.d.ts +113 -0
  39. package/dist/npm/field-types/dash-type.d.ts +87 -5
  40. package/dist/npm/field-types/date-formats.interface.d.ts +47 -0
  41. package/dist/npm/field-types/drag-action.interface.d.ts +17 -0
  42. package/dist/npm/field-types/error-bar-line.interface.d.ts +16 -0
  43. package/dist/npm/field-types/grid-lines.interface.d.ts +47 -0
  44. package/dist/npm/field-types/highlight-line.interface.d.ts +27 -0
  45. package/dist/npm/field-types/label-connectors.interface.d.ts +19 -0
  46. package/dist/npm/field-types/label-rotation.interface.d.ts +24 -0
  47. package/dist/npm/field-types/legend-labels.interface.d.ts +37 -0
  48. package/dist/npm/field-types/line-style.d.ts +90 -0
  49. package/dist/npm/field-types/lock-axis.d.ts +19 -0
  50. package/dist/npm/field-types/margin.interface.d.ts +15 -5
  51. package/dist/npm/field-types/marker-type.d.ts +94 -0
  52. package/dist/npm/field-types/modifier-key.d.ts +30 -0
  53. package/dist/npm/field-types/mousewheel-select.interface.d.ts +17 -0
  54. package/dist/npm/field-types/mousewheel-zoom.interface.d.ts +21 -0
  55. package/dist/npm/field-types/negative-bubble-values.interface.d.ts +15 -0
  56. package/dist/npm/field-types/note-label-position.d.ts +107 -0
  57. package/dist/npm/field-types/note-line.interface.d.ts +26 -0
  58. package/dist/npm/field-types/note-position.d.ts +104 -0
  59. package/dist/npm/field-types/overlay.interface.d.ts +15 -0
  60. package/dist/npm/field-types/padding.interface.d.ts +11 -1
  61. package/dist/npm/field-types/plot-band-label.interface.d.ts +100 -0
  62. package/dist/npm/field-types/plot-band.interface.d.ts +53 -0
  63. package/dist/npm/field-types/series-labels-alignment.d.ts +16 -0
  64. package/dist/npm/field-types/series-labels-position.d.ts +28 -0
  65. package/dist/npm/field-types/series-line.interface.d.ts +32 -0
  66. package/dist/npm/field-types/series-mean.interface.d.ts +26 -0
  67. package/dist/npm/field-types/series-median.interface.d.ts +26 -0
  68. package/dist/npm/field-types/series-pattern.interface.d.ts +77 -67
  69. package/dist/npm/field-types/series-stack.interface.d.ts +19 -0
  70. package/dist/npm/field-types/series-type.d.ts +244 -0
  71. package/dist/npm/field-types/series-whiskers.interface.d.ts +26 -0
  72. package/dist/npm/field-types/trendline-forecast.interface.d.ts +14 -0
  73. package/dist/npm/field-types/week-start-day.enum.d.ts +49 -0
  74. package/dist/npm/field-types.d.ts +46 -6
  75. package/dist/npm/main.d.ts +4 -0
  76. package/dist/npm/option-types/axis-crosshair-tooltip.interface.d.ts +49 -0
  77. package/dist/npm/option-types/axis-defaults/crosshair.interface.d.ts +43 -0
  78. package/dist/npm/option-types/axis-defaults/crosshair.tooltip.interface.d.ts +6 -0
  79. package/dist/npm/option-types/axis-defaults/labels.interface.d.ts +69 -0
  80. package/dist/npm/option-types/axis-defaults/title.interface.d.ts +63 -0
  81. package/dist/npm/option-types/axis-defaults.interface.d.ts +101 -0
  82. package/dist/npm/option-types/category-axis-item/crosshair.interface.d.ts +40 -0
  83. package/dist/npm/option-types/category-axis-item/crosshair.tooltip.interface.d.ts +6 -0
  84. package/dist/npm/option-types/category-axis-item/labels.interface.d.ts +115 -0
  85. package/dist/npm/option-types/category-axis-item/notes.icon.interface.d.ts +32 -0
  86. package/dist/npm/option-types/category-axis-item/notes.interface.d.ts +40 -0
  87. package/dist/npm/option-types/category-axis-item/notes.label.interface.d.ts +55 -0
  88. package/dist/npm/option-types/category-axis-item/range-labels.interface.d.ts +28 -0
  89. package/dist/npm/option-types/category-axis-item/select.interface.d.ts +35 -0
  90. package/dist/npm/option-types/category-axis-item/title.interface.d.ts +65 -0
  91. package/dist/npm/option-types/category-axis-item.interface.d.ts +195 -0
  92. package/dist/npm/option-types/chart-area.interface.d.ts +36 -0
  93. package/dist/npm/option-types/legend/inactive-items.interface.d.ts +12 -0
  94. package/dist/npm/option-types/legend/item.interface.d.ts +124 -0
  95. package/dist/npm/option-types/legend/legend-title.interface.d.ts +67 -0
  96. package/dist/npm/option-types/legend/markers.interface.d.ts +34 -0
  97. package/dist/npm/option-types/legend.interface.d.ts +120 -0
  98. package/dist/npm/option-types/navigator/hint-content-args.interface.d.ts +15 -0
  99. package/dist/npm/option-types/navigator/hint.interface.d.ts +27 -0
  100. package/dist/npm/option-types/navigator/select.interface.d.ts +22 -0
  101. package/dist/npm/option-types/navigator.interface.d.ts +56 -0
  102. package/dist/npm/option-types/pane/title.interface.d.ts +65 -0
  103. package/dist/npm/option-types/pane-defaults/title.interface.d.ts +51 -0
  104. package/dist/npm/option-types/pane-defaults.interface.d.ts +53 -0
  105. package/dist/npm/option-types/pane.interface.d.ts +53 -0
  106. package/dist/npm/option-types/plot-area.interface.d.ts +33 -0
  107. package/dist/npm/option-types/series-defaults/labels.from.interface.d.ts +54 -0
  108. package/dist/npm/option-types/series-defaults/labels.interface.d.ts +78 -0
  109. package/dist/npm/option-types/series-defaults/labels.to.interface.d.ts +57 -0
  110. package/dist/npm/option-types/series-defaults/notes.icon.interface.d.ts +32 -0
  111. package/dist/npm/option-types/series-defaults/notes.interface.d.ts +31 -0
  112. package/dist/npm/option-types/series-defaults/notes.label.interface.d.ts +58 -0
  113. package/dist/npm/option-types/series-defaults/tooltip.interface.d.ts +54 -0
  114. package/dist/npm/option-types/series-defaults.interface.d.ts +218 -0
  115. package/dist/npm/option-types/series-item/error-bars.interface.d.ts +60 -0
  116. package/dist/npm/option-types/series-item/extremes.interface.d.ts +32 -0
  117. package/dist/npm/option-types/series-item/highlight.interface.d.ts +64 -0
  118. package/dist/npm/option-types/series-item/labels.from.interface.d.ts +73 -0
  119. package/dist/npm/option-types/series-item/labels.interface.d.ts +104 -0
  120. package/dist/npm/option-types/series-item/labels.to.interface.d.ts +74 -0
  121. package/dist/npm/option-types/series-item/markers-highlight.interface.d.ts +22 -0
  122. package/dist/npm/option-types/series-item/markers.interface.d.ts +59 -0
  123. package/dist/npm/option-types/series-item/notes.icon.interface.d.ts +32 -0
  124. package/dist/npm/option-types/series-item/notes.interface.d.ts +35 -0
  125. package/dist/npm/option-types/series-item/notes.label.interface.d.ts +59 -0
  126. package/dist/npm/option-types/series-item/outliers.interface.d.ts +32 -0
  127. package/dist/npm/option-types/series-item/tooltip.interface.d.ts +59 -0
  128. package/dist/npm/option-types/series-item/trendline.interface.d.ts +31 -0
  129. package/dist/npm/option-types/series-item.interface.d.ts +645 -0
  130. package/dist/npm/option-types/subtitle.interface.d.ts +74 -0
  131. package/dist/npm/option-types/title.interface.d.ts +75 -0
  132. package/dist/npm/option-types/tooltip-border.interface.d.ts +12 -0
  133. package/dist/npm/option-types/tooltip.interface.d.ts +65 -0
  134. package/dist/npm/option-types/value-axis-item/crosshair.interface.d.ts +36 -0
  135. package/dist/npm/option-types/value-axis-item/crosshair.tooltip.interface.d.ts +6 -0
  136. package/dist/npm/option-types/value-axis-item/labels.interface.d.ts +101 -0
  137. package/dist/npm/option-types/value-axis-item/notes.icon.interface.d.ts +32 -0
  138. package/dist/npm/option-types/value-axis-item/notes.interface.d.ts +39 -0
  139. package/dist/npm/option-types/value-axis-item/notes.label.interface.d.ts +60 -0
  140. package/dist/npm/option-types/value-axis-item/title.interface.d.ts +64 -0
  141. package/dist/npm/option-types/value-axis-item.interface.d.ts +148 -0
  142. package/dist/npm/option-types/x-axis-item/crosshair.interface.d.ts +33 -0
  143. package/dist/npm/option-types/x-axis-item/crosshair.tooltip.interface.d.ts +6 -0
  144. package/dist/npm/option-types/x-axis-item/labels.interface.d.ts +109 -0
  145. package/dist/npm/option-types/x-axis-item/notes.icon.interface.d.ts +32 -0
  146. package/dist/npm/option-types/x-axis-item/notes.interface.d.ts +40 -0
  147. package/dist/npm/option-types/x-axis-item/notes.label.interface.d.ts +58 -0
  148. package/dist/npm/option-types/x-axis-item/title.interface.d.ts +65 -0
  149. package/dist/npm/option-types/x-axis-item.interface.d.ts +165 -0
  150. package/dist/npm/option-types/y-axis-item/crosshair.interface.d.ts +36 -0
  151. package/dist/npm/option-types/y-axis-item/crosshair.tooltip.interface.d.ts +6 -0
  152. package/dist/npm/option-types/y-axis-item/labels.interface.d.ts +107 -0
  153. package/dist/npm/option-types/y-axis-item/notes.icon.interface.d.ts +32 -0
  154. package/dist/npm/option-types/y-axis-item/notes.interface.d.ts +40 -0
  155. package/dist/npm/option-types/y-axis-item/notes.label.interface.d.ts +58 -0
  156. package/dist/npm/option-types/y-axis-item/title.interface.d.ts +65 -0
  157. package/dist/npm/option-types/y-axis-item.interface.d.ts +154 -0
  158. package/dist/npm/option-types/zoomable.interface.d.ts +16 -0
  159. package/dist/npm/property-types.d.ts +151 -0
  160. package/dist/npm/sankey.d.ts +5 -3
  161. package/package.json +4 -2
@@ -0,0 +1,104 @@
1
+ /**
2
+ * Specifies the position of a note.
3
+ *
4
+ * The possible values are:
5
+ * - `"top"`—Positions the note at the top of the axis.
6
+ * - `"bottom"`—Positions the note at the bottom of the axis.
7
+ * - `"left"`—Positions the note at the left of the axis.
8
+ * - `"right"`—Positions the note at the right of the axis.
9
+ *
10
+ * {% platform_content angular %}
11
+ * @example
12
+ * ```ts
13
+ * import { Component } from '@angular/core';
14
+ * import { NotePosition } from '@progress/kendo-angular-charts';
15
+ *
16
+ * _@Component({
17
+ * selector: 'my-app',
18
+ * template: `
19
+ * <kendo-chart>
20
+ * <kendo-chart-value-axis>
21
+ * <kendo-chart-value-axis-item>
22
+ * <kendo-chart-value-axis-item-notes [position]="position" [data]="[{ value: 1 }]">
23
+ * </kendo-chart-value-axis-item-notes>
24
+ * </kendo-chart-value-axis-item>
25
+ * </kendo-chart-value-axis>
26
+ * </kendo-chart>
27
+ * `
28
+ * })
29
+ * class AppComponent {
30
+ * public position: NotePosition = "right";
31
+ * }
32
+ *
33
+ * ```
34
+ * {% endplatform_content %}
35
+ * {% platform_content react %}
36
+ * @example
37
+ * ```jsx
38
+ * import {
39
+ * Chart,
40
+ * ChartValueAxis,
41
+ * ChartValueAxisItem
42
+ * } from '@progress/kendo-react-charts';
43
+ *
44
+ * const data = [{value: 1}];
45
+ * const position = "right";
46
+ *
47
+ * const ChartContainer = () => (
48
+ * <Chart>
49
+ * <ChartValueAxis>
50
+ * <ChartValueAxisItem notes={{ data, position }} />
51
+ * </ChartValueAxis>
52
+ * </Chart>
53
+ * );
54
+ * ```
55
+ * {% endplatform_content %}
56
+ * {% platform_content vue %}
57
+ * @example
58
+ * ```jsx
59
+ * <template>
60
+ * <div>
61
+ * <Chart>
62
+ * <ChartValueAxis>
63
+ * <ChartValueAxisItem :notes="valueNotes" />
64
+ * </ChartValueAxis>
65
+ * </Chart>
66
+ * </div>
67
+ * </template>
68
+ *
69
+ * <script>
70
+ * import {
71
+ * Chart,
72
+ * ChartValueAxis,
73
+ * ChartValueAxisItem,
74
+ * } from '@progress/kendo-vue-charts';
75
+ *
76
+ * export default {
77
+ * components: {
78
+ * Chart,
79
+ * ChartValueAxis,
80
+ * ChartValueAxisItem,
81
+ * },
82
+ * data: function () {
83
+ * return {
84
+ * valueNotes: {
85
+ * data: [
86
+ * {
87
+ * value: 4,
88
+ * text: 'Max',
89
+ * },
90
+ * {
91
+ * value: 1,
92
+ * text: 'Min',
93
+ * },
94
+ * ],
95
+ * position: 'left',
96
+ * },
97
+ * };
98
+ * },
99
+ * };
100
+ * </script>
101
+ * ```
102
+ * {% endplatform_content %}
103
+ */
104
+ export type NotePosition = 'top' | 'bottom' | 'left' | 'right';
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Specifies the appearance settings for the overlay of the series elements.
3
+ */
4
+ export interface Overlay {
5
+ /**
6
+ * Specifies the gradient of the Chart series.
7
+ *
8
+ * The supported values are:
9
+ * * `"glass"`&mdash;Applicable for the Bar, Column, and Candlestick series.
10
+ * * `"none"`
11
+ * * `"roundedBevel"`&mdash;Applicable for the Donut and Pie series.
12
+ * * `"sharpBevel"`&mdash;Applicable for the Donut and Pie series.
13
+ */
14
+ gradient?: 'glass' | 'none' | 'roundedBevel' | 'sharpBevel';
15
+ }
@@ -1,7 +1,17 @@
1
1
  import { Margin } from './margin.interface';
2
+ /* eslint-disable @typescript-eslint/no-empty-interface */
2
3
 
3
4
  /**
4
- * The padding size for each side.
5
+ * Specifies the padding configuration for each side of the element.
6
+ * {% platform_content angular %}
7
+ * See the [Labels](https://www.telerik.com/kendo-angular-ui/components/charts/elements/labels) example.
8
+ * {% endplatform_content %}
9
+ * {% platform_content react %}
10
+ * See the [Labels](https://www.telerik.com/kendo-react-ui/components/charts/chart/elements/labels) example.
11
+ * {% endplatform_content %}
12
+ * {% platform_content vue %}
13
+ * See the [Labels](https://www.telerik.com/kendo-vue-ui/components/charts/elements/labels) example.
14
+ * {% endplatform_content %}
5
15
  */
6
16
  export interface Padding extends Margin {
7
17
  }
@@ -0,0 +1,100 @@
1
+ import { drawing } from '@progress/kendo-drawing';
2
+ import { PlotBandLabelVisualArgs } from '../property-types';
3
+ import { Border } from './border.interface';
4
+ import { Margin } from './margin.interface';
5
+ import { Padding } from './padding.interface';
6
+
7
+ /**
8
+ * Specifies the appearance configuration for the plot band label.
9
+ */
10
+ export interface PlotBandLabel {
11
+ /**
12
+ * Specifies the horizontal alignment of the label text.
13
+ *
14
+ * By default, the label is aligned to the left.
15
+ *
16
+ * The supported values are:
17
+ * - `"center"`&mdash;The label is positioned in the center of the plot band.
18
+ * - `"right"`&mdash;The label is positioned on the right side of the plot band.
19
+ * - `"left"`&mdash;The label is positioned on the left side of the plot band.
20
+ */
21
+ align?: 'center' | 'right' | 'left';
22
+
23
+ /**
24
+ * Specifies the background color of the label. Accepts a valid CSS color string, including hex and rgb.
25
+ */
26
+ background?: string;
27
+
28
+ /**
29
+ * Specifies the border of the label.
30
+ */
31
+ border?: Border;
32
+
33
+ /**
34
+ * Specifies the color of the plot band label text.
35
+ * Accepts a valid [CSS `color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color)
36
+ * configuration string, including hex and rgb.
37
+ */
38
+ color?: string;
39
+
40
+ /**
41
+ * Specifies the font of the plot band label text.
42
+ * Accepts a valid [CSS `font`](https://developer.mozilla.org/en-US/docs/Web/CSS/font)
43
+ * configuration string.
44
+ */
45
+ font?: string;
46
+
47
+ /**
48
+ * Specifies the margin of the label. A numeric value sets all margins.
49
+ */
50
+ margin?: Margin | number;
51
+
52
+ /**
53
+ * Specifies the padding of the label. A numeric value sets all paddings.
54
+ */
55
+ padding?: Padding | number;
56
+
57
+ /**
58
+ * Specifies the vertical position of the label inside the plot band.
59
+ *
60
+ * By default, the label is aligned to the top.
61
+ *
62
+ * The supported values are:
63
+ * - `"bottom"`&mdash;The label is positioned on the bottom of the plot band.
64
+ * - `"center"`&mdash;The label is positioned in the center of the plot band.
65
+ * - `"top"`&mdash;The label is positioned on the top of the plot band.
66
+ */
67
+ position?: 'bottom' | 'center' | 'top';
68
+
69
+ /**
70
+ * Specifies the rotation angle of the label. By default, the label is not rotated.
71
+ */
72
+ rotation?: number;
73
+
74
+ /**
75
+ * Specifies the text of the label.
76
+ *
77
+ * You can split the text into multiple lines by using line feed characters ("\n").
78
+ */
79
+ text?: string;
80
+
81
+ /**
82
+ * Determines whether to display the plot band label.
83
+ * By default, the plot band labels are not displayed.
84
+ */
85
+ visible?: boolean;
86
+
87
+ /**
88
+ * Specifies a function that can be used to create a custom visual for the label.
89
+ *
90
+ * The available argument fields are:
91
+ *
92
+ * - `text`&mdash;The label text.
93
+ * - `rect`&mdash;The geometry rectangle that defines where the visual has to be rendered.
94
+ * - `options`&mdash;The label options.
95
+ * - `createVisual`&mdash;A function that can be used to get the default visual.
96
+ * - `sender`&mdash;A reference to the Chart instance.
97
+ */
98
+ visual?: (e: PlotBandLabelVisualArgs) => drawing.Element;
99
+ }
100
+
@@ -0,0 +1,53 @@
1
+ import { PlotBandLabel } from './plot-band-label.interface';
2
+
3
+ /**
4
+ * A plot band.
5
+ *
6
+ * {% platform_content angular %}
7
+ * See the [Plot Bands example](https://www.telerik.com/kendo-angular-ui/components/charts/elements/plot-bands).
8
+ * {% endplatform_content %}
9
+ * {% platform_content react %}
10
+ * See the [Plot Bands example](https://www.telerik.com/kendo-react-ui/components/charts/chart/elements/plot-bands).
11
+ * {% endplatform_content %}
12
+ * {% platform_content vue %}
13
+ * See the [Plot Bands example](https://www.telerik.com/kendo-vue-ui/components/charts/chart/elements/plot-bands).
14
+ * {% endplatform_content %}
15
+ */
16
+ export interface PlotBand {
17
+ /**
18
+ * Specifies the color of the plot band.
19
+ */
20
+ color?: string;
21
+
22
+ /**
23
+ * Specifies the start position of the plot band in axis units.
24
+ */
25
+ from?: number | Date;
26
+
27
+ /**
28
+ * Specifies the opacity of the plot band.
29
+ */
30
+ opacity?: number;
31
+
32
+ /**
33
+ * Specifies the end position of the plot band in axis units.
34
+ */
35
+ to?: number | Date;
36
+
37
+ /**
38
+ * Specifies the label configuration of the plot band.
39
+ *
40
+ * To display a label, set the text option.
41
+ *
42
+ * {% platform_content angular %}
43
+ * See [Plot Bands - Labels](https://www.telerik.com/kendo-angular-ui/components/charts/elements/plot-bands#labels) for sample usage.
44
+ * {% endplatform_content %}
45
+ * {% platform_content react %}
46
+ * See [Plot Bands - Labels](https://www.telerik.com/kendo-react-ui/components/charts/chart/elements/plot-bands#toc-labels) for sample usage.
47
+ * {% endplatform_content %}
48
+ * {% platform_content vue %}
49
+ * See [Plot Bands - Labels](https://www.telerik.com/kendo-vue-ui/components/charts/elements/plot-bands#labels) for sample usage.
50
+ * {% endplatform_content %}
51
+ */
52
+ label?: PlotBandLabel;
53
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Specifies the alignment of the label when series type is set to `"donut"`, `"funnel"`, `"pyramid"` or `"pie"`.
3
+ *
4
+ * The supported values for `"donut"` and `"pie"` are:
5
+ *
6
+ * - `"circle"`&mdash;Positions the labels in circle around the Chart.
7
+ * - `"column"`&mdash;Positions the labels in columns to the left and right of the Chart.
8
+ *
9
+ * The supported values for `"funnel"` and `"pyramid"` are:
10
+ *
11
+ * - `"center"`&mdash;Positions the labels in the center over the segment.
12
+ * - `"right"`&mdash;Positions the labels on the right side of the Chart and, if there is enough space, do not overlap the segments.
13
+ * - `"left"`&mdash;Positions the labels on the left side of the Chart and, if there is enough space, do not overlap the segments.
14
+ *
15
+ */
16
+ export type SeriesLabelsAlignment = 'circle' | 'column' | 'center' | 'right' | 'left';
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Specifies the position of the series labels.
3
+ *
4
+ * - `"above"`&mdash;Positions the label at the top of the marker. Applicable for series that render points, including the Bubble series.
5
+ * - `"below"`&mdash;Positions the label at the bottom of the marker. Applicable for series that render points, including the Bubble series.
6
+ * - `"center"`&mdash;Positions the label at the point center. Applicable for the Bar, Column, Donut, Pie, Funnel, Pyramid, RadarColumn, and Waterfall series.
7
+ * - `"insideBase"`&mdash;Positions the label inside, near the base of the bar. Applicable for the Bar, Column, and Waterfall series.
8
+ * - `"insideEnd"`&mdash;Positions the label inside, near the end of the point. Applicable for the Bar, Column, Donut, Pie, RadarColumn, and Waterfall series.
9
+ * - `"left"`&mdash;Positions the label to the left of the marker. Applicable for series that render points, including the Bubble series.
10
+ * - `"outsideEnd"`&mdash;Positions the label outside, near the end of the point. Applicable for the Bar, Column, Donut, Pie, RadarColumn, and Waterfall series. Not applicable for stacked series.
11
+ * - `"right"`&mdash;Positions the label to the right of the marker. Applicable for series that render points, including the Bubble series.
12
+ * - `"top"`&mdash;Positions the label at the top of the segment. Applicable for the Funnel and Pyramid series.
13
+ * - `"bottom"`&mdash;Positions the label at the bottom of the segment. Applicable for the Funnel and Pyramid series.
14
+ * - `"auto"`&mdash;Positions the from and to labels at the top or bottom (for the RangeArea series), or to the left or right (for the VerticalRangeArea series), so that they are outside the filled area. Applicable for the RangeArea and VerticalRangeArea series.
15
+ *
16
+ */
17
+ export type SeriesLabelsPosition =
18
+ | 'auto'
19
+ | 'above'
20
+ | 'below'
21
+ | 'center'
22
+ | 'insideBase'
23
+ | 'insideEnd'
24
+ | 'left'
25
+ | 'outsideEnd'
26
+ | 'right'
27
+ | 'top'
28
+ | 'bottom';
@@ -0,0 +1,32 @@
1
+ import { LineStyle } from './line-style';
2
+
3
+ /**
4
+ * The appearance settings for the line of the Area, Candlestick, OHLC, and Waterfall series.
5
+ */
6
+ export interface SeriesLine {
7
+ /**
8
+ * The color of the line. Accepts a valid CSS color string, including hex and rgb.
9
+ */
10
+ color?: string;
11
+
12
+ /**
13
+ * The line opacity. By default, the line is opaque (`opacity: 1`).
14
+ */
15
+ opacity?: number;
16
+
17
+ /**
18
+ * The drawing style of the line. Applicable for the Area, Range Area, Polar Area, and Radar Area series.
19
+ *
20
+ * The supported values are:
21
+ * * `"normal" (default)`&mdash;The values are connected with a straight line.
22
+ * * `"step"`&mdash;The values are connected with a right-angled line. Supported only for the Area and Range Area series.
23
+ * * `"smooth"`&mdash;The values are connected with a smooth line.
24
+ */
25
+ style?: LineStyle;
26
+
27
+ /**
28
+ * The line width in pixels.
29
+ * By default, the width is set to `0` and the line is not visible.
30
+ */
31
+ width?: number;
32
+ }
@@ -0,0 +1,26 @@
1
+ import { DashType } from './dash-type';
2
+
3
+ /**
4
+ * Specifies the appearance settings for the BoxPlot mean value indicator (line).
5
+ */
6
+ export interface SeriesMean {
7
+ /**
8
+ * Specifies the color of the line. Accepts a valid CSS color string, including hex and rgb.
9
+ */
10
+ color?: string;
11
+
12
+ /**
13
+ * Specifies the dash type of the line. By default, the line is dashed (`dashType: "dash"`).
14
+ */
15
+ dashType?: DashType;
16
+
17
+ /**
18
+ * Specifies the line opacity. By default, the line is opaque (`opacity: "1"`).
19
+ */
20
+ opacity?: number;
21
+
22
+ /**
23
+ * Specifies the width (in pixels) of the line. By default, the line is 2px wide.
24
+ */
25
+ width?: number;
26
+ }
@@ -0,0 +1,26 @@
1
+ import { DashType } from './dash-type';
2
+
3
+ /**
4
+ * Specifies the appearance settings for the BoxPlot median value indicator (line).
5
+ */
6
+ export interface SeriesMedian {
7
+ /**
8
+ * Specifies the color of the line. Accepts a valid CSS color string, including hex and rgb.
9
+ */
10
+ color?: string;
11
+
12
+ /**
13
+ * Specifies the dash type of the line. By default, the line is dashed (`dashType: "dash"`).
14
+ */
15
+ dashType?: DashType;
16
+
17
+ /**
18
+ * Specifies the line opacity. By default, the line is opaque (`opacity: "1"`).
19
+ */
20
+ opacity?: number;
21
+
22
+ /**
23
+ * Specifies the width (in pixels) of the line. By default, the line is 2px wide.
24
+ */
25
+ width?: number;
26
+ }
@@ -1,67 +1,77 @@
1
- import {
2
- VerticalStripesPatternOptions,
3
- DiagonalStripesPatternOptions,
4
- CrosshatchPatternOptions,
5
- GridPatternOptions,
6
- DotsPatternOptions
7
- } from '@progress/kendo-drawing';
8
-
9
- /**
10
- * Represents the VerticalStripesPattern of the series.
11
- */
12
- export interface VerticalStripesPattern extends VerticalStripesPatternOptions {
13
- /**
14
- * The type of the pattern.
15
- */
16
- type: 'verticalStripes';
17
- }
18
-
19
- /**
20
- * Represents the CrosshatchPattern of the series.
21
- */
22
- export interface CrosshatchPattern extends CrosshatchPatternOptions {
23
- /**
24
- * The type of the pattern.
25
- */
26
- type: 'crosshatch';
27
- }
28
-
29
- /**
30
- * Represents the DiagonalStripesPattern of the series.
31
- */
32
- export interface DiagonalStripesPattern extends DiagonalStripesPatternOptions {
33
- /**
34
- * The type of the pattern.
35
- */
36
- type: 'diagonalStripes';
37
- }
38
-
39
- /**
40
- * Represents the GridPattern of the series.
41
- */
42
- export interface GridPattern extends GridPatternOptions {
43
- /**
44
- * The type of the pattern.
45
- */
46
- type: 'grid';
47
- }
48
-
49
- /**
50
- * Represents the DotsPattern of the series.
51
- */
52
- export interface DotsPattern extends DotsPatternOptions {
53
- /**
54
- * The type of the pattern.
55
- */
56
- type: 'dots';
57
- }
58
-
59
- /**
60
- * Represents the pattern option of the series.
61
- */
62
- export type SeriesPattern =
63
- | VerticalStripesPattern
64
- | CrosshatchPattern
65
- | DiagonalStripesPattern
66
- | GridPattern
67
- | DotsPattern;
1
+ import {
2
+ VerticalStripesPatternOptions,
3
+ DiagonalStripesPatternOptions,
4
+ CrosshatchPatternOptions,
5
+ GridPatternOptions,
6
+ DotsPatternOptions,
7
+ } from '@progress/kendo-drawing';
8
+
9
+ /**
10
+ * Represents the VerticalStripesPattern of the series.
11
+ */
12
+ export interface VerticalStripesPattern extends VerticalStripesPatternOptions {
13
+ /**
14
+ * The type of the pattern.
15
+ */
16
+ type: 'verticalStripes';
17
+ }
18
+
19
+ /**
20
+ * Represents the CrosshatchPattern of the series.
21
+ */
22
+ export interface CrosshatchPattern extends CrosshatchPatternOptions {
23
+ /**
24
+ * The type of the pattern.
25
+ */
26
+ type: 'crosshatch';
27
+ }
28
+
29
+ /**
30
+ * Represents the DiagonalStripesPattern of the series.
31
+ */
32
+ export interface DiagonalStripesPattern extends DiagonalStripesPatternOptions {
33
+ /**
34
+ * The type of the pattern.
35
+ */
36
+ type: 'diagonalStripes';
37
+ }
38
+
39
+ /**
40
+ * Represents the GridPattern of the series.
41
+ */
42
+ export interface GridPattern extends GridPatternOptions {
43
+ /**
44
+ * The type of the pattern.
45
+ */
46
+ type: 'grid';
47
+ }
48
+
49
+ /**
50
+ * Represents the DotsPattern of the series.
51
+ */
52
+ export interface DotsPattern extends DotsPatternOptions {
53
+ /**
54
+ * The type of the pattern.
55
+ */
56
+ type: 'dots';
57
+ }
58
+
59
+ /**
60
+ * Represents the pattern option of the series.
61
+ *
62
+ * {% platform_content angular %}
63
+ * See the [Using Pattern Fills](https://www.telerik.com/kendo-angular-ui/components/charts/styling#using-pattern-fills) example.
64
+ * {% endplatform_content %}
65
+ * {% platform_content react %}
66
+ * See the [Using Pattern Fills](https://www.telerik.com/kendo-react-ui/components/charts/chart/styling#using-pattern-fills) example.
67
+ * {% endplatform_content %}
68
+ * {% platform_content vue %}
69
+ * See the [Using Pattern Fills](https://www.telerik.com/kendo-vue-ui/components/charts/chart/styling#using-pattern-fills) example.
70
+ * {% endplatform_content %}
71
+ */
72
+ export type SeriesPattern =
73
+ | VerticalStripesPattern
74
+ | CrosshatchPattern
75
+ | DiagonalStripesPattern
76
+ | GridPattern
77
+ | DotsPattern;
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Specifies the configuration for Stacked series.
3
+ */
4
+ export interface SeriesStack {
5
+ /**
6
+ * Specifies the optional stack group name.
7
+ * Use this option for the Bar and Column series.
8
+ */
9
+ group?: string;
10
+
11
+ /**
12
+ * Specifies the type of stack to plot.
13
+ *
14
+ * The supported types are:
15
+ * * `"normal"`&mdash;The value of the stack is the sum of all points in the category (or group).
16
+ * * `"100%"`&mdash;The value of the stack is always 100% (1.00). Points within the category (or group) are represented in percentage.
17
+ */
18
+ type?: 'normal' | '100%';
19
+ }