@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,17 @@
1
+ import { LockAxis } from './lock-axis';
2
+ import { ModifierKey } from './modifier-key';
3
+
4
+ /**
5
+ * Specifies the drag behavior during the pan and zoom operations.
6
+ */
7
+ export interface DragAction {
8
+ /**
9
+ * Specifies a keyboard key that has to be pressed to activate the gesture.
10
+ */
11
+ key?: ModifierKey;
12
+
13
+ /**
14
+ * Specifies an axis that should not be panned or zoomed.
15
+ */
16
+ lock?: LockAxis;
17
+ }
@@ -0,0 +1,16 @@
1
+ import { DashType } from './dash-type';
2
+
3
+ /**
4
+ * Specifies the appearance settings for the error bar lines.
5
+ */
6
+ export interface ErrorBarLine {
7
+ /**
8
+ * Specifies the dash type of the line.
9
+ */
10
+ dashType?: DashType;
11
+
12
+ /**
13
+ * Specifies the width of the line in pixels.
14
+ */
15
+ width?: number;
16
+ }
@@ -0,0 +1,47 @@
1
+ import { DashType } from './dash-type';
2
+
3
+ /**
4
+ * Specifies the appearance configuration for the major and minor axis grid lines.
5
+ *
6
+ * {% platform_content angular %}
7
+ * See the [Default Axis Configuration](https://www.telerik.com/kendo-angular-ui/components/charts/elements/axes#default-axis-configuration) example.
8
+ * {% endplatform_content %}
9
+ * {% platform_content react %}
10
+ * See the [Default Axis Configuration](https://www.telerik.com/kendo-react-ui/components/charts/chart/elements/axes#default-axis-configuration) example.
11
+ * {% endplatform_content %}
12
+ * {% platform_content vue %}
13
+ * See the [Default Axis Configuration](https://www.telerik.com/kendo-vue-ui/components/charts/elements/axes#default-axis-configuration) example.
14
+ * {% endplatform_content %}
15
+ */
16
+ export interface GridLines {
17
+ /**
18
+ * Specifies the color of the grid lines. Accepts a valid CSS color string, including hex and rgb.
19
+ */
20
+ color?: string;
21
+
22
+ /**
23
+ * Specifies the dash type of the grid lines.
24
+ */
25
+ dashType?: DashType;
26
+
27
+ /**
28
+ * Specifies the number of lines to skip at the beginning.
29
+ */
30
+ skip?: number;
31
+
32
+ /**
33
+ * Specifies the tick-rendering step. Renders every n<sup>th</sup> line, where `n` is the step.
34
+ */
35
+ step?: number;
36
+
37
+ /**
38
+ * Determines whether to display the lines.
39
+ * By default, only the major axis grid lines are visible.
40
+ */
41
+ visible?: boolean;
42
+
43
+ /**
44
+ * Specifies the width of the lines in pixels.
45
+ */
46
+ width?: number;
47
+ }
@@ -0,0 +1,27 @@
1
+ import { DashType } from './dash-type';
2
+
3
+ /**
4
+ * Specifies the appearance settings for the highlight line of the Candlestick and OHLC series.
5
+ */
6
+ export interface HighlightLine {
7
+ /**
8
+ * Specifies the color of the highlighted line. Accepts a valid CSS color string, including hex and rgb.
9
+ * By default, the color is computed from the base-point color.
10
+ */
11
+ color?: string;
12
+
13
+ /**
14
+ * Specifies the dash type of the line.
15
+ */
16
+ dashType?: DashType;
17
+
18
+ /**
19
+ * Specifies the opacity of the line. By default, the border is opaque (`opacity = 1`).
20
+ */
21
+ opacity?: number;
22
+
23
+ /**
24
+ * Specifies the width of the line in pixels.
25
+ */
26
+ width?: number;
27
+ }
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Specifies the appearance settings for the label connectors on the Donut and Pie series.
3
+ */
4
+ export interface LabelConnectors {
5
+ /**
6
+ * Specifies the color of the connecting line. Accepts a valid CSS color string, including hex and rgb.
7
+ */
8
+ color?: string;
9
+
10
+ /**
11
+ * Specifies the distance between the connector line and the main chart.
12
+ */
13
+ padding?: number;
14
+
15
+ /**
16
+ * Specifies the width of the connector line in pixels.
17
+ */
18
+ width?: number;
19
+ }
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Specifies the rotation configuration for the axis labels.
3
+ */
4
+ export interface LabelRotation {
5
+ /**
6
+ * Specifies the alignment of the rotated labels relative to the slot center.
7
+ * The supported values are:
8
+ * * `"end"`
9
+ * * `"center"`
10
+ *
11
+ * By default, Charts align the closest end of the label to the center.
12
+ * If set to `"center"`, Charts align the center of the rotated label instead.
13
+ */
14
+ align?: 'end' | 'center';
15
+
16
+ /**
17
+ * Specifies the rotation angle of the labels.
18
+ * By default, labels are not rotated.
19
+ *
20
+ * Can be set to `"auto"`. In this case, labels rotate
21
+ * only if the slot size is not sufficient for the entire labels.
22
+ */
23
+ angle?: number | 'auto';
24
+ }
@@ -0,0 +1,37 @@
1
+ import { LegendLabelsContentArgs } from '../argument-types/legend-labels-content-args.interface';
2
+ import { Margin } from './margin.interface';
3
+ import { Padding } from './padding.interface';
4
+
5
+ /**
6
+ * Specifies the appearance configuration for the legend labels.
7
+ */
8
+ export interface LegendLabels {
9
+ /**
10
+ * Specifies the color of the legend label text.
11
+ * Accepts a valid [CSS `color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color)
12
+ * configuration string, including hex and rgb.
13
+ */
14
+ color?: string;
15
+
16
+ /**
17
+ * Specifies the font of the legend label text.
18
+ * Accepts a valid [CSS `font`](https://developer.mozilla.org/en-US/docs/Web/CSS/font)
19
+ * configuration string.
20
+ */
21
+ font?: string;
22
+
23
+ /**
24
+ * Specifies the margin of the labels. A numeric value sets all margins.
25
+ */
26
+ margin?: Margin | number;
27
+
28
+ /**
29
+ * Specifies the padding of the labels. A numeric value sets all paddings.
30
+ */
31
+ padding?: Padding | number;
32
+
33
+ /**
34
+ * Specifies a function used to generate the content of each label.
35
+ */
36
+ content?: (e: LegendLabelsContentArgs) => string;
37
+ }
@@ -0,0 +1,90 @@
1
+ /**
2
+ * Specifies the line style of the series.
3
+ *
4
+ * The possible values are:
5
+ * - `"normal"`&mdash;Connects the values with a straight line.
6
+ * - `"step"`&mdash;Connects the values with a right-angled line. Available when series type is set to `"line"`.
7
+ * - `"smooth"`&mdash;Connects the values with a smooth line. Not supported for stacked area series with missing values.
8
+ *
9
+ * {% platform_content angular %}
10
+ * See also:
11
+ * - [`series.type`](https://www.telerik.com/kendo-angular-ui/components/charts/api/series#type)
12
+ * {% endplatform_content %}
13
+ *
14
+ * {% platform_content angular %}
15
+ * @example
16
+ * ```ts
17
+ * import { Component } from '@angular/core';
18
+ * import { LineStyle } from '@progress/kendo-angular-charts';
19
+ *
20
+ * _@Component({
21
+ * selector: 'my-app',
22
+ * template: `
23
+ * <kendo-chart>
24
+ * <kendo-chart-series>
25
+ * <kendo-chart-series-item type="line" [data]="[1, 2, 1]" [style]="style">
26
+ * </kendo-chart-series-item>
27
+ * </kendo-chart-series>
28
+ * </kendo-chart>
29
+ * `
30
+ * })
31
+ * export class AppComponent {
32
+ * public style: LineStyle = "smooth";
33
+ * }
34
+ *
35
+ * ```
36
+ * {% endplatform_content %}
37
+ * {% platform_content react %}
38
+ * @example
39
+ * ```jsx
40
+ * import {
41
+ * Chart,
42
+ * ChartSeries,
43
+ * ChartSeriesItem
44
+ * } from '@progress/kendo-react-charts';
45
+ *
46
+ * const data = [1, 2, 3];
47
+ *
48
+ * const ChartContainer = () => (
49
+ * <Chart>
50
+ * <ChartSeries>
51
+ * <ChartSeriesItem type="line" data={data} style="smooth" />
52
+ * </ChartSeries>
53
+ * </Chart>
54
+ * );
55
+ * ```
56
+ * {% endplatform_content %}
57
+ * {% platform_content vue %}
58
+ * @example
59
+ * ```jsx
60
+ * <template>
61
+ * <Chart>
62
+ * <ChartSeries>
63
+ * <ChartSeriesItem :type="'line'" :data-items="dataItems" :item-style="'smooth'" />
64
+ * </ChartSeries>
65
+ * </Chart>
66
+ * </template>
67
+ * <script>
68
+ * import {
69
+ * Chart,
70
+ * ChartSeries,
71
+ * ChartSeriesItem
72
+ * } from '@progress/kendo-vue-charts';
73
+ *
74
+ * export default {
75
+ * components: {
76
+ * Chart,
77
+ * ChartSeries,
78
+ * ChartSeriesItem
79
+ * },
80
+ * data () {
81
+ * return {
82
+ * dataItems: [1, 2, 3]
83
+ * };
84
+ * }
85
+ * }
86
+ * </script>
87
+ * ```
88
+ * {% endplatform_content %}
89
+ */
90
+ export type LineStyle = 'normal' | 'step' | 'smooth';
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Specifies an axis for locking during the pan and zoom operations.
3
+ *
4
+ * The possible values are:
5
+ * - `"none"`&mdash;Locks no axis.
6
+ * - `"x"`&mdash;Locks the X axis.
7
+ * - `"y"`&mdash;Locks the Y axis.
8
+ *
9
+ * {% platform_content angular %}
10
+ * See the [Disabling Pan-and-Zoom Direction](https://www.telerik.com/kendo-angular-ui/components/charts/pan-zoom#disabling-pan-and-zoom-directions) example.
11
+ * {% endplatform_content %}
12
+ * {% platform_content react %}
13
+ * See the [Disabling Pan-and-Zoom Direction](https://www.telerik.com/kendo-react-ui/components/charts/chart/pan-zoom#disabling-pan-and-zoom-direction) example.
14
+ * {% endplatform_content %}
15
+ * {% platform_content vue %}
16
+ * See the [Disabling Pan-and-Zoom Direction](https://www.telerik.com/kendo-vue-ui/components/charts/chart/pan-zoom#disabling-pan-and-zoom-direction) example.
17
+ * {% endplatform_content %}
18
+ */
19
+ export type LockAxis = 'none' | 'x' | 'y';
@@ -1,24 +1,34 @@
1
1
  /**
2
- * The margin size for each side.
2
+ * Specifies the margin configuration for each side of the element.
3
+ *
4
+ * {% platform_content angular %}
5
+ * See the [Chart Area](https://www.telerik.com/kendo-angular-ui/components/charts/elements/chart-area) example.
6
+ * {% endplatform_content %}
7
+ * {% platform_content react %}
8
+ * See the [Chart Area](https://www.telerik.com/kendo-react-ui/components/charts/chart/elements/chart-area) example.
9
+ * {% endplatform_content %}
10
+ * {% platform_content vue %}
11
+ * See the [Chart Area](https://www.telerik.com/kendo-vue-ui/components/charts/elements/chart-area) example.
12
+ * {% endplatform_content %}
3
13
  */
4
14
  export interface Margin {
5
15
  /**
6
- * The top margin in pixels.
16
+ * Specifies the top margin in pixels.
7
17
  */
8
18
  top?: number;
9
19
 
10
20
  /**
11
- * The right margin in pixels.
21
+ * Specifies the right margin in pixels.
12
22
  */
13
23
  right?: number;
14
24
 
15
25
  /**
16
- * The bottom margin in pixels.
26
+ * Specifies the bottom margin in pixels.
17
27
  */
18
28
  bottom?: number;
19
29
 
20
30
  /**
21
- * The left margin in pixels.
31
+ * Specifies the left margin in pixels.
22
32
  */
23
33
  left?: number;
24
34
  }
@@ -0,0 +1,94 @@
1
+ /**
2
+ * Specifies the marker type.
3
+ *
4
+ * > Note that `"rect"` is an alias for `"square"`.
5
+ *
6
+ * The possible values are:
7
+ * - `"square"`&mdash;Creates a square marker.
8
+ * - `"circle"`&mdash;Creates a circle marker.
9
+ * - `"triangle"`&mdash;Creates a triangle marker.
10
+ * - `"cross"`&mdash;Creates a cross marker.
11
+ * - `"rect"`&mdash;Creates a rectangle marker.
12
+ * - `"roundedRect"`&mdash;Creates a rounded rectangle marker.
13
+ *
14
+ * {% platform_content angular %}
15
+ * @example
16
+ * ```ts
17
+ * import { Component } from '@angular/core';
18
+ * import { MarkerType } from '@progress/kendo-angular-charts';
19
+ *
20
+ * _@Component({
21
+ * selector: 'my-app',
22
+ * template: `
23
+ * <kendo-chart>
24
+ * <kendo-chart-series>
25
+ * <kendo-chart-series-item type="line" [data]="[1, 2, 3]">
26
+ * <kendo-chart-series-item-markers [type]="markerType">
27
+ * </kendo-chart-series-item-markers>
28
+ * </kendo-chart-series-item>
29
+ * </kendo-chart-series>
30
+ * </kendo-chart>
31
+ * `
32
+ * })
33
+ * class AppComponent {
34
+ * public markerType: MarkerType = "cross";
35
+ * }
36
+ *
37
+ * ```
38
+ * {% endplatform_content %}
39
+ * {% platform_content react %}
40
+ * @example
41
+ * ```jsx
42
+ * import {
43
+ * Chart,
44
+ * ChartSeries,
45
+ * ChartSeriesItem
46
+ * } from '@progress/kendo-react-charts';
47
+ *
48
+ * const data = [1, 2, 3];
49
+ * const markerType = "cross";
50
+ *
51
+ * const ChartContainer = () => (
52
+ * <Chart>
53
+ * <ChartSeries>
54
+ * <ChartSeriesItem type="line" data={data} markers={{ type: markerType }} />
55
+ * </ChartSeries>
56
+ * </Chart>
57
+ * );
58
+ * ```
59
+ * {% endplatform_content %}
60
+ * {% platform_content vue %}
61
+ * @example
62
+ * ```jsx
63
+ * <template>
64
+ * <Chart>
65
+ * <ChartSeries>
66
+ * <ChartSeriesItem :type="'line'" :data-items="dataItems" :markers="markerType" />
67
+ * </ChartSeries>
68
+ * </Chart>
69
+ * </template>
70
+ * <script>
71
+ * import {
72
+ * Chart,
73
+ * ChartSeries,
74
+ * ChartSeriesItem
75
+ * } from '@progress/kendo-vue-charts';
76
+ *
77
+ * export default {
78
+ * components: {
79
+ * Chart,
80
+ * ChartSeries,
81
+ * ChartSeriesItem
82
+ * },
83
+ * data () {
84
+ * return {
85
+ * dataItems: [1, 2, 3],
86
+ * markerType: { type: "cross" }
87
+ * };
88
+ * }
89
+ * }
90
+ * </script>
91
+ * ```
92
+ * {% endplatform_content %}
93
+ */
94
+ export type MarkerType = 'square' | 'circle' | 'triangle' | 'cross' | 'rect' | 'roundedRect';
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Specifies a modifier key.
3
+ *
4
+ * The possible values are:
5
+ * - `"none"`&mdash;Requires no modifier key.
6
+ * - `"ctrl"`&mdash;Requires the `Ctrl` key.
7
+ * - `"shift"`&mdash;Requires the `Shift` key.
8
+ * - `"alt"`&mdash;Requires the `Alt` key.
9
+ *
10
+ * {% platform_content angular %}
11
+ * @example
12
+ * ```ts
13
+ * import { Component } from '@angular/core';
14
+ * import { DragAction } from '@progress/kendo-angular-charts';
15
+ *
16
+ * _@Component({
17
+ * selector: 'my-app',
18
+ * template: `
19
+ * <kendo-chart [zoomable]="true">
20
+ * <kendo-chart-zoomable [selection]="dragAction"></kendo-chart-zoomable>
21
+ * </kendo-chart>
22
+ * `
23
+ * })
24
+ * export class AppComponent {
25
+ * public dragAction: DragAction = { key: 'shift' };
26
+ * }
27
+ * ```
28
+ * {% endplatform_content %}
29
+ */
30
+ export type ModifierKey = 'none' | 'ctrl' | 'shift' | 'alt';
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Specifies the configuration of the mousewheel action for selection.
3
+ */
4
+ export interface MousewheelSelect {
5
+ /**
6
+ * Determines whether to reverse the mousewheel direction.
7
+ * The normal direction is down for `"zoom out"`.
8
+ * The normal direction is up for `"zoom in"`.
9
+ */
10
+ reverse?: boolean;
11
+
12
+ /**
13
+ * Specifies the zoom direction of the selection.
14
+ * Use `both` to enable zooming to expand and contract the selection on both sides, `left` to allow zooming on the left side only, or `right` to permit zooming on the right side only.
15
+ */
16
+ zoom?: 'both' | 'left' | 'right';
17
+ }
@@ -0,0 +1,21 @@
1
+ import { LockAxis } from './lock-axis';
2
+
3
+ /**
4
+ * Specifies the configuration of the mousewheel action for zooming.
5
+ */
6
+ export interface MousewheelZoom {
7
+ /**
8
+ * Specifies an axis that should not be zoomed.
9
+ */
10
+ lock?: LockAxis;
11
+
12
+ /**
13
+ * Specifies the zoom rate as percentage of the axis range. The default value is 0.3 or 30% of the axis range.
14
+ *
15
+ * Accepts the range from 0.01 to 0.9 (1% to 90%).
16
+ *
17
+ * @default 0.3
18
+ *
19
+ */
20
+ rate?: number;
21
+ }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Specifies the appearance settings for the negative values in the Bubble series.
3
+ */
4
+ export interface NegativeBubbleValues {
5
+ /**
6
+ * Specifies the color of the negative bubble Chart values.
7
+ */
8
+ color?: string;
9
+
10
+ /**
11
+ * Determines whether the Chart displays the negative bubbles.
12
+ * By default, the negative bubbles are not displayed.
13
+ */
14
+ visible?: boolean;
15
+ }
@@ -0,0 +1,107 @@
1
+ /**
2
+ * Specifies the position of a note label.
3
+ *
4
+ * The possible values are:
5
+ * - `"inside"`&mdash;Positions the note label inside the axis.
6
+ * - `"outside"`&mdash;Positions the note label outside the axis.
7
+ *
8
+ * {% platform_content angular %}
9
+ * @example
10
+ * ```ts
11
+ * import { Component } from '@angular/core';
12
+ * import { NoteLabelPosition } from '@progress/kendo-angular-charts';
13
+ *
14
+ * _@Component({
15
+ * selector: 'my-app',
16
+ * template: `
17
+ * <kendo-chart>
18
+ * <kendo-chart-value-axis>
19
+ * <kendo-chart-value-axis-item>
20
+ * <kendo-chart-value-axis-item-notes [data]="[{value: 1, label: { text: 'Foo' }}]">
21
+ * <kendo-chart-value-axis-item-notes-label [position]="position">
22
+ * </kendo-chart-value-axis-item-notes-label>
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: NoteLabelPosition = "outside";
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, label: { text: 'Foo' }}];
45
+ * const position = "outside";
46
+ *
47
+ * const ChartContainer = () => (
48
+ * <Chart>
49
+ * <ChartValueAxis>
50
+ * <ChartValueAxisItem notes={{ data, label: { 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 :max="5" :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
+ * label: {
96
+ * position: 'outside',
97
+ * content: (args) => args.dataItem.text,
98
+ * },
99
+ * },
100
+ * };
101
+ * },
102
+ * };
103
+ * </script>
104
+ * ```
105
+ * {% endplatform_content %}
106
+ */
107
+ export type NoteLabelPosition = 'inside' | 'outside';
@@ -0,0 +1,26 @@
1
+ import { DashType } from './dash-type';
2
+
3
+ /**
4
+ * Specifies the appearance settings for the note-connecting line.
5
+ */
6
+ export interface NoteLine {
7
+ /**
8
+ * Specifies the color of the note line. Accepts a valid CSS color string, including hex and rgb.
9
+ */
10
+ color?: string;
11
+
12
+ /**
13
+ * Specifies the dash type of the note line.
14
+ */
15
+ dashType?: DashType;
16
+
17
+ /**
18
+ * Specifies the length of the connecting line in pixels.
19
+ */
20
+ length?: number;
21
+
22
+ /**
23
+ * Specifies the width of the connecting line in pixels.
24
+ */
25
+ width?: number;
26
+ }