@progress/kendo-charts 2.12.3-develop.3 → 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 (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/core/utils/add-accessibility-attributes-to-visual.js +1 -1
  4. package/dist/es2015/core/utils/add-accessibility-attributes-to-visual.js +1 -1
  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 +2 -2
  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,148 @@
1
+ import { AxisLine, AxisTicks, GridLines, PlotBand } from '../property-types';
2
+ import { ValueAxisCrosshair } from './value-axis-item/crosshair.interface';
3
+ import { ValueAxisLabels } from './value-axis-item/labels.interface';
4
+ import { ValueAxisNotes } from './value-axis-item/notes.interface';
5
+ import { ValueAxisTitle } from './value-axis-item/title.interface';
6
+ /**
7
+ * Specifies the configuration options of the value axis.
8
+ */
9
+ export interface ValueAxis {
10
+
11
+ /**
12
+ * Specifies the value at which the category axis crosses this axis.
13
+ * For objects, sets the crossing value directly.
14
+ * For arrays, sets the value indices at which the category axes cross the value axis.
15
+ * For dates, sets the date at which the category axis crosses this axis.
16
+ */
17
+ axisCrossingValue?: any | any[];
18
+
19
+ /**
20
+ * Specifies the background color of the axis.
21
+ */
22
+ background?: string;
23
+
24
+ /**
25
+ * Specifies the color of the value axis. Accepts a valid CSS color string, including HEX and RGB.
26
+ */
27
+ color?: string;
28
+
29
+ /**
30
+ * Specifies the configuration of the axis lines.
31
+ * Also affects the major and minor ticks, but not the grid lines.
32
+ */
33
+ line?: AxisLine;
34
+
35
+ /**
36
+ * Specifies the configuration of the major grid lines.
37
+ * These lines extend the major ticks through the body of the Chart.
38
+ */
39
+ majorGridLines?: GridLines;
40
+
41
+ /**
42
+ * Specifies the configuration of the value axis major ticks.
43
+ */
44
+ majorTicks?: AxisTicks;
45
+
46
+ /**
47
+ * Specifies the interval between major divisions.
48
+ * If [`valueAxis.type`]({% slug api_charts_valueaxis %}#type) is set to `"log"`, the `majorUnit` value is used for the base of the
49
+ * logarithm.
50
+ */
51
+ majorUnit?: number;
52
+
53
+ /**
54
+ * Specifies the maximum value of the axis.
55
+ */
56
+ max?: any;
57
+
58
+ /**
59
+ * Specifies the minimum value of the axis.
60
+ */
61
+ min?: any;
62
+
63
+ /**
64
+ * Specifies the configuration of the minor grid lines.
65
+ * These lines extend the minor ticks through the body of the Chart.
66
+ */
67
+ minorGridLines?: GridLines;
68
+
69
+ /**
70
+ * Specifies the configuration of the value axis minor ticks.
71
+ */
72
+ minorTicks?: AxisTicks;
73
+
74
+ /**
75
+ * Specifies the interval between minor divisions.
76
+ * Defaults to one-fifth (1/5) of the [`valueAxis.majorUnit`]({% slug api_charts_valueaxis %}#majorunit).
77
+ * If [`valueAxis.type`]({% slug api_charts_valueaxis %}#type) is set to `"log"`, the `minorUnit` value represents the number of divisions
78
+ * between two major units and defaults to the major unit minus one.
79
+ */
80
+ minorUnit?: number;
81
+
82
+ /**
83
+ * Specifies the unique axis name.
84
+ * Use this to associate a series with a value axis by using the [`series.axis`]({% slug api_charts_series %}#axis) option.
85
+ */
86
+ name?: string;
87
+
88
+ /**
89
+ * Determines whether the Chart prevents the automatic axis range from snapping to zero.
90
+ * Set to `false` to force the automatic axis range to snap to zero.
91
+ */
92
+ narrowRange?: boolean;
93
+
94
+ /**
95
+ * Specifies the name of the pane that renders the value axis.
96
+ * If not set, the axis renders in the first (default) pane.
97
+ */
98
+ pane?: string;
99
+
100
+ /**
101
+ * Specifies the plot bands of the value axis.
102
+ */
103
+ plotBands?: PlotBand[];
104
+
105
+ /**
106
+ * Determines whether the value axis direction is reversed.
107
+ * By default, categories are listed from left to right and from bottom to top.
108
+ *
109
+ * Radar and Polar Charts do not support reverse value axes.
110
+ */
111
+ reverse?: boolean;
112
+
113
+ /**
114
+ * Specifies the axis type.
115
+ *
116
+ * Use `"numeric"` for a numeric axis or `"log"` for a logarithmic axis.
117
+ */
118
+ type?: 'numeric' | 'log';
119
+
120
+ /**
121
+ * Determines whether to display the value axis. By default, the value axis is visible.
122
+ */
123
+ visible?: boolean;
124
+
125
+ /**
126
+ * Specifies the crosshair configuration options.
127
+ *
128
+ * The crosshair displays when the [`valueAxis.crosshair.visible`]({% slug api_charts_valueaxiscrosshair %}#visible) option is set to `true`.
129
+ */
130
+ crosshair?: ValueAxisCrosshair;
131
+
132
+ /**
133
+ * Specifies the axis labels configuration.
134
+ */
135
+ labels?: ValueAxisLabels;
136
+
137
+ /**
138
+ * Specifies the value axis notes configuration.
139
+ */
140
+ notes?: ValueAxisNotes;
141
+
142
+ /**
143
+ * Specifies the title configuration of the value axis.
144
+ *
145
+ * To display the title, set the [`valueAxis.title.text`]({% slug api_charts_valueaxistitle %}#text) option.
146
+ */
147
+ title?: ValueAxisTitle;
148
+ }
@@ -0,0 +1,33 @@
1
+ import { XAxisCrosshairTooltip } from './crosshair.tooltip.interface';
2
+ /**
3
+ * Represents the configuration options of the X-axis crosshair.
4
+ */
5
+ export interface XAxisCrosshair {
6
+
7
+ /**
8
+ * Specifies the color of the crosshair. Accepts a valid CSS color string, including HEX and RGB.
9
+ */
10
+ color?: string;
11
+
12
+ /**
13
+ * Specifies the opacity of the crosshair. By default, the crosshair is opaque.
14
+ */
15
+ opacity?: number;
16
+
17
+ /**
18
+ * Determines whether the Chart displays the X-axis crosshair of the Scatter Chart.
19
+ * By default, the X-axis crosshair of the Scatter Chart is not visible.
20
+ */
21
+ visible?: boolean;
22
+
23
+ /**
24
+ * Specifies the width of the crosshair in pixels.
25
+ */
26
+ width?: number;
27
+
28
+ /**
29
+ * Specifies the options of the crosshair tooltip.
30
+ * The crosshair tooltip is displayed when the `xAxis.crosshair.tooltip.visible` option is set to `true`.
31
+ */
32
+ tooltip?: XAxisCrosshairTooltip;
33
+ }
@@ -0,0 +1,6 @@
1
+ import { AxisCrosshairTooltip } from "../axis-crosshair-tooltip.interface";
2
+
3
+ /**
4
+ * Represents the X-axis crosshair tooltip options.
5
+ */
6
+ export interface XAxisCrosshairTooltip extends AxisCrosshairTooltip {}
@@ -0,0 +1,109 @@
1
+ import { drawing } from '@progress/kendo-drawing';
2
+ import {
3
+ AxisLabelContentArgs,
4
+ AxisLabelVisualArgs,
5
+ AxisLabelsPosition,
6
+ Border,
7
+ DateFormats,
8
+ LabelRotation,
9
+ Margin,
10
+ Padding,
11
+ } from '../../property-types';
12
+
13
+ /**
14
+ * Represents the configuration of the X-axis labels.
15
+ */
16
+ export interface XAxisLabels {
17
+ /**
18
+ * Specifies the background color of the labels. Accepts a valid CSS color string, including HEX and RGB.
19
+ */
20
+ background?: string;
21
+
22
+ /**
23
+ * Specifies the border of the labels.
24
+ */
25
+ border?: Border;
26
+
27
+ /**
28
+ * Specifies the text color of the labels. Accepts a valid CSS color string, including HEX and RGB.
29
+ */
30
+ color?: string;
31
+
32
+ /**
33
+ * Specifies a function which returns the label content.
34
+ * You can split the text into multiple lines by using the line feed characters (`"\n"`).
35
+ */
36
+ content?: (e: AxisLabelContentArgs) => string;
37
+
38
+ /**
39
+ * Specifies the culture to use when formatting date values.
40
+ */
41
+ culture?: string;
42
+
43
+ /**
44
+ * Specifies the format for displaying the labels when the X values are dates. Uses the [`format` method from `@progress/kendo-intl`](https://github.com/telerik/kendo-intl?tab=readme-ov-file#general-formatting).
45
+ * Contains one placeholder (`"{0}"`) which represents the category value.
46
+ * Charts select the appropriate format for the current `xAxis.baseUnit`. Setting the
47
+ * `categoryAxis.labels.format` option overrides the date formats.
48
+ */
49
+ dateFormats?: DateFormats;
50
+
51
+ /**
52
+ * Specifies the font style of the labels.
53
+ */
54
+ font?: string;
55
+
56
+ /**
57
+ * Specifies the format for displaying the labels. Uses the [`format` method from `@progress/kendo-intl`](https://github.com/telerik/kendo-intl?tab=readme-ov-file#general-formatting).
58
+ * Contains one placeholder (`"{0}"`) which represents the category value.
59
+ */
60
+ format?: string;
61
+
62
+ /**
63
+ * Specifies the margin of the labels. A numeric value sets all margins.
64
+ */
65
+ margin?: Margin | number;
66
+
67
+ /**
68
+ * Determines whether the Chart mirrors the axis labels and ticks.
69
+ * When set to `true`, the Chart mirrors the axis labels and ticks. If the labels are normally on the
70
+ * left side of the axis, the mirroring of the axis renders them to the right.
71
+ */
72
+ mirror?: boolean;
73
+
74
+ /**
75
+ * Specifies the padding of the labels. A numeric value sets all paddings.
76
+ */
77
+ padding?: Padding | number;
78
+
79
+ /**
80
+ * Specifies the rotation angle of the labels. By default, the labels are not rotated. Can be set to `"auto"`.
81
+ * In this case, the labels are rotated only if the slot size is not sufficient for the entire labels.
82
+ */
83
+ rotation?: LabelRotation | number | 'auto';
84
+
85
+ /**
86
+ * Specifies the position of the axis labels. By default, labels are positioned next to the axis.
87
+ */
88
+ position?: AxisLabelsPosition;
89
+
90
+ /**
91
+ * Specifies the number of labels to skip.
92
+ */
93
+ skip?: number;
94
+
95
+ /**
96
+ * Specifies the label rendering step&mdash;renders every n<sup>th</sup> label. By default, every label is rendered.
97
+ */
98
+ step?: number;
99
+
100
+ /**
101
+ * If set to `true`, the Chart displays the X-axis labels. By default, the X-axis labels are visible.
102
+ */
103
+ visible?: boolean;
104
+
105
+ /**
106
+ * Specifies a function for creating custom visuals for the labels.
107
+ */
108
+ visual?: (e: AxisLabelVisualArgs) => drawing.Element;
109
+ }
@@ -0,0 +1,32 @@
1
+ import { Border, MarkerType } from '../../property-types';
2
+
3
+ /**
4
+ * Represents the configuration options of the X-axis notes icon.
5
+ */
6
+ export interface XAxisNotesIcon {
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,40 @@
1
+ import { drawing } from '@progress/kendo-drawing';
2
+ import { AxisNoteVisualArgs, NoteLine, NotePosition } from '../../property-types';
3
+ import { XAxisNotesIcon } from './notes.icon.interface';
4
+ import { XAxisNotesLabel } from './notes.label.interface';
5
+
6
+ /**
7
+ * Represents the configuration options of the X-axis notes.
8
+ */
9
+ export interface XAxisNotes {
10
+
11
+ /**
12
+ * Specifies the items of the notes.
13
+ */
14
+ data?: any[];
15
+
16
+ /**
17
+ * Specifies the line of the notes.
18
+ */
19
+ line?: NoteLine;
20
+
21
+ /**
22
+ * Specifies the position of the X-axis note.
23
+ */
24
+ position?: NotePosition;
25
+
26
+ /**
27
+ * Specifies a function for creating custom visuals for the notes.
28
+ */
29
+ visual?: (e: AxisNoteVisualArgs) => drawing.Element;
30
+
31
+ /**
32
+ * Specifies the icon of the notes.
33
+ */
34
+ icon?: XAxisNotesIcon;
35
+
36
+ /**
37
+ * Specifies the label of the notes.
38
+ */
39
+ label?: XAxisNotesLabel;
40
+ }
@@ -0,0 +1,58 @@
1
+ import { AxisNoteContentArgs, Border, NoteLabelPosition } from '../../property-types';
2
+
3
+ /**
4
+ * Represents the X-axis notes label options.
5
+ */
6
+ export interface XAxisNotesLabel {
7
+
8
+ /**
9
+ * Sets the background color of the label.
10
+ * Accepts a valid CSS color string, including HEX and RGB.
11
+ */
12
+ background?: string;
13
+
14
+ /**
15
+ * Configures the border of the label.
16
+ */
17
+ border?: Border;
18
+
19
+ /**
20
+ * Sets the text color of the label.
21
+ * Accepts a valid CSS color string, including HEX and RGB.
22
+ */
23
+ color?: string;
24
+
25
+ /**
26
+ * Sets the function which returns the label content.
27
+ * The function argument contains a `value` field which defines the axis value. You can split the text into multiple lines by using line feed characters (`"\n"`).
28
+ */
29
+ content?: (e: AxisNoteContentArgs) => string;
30
+
31
+ /**
32
+ * Sets the font style of the label.
33
+ */
34
+ font?: string;
35
+
36
+ /**
37
+ * Sets the format for displaying the notes label.
38
+ * Uses the [`format` method from `@progress/kendo-intl`](https://github.com/telerik/kendo-intl?tab=readme-ov-file#general-formatting) and contains one placeholder (`"{0}"`) which represents the axis value.
39
+ */
40
+ format?: string;
41
+
42
+ /**
43
+ * Sets the position of the labels.
44
+ */
45
+ position?: NoteLabelPosition;
46
+
47
+ /**
48
+ * Sets the rotation angle of the label.
49
+ * By default, the label is not rotated.
50
+ */
51
+ rotation?: number;
52
+
53
+ /**
54
+ * Determines if the Chart displays the X-axis notes label.
55
+ * By default, the X-axis notes label is visible.
56
+ */
57
+ visible?: boolean;
58
+ }
@@ -0,0 +1,65 @@
1
+ import { drawing } from '@progress/kendo-drawing';
2
+ import { AxisTitlePosition, Border, Margin, Padding, TitleVisualArgs } from '../../property-types';
3
+
4
+ /**
5
+ * Represents the configuration options of the X-axis title.
6
+ */
7
+ export interface XAxisTitle {
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 padding of the title. A numeric value sets all paddings.
36
+ */
37
+ padding?: Padding | number;
38
+
39
+ /**
40
+ * Specifies the position of the title.
41
+ */
42
+ position?: AxisTitlePosition;
43
+
44
+ /**
45
+ * Specifies the rotation angle of the title. By default, the title is not rotated.
46
+ */
47
+ rotation?: number;
48
+
49
+ /**
50
+ * Specifies the text of the title.
51
+ * You can split the text into multiple lines by using the line feed characters (`"\n"`).
52
+ */
53
+ text?: string;
54
+
55
+ /**
56
+ * If set to `true`, the Chart displays the X axis title of the Scatter Chart.
57
+ * By default, the X-axis title of the Scatter Chart is visible.
58
+ */
59
+ visible?: boolean;
60
+
61
+ /**
62
+ * Specifies a function that can be used to create a custom visual for the title.
63
+ */
64
+ visual?: (e: TitleVisualArgs) => drawing.Element;
65
+ }
@@ -0,0 +1,165 @@
1
+ import { AxisLine, AxisTicks, BaseUnit, GridLines, PlotBand, WeekStartDay } from '../property-types';
2
+ import { XAxisCrosshair } from './x-axis-item/crosshair.interface';
3
+ import { XAxisLabels } from './x-axis-item/labels.interface';
4
+ import { XAxisNotes } from './x-axis-item/notes.interface';
5
+ import { XAxisTitle } from './x-axis-item/title.interface';
6
+ /**
7
+ * Represents the configuration options of the X-axis.
8
+ */
9
+ export interface XAxis {
10
+
11
+ /**
12
+ * When dealing with objects, it specifies the value at which the Y axis crosses this axis, for arrays it denotes the value indices at which the Y axes cross the value axis, and for dates, it represents the date at which the Y axis crosses this axis.
13
+ *
14
+ * To denote the far end of the axis, set a value that is greater than or equal to the axis maximum value.
15
+ */
16
+ axisCrossingValue?: any | any[];
17
+
18
+ /**
19
+ * Specifies the background color of the axis.
20
+ */
21
+ background?: string;
22
+
23
+ /**
24
+ * The category names. Applicable for charts with X and Y category axes.
25
+ */
26
+ categories?: any[];
27
+
28
+ /**
29
+ * The base time interval for the axis labels.
30
+ * The default `baseUnit` is automatically determined from the value range.
31
+ */
32
+ baseUnit?: BaseUnit;
33
+
34
+ /**
35
+ * Specifies the color of the axis. Accepts a valid CSS color string, including HEX and RGB.
36
+ */
37
+ color?: string;
38
+
39
+ /**
40
+ * The configuration of the axis lines. Also affects the major and minor ticks, but not the grid lines.
41
+ */
42
+ line?: AxisLine;
43
+
44
+ /**
45
+ * The configuration of the major grid lines. These are the lines that are an extension of the major
46
+ * ticks through the body of the Chart.
47
+ */
48
+ majorGridLines?: GridLines;
49
+
50
+ /**
51
+ * The configuration of the Scatter Chart X-axis major ticks.
52
+ */
53
+ majorTicks?: AxisTicks;
54
+
55
+ /**
56
+ * The interval between major divisions.
57
+ * If this is a date axis, the value represents the number of [`xAxis.baseUnit`]({% slug api_charts_xaxis %}#baseunit) between major divisions.
58
+ * If [`xAxis.type`]({% slug api_charts_xaxis %}#type) is set to `"log"`, the `majorUnit` value is used for the base of the logarithm.
59
+ */
60
+ majorUnit?: number;
61
+
62
+ /**
63
+ * The maximum value of the axis.
64
+ */
65
+ max?: any;
66
+
67
+ /**
68
+ * The minimum value of the axis.
69
+ */
70
+ min?: any;
71
+
72
+ /**
73
+ * The configuration of the minor grid lines. These are the lines that are an extension of the minor
74
+ * ticks through the body of the Chart.
75
+ */
76
+ minorGridLines?: GridLines;
77
+
78
+ /**
79
+ * The configuration of the X-axis minor ticks.
80
+ */
81
+ minorTicks?: AxisTicks;
82
+
83
+ /**
84
+ * The interval between minor divisions. It defaults to 1/5 of the [`xAxis.majorUnit`]({% slug api_charts_xaxis %}#majorunit).
85
+ * If [`xAxis.type`]({% slug api_charts_xaxis %}#type) is set to `"log"`, the `minorUnit` value represents the number of divisions between
86
+ * two major units and defaults to the major unit minus one.
87
+ */
88
+ minorUnit?: number;
89
+
90
+ /**
91
+ * The unique axis name. Used to associate a series with a X axis by using the [`series.xAxis`]({% slug api_charts_series %}#xaxis) option.
92
+ */
93
+ name?: string;
94
+
95
+ /**
96
+ * If set to `true`, the Chart prevents the automatic axis range from snapping to zero.
97
+ * Setting it to `false` forces the automatic axis range to snap to zero.
98
+ */
99
+ narrowRange?: boolean;
100
+
101
+ /**
102
+ * The name of the pane in which the axis has to be rendered.
103
+ * If not set, the axis is rendered in the first (default) pane.
104
+ */
105
+ pane?: string;
106
+
107
+ /**
108
+ * The plot bands of the X axis.
109
+ */
110
+ plotBands?: PlotBand[];
111
+
112
+ /**
113
+ * If set to `true`, the value axis direction is reversed.
114
+ * By default, values increase from left to right and from bottom to top.
115
+ */
116
+ reverse?: boolean;
117
+
118
+ /**
119
+ * Specifies the angle (in degrees) where the zero value is placed.
120
+ * Angles increase counterclockwise and zero is to the right. Negative values are acceptable.
121
+ */
122
+ startAngle?: number;
123
+
124
+ /**
125
+ * The axis type.
126
+ *
127
+ * The options are `numeric` for a numeric axis, `date` for a specialized axis for displaying chronological data, and `log` for a logarithmic axis.
128
+ *
129
+ * If the series X value is of the `date` type, the Chart automatically switches to a date axis.
130
+ * To avoid this behavior, set the `type`.
131
+ */
132
+ type?: 'numeric' | 'log' | 'date';
133
+
134
+ /**
135
+ * If set to `true`, the Chart displays the X axis. By default, the X axis is visible.
136
+ */
137
+ visible?: boolean;
138
+
139
+ /**
140
+ * The configuration options of the crosshair.
141
+ * The crosshair is displayed when the [`xAxis.crosshair.visible`]({% slug api_charts_xaxiscrosshair %}#visible) option is set to `true`.
142
+ */
143
+ crosshair?: XAxisCrosshair;
144
+
145
+ /**
146
+ * The axis labels configuration.
147
+ */
148
+ labels?: XAxisLabels;
149
+
150
+ /**
151
+ * The X-axis notes configuration.
152
+ */
153
+ notes?: XAxisNotes;
154
+
155
+ /**
156
+ * The title configuration of the Scatter Chart X axis.
157
+ * To display the title, set the [`xAxis.title.text`]({% slug api_charts_xaxistitle %}#text) option.
158
+ */
159
+ title?: XAxisTitle;
160
+
161
+ /**
162
+ * The week start day when the `baseUnit` is set to `"weeks"`.
163
+ */
164
+ weekStartDay?: WeekStartDay;
165
+ }
@@ -0,0 +1,36 @@
1
+ import { YAxisCrosshairTooltip } from './crosshair.tooltip.interface';
2
+
3
+ /**
4
+ * Represents the Y-axis crosshair options.
5
+ */
6
+ export interface YAxisCrosshair {
7
+
8
+ /**
9
+ * Sets the color of the crosshair.
10
+ * Accepts a valid CSS color string, including HEX and RGB.
11
+ */
12
+ color?: string;
13
+
14
+ /**
15
+ * Sets the opacity of the crosshair.
16
+ * By default, the crosshair is opaque.
17
+ */
18
+ opacity?: number;
19
+
20
+ /**
21
+ * Determines if the Chart displays the Y-axis crosshair of the Scatter Chart.
22
+ * By default, the Y-axis crosshair of the Scatter Chart is not visible.
23
+ */
24
+ visible?: boolean;
25
+
26
+ /**
27
+ * Sets the width of the crosshair in pixels.
28
+ */
29
+ width?: number;
30
+
31
+ /**
32
+ * Configures the crosshair tooltip options.
33
+ * The crosshair tooltip is displayed when the `yAxis.crosshair.tooltip.visible` option is set to `true`.
34
+ */
35
+ tooltip?: YAxisCrosshairTooltip;
36
+ }