@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,14 @@
1
+ /**
2
+ * The axis range.
3
+ */
4
+ export interface AxisRange {
5
+ /**
6
+ * The axis minimum value.
7
+ */
8
+ min: number | Date;
9
+
10
+ /**
11
+ * The axis maximum value.
12
+ */
13
+ max: number | Date;
14
+ }
@@ -0,0 +1,50 @@
1
+ import { geometry } from '@progress/kendo-drawing';
2
+ import { AxisRange } from './axis-range.interface';
3
+
4
+ /**
5
+ * An interface for the Chart axes API.
6
+ */
7
+ export interface ChartAxisType {
8
+ /**
9
+ * Returns the axis range.
10
+ *
11
+ * @returns {AxisRange} - The axis range.
12
+ */
13
+ range(): AxisRange;
14
+
15
+ /**
16
+ * Returns a slot that is based on the specified `from` and `to` values.
17
+ *
18
+ * {% platform_content angular %}
19
+ * See [Custom Plot Bands](https://www.telerik.com/kendo-angular-ui/components/charts/elements/plot-bands#custom-plot-bands) example.
20
+ * {% endplatform_content %}
21
+ * {% platform_content react %}
22
+ * See [Custom Plot Bands](https://www.telerik.com/kendo-react-ui/components/charts/chart/elements/plot-bands#toc-custom-plot-bands) example.
23
+ * {% endplatform_content %}
24
+ * {% platform_content vue %}
25
+ * See [Custom Plot Bands](https://www.telerik.com/kendo-vue-ui/components/charts/elements/plot-bands#custom-plot-bands) example.
26
+ * {% endplatform_content %}
27
+ *
28
+ * @param from - The slot start value.
29
+ * @param to - The end slot value. If not specified, the `from` value is used.
30
+ * @param limit - The parameters for the exported image.
31
+ * @returns {Promise<string>} - Indicates whether the slot is limited to the current range.
32
+ * By default, the range is limited.
33
+ */
34
+ slot(from: string | number | Date, to?: string | number | Date, limit?: boolean): geometry.Rect | geometry.Arc;
35
+
36
+ /**
37
+ * Returns the value that corresponds to the passed surface point.
38
+ *
39
+ * @param { Point } point - The surface point of the Chart.
40
+ * @returns {string | number | Date} - The value that corresponds to the point.
41
+ */
42
+ value(point: geometry.Point): string | number | Date;
43
+
44
+ /**
45
+ * Returns the axis range which is determined by the minimum and maximum point values that are associated with the axis.
46
+ *
47
+ * @returns {AxisRange} - The value range.
48
+ */
49
+ valueRange(): AxisRange;
50
+ }
@@ -0,0 +1,16 @@
1
+ import { Group } from '@progress/kendo-drawing';
2
+
3
+ /**
4
+ * An interface for the Chart panes.
5
+ */
6
+ export interface ChartPaneType {
7
+ /**
8
+ * The group which holds the Drawing elements of the Chart.
9
+ */
10
+ chartsVisual: Group;
11
+
12
+ /**
13
+ * The Drawing group that is used to draw the pane.
14
+ */
15
+ visual: Group;
16
+ }
@@ -0,0 +1,16 @@
1
+ import { MultiPath, Group } from '@progress/kendo-drawing';
2
+
3
+ /**
4
+ * An interface for the plot area of the Chart.
5
+ */
6
+ export interface ChartPlotAreaType {
7
+ /**
8
+ * The Drawing `MultiPath` that is used to draw the background.
9
+ */
10
+ backgroundVisual: MultiPath;
11
+
12
+ /**
13
+ * The Drawing `Group` that is used to draw the plot area.
14
+ */
15
+ visual: Group;
16
+ }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * The axis options for the Chart events.
3
+ */
4
+ export interface EventAxisOptions {
5
+ /**
6
+ * The axis name.
7
+ */
8
+ name: string;
9
+ }
@@ -0,0 +1,19 @@
1
+ /**
2
+ * The series options for the Chart events.
3
+ */
4
+ export interface EventSeriesOptions {
5
+ /**
6
+ * The series index.
7
+ */
8
+ index: number;
9
+
10
+ /**
11
+ * The series name.
12
+ */
13
+ name: string;
14
+
15
+ /**
16
+ * The series visibility.
17
+ */
18
+ visible: boolean;
19
+ }
@@ -0,0 +1,46 @@
1
+ import { drawing } from '@progress/kendo-drawing';
2
+
3
+ /**
4
+ * A series point.
5
+ */
6
+ export interface SeriesPointType {
7
+ /**
8
+ * The point category value. Available only for the Categorical points (Bar, Line, and other).
9
+ */
10
+ category?: string | Date | number;
11
+
12
+ /**
13
+ * The point `dataItem`.
14
+ */
15
+ dataItem?: any;
16
+
17
+ /**
18
+ * The point options.
19
+ */
20
+ options?: any;
21
+
22
+ /**
23
+ * The point value represented as a percentage value. Available only for the Donut, Pie, and 100% Stacked chart points.
24
+ */
25
+ percentage?: number;
26
+
27
+ /**
28
+ * The sum of point values since the last `"runningTotal"` summary point. Available for the Waterfall series points.
29
+ */
30
+ runningTotal?: number;
31
+
32
+ /**
33
+ * The sum of all previous series values. Available for the Waterfall series points.
34
+ */
35
+ total?: number;
36
+
37
+ /**
38
+ * The point value.
39
+ */
40
+ value?: any;
41
+
42
+ /**
43
+ * The Drawing element used to draw the point.
44
+ */
45
+ visual?: drawing.Element;
46
+ }
@@ -0,0 +1,7 @@
1
+ export * from './api-types/axis-range.interface';
2
+ export * from './api-types/chart-axis.interface';
3
+ export * from './api-types/chart-pane.interface';
4
+ export * from './api-types/chart-plotarea.interface';
5
+ export * from './api-types/event-axis-options.interface';
6
+ export * from './api-types/event-series-options.interface';
7
+ export * from './api-types/series-point.interface';
@@ -0,0 +1,41 @@
1
+ /**
2
+ * Represents the context for the axis label `content` function.
3
+ */
4
+ export interface AxisLabelContentArgs {
5
+ /**
6
+ * Specifies the value associated with the axis label.
7
+ */
8
+ value: any;
9
+
10
+ /**
11
+ * Specifies the data item, if set.
12
+ *
13
+ * Available for category axis with set `categoryField`.
14
+ */
15
+ dataItem?: any;
16
+
17
+ /**
18
+ * Specifies the default label text.
19
+ */
20
+ text: string;
21
+
22
+ /**
23
+ * Specifies the index of the label.
24
+ */
25
+ index: number;
26
+
27
+ /**
28
+ * Specifies the total number of rendered labels.
29
+ */
30
+ count: number;
31
+
32
+ /**
33
+ * Specifies the default format string of the label.
34
+ */
35
+ format: string;
36
+
37
+ /**
38
+ * Specifies the default culture (if set) of the label.
39
+ */
40
+ culture: string;
41
+ }
@@ -0,0 +1,52 @@
1
+ import { Chart } from '../chart';
2
+ import { drawing, geometry } from '@progress/kendo-drawing';
3
+
4
+ /**
5
+ * Represents the context for the axis label `visual` function.
6
+ */
7
+ export interface AxisLabelVisualArgs<TChart = Chart> {
8
+ /**
9
+ * Specifies a function that gets the default visual.
10
+ */
11
+ createVisual: () => drawing.Element;
12
+
13
+ /**
14
+ * Specifies the default culture (if set) of the label.
15
+ */
16
+ culture: string;
17
+
18
+ /**
19
+ * Specifies the data item if a field is specified.
20
+ */
21
+ dataItem?: any;
22
+
23
+ /**
24
+ * Specifies the default format of the label.
25
+ */
26
+ format: string;
27
+
28
+ /**
29
+ * Specifies the label options.
30
+ */
31
+ options: any;
32
+
33
+ /**
34
+ * Specifies the rectangle that defines the normal position of the visual.
35
+ */
36
+ rect: geometry.Rect;
37
+
38
+ /**
39
+ * Specifies the instance of the Chart component.
40
+ */
41
+ sender: TChart;
42
+
43
+ /**
44
+ * Specifies the text of the label.
45
+ */
46
+ text: string;
47
+
48
+ /**
49
+ * Specifies the value of the label.
50
+ */
51
+ value: any;
52
+ }
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Represents the context for the axis note `content` function.
3
+ */
4
+ export interface AxisNoteContentArgs {
5
+ /**
6
+ * Specifies the original data item for the note.
7
+ */
8
+ dataItem: any;
9
+
10
+ /**
11
+ * Specifies the text of the note.
12
+ */
13
+ text: string;
14
+
15
+ /**
16
+ * Specifies the value of the note.
17
+ */
18
+ value: string;
19
+ }
@@ -0,0 +1,32 @@
1
+ import { Chart } from '../chart';
2
+ import { drawing, geometry } from '@progress/kendo-drawing';
3
+
4
+ /**
5
+ * Represents the context for the axis note `visual` function.
6
+ */
7
+ export interface AxisNoteVisualArgs<TChart = Chart> {
8
+ /**
9
+ * Specifies a function that gets the default visual.
10
+ */
11
+ createVisual: () => drawing.Element;
12
+
13
+ /**
14
+ * Specifies the note options.
15
+ */
16
+ options: any;
17
+
18
+ /**
19
+ * Specifies the rectangle that defines the normal position of the visual.
20
+ */
21
+ rect: geometry.Rect;
22
+
23
+ /**
24
+ * Specifies the instance of the Chart component.
25
+ */
26
+ sender: TChart;
27
+
28
+ /**
29
+ * Specifies the value of the note.
30
+ */
31
+ value: string;
32
+ }
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Represents the context for the error bars `value` function.
3
+ */
4
+ export interface ErrorBarsValueArgs {
5
+ /**
6
+ * Specifies the category of the point.
7
+ */
8
+ category: any;
9
+
10
+ /**
11
+ * Provides the data item associated with the point.
12
+ */
13
+ dataItem: any;
14
+
15
+ /**
16
+ * Specifies the series to which the point belongs.
17
+ */
18
+ series: any;
19
+
20
+ /**
21
+ * Specifies the value of the point.
22
+ */
23
+ value: any;
24
+
25
+ /**
26
+ * Defines the index of the point in the series.
27
+ */
28
+ index: number;
29
+ }
@@ -0,0 +1,37 @@
1
+ import { Chart } from '../chart';
2
+ import { drawing, geometry } from '@progress/kendo-drawing';
3
+
4
+ /**
5
+ * Represents the context for the error bars `visual` function.
6
+ */
7
+ export interface ErrorBarsVisualArgs<TChart = Chart> {
8
+ /**
9
+ * Specifies a function that gets the default visual.
10
+ */
11
+ createVisual: () => drawing.Element;
12
+
13
+ /**
14
+ * Specifies the high value of the error bar.
15
+ */
16
+ high: number;
17
+
18
+ /**
19
+ * Specifies the low value of the error bar.
20
+ */
21
+ low: number;
22
+
23
+ /**
24
+ * Specifies the `options` object of the error bar.
25
+ */
26
+ options: any;
27
+
28
+ /**
29
+ * Specifies the rectangle that defines the normal position of the visual.
30
+ */
31
+ rect: geometry.Rect;
32
+
33
+ /**
34
+ * Specifies the instance of the Chart component.
35
+ */
36
+ sender: TChart;
37
+ }
@@ -0,0 +1,41 @@
1
+ import { drawing } from '@progress/kendo-drawing';
2
+
3
+ /**
4
+ * Represents the context for the series highlight `toggle` function.
5
+ */
6
+ export interface HighlightToggleArgs {
7
+ /**
8
+ * Provides a function that prevents the default highlight overlay from appearing.
9
+ */
10
+ preventDefault: () => void;
11
+
12
+ /**
13
+ * Indicates whether the highlight should be displayed.
14
+ */
15
+ show: boolean;
16
+
17
+ /**
18
+ * Specifies the visual element that needs to be highlighted.
19
+ */
20
+ visual: drawing.Element;
21
+
22
+ /**
23
+ * Specifies the category of the point.
24
+ */
25
+ category: any;
26
+
27
+ /**
28
+ * Specifies the data item associated with the point.
29
+ */
30
+ dataItem?: any;
31
+
32
+ /**
33
+ * Specifies the value of the point.
34
+ */
35
+ value: any;
36
+
37
+ /**
38
+ * Specifies the series to which the point belongs.
39
+ */
40
+ series?: any;
41
+ }
@@ -0,0 +1,63 @@
1
+ import { Chart } from '../chart';
2
+ import { drawing, geometry } from '@progress/kendo-drawing';
3
+
4
+ /**
5
+ * Represents the context for the point highlight `visual` function.
6
+ */
7
+ export interface HighlightVisualArgs<TChart = Chart> {
8
+ /**
9
+ * Specifies the category of the point.
10
+ */
11
+ category: any;
12
+
13
+ /**
14
+ * Specifies a function that gets the default visual element.
15
+ */
16
+ createVisual: () => drawing.Element;
17
+
18
+ /**
19
+ * Provides the data item associated with the point.
20
+ */
21
+ dataItem: any;
22
+
23
+ /**
24
+ * Defines the options for the point.
25
+ */
26
+ options: any;
27
+
28
+ /**
29
+ * Represents the value of the point as a percentage. Available only for the Donut, Pie, and 100% Stacked series.
30
+ */
31
+ percentage?: number;
32
+
33
+ /**
34
+ * Specifies the rectangle that defines the normal position of the visual.
35
+ */
36
+ rect: geometry.Rect;
37
+
38
+ /**
39
+ * Specifies the sum of point values since the last `runningTotal` summary point. Available for the Waterfall series.
40
+ */
41
+ runningTotal?: number;
42
+
43
+ /**
44
+ * Specifies the instance of the Chart component.
45
+ */
46
+ sender: TChart;
47
+
48
+ /**
49
+ * Specifies the series to which the point belongs.
50
+ */
51
+ series: any;
52
+
53
+ /**
54
+ * Specifies the sum of all previous series values.
55
+ * Available for the Waterfall series.
56
+ */
57
+ total?: number;
58
+
59
+ /**
60
+ * Represents the value of the point.
61
+ */
62
+ value: any;
63
+ }
@@ -0,0 +1,43 @@
1
+ import { Chart } from '../chart';
2
+ import { drawing } from '@progress/kendo-drawing';
3
+
4
+ /**
5
+ * Represents the context for the legend item `visual` function.
6
+ * {% platform_content angular %}
7
+ * See the [Custom Marker Shapes](https://www.telerik.com/kendo-angular-ui/components/charts/elements/legend#custom-marker-shapes) example.
8
+ * {% endplatform_content %}
9
+ */
10
+ export interface LegendItemVisualArgs<TChart = Chart> {
11
+
12
+ /**
13
+ * Indicates if the legend item is active.
14
+ * Depends on whether the associated point or series is visible.
15
+ */
16
+ active: boolean;
17
+
18
+ /**
19
+ * Specifies a function that gets the default visual.
20
+ */
21
+ createVisual: () => drawing.Element;
22
+
23
+ /**
24
+ * Specifies the options of the legend item.
25
+ */
26
+ options: any;
27
+
28
+ /**
29
+ * Specifies the index of the point in the series.
30
+ * Available for the Donut, Pie, and Funnel series.
31
+ */
32
+ pointIndex: any;
33
+
34
+ /**
35
+ * Specifies the instance of the Chart component.
36
+ */
37
+ sender: TChart;
38
+
39
+ /**
40
+ * Specifies the item series.
41
+ */
42
+ series: any;
43
+ }
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Represents the context for the legend label `content` function.
3
+ */
4
+ export interface LegendLabelsContentArgs {
5
+ /**
6
+ * Specifies the text of the legend item.
7
+ */
8
+ text: string;
9
+
10
+ /**
11
+ * Specifies the series configuration object.
12
+ */
13
+ series: any;
14
+
15
+ /**
16
+ * Specifies the point value of the Donut and Pie charts.
17
+ */
18
+ value?: any;
19
+
20
+ /**
21
+ * Specifies the point value represented as a percentage.
22
+ * Available only for the Donut, Pie, Funnel and Pyramid charts.
23
+ */
24
+ percentage?: number;
25
+
26
+ /**
27
+ * Specifies the data item associated with the point.
28
+ * Available only for the Donut, Pie, Funnel and Pyramid charts.
29
+ */
30
+ dataItem?: any;
31
+ }
@@ -0,0 +1,47 @@
1
+ import { Chart } from '../chart';
2
+ import { drawing, geometry } from '@progress/kendo-drawing';
3
+
4
+ /**
5
+ * Represents the context for the markers `visual` function.
6
+ */
7
+ export interface MarkersVisualArgs<TChart = Chart> {
8
+ /**
9
+ * Specifies the category of the point.
10
+ */
11
+ category: any;
12
+
13
+ /**
14
+ * Specifies a function that gets the default visual.
15
+ */
16
+ createVisual: () => drawing.Element;
17
+
18
+ /**
19
+ * Specifies the data item associated with the point.
20
+ */
21
+ dataItem: any;
22
+
23
+ /**
24
+ * Specifies the options of the marker.
25
+ */
26
+ options: any;
27
+
28
+ /**
29
+ * Specifies the rectangle that defines the normal position of the visual.
30
+ */
31
+ rect: geometry.Rect;
32
+
33
+ /**
34
+ * Specifies the instance of the Chart component.
35
+ */
36
+ sender: TChart;
37
+
38
+ /**
39
+ * Specifies the point series.
40
+ */
41
+ series: any;
42
+
43
+ /**
44
+ * Specifies the value of the point.
45
+ */
46
+ value: any;
47
+ }
@@ -0,0 +1,32 @@
1
+ import { Chart } from '../chart';
2
+ import { drawing, geometry } from '@progress/kendo-drawing';
3
+
4
+ /**
5
+ * Represents the context for the `visual` function of the plot bands label.
6
+ */
7
+ export interface PlotBandLabelVisualArgs<TChart = Chart> {
8
+ /**
9
+ * Specifies a function that gets the default visual.
10
+ */
11
+ createVisual: () => drawing.Element;
12
+
13
+ /**
14
+ * Specifies the options of the label.
15
+ */
16
+ options: any;
17
+
18
+ /**
19
+ * Specifies the rectangle that defines the normal position of the visual.
20
+ */
21
+ rect: geometry.Rect;
22
+
23
+ /**
24
+ * Specifies the instance of the Chart component.
25
+ */
26
+ sender: TChart;
27
+
28
+ /**
29
+ * Specifies the text of the label.
30
+ */
31
+ text: string;
32
+ }