@progress/kendo-angular-charts 13.2.0-develop.1 → 13.2.0-develop.3
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.
- package/README.md +1 -1
- package/api-types/chart-axis.interface.d.ts +8 -8
- package/api-types/chart-pane.interface.d.ts +2 -2
- package/argument-types/legend-item-visual-args.interface.d.ts +1 -1
- package/chart/axis-defaults/crosshair.component.d.ts +1 -1
- package/chart/axis-defaults/labels.component.d.ts +1 -1
- package/chart/axis-defaults/title.component.d.ts +1 -1
- package/chart/axis-defaults.component.d.ts +5 -108
- package/chart-options.interface.d.ts +0 -4
- package/esm2020/chart/axis-defaults/crosshair.component.mjs +1 -1
- package/esm2020/chart/axis-defaults/labels.component.mjs +1 -1
- package/esm2020/chart/axis-defaults/title.component.mjs +1 -1
- package/esm2020/chart/axis-defaults.component.mjs +5 -108
- package/esm2020/package-metadata.mjs +2 -2
- package/fesm2015/progress-kendo-angular-charts.mjs +10 -113
- package/fesm2020/progress-kendo-angular-charts.mjs +10 -113
- package/field-types/auto-base-unit-steps.interface.d.ts +12 -7
- package/field-types/axis-line.interface.d.ts +1 -1
- package/field-types/axis-ticks.interface.d.ts +1 -1
- package/field-types/border.interface.d.ts +1 -1
- package/field-types/grid-lines.interface.d.ts +1 -1
- package/field-types/mousewheel-select.interface.d.ts +1 -6
- package/field-types/mousewheel-zoom.interface.d.ts +0 -1
- package/field-types/overlay.interface.d.ts +1 -5
- package/field-types/plot-band-label.interface.d.ts +3 -17
- package/field-types/series-line.interface.d.ts +0 -6
- package/field-types/series-median.interface.d.ts +1 -1
- package/field-types/series-stack.interface.d.ts +1 -4
- package/option-types/axis-defaults/crosshair.interface.d.ts +2 -12
- package/option-types/axis-defaults/crosshair.tooltip.interface.d.ts +1 -1
- package/option-types/axis-defaults/labels.interface.d.ts +1 -13
- package/option-types/axis-defaults/title.interface.d.ts +1 -17
- package/option-types/axis-defaults.interface.d.ts +3 -3
- package/option-types/category-axis-item/crosshair.interface.d.ts +0 -10
- package/option-types/category-axis-item/labels.interface.d.ts +3 -16
- package/option-types/category-axis-item/notes.icon.interface.d.ts +0 -6
- package/option-types/category-axis-item/notes.interface.d.ts +0 -14
- package/option-types/category-axis-item/notes.label.interface.d.ts +0 -5
- package/option-types/category-axis-item/title.interface.d.ts +0 -16
- package/option-types/category-axis-item.interface.d.ts +9 -26
- package/option-types/legend/item.interface.d.ts +0 -7
- package/option-types/legend/legend-title.interface.d.ts +0 -9
- package/option-types/legend/markers.interface.d.ts +1 -17
- package/option-types/legend.interface.d.ts +2 -20
- package/option-types/pane/title.interface.d.ts +2 -6
- package/option-types/pane-defaults/title.interface.d.ts +1 -13
- package/option-types/series-defaults/labels.interface.d.ts +0 -8
- package/option-types/series-defaults/notes.icon.interface.d.ts +0 -6
- package/option-types/series-defaults/notes.interface.d.ts +0 -11
- package/option-types/series-defaults/notes.label.interface.d.ts +0 -5
- package/option-types/series-defaults/tooltip.interface.d.ts +9 -12
- package/option-types/series-defaults.interface.d.ts +0 -41
- package/option-types/series-item/error-bars.interface.d.ts +0 -9
- package/option-types/series-item/extremes.interface.d.ts +0 -6
- package/option-types/series-item/highlight.interface.d.ts +0 -30
- package/option-types/series-item/labels.from.interface.d.ts +8 -8
- package/option-types/series-item/labels.interface.d.ts +0 -8
- package/option-types/series-item/labels.to.interface.d.ts +8 -8
- package/option-types/series-item/markers.interface.d.ts +0 -19
- package/option-types/series-item/notes.icon.interface.d.ts +0 -6
- package/option-types/series-item/notes.interface.d.ts +0 -19
- package/option-types/series-item/notes.label.interface.d.ts +0 -4
- package/option-types/series-item/outliers.interface.d.ts +0 -6
- package/option-types/series-item/tooltip.interface.d.ts +8 -14
- package/option-types/series-item.interface.d.ts +15 -59
- package/option-types/subtitle.interface.d.ts +2 -7
- package/option-types/title.interface.d.ts +2 -9
- package/option-types/tooltip.interface.d.ts +6 -9
- package/option-types/value-axis-item/labels.interface.d.ts +2 -21
- package/option-types/value-axis-item/notes.icon.interface.d.ts +0 -6
- package/option-types/value-axis-item/notes.interface.d.ts +0 -12
- package/option-types/value-axis-item/notes.label.interface.d.ts +0 -3
- package/option-types/value-axis-item/title.interface.d.ts +0 -16
- package/option-types/value-axis-item.interface.d.ts +5 -7
- package/option-types/x-axis-item/labels.interface.d.ts +0 -14
- package/option-types/x-axis-item/notes.icon.interface.d.ts +0 -6
- package/option-types/x-axis-item/notes.interface.d.ts +0 -13
- package/option-types/x-axis-item/notes.label.interface.d.ts +0 -4
- package/option-types/x-axis-item/title.interface.d.ts +0 -16
- package/option-types/x-axis-item.interface.d.ts +2 -19
- package/option-types/y-axis-item/labels.interface.d.ts +0 -14
- package/option-types/y-axis-item/notes.icon.interface.d.ts +0 -6
- package/option-types/y-axis-item/notes.interface.d.ts +0 -12
- package/option-types/y-axis-item/notes.label.interface.d.ts +0 -4
- package/option-types/y-axis-item/title.interface.d.ts +0 -16
- package/option-types/y-axis-item.interface.d.ts +2 -19
- package/package.json +7 -7
- package/stock-chart/option-types/navigator/hint.interface.d.ts +2 -5
|
@@ -26,21 +26,15 @@ export interface SeriesTooltip {
|
|
|
26
26
|
/**
|
|
27
27
|
* The format of the labels. Uses the [`format`]({% slug api_intl_intlservice %}#toc-format) method of IntlService.
|
|
28
28
|
*
|
|
29
|
-
* The
|
|
29
|
+
* The Area, Bar, Column, Funnel, Line, and Pie are represented by `{0}` as the value placeholder.
|
|
30
30
|
*
|
|
31
|
-
* -
|
|
32
|
-
*
|
|
33
|
-
* -
|
|
34
|
-
*
|
|
35
|
-
* -
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
* {0} - x value (degrees){1} - y value
|
|
39
|
-
* - Candlestick and OHLC
|
|
40
|
-
* {0} - open value{1} - high value{2} - low value{3} - close value{4} - category name
|
|
41
|
-
* - RangeArea, rangeBar, rangeColumn
|
|
42
|
-
* {0} - from value
|
|
43
|
-
* {1} - to value
|
|
31
|
+
* The Bubble chart type uses the following value placeholders: `{0}` - x value, `{1}` - y value, `{2}` - size value, and `{3}` - category name.
|
|
32
|
+
*
|
|
33
|
+
* The Scatter and ScatterLine chart types use the following value placeholders: `{0}` - x value and `{1}` - y value.
|
|
34
|
+
*
|
|
35
|
+
* The Candlestick and OHLC chart types use the following value placeholders: `{0}` - open value, `{1}` - high value, `{2}` - low value, `{3}` - close value, and `{4}` - category name.
|
|
36
|
+
*
|
|
37
|
+
* The RangeArea, RangeBar, and RangeColumn chart types utilize the following value placeholders: `{0}` - from value and `{1}` - to value.
|
|
44
38
|
*/
|
|
45
39
|
format?: string;
|
|
46
40
|
/**
|
|
@@ -75,10 +75,7 @@ export interface Series {
|
|
|
75
75
|
/**
|
|
76
76
|
* The series base color.
|
|
77
77
|
*
|
|
78
|
-
* The supported values are
|
|
79
|
-
* - CSS color string, including hex and rgb.
|
|
80
|
-
* - function (point)—A user-defined function that is evaluated for each point.
|
|
81
|
-
* Returning `undefined assumes the default series color.
|
|
78
|
+
* The supported values are CSS color string (including HEX and RGB) and function (point). The function, which is user-defined and evaluated for each point, assumes the default series color when it returns `undefined`.
|
|
82
79
|
*/
|
|
83
80
|
color?: any;
|
|
84
81
|
/**
|
|
@@ -102,30 +99,22 @@ export interface Series {
|
|
|
102
99
|
/**
|
|
103
100
|
* The dash type of line Chart.
|
|
104
101
|
* The `dashType` option is considered only if the [`series.type`]({% slug api_charts_series %}#toc-type) option is set to `"line"`.
|
|
105
|
-
*
|
|
106
|
-
* The following dash types are supported:
|
|
107
|
-
* - `"dash"`—A line consisting of dashes.
|
|
108
|
-
* - `"dashDot"`—A line consisting of a repeating pattern of dash-dot.
|
|
109
|
-
* - `"dot"`—A line consisting of dots.
|
|
110
|
-
* - `"longDash"`—A line consisting of a repeating pattern of long-dash.
|
|
111
|
-
* - `"longDashDot"`—A line consisting of a repeating pattern of long-dash-dot.
|
|
112
|
-
* - `"longDashDotDot"`—A line consisting of a repeating pattern of long-dash-dot-dot.
|
|
113
|
-
* - `"solid"`—A solid line.
|
|
114
102
|
*/
|
|
115
103
|
dashType?: DashType;
|
|
116
104
|
/**
|
|
117
105
|
* The array of data items which represent the series data.
|
|
118
106
|
*
|
|
119
107
|
* You can set it to:
|
|
120
|
-
*
|
|
121
|
-
*
|
|
122
|
-
* `"
|
|
123
|
-
* - Array of arrays of numbers. Supported when the [`series.type`]({% slug api_charts_series %}#toc-type) option is set to `"bubble"`, `"scatter"`,
|
|
124
|
-
* `"scatterLine"`, `"ohlc"`, `"polar"`, `"rangeBar"`, or `"rangeArea"`.
|
|
108
|
+
* Array of objects. Each point is bound to the field specified through the [`series.field`]({% slug api_charts_series %}#toc-field) option.
|
|
109
|
+
* Array of numbers. Supported when the [`series.type`]({% slug api_charts_series %}#toc-type) option is set to `"area"`, `"bar"`, `"column"`, `"donut"`, `"pie"`, `"line"`, or `"waterfall"`.
|
|
110
|
+
* Array of arrays of numbers. Supported when the [`series.type`]({% slug api_charts_series %}#toc-type) option is set to `"bubble"`, `"scatter"`, `"scatterLine"`, `"ohlc"`, `"polar"`, `"rangeBar"`, or `"rangeArea"`.
|
|
125
111
|
*
|
|
126
112
|
* The Bubble series need arrays of three values—X value, Y value, and Size value—for example, `[1, 1, 10]`.
|
|
113
|
+
*
|
|
127
114
|
* The Scatter and ScatterLine series need arrays of two values—X value and Y value.
|
|
115
|
+
*
|
|
128
116
|
* The OHLC and Candlestick series need arrays of four values—open, high, low, and close.
|
|
117
|
+
*
|
|
129
118
|
* The RangeBar and RangeArea series need arrays of two values—the from and to value.
|
|
130
119
|
*/
|
|
131
120
|
data?: any[];
|
|
@@ -251,10 +240,10 @@ export interface Series {
|
|
|
251
240
|
*
|
|
252
241
|
* The supported values are:
|
|
253
242
|
*
|
|
254
|
-
*
|
|
255
|
-
*
|
|
243
|
+
* `"gap"`—The plot stops before the missing point and continues after it.
|
|
244
|
+
* `"interpolate"`—The value is interpolated from neighboring points.
|
|
256
245
|
* Represents the default value for all series except for the `"area"` and stacked series. Area and stacked series default to `"zero"`.
|
|
257
|
-
*
|
|
246
|
+
* `"zero"`—The value is assumed to be zero.
|
|
258
247
|
*/
|
|
259
248
|
missingValues?: 'gap' | 'interpolate' | 'zero';
|
|
260
249
|
/**
|
|
@@ -354,10 +343,10 @@ export interface Series {
|
|
|
354
343
|
*
|
|
355
344
|
* The supported values are:
|
|
356
345
|
*
|
|
357
|
-
*
|
|
358
|
-
*
|
|
346
|
+
* `"normal"` (default)—The values are connected with a straight line.
|
|
347
|
+
* `"step"`—The values are connected with a right-angled line.
|
|
359
348
|
* Only available when [`series.type`]({% slug api_charts_series %}#toc-type) is set to `"line"`.
|
|
360
|
-
*
|
|
349
|
+
* `"smooth"`—The values are connected with a smooth line. Not supported for stacked area series with missing values.
|
|
361
350
|
*/
|
|
362
351
|
style?: LineStyle;
|
|
363
352
|
/**
|
|
@@ -366,8 +355,8 @@ export interface Series {
|
|
|
366
355
|
*
|
|
367
356
|
* Summary columns are optional and can be one of two types:
|
|
368
357
|
*
|
|
369
|
-
*
|
|
370
|
-
*
|
|
358
|
+
* `"runningTotal"`—Displays the sum of all items since the last `"runningTotal"` point.
|
|
359
|
+
* `"total"`—Displays the sum of all previous items.
|
|
371
360
|
*/
|
|
372
361
|
summaryField?: string;
|
|
373
362
|
/**
|
|
@@ -381,39 +370,6 @@ export interface Series {
|
|
|
381
370
|
toField?: string;
|
|
382
371
|
/**
|
|
383
372
|
* The type of the series.
|
|
384
|
-
*
|
|
385
|
-
* The supported values are:
|
|
386
|
-
*
|
|
387
|
-
* - `area`
|
|
388
|
-
* - `bar`
|
|
389
|
-
* - `bubble`
|
|
390
|
-
* - `boxPlot`
|
|
391
|
-
* - `bullet`
|
|
392
|
-
* - `candlestick`
|
|
393
|
-
* - `column`
|
|
394
|
-
* - `donut`
|
|
395
|
-
* - `funnel`
|
|
396
|
-
* - `horizontalWaterfall`
|
|
397
|
-
* - `line`
|
|
398
|
-
* - `ohlc`
|
|
399
|
-
* - `pie`
|
|
400
|
-
* - `polarArea`
|
|
401
|
-
* - `polarLine`
|
|
402
|
-
* - `polarScatter`
|
|
403
|
-
* - `radarArea`
|
|
404
|
-
* - `radarColumn`
|
|
405
|
-
* - `radarLine`
|
|
406
|
-
* - `rangeArea`
|
|
407
|
-
* - `rangeBar`
|
|
408
|
-
* - `rangeColumn`
|
|
409
|
-
* - `scatter`
|
|
410
|
-
* - `scatterLine`
|
|
411
|
-
* - `verticalArea`
|
|
412
|
-
* - `verticalBoxPlot`
|
|
413
|
-
* - `verticalBullet`
|
|
414
|
-
* - `verticalLine`
|
|
415
|
-
* - `verticalRangeArea`
|
|
416
|
-
* - `waterfall`
|
|
417
373
|
*/
|
|
418
374
|
type?: SeriesType;
|
|
419
375
|
/**
|
|
@@ -13,10 +13,7 @@ export interface Subtitle {
|
|
|
13
13
|
*
|
|
14
14
|
* By default, the subtitle has the same alignment as the title.
|
|
15
15
|
*
|
|
16
|
-
* The
|
|
17
|
-
* - `"center"`—The text is aligned to the middle.
|
|
18
|
-
* - `"left"`—The text is aligned to the left.
|
|
19
|
-
* - `"right"`—The text is aligned to the right.
|
|
16
|
+
* The alignment options for subtitle include `center` for middle alignment, `left` for left alignment, and `right` for right alignment, allowing for flexible positioning of the subtitle.
|
|
20
17
|
*/
|
|
21
18
|
align?: 'center' | 'left' | 'right';
|
|
22
19
|
/**
|
|
@@ -48,9 +45,7 @@ export interface Subtitle {
|
|
|
48
45
|
*
|
|
49
46
|
* By default, the subtitle is placed in the same position as the title.
|
|
50
47
|
*
|
|
51
|
-
* The
|
|
52
|
-
* - `"bottom"`—The title is positioned on the bottom.
|
|
53
|
-
* - `"top"`—The title is positioned on the top.
|
|
48
|
+
* The positioning options for subtitle include `bottom` for positioning at the bottom and `top` for positioning at the top, providing flexibility in the subtitle placement.
|
|
54
49
|
*/
|
|
55
50
|
position?: 'top' | 'bottom';
|
|
56
51
|
/**
|
|
@@ -10,11 +10,7 @@ import { Border, Margin, Padding } from '../common/property-types';
|
|
|
10
10
|
export interface Title {
|
|
11
11
|
/**
|
|
12
12
|
* The alignment of the title.
|
|
13
|
-
*
|
|
14
|
-
* The available options are:
|
|
15
|
-
* - `"center"`—The text is aligned to the middle.
|
|
16
|
-
* - `"left"`—The text is aligned to the left.
|
|
17
|
-
* - `"right"`—The text is aligned to the right.
|
|
13
|
+
* The alignment options for text include `center` for middle alignment, `left` for left alignment, and `right` for right alignment, allowing for flexible positioning of the title.
|
|
18
14
|
*/
|
|
19
15
|
align?: 'center' | 'left' | 'right';
|
|
20
16
|
/**
|
|
@@ -43,10 +39,7 @@ export interface Title {
|
|
|
43
39
|
padding?: Padding | number;
|
|
44
40
|
/**
|
|
45
41
|
* The position of the title.
|
|
46
|
-
*
|
|
47
|
-
* The available options are:
|
|
48
|
-
* - `"bottom"`—The title is positioned on the bottom.
|
|
49
|
-
* - `"top"`—The title is positioned on the top.
|
|
42
|
+
* The positioning options for titles include `bottom` for positioning at the bottom and `top` for positioning at the top, providing flexibility in title placement.
|
|
50
43
|
*/
|
|
51
44
|
position?: 'top' | 'bottom';
|
|
52
45
|
/**
|
|
@@ -26,16 +26,13 @@ export interface Tooltip {
|
|
|
26
26
|
/**
|
|
27
27
|
* The format of the labels. Uses the [`format`]({% slug api_intl_intlservice %}#toc-format) method of IntlService.
|
|
28
28
|
*
|
|
29
|
-
* The
|
|
29
|
+
* The Area, Bar, Column, Funnel, Line, and Pie are represented by `{0}` as the value placeholder.
|
|
30
30
|
*
|
|
31
|
-
* -
|
|
32
|
-
*
|
|
33
|
-
* -
|
|
34
|
-
*
|
|
35
|
-
* -
|
|
36
|
-
* {0} - x value{1} - y value
|
|
37
|
-
* - Candlestick and OHLC
|
|
38
|
-
* {0} - open value{1} - high value{2} - low value{3} - close value{4} - category name
|
|
31
|
+
* The Bubble chart type uses the following value placeholders: `{0}` - x value, `{1}` - y value, `{2}` - size value, and `{3}` - category name.
|
|
32
|
+
*
|
|
33
|
+
* The Scatter and ScatterLine chart types use the following value placeholders: `{0}` - x value and `{1}` - y value.
|
|
34
|
+
*
|
|
35
|
+
* The Candlestick and OHLC chart types use the following value placeholders: `{0}` - open value, `{1}` - high value, `{2}` - low value, `{3}` - close value, and `{4}` - category name.
|
|
39
36
|
*/
|
|
40
37
|
format?: string;
|
|
41
38
|
/**
|
|
@@ -25,13 +25,6 @@ export interface ValueAxisLabels {
|
|
|
25
25
|
* The function which returns the label content.
|
|
26
26
|
* The function argument contains a `value` field which defines the label value.
|
|
27
27
|
* You can split the text into multiple lines by using the line feed characters (`"\n"`).
|
|
28
|
-
*
|
|
29
|
-
* The available fields in the function argument are:
|
|
30
|
-
* - `value`—The category value.
|
|
31
|
-
* - `format`—The default format of the label.
|
|
32
|
-
* - `text`—The default label text.
|
|
33
|
-
* - `index`—The index of the label.
|
|
34
|
-
* - `count`—The total number of rendered labels.
|
|
35
28
|
*/
|
|
36
29
|
content?: (e: AxisLabelContentArgs) => string;
|
|
37
30
|
/**
|
|
@@ -58,10 +51,8 @@ export interface ValueAxisLabels {
|
|
|
58
51
|
padding?: Padding | number;
|
|
59
52
|
/**
|
|
60
53
|
* The position of the axis labels. By default, labels are positioned next to the axis.
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
* * When `position` is set to `start`, the labels are placed at the start of the crossing axis—
|
|
64
|
-
* typically, at the left or bottom end of the Chart unless the crossing axis was reversed.
|
|
54
|
+
* When `position` is set to `end`, the labels are placed at the end of the crossing axis, usually at the top or right end of the Chart unless the crossing axis has been reversed.
|
|
55
|
+
* Alternatively, when the `position` property is set to `start`, the axis labels will be positioned at the beginning of the crossing axis, typically located at the left or bottom end of the Chart, unless the crossing axis has been reversed.
|
|
65
56
|
*/
|
|
66
57
|
position?: AxisLabelsPosition;
|
|
67
58
|
/**
|
|
@@ -87,16 +78,6 @@ export interface ValueAxisLabels {
|
|
|
87
78
|
visible?: boolean;
|
|
88
79
|
/**
|
|
89
80
|
* A function for creating custom visuals for the labels.
|
|
90
|
-
*
|
|
91
|
-
* The available argument fields are:
|
|
92
|
-
* - `createVisual`—A function for getting the default visual.
|
|
93
|
-
* - `culture`—The default culture (if set) on the label.
|
|
94
|
-
* - `format`—The default format of the label.
|
|
95
|
-
* - `options`—The label options.
|
|
96
|
-
* - `rect`—The geometry [`Rect`]({% slug api_kendo-drawing_geometry_rect %}) that defines where the visual has to be rendered.
|
|
97
|
-
* - `sender`—The Chart instance (might be `undefined`).
|
|
98
|
-
* - `text`—The label text.
|
|
99
|
-
* - `value`—The category value.
|
|
100
81
|
*/
|
|
101
82
|
visual?: (e: AxisLabelVisualArgs) => drawing.Element;
|
|
102
83
|
}
|
|
@@ -21,12 +21,6 @@ export interface ValueAxisNotesIcon {
|
|
|
21
21
|
size?: number;
|
|
22
22
|
/**
|
|
23
23
|
* The shape of the notes icon.
|
|
24
|
-
*
|
|
25
|
-
* The supported values are:
|
|
26
|
-
* * `"circle"`—The marker shape is a circle.
|
|
27
|
-
* * `"square"`—The marker shape is a square.
|
|
28
|
-
* * `"triangle"`—The marker shape is a triangle.
|
|
29
|
-
* * `"cross"`—The marker shape is a cross.
|
|
30
24
|
*/
|
|
31
25
|
type?: MarkerType;
|
|
32
26
|
/**
|
|
@@ -20,22 +20,10 @@ export interface ValueAxisNotes {
|
|
|
20
20
|
line?: NoteLine;
|
|
21
21
|
/**
|
|
22
22
|
* The position of the value axis note.
|
|
23
|
-
*
|
|
24
|
-
* - `"top"`—The note is positioned on the top.
|
|
25
|
-
* - `"bottom"`—The note is positioned on the bottom.
|
|
26
|
-
* - `"left"`—The note is positioned on the left.
|
|
27
|
-
* - `"right"`—The note is positioned on the right.
|
|
28
23
|
*/
|
|
29
24
|
position?: NotePosition;
|
|
30
25
|
/**
|
|
31
26
|
* A function for creating custom visuals for the notes.
|
|
32
|
-
*
|
|
33
|
-
* The available argument fields are:
|
|
34
|
-
*
|
|
35
|
-
* - `rect`—The geometry [`Rect`]({% slug api_kendo-drawing_geometry_rect %}) that defines the note target rect.
|
|
36
|
-
* - `options`—The note options.
|
|
37
|
-
* - `createVisual`—A function that can be used to get the default visual.
|
|
38
|
-
* - `value`—The note value.
|
|
39
27
|
*/
|
|
40
28
|
visual?: (e: AxisNoteVisualArgs) => drawing.Element;
|
|
41
29
|
/**
|
|
@@ -35,9 +35,6 @@ export interface ValueAxisNotesLabel {
|
|
|
35
35
|
format?: string;
|
|
36
36
|
/**
|
|
37
37
|
* The position of the labels.
|
|
38
|
-
*
|
|
39
|
-
* - `"inside"`—The label is positioned inside the icon.
|
|
40
|
-
* - `"outside"`—The label is positioned outside the icon.
|
|
41
38
|
*/
|
|
42
39
|
position?: NoteLabelPosition;
|
|
43
40
|
/**
|
|
@@ -34,14 +34,6 @@ export interface ValueAxisTitle {
|
|
|
34
34
|
padding?: Padding | number;
|
|
35
35
|
/**
|
|
36
36
|
* The position of the title.
|
|
37
|
-
*
|
|
38
|
-
* The supported values are:
|
|
39
|
-
*
|
|
40
|
-
* - `"top"`—The axis title is positioned on the top (applicable to the vertical axis).
|
|
41
|
-
* - `"bottom"`—The axis title is positioned on the bottom (applicable to the vertical axis).
|
|
42
|
-
* - `"left"`—The axis title is positioned on the left (applicable to the horizontal axis).
|
|
43
|
-
* - `"right"`—The axis title is positioned on the right (applicable to the horizontal axis).
|
|
44
|
-
* - `"center"`—The axis title is positioned in the center.
|
|
45
37
|
*/
|
|
46
38
|
position?: AxisTitlePosition;
|
|
47
39
|
/**
|
|
@@ -60,14 +52,6 @@ export interface ValueAxisTitle {
|
|
|
60
52
|
visible?: boolean;
|
|
61
53
|
/**
|
|
62
54
|
* A function for creating a custom visual for the title.
|
|
63
|
-
*
|
|
64
|
-
* The available argument fields are:
|
|
65
|
-
*
|
|
66
|
-
* - `text`—The label text.
|
|
67
|
-
* - `rect`—The geometry [`Rect`]({% slug api_kendo-drawing_geometry_rect %}) that defines where the visual has to be rendered.
|
|
68
|
-
* - `sender`—The Chart instance (might be `undefined`).
|
|
69
|
-
* - `options`—The label options.
|
|
70
|
-
* - `createVisual`—A function for getting the default visual.
|
|
71
55
|
*/
|
|
72
56
|
visual?: (e: TitleVisualArgs) => drawing.Element;
|
|
73
57
|
}
|
|
@@ -12,9 +12,9 @@ import { ValueAxisTitle } from './value-axis-item/title.interface';
|
|
|
12
12
|
*/
|
|
13
13
|
export interface ValueAxis {
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
15
|
+
* (Only for objects) The value at which the category axis crosses this axis.
|
|
16
|
+
* (Only for arrays) The value indices at which the category axes cross the value axis.
|
|
17
|
+
* (Only for dates) The date at which the category axis crosses this axis.
|
|
18
18
|
*/
|
|
19
19
|
axisCrossingValue?: any | any[];
|
|
20
20
|
/**
|
|
@@ -89,16 +89,14 @@ export interface ValueAxis {
|
|
|
89
89
|
* If set to `true`, the value axis direction is reversed.
|
|
90
90
|
* By default, the categories are listed from left to right and from bottom to top.
|
|
91
91
|
*
|
|
92
|
-
*
|
|
92
|
+
* Radar and Polar Charts do not support reverse value axes.
|
|
93
93
|
*/
|
|
94
94
|
reverse?: boolean;
|
|
95
95
|
/**
|
|
96
96
|
* The axis type.
|
|
97
97
|
*
|
|
98
|
-
* The
|
|
98
|
+
* The "numeric" value refers to a numeric axis, while "log" represents a logarithmic axis.
|
|
99
99
|
*
|
|
100
|
-
* - `"numeric"`—Numeric axis.
|
|
101
|
-
* - `"log"`—Logarithmic axis.
|
|
102
100
|
*/
|
|
103
101
|
type?: 'numeric' | 'log';
|
|
104
102
|
/**
|
|
@@ -67,10 +67,6 @@ export interface XAxisLabels {
|
|
|
67
67
|
rotation?: LabelRotation | number | 'auto';
|
|
68
68
|
/**
|
|
69
69
|
* The position of the axis labels. By default, labels are positioned next to the axis.
|
|
70
|
-
* * When `position` is set to `end`, the labels are placed at the end of the crossing axis—
|
|
71
|
-
* typically, at the top or right end of the Chart unless the crossing axis was reversed.
|
|
72
|
-
* * When `position` is set to `start`, the labels are placed at the start of the crossing axis—
|
|
73
|
-
* typically, at the left or bottom end of the Chart unless the crossing axis was reversed.
|
|
74
70
|
*/
|
|
75
71
|
position?: AxisLabelsPosition;
|
|
76
72
|
/**
|
|
@@ -87,16 +83,6 @@ export interface XAxisLabels {
|
|
|
87
83
|
visible?: boolean;
|
|
88
84
|
/**
|
|
89
85
|
* A function for creating custom visuals for the labels.
|
|
90
|
-
*
|
|
91
|
-
* The available argument fields are:
|
|
92
|
-
* - `createVisual`—A function that can be used to get the default visual.
|
|
93
|
-
* - `culture`—The default culture (if set) of the label.
|
|
94
|
-
* - `format`—The default format of the label.
|
|
95
|
-
* - `options`—The label options.
|
|
96
|
-
* - `rect`—The geometry [`Rect`]({% slug api_kendo-drawing_geometry_rect %}) that defines where the visual has to be rendered.
|
|
97
|
-
* - `sender`—The Chart instance (might be `undefined`).
|
|
98
|
-
* - `text`—The label text.
|
|
99
|
-
* - `value`—The category value.
|
|
100
86
|
*/
|
|
101
87
|
visual?: (e: AxisLabelVisualArgs) => drawing.Element;
|
|
102
88
|
}
|
|
@@ -21,12 +21,6 @@ export interface XAxisNotesIcon {
|
|
|
21
21
|
size?: number;
|
|
22
22
|
/**
|
|
23
23
|
* The shape of the notes icon.
|
|
24
|
-
*
|
|
25
|
-
* The supported values are:
|
|
26
|
-
* * `"circle"`—The marker shape is a circle.
|
|
27
|
-
* * `"square"`—The marker shape is a square.
|
|
28
|
-
* * `"triangle"`—The marker shape is a triangle.
|
|
29
|
-
* * `"cross"`—The marker shape is a cross.
|
|
30
24
|
*/
|
|
31
25
|
type?: MarkerType;
|
|
32
26
|
/**
|
|
@@ -20,23 +20,10 @@ export interface XAxisNotes {
|
|
|
20
20
|
line?: NoteLine;
|
|
21
21
|
/**
|
|
22
22
|
* The position of the X-axis note.
|
|
23
|
-
*
|
|
24
|
-
* - `"top"`—The note is positioned on the top.
|
|
25
|
-
* - `"bottom"`—The note is positioned on the bottom.
|
|
26
|
-
* - `"left"`—The note is positioned on the left.
|
|
27
|
-
* - `"right"`—The note is positioned on the right.
|
|
28
23
|
*/
|
|
29
24
|
position?: NotePosition;
|
|
30
25
|
/**
|
|
31
26
|
* A function for creating custom visuals for the notes.
|
|
32
|
-
*
|
|
33
|
-
* The available argument fields are:
|
|
34
|
-
*
|
|
35
|
-
* - `rect`—The geometry [`Rect`]({% slug api_kendo-drawing_geometry_rect %}) that defines the note target rect.
|
|
36
|
-
* - `sender`—The chart instance (might be `undefined`).
|
|
37
|
-
* - `options`—The note options.
|
|
38
|
-
* - `createVisual`—A function that can be used to get the default visual.
|
|
39
|
-
* - `value`—The note value.
|
|
40
27
|
*/
|
|
41
28
|
visual?: (e: AxisNoteVisualArgs) => drawing.Element;
|
|
42
29
|
/**
|
|
@@ -36,10 +36,6 @@ export interface XAxisNotesLabel {
|
|
|
36
36
|
format?: string;
|
|
37
37
|
/**
|
|
38
38
|
* The position of the labels.
|
|
39
|
-
*
|
|
40
|
-
* The available options are:
|
|
41
|
-
* - `"inside"`—The label is positioned inside the icon.
|
|
42
|
-
* - `"outside"`—The label is positioned outside the icon.
|
|
43
39
|
*/
|
|
44
40
|
position?: NoteLabelPosition;
|
|
45
41
|
/**
|
|
@@ -34,14 +34,6 @@ export interface XAxisTitle {
|
|
|
34
34
|
padding?: Padding | number;
|
|
35
35
|
/**
|
|
36
36
|
* The position of the title.
|
|
37
|
-
*
|
|
38
|
-
* The supported values are:
|
|
39
|
-
*
|
|
40
|
-
* - `"top"`—The axis title is positioned on the top (applicable to the vertical axis).
|
|
41
|
-
* - `"bottom"`—The axis title is positioned on the bottom (applicable to the vertical axis).
|
|
42
|
-
* - `"left"`—The axis title is positioned on the left (applicable to the horizontal axis).
|
|
43
|
-
* - `"right"`—The axis title is positioned on the right (applicable to the horizontal axis).
|
|
44
|
-
* - `"center"`—The axis title is positioned in the center.
|
|
45
37
|
*/
|
|
46
38
|
position?: AxisTitlePosition;
|
|
47
39
|
/**
|
|
@@ -60,14 +52,6 @@ export interface XAxisTitle {
|
|
|
60
52
|
visible?: boolean;
|
|
61
53
|
/**
|
|
62
54
|
* A function that can be used to create a custom visual for the title.
|
|
63
|
-
*
|
|
64
|
-
* The available argument fields are:
|
|
65
|
-
*
|
|
66
|
-
* - `text`—The label text.
|
|
67
|
-
* - `rect`—The geometry [`Rect`]({% slug api_kendo-drawing_geometry_rect %}) that defines where the visual has to be rendered.
|
|
68
|
-
* - `sender`—The Chart instance (might be `undefined`).
|
|
69
|
-
* - `options`—The label options.
|
|
70
|
-
* - `createVisual`—A function that can be used to get the default visual.
|
|
71
55
|
*/
|
|
72
56
|
visual?: (e: TitleVisualArgs) => drawing.Element;
|
|
73
57
|
}
|
|
@@ -12,9 +12,7 @@ import { XAxisTitle } from './x-axis-item/title.interface';
|
|
|
12
12
|
*/
|
|
13
13
|
export interface XAxis {
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
16
|
-
* * (Only for arrays) The value indices at which the y axes cross the value axis.
|
|
17
|
-
* * (Only for dates) The date at which the Y axis crosses this axis.
|
|
15
|
+
* 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.
|
|
18
16
|
*
|
|
19
17
|
* To denote the far end of the axis, set a value that is greater than or equal to the axis maximum value.
|
|
20
18
|
*/
|
|
@@ -30,17 +28,6 @@ export interface XAxis {
|
|
|
30
28
|
/**
|
|
31
29
|
* The base time interval for the axis labels.
|
|
32
30
|
* The default `baseUnit` is automatically determined from the value range.
|
|
33
|
-
*
|
|
34
|
-
* The available options are:
|
|
35
|
-
*
|
|
36
|
-
* - milliseconds
|
|
37
|
-
* - seconds
|
|
38
|
-
* - minutes
|
|
39
|
-
* - hours
|
|
40
|
-
* - days
|
|
41
|
-
* - weeks
|
|
42
|
-
* - months
|
|
43
|
-
* - years
|
|
44
31
|
*/
|
|
45
32
|
baseUnit?: BaseUnit;
|
|
46
33
|
/**
|
|
@@ -120,11 +107,7 @@ export interface XAxis {
|
|
|
120
107
|
/**
|
|
121
108
|
* The axis type.
|
|
122
109
|
*
|
|
123
|
-
* The
|
|
124
|
-
*
|
|
125
|
-
* - `"numeric"`—Numeric axis.
|
|
126
|
-
* - `"date"`—Specialized axis for displaying chronological data.
|
|
127
|
-
* - `"log"`—Logarithmic axis.
|
|
110
|
+
* The options are `numeric` for a numeric axis, `date` for a specialized axis for displaying chronological data, and `log` for a logarithmic axis.
|
|
128
111
|
*
|
|
129
112
|
* If the series X value is of the `date` type, the Chart automatically switches to a date axis.
|
|
130
113
|
* To avoid this behavior, set the `type`.
|
|
@@ -62,10 +62,6 @@ export interface YAxisLabels {
|
|
|
62
62
|
padding?: Padding | number;
|
|
63
63
|
/**
|
|
64
64
|
* The position of the axis labels. By default, labels are positioned next to the axis.
|
|
65
|
-
* * When `position` is set to `end`, the labels are placed at the end of the crossing axis—
|
|
66
|
-
* typically, at the top or right end of the Chart unless the crossing axis was reversed.
|
|
67
|
-
* * When `position` is set to `start`, the labels are placed at the start of the crossing axis—
|
|
68
|
-
* typically, at the left or bottom end of the Chart unless the crossing axis was reversed.
|
|
69
65
|
*/
|
|
70
66
|
position?: AxisLabelsPosition;
|
|
71
67
|
/**
|
|
@@ -86,16 +82,6 @@ export interface YAxisLabels {
|
|
|
86
82
|
visible?: boolean;
|
|
87
83
|
/**
|
|
88
84
|
* A function that can be used to create a custom visual for the labels.
|
|
89
|
-
*
|
|
90
|
-
* The available argument fields are:
|
|
91
|
-
* - `createVisual`—A function that can be used to get the default visual.
|
|
92
|
-
* - `culture`—The default culture (if set) on the label.
|
|
93
|
-
* - `format`—The default format of the label.
|
|
94
|
-
* - `options`—The label options.
|
|
95
|
-
* - `rect`—The geometry [`Rect`]({% slug api_kendo-drawing_geometry_rect %}) that defines where the visual has to be rendered.
|
|
96
|
-
* - `sender`—The Chart instance (might be `undefined`).
|
|
97
|
-
* - `text`—The label text.
|
|
98
|
-
* - `value`—The category value.
|
|
99
85
|
*/
|
|
100
86
|
visual?: (e: AxisLabelVisualArgs) => drawing.Element;
|
|
101
87
|
}
|
|
@@ -21,12 +21,6 @@ export interface YAxisNotesIcon {
|
|
|
21
21
|
size?: number;
|
|
22
22
|
/**
|
|
23
23
|
* The shape of the notes icon.
|
|
24
|
-
*
|
|
25
|
-
* The supported values are:
|
|
26
|
-
* * `"circle"`—The marker shape is a circle.
|
|
27
|
-
* * `"square"`—The marker shape is a square.
|
|
28
|
-
* * `"triangle"`—The marker shape is a triangle.
|
|
29
|
-
* * `"cross"`—The marker shape is a cross.
|
|
30
24
|
*/
|
|
31
25
|
type?: MarkerType;
|
|
32
26
|
/**
|
|
@@ -20,22 +20,10 @@ export interface YAxisNotes {
|
|
|
20
20
|
line?: NoteLine;
|
|
21
21
|
/**
|
|
22
22
|
* The position of the Y-axis notes.
|
|
23
|
-
*
|
|
24
|
-
* - `"top"`—The note is positioned on the top.
|
|
25
|
-
* - `"bottom"`—The note is positioned on the bottom.
|
|
26
|
-
* - `"left"`—The note is positioned on the left.
|
|
27
|
-
* - `"right"`—The note is positioned on the right.
|
|
28
23
|
*/
|
|
29
24
|
position?: NotePosition;
|
|
30
25
|
/**
|
|
31
26
|
* A function for creating custom visuals for the notes.
|
|
32
|
-
*
|
|
33
|
-
* The available argument fields are:
|
|
34
|
-
*
|
|
35
|
-
* - `rect`—The geometry [`Rect`]({% slug api_kendo-drawing_geometry_rect %}) that defines the note target rect.
|
|
36
|
-
* - `options`—The note options.
|
|
37
|
-
* - `createVisual`—A function that can be used to get the default visual.
|
|
38
|
-
* - `value`—The note value.
|
|
39
27
|
*/
|
|
40
28
|
visual?: (e: AxisNoteVisualArgs) => drawing.Element;
|
|
41
29
|
/**
|
|
@@ -35,10 +35,6 @@ export interface YAxisNotesLabel {
|
|
|
35
35
|
format?: string;
|
|
36
36
|
/**
|
|
37
37
|
* The position of the labels.
|
|
38
|
-
*
|
|
39
|
-
* The available options are:
|
|
40
|
-
* - `"inside"`—The label is positioned inside the icon.
|
|
41
|
-
* - `"outside"`—The label is positioned outside the icon.
|
|
42
38
|
*/
|
|
43
39
|
position?: NoteLabelPosition;
|
|
44
40
|
/**
|
|
@@ -34,14 +34,6 @@ export interface YAxisTitle {
|
|
|
34
34
|
padding?: Padding | number;
|
|
35
35
|
/**
|
|
36
36
|
* The position of the title.
|
|
37
|
-
*
|
|
38
|
-
* The supported values are:
|
|
39
|
-
*
|
|
40
|
-
* - `"top"`—The axis title is positioned on the top (applicable to the vertical axis).
|
|
41
|
-
* - `"bottom"`—The axis title is positioned on the bottom (applicable to the vertical axis).
|
|
42
|
-
* - `"left"`—The axis title is positioned on the left (applicable to the horizontal axis).
|
|
43
|
-
* - `"right"`—The axis title is positioned on the right (applicable to the horizontal axis).
|
|
44
|
-
* - `"center"`—The axis title is positioned in the center.
|
|
45
37
|
*/
|
|
46
38
|
position?: AxisTitlePosition;
|
|
47
39
|
/**
|
|
@@ -60,14 +52,6 @@ export interface YAxisTitle {
|
|
|
60
52
|
visible?: boolean;
|
|
61
53
|
/**
|
|
62
54
|
* A function for creating custom visuals for the title.
|
|
63
|
-
*
|
|
64
|
-
* The available argument fields are:
|
|
65
|
-
*
|
|
66
|
-
* - `text`—The label text.
|
|
67
|
-
* - `rect`—The geometry [`Rect`]({% slug api_kendo-drawing_geometry_rect %}) that defines where the visual has to be rendered.
|
|
68
|
-
* - `sender`—The Chart instance (can be `undefined`).
|
|
69
|
-
* - `options`—The label options.
|
|
70
|
-
* - `createVisual`—A function that can be used to get the default visual.
|
|
71
55
|
*/
|
|
72
56
|
visual?: (e: TitleVisualArgs) => drawing.Element;
|
|
73
57
|
}
|