@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.
- package/dist/cdn/js/kendo-charts.js +1 -1
- package/dist/cdn/main.js +1 -1
- package/dist/es/chart/plotarea/categorical-plotarea.js +9 -6
- package/dist/es2015/chart/plotarea/categorical-plotarea.js +9 -6
- package/dist/npm/api-types/axis-range.interface.d.ts +14 -0
- package/dist/npm/api-types/chart-axis.interface.d.ts +50 -0
- package/dist/npm/api-types/chart-pane.interface.d.ts +16 -0
- package/dist/npm/api-types/chart-plotarea.interface.d.ts +16 -0
- package/dist/npm/api-types/event-axis-options.interface.d.ts +9 -0
- package/dist/npm/api-types/event-series-options.interface.d.ts +19 -0
- package/dist/npm/api-types/series-point.interface.d.ts +46 -0
- package/dist/npm/api-types.d.ts +7 -0
- package/dist/npm/argument-types/axis-label-content-args.interface.d.ts +41 -0
- package/dist/npm/argument-types/axis-label-visual-args.interface.d.ts +52 -0
- package/dist/npm/argument-types/axis-note-content-args.interface.d.ts +19 -0
- package/dist/npm/argument-types/axis-note-visual-args.interface.d.ts +32 -0
- package/dist/npm/argument-types/error-bars-value-args.interface.d.ts +29 -0
- package/dist/npm/argument-types/error-bars-visual-args.interface.d.ts +37 -0
- package/dist/npm/argument-types/highlight-toggle-args.interface.d.ts +41 -0
- package/dist/npm/argument-types/highlight-visual-args.interface.d.ts +63 -0
- package/dist/npm/argument-types/legend-item-visual-args.interface.d.ts +43 -0
- package/dist/npm/argument-types/legend-labels-content-args.interface.d.ts +31 -0
- package/dist/npm/argument-types/markers-visual-args.interface.d.ts +47 -0
- package/dist/npm/argument-types/plot-band-label-visual-args.interface.d.ts +32 -0
- package/dist/npm/argument-types/series-labels-content-args.interface.d.ts +54 -0
- package/dist/npm/argument-types/series-labels-visual-args.interface.d.ts +77 -0
- package/dist/npm/argument-types/series-note-content-args.interface.d.ts +29 -0
- package/dist/npm/argument-types/series-note-visual-args.interface.d.ts +52 -0
- package/dist/npm/argument-types/series-visual-args.interface.d.ts +95 -0
- package/dist/npm/argument-types/title-visual-args.interface.d.ts +32 -0
- package/dist/npm/chart-options.d.ts +226 -0
- package/dist/npm/chart.d.ts +4 -3
- package/dist/npm/field-types/auto-base-unit-steps.interface.d.ts +62 -0
- package/dist/npm/field-types/axis-labels-position.d.ts +62 -0
- package/dist/npm/field-types/axis-line.interface.d.ts +41 -0
- package/dist/npm/field-types/axis-ticks.interface.d.ts +45 -0
- package/dist/npm/field-types/axis-title-position.d.ts +62 -0
- package/dist/npm/field-types/base-unit.d.ts +82 -0
- package/dist/npm/field-types/border.interface.d.ts +19 -4
- package/dist/npm/field-types/bullet-target-line.interface.d.ts +9 -0
- package/dist/npm/field-types/bullet-target.interface.d.ts +23 -0
- package/dist/npm/field-types/category-base-unit.d.ts +113 -0
- package/dist/npm/field-types/dash-type.d.ts +87 -5
- package/dist/npm/field-types/date-formats.interface.d.ts +47 -0
- package/dist/npm/field-types/drag-action.interface.d.ts +17 -0
- package/dist/npm/field-types/error-bar-line.interface.d.ts +16 -0
- package/dist/npm/field-types/grid-lines.interface.d.ts +47 -0
- package/dist/npm/field-types/highlight-line.interface.d.ts +27 -0
- package/dist/npm/field-types/label-connectors.interface.d.ts +19 -0
- package/dist/npm/field-types/label-rotation.interface.d.ts +24 -0
- package/dist/npm/field-types/legend-labels.interface.d.ts +37 -0
- package/dist/npm/field-types/line-style.d.ts +90 -0
- package/dist/npm/field-types/lock-axis.d.ts +19 -0
- package/dist/npm/field-types/margin.interface.d.ts +15 -5
- package/dist/npm/field-types/marker-type.d.ts +94 -0
- package/dist/npm/field-types/modifier-key.d.ts +30 -0
- package/dist/npm/field-types/mousewheel-select.interface.d.ts +17 -0
- package/dist/npm/field-types/mousewheel-zoom.interface.d.ts +21 -0
- package/dist/npm/field-types/negative-bubble-values.interface.d.ts +15 -0
- package/dist/npm/field-types/note-label-position.d.ts +107 -0
- package/dist/npm/field-types/note-line.interface.d.ts +26 -0
- package/dist/npm/field-types/note-position.d.ts +104 -0
- package/dist/npm/field-types/overlay.interface.d.ts +15 -0
- package/dist/npm/field-types/padding.interface.d.ts +11 -1
- package/dist/npm/field-types/plot-band-label.interface.d.ts +100 -0
- package/dist/npm/field-types/plot-band.interface.d.ts +53 -0
- package/dist/npm/field-types/series-labels-alignment.d.ts +16 -0
- package/dist/npm/field-types/series-labels-position.d.ts +28 -0
- package/dist/npm/field-types/series-line.interface.d.ts +32 -0
- package/dist/npm/field-types/series-mean.interface.d.ts +26 -0
- package/dist/npm/field-types/series-median.interface.d.ts +26 -0
- package/dist/npm/field-types/series-pattern.interface.d.ts +77 -67
- package/dist/npm/field-types/series-stack.interface.d.ts +19 -0
- package/dist/npm/field-types/series-type.d.ts +244 -0
- package/dist/npm/field-types/series-whiskers.interface.d.ts +26 -0
- package/dist/npm/field-types/trendline-forecast.interface.d.ts +14 -0
- package/dist/npm/field-types/week-start-day.enum.d.ts +49 -0
- package/dist/npm/field-types.d.ts +46 -6
- package/dist/npm/main.d.ts +4 -0
- package/dist/npm/main.js +11 -6
- package/dist/npm/option-types/axis-crosshair-tooltip.interface.d.ts +49 -0
- package/dist/npm/option-types/axis-defaults/crosshair.interface.d.ts +43 -0
- package/dist/npm/option-types/axis-defaults/crosshair.tooltip.interface.d.ts +6 -0
- package/dist/npm/option-types/axis-defaults/labels.interface.d.ts +69 -0
- package/dist/npm/option-types/axis-defaults/title.interface.d.ts +63 -0
- package/dist/npm/option-types/axis-defaults.interface.d.ts +101 -0
- package/dist/npm/option-types/category-axis-item/crosshair.interface.d.ts +40 -0
- package/dist/npm/option-types/category-axis-item/crosshair.tooltip.interface.d.ts +6 -0
- package/dist/npm/option-types/category-axis-item/labels.interface.d.ts +115 -0
- package/dist/npm/option-types/category-axis-item/notes.icon.interface.d.ts +32 -0
- package/dist/npm/option-types/category-axis-item/notes.interface.d.ts +40 -0
- package/dist/npm/option-types/category-axis-item/notes.label.interface.d.ts +55 -0
- package/dist/npm/option-types/category-axis-item/range-labels.interface.d.ts +28 -0
- package/dist/npm/option-types/category-axis-item/select.interface.d.ts +35 -0
- package/dist/npm/option-types/category-axis-item/title.interface.d.ts +65 -0
- package/dist/npm/option-types/category-axis-item.interface.d.ts +195 -0
- package/dist/npm/option-types/chart-area.interface.d.ts +36 -0
- package/dist/npm/option-types/legend/inactive-items.interface.d.ts +12 -0
- package/dist/npm/option-types/legend/item.interface.d.ts +124 -0
- package/dist/npm/option-types/legend/legend-title.interface.d.ts +67 -0
- package/dist/npm/option-types/legend/markers.interface.d.ts +34 -0
- package/dist/npm/option-types/legend.interface.d.ts +120 -0
- package/dist/npm/option-types/navigator/hint-content-args.interface.d.ts +15 -0
- package/dist/npm/option-types/navigator/hint.interface.d.ts +27 -0
- package/dist/npm/option-types/navigator/select.interface.d.ts +22 -0
- package/dist/npm/option-types/navigator.interface.d.ts +56 -0
- package/dist/npm/option-types/pane/title.interface.d.ts +65 -0
- package/dist/npm/option-types/pane-defaults/title.interface.d.ts +51 -0
- package/dist/npm/option-types/pane-defaults.interface.d.ts +53 -0
- package/dist/npm/option-types/pane.interface.d.ts +53 -0
- package/dist/npm/option-types/plot-area.interface.d.ts +33 -0
- package/dist/npm/option-types/series-defaults/labels.from.interface.d.ts +54 -0
- package/dist/npm/option-types/series-defaults/labels.interface.d.ts +78 -0
- package/dist/npm/option-types/series-defaults/labels.to.interface.d.ts +57 -0
- package/dist/npm/option-types/series-defaults/notes.icon.interface.d.ts +32 -0
- package/dist/npm/option-types/series-defaults/notes.interface.d.ts +31 -0
- package/dist/npm/option-types/series-defaults/notes.label.interface.d.ts +58 -0
- package/dist/npm/option-types/series-defaults/tooltip.interface.d.ts +54 -0
- package/dist/npm/option-types/series-defaults.interface.d.ts +218 -0
- package/dist/npm/option-types/series-item/error-bars.interface.d.ts +60 -0
- package/dist/npm/option-types/series-item/extremes.interface.d.ts +32 -0
- package/dist/npm/option-types/series-item/highlight.interface.d.ts +64 -0
- package/dist/npm/option-types/series-item/labels.from.interface.d.ts +73 -0
- package/dist/npm/option-types/series-item/labels.interface.d.ts +104 -0
- package/dist/npm/option-types/series-item/labels.to.interface.d.ts +74 -0
- package/dist/npm/option-types/series-item/markers-highlight.interface.d.ts +22 -0
- package/dist/npm/option-types/series-item/markers.interface.d.ts +59 -0
- package/dist/npm/option-types/series-item/notes.icon.interface.d.ts +32 -0
- package/dist/npm/option-types/series-item/notes.interface.d.ts +35 -0
- package/dist/npm/option-types/series-item/notes.label.interface.d.ts +59 -0
- package/dist/npm/option-types/series-item/outliers.interface.d.ts +32 -0
- package/dist/npm/option-types/series-item/tooltip.interface.d.ts +59 -0
- package/dist/npm/option-types/series-item/trendline.interface.d.ts +31 -0
- package/dist/npm/option-types/series-item.interface.d.ts +645 -0
- package/dist/npm/option-types/subtitle.interface.d.ts +74 -0
- package/dist/npm/option-types/title.interface.d.ts +75 -0
- package/dist/npm/option-types/tooltip-border.interface.d.ts +12 -0
- package/dist/npm/option-types/tooltip.interface.d.ts +65 -0
- package/dist/npm/option-types/value-axis-item/crosshair.interface.d.ts +36 -0
- package/dist/npm/option-types/value-axis-item/crosshair.tooltip.interface.d.ts +6 -0
- package/dist/npm/option-types/value-axis-item/labels.interface.d.ts +101 -0
- package/dist/npm/option-types/value-axis-item/notes.icon.interface.d.ts +32 -0
- package/dist/npm/option-types/value-axis-item/notes.interface.d.ts +39 -0
- package/dist/npm/option-types/value-axis-item/notes.label.interface.d.ts +60 -0
- package/dist/npm/option-types/value-axis-item/title.interface.d.ts +64 -0
- package/dist/npm/option-types/value-axis-item.interface.d.ts +148 -0
- package/dist/npm/option-types/x-axis-item/crosshair.interface.d.ts +33 -0
- package/dist/npm/option-types/x-axis-item/crosshair.tooltip.interface.d.ts +6 -0
- package/dist/npm/option-types/x-axis-item/labels.interface.d.ts +109 -0
- package/dist/npm/option-types/x-axis-item/notes.icon.interface.d.ts +32 -0
- package/dist/npm/option-types/x-axis-item/notes.interface.d.ts +40 -0
- package/dist/npm/option-types/x-axis-item/notes.label.interface.d.ts +58 -0
- package/dist/npm/option-types/x-axis-item/title.interface.d.ts +65 -0
- package/dist/npm/option-types/x-axis-item.interface.d.ts +165 -0
- package/dist/npm/option-types/y-axis-item/crosshair.interface.d.ts +36 -0
- package/dist/npm/option-types/y-axis-item/crosshair.tooltip.interface.d.ts +6 -0
- package/dist/npm/option-types/y-axis-item/labels.interface.d.ts +107 -0
- package/dist/npm/option-types/y-axis-item/notes.icon.interface.d.ts +32 -0
- package/dist/npm/option-types/y-axis-item/notes.interface.d.ts +40 -0
- package/dist/npm/option-types/y-axis-item/notes.label.interface.d.ts +58 -0
- package/dist/npm/option-types/y-axis-item/title.interface.d.ts +65 -0
- package/dist/npm/option-types/y-axis-item.interface.d.ts +154 -0
- package/dist/npm/option-types/zoomable.interface.d.ts +16 -0
- package/dist/npm/property-types.d.ts +151 -0
- package/dist/npm/sankey.d.ts +5 -3
- package/dist/systemjs/kendo-charts.js +1 -1
- package/package.json +4 -2
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { Border, Padding } from '../../property-types';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Represents the configuration options of the series tooltip.
|
|
5
|
+
*/
|
|
6
|
+
export interface SeriesDefaultsTooltip {
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Specifies the background color of the tooltip. Accepts a valid CSS color string, including hex and rgb.
|
|
10
|
+
*/
|
|
11
|
+
background?: string;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Specifies the border configuration options.
|
|
15
|
+
*/
|
|
16
|
+
border?: Border;
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Specifies the text color of the tooltip. Accepts a valid CSS color string, including hex and rgb.
|
|
20
|
+
*/
|
|
21
|
+
color?: string;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Specifies the tooltip font.
|
|
25
|
+
*/
|
|
26
|
+
font?: string;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Specifies the format of the labels. Uses the [`format` method from `@progress/kendo-intl`](https://github.com/telerik/kendo-intl?tab=readme-ov-file#general-formatting).
|
|
30
|
+
*
|
|
31
|
+
* Area, Bar, Column, Funnel, Pyramid, Line, and Pie charts are represented by `{0}` as the value placeholder.
|
|
32
|
+
*
|
|
33
|
+
* Bubble chart type uses the following value placeholders: `{0}` - x value, `{1}` - y value, `{2}` - size value, and `{3}` - category name.
|
|
34
|
+
*
|
|
35
|
+
* Scatter and ScatterLine chart types use the following value placeholders: `{0}` - x value and `{1}` - y value.
|
|
36
|
+
*
|
|
37
|
+
* 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.
|
|
38
|
+
*
|
|
39
|
+
* RangeArea, RangeBar, and RangeColumn chart types utilize the following value placeholders: `{0}` - from value and `{1}` - to value.
|
|
40
|
+
*
|
|
41
|
+
*/
|
|
42
|
+
format?: string;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Specifies the padding of the tooltip. A numeric value sets all paddings.
|
|
46
|
+
*/
|
|
47
|
+
padding?: Padding | number;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Determines whether the Chart displays the series tooltip.
|
|
51
|
+
* When set to `true`, the tooltip is visible. By default, the series tooltip is not displayed.
|
|
52
|
+
*/
|
|
53
|
+
visible?: boolean;
|
|
54
|
+
}
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
import { drawing } from '@progress/kendo-drawing';
|
|
2
|
+
import { Border, FocusHighlight, Overlay, SeriesHighlight, SeriesStack, SeriesType, SeriesVisualArgs } from '../property-types';
|
|
3
|
+
import { Series } from '../option-types/series-item.interface';
|
|
4
|
+
import { SeriesDefaultsLabels } from './series-defaults/labels.interface';
|
|
5
|
+
import { SeriesDefaultsNotes } from './series-defaults/notes.interface';
|
|
6
|
+
import { SeriesDefaultsTooltip } from './series-defaults/tooltip.interface';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Represents the configuration options of the series.
|
|
10
|
+
*/
|
|
11
|
+
export interface SeriesDefaults {
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Default settings for area series.
|
|
15
|
+
*/
|
|
16
|
+
area?: Series;
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Default settings for bar series.
|
|
20
|
+
*/
|
|
21
|
+
bar?: Series;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Default settings for bubble series.
|
|
25
|
+
*/
|
|
26
|
+
bubble?: Series;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Default settings for bullet series.
|
|
30
|
+
*/
|
|
31
|
+
bullet?: Series;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Default settings for candlestick series.
|
|
35
|
+
*/
|
|
36
|
+
candlestick?: Series;
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Default settings for column series.
|
|
40
|
+
*/
|
|
41
|
+
column?: Series;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Default settings for donut series.
|
|
45
|
+
*/
|
|
46
|
+
donut?: Series;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Default settings for funnel series.
|
|
50
|
+
*/
|
|
51
|
+
funnel?: Series;
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Default settings for pyramid series.
|
|
55
|
+
*/
|
|
56
|
+
pyramid?: Series;
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Default settings for line series.
|
|
60
|
+
*/
|
|
61
|
+
line?: Series;
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Default settings for ohlc series.
|
|
65
|
+
*/
|
|
66
|
+
ohlc?: Series;
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Default settings for pie series.
|
|
70
|
+
*/
|
|
71
|
+
pie?: Series;
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Default settings for polarArea series.
|
|
75
|
+
*/
|
|
76
|
+
polarArea?: Series;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Default settings for polarLine series.
|
|
80
|
+
*/
|
|
81
|
+
polarLine?: Series;
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Default settings for polarScatter series.
|
|
85
|
+
*/
|
|
86
|
+
polarScatter?: Series;
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Default settings for radarArea series.
|
|
90
|
+
*/
|
|
91
|
+
radarArea?: Series;
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Default settings for radarColumn series.
|
|
95
|
+
*/
|
|
96
|
+
radarColumn?: Series;
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* Default settings for radarLine series.
|
|
100
|
+
*/
|
|
101
|
+
radarLine?: Series;
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* Default settings for rangeArea series.
|
|
105
|
+
*/
|
|
106
|
+
rangeArea?: Series;
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Default settings for rangeBar series.
|
|
110
|
+
*/
|
|
111
|
+
rangeBar?: Series;
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* Default settings for rangeColumn series.
|
|
115
|
+
*/
|
|
116
|
+
rangeColumn?: Series;
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Default settings for scatter series.
|
|
120
|
+
*/
|
|
121
|
+
scatter?: Series;
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* Default settings for scatterLine series.
|
|
125
|
+
*/
|
|
126
|
+
scatterLine?: Series;
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* Default settings for verticalArea series.
|
|
130
|
+
*/
|
|
131
|
+
verticalArea?: Series;
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* Default settings for verticalBullet series.
|
|
135
|
+
*/
|
|
136
|
+
verticalBullet?: Series;
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Default settings for verticalLine series.
|
|
140
|
+
*/
|
|
141
|
+
verticalLine?: Series;
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* Default settings for verticalRangeArea series.
|
|
145
|
+
*/
|
|
146
|
+
verticalRangeArea?: Series;
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* Default settings for waterfall series.
|
|
150
|
+
*/
|
|
151
|
+
waterfall?: Series;
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* Specifies the border of the series.
|
|
155
|
+
*/
|
|
156
|
+
border?: Border;
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* Specifies the distance between category clusters.
|
|
160
|
+
*/
|
|
161
|
+
gap?: number;
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* Specifies the default highlight configuration.
|
|
165
|
+
*/
|
|
166
|
+
highlight?: SeriesHighlight;
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* Specifies the Chart series overlay options.
|
|
170
|
+
*/
|
|
171
|
+
overlay?: Overlay;
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* Specifies the space between the Chart series as a proportion of the series width.
|
|
175
|
+
* The `spacing` option is supported when [`series.type`]({% slug api_charts_series %}#type) is set to `"bar"`, `"column"`, `"candlestick"`, `"ohlc"`,
|
|
176
|
+
* and `"waterfall"`.
|
|
177
|
+
*/
|
|
178
|
+
spacing?: number;
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* Determines whether the series has to be stacked.
|
|
182
|
+
* This option is supported when [`series.type`]({% slug api_charts_series %}#type) is set to `"bar"`, `"column"`, `"line"`, `"area"`,
|
|
183
|
+
* `"verticalLine"`, `"verticalArea"`, `"radarLine"`, `"radarArea"`, and `"radarColumn"`.
|
|
184
|
+
*/
|
|
185
|
+
stack?: boolean | string | SeriesStack;
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* Specifies the default type of the series.
|
|
189
|
+
*/
|
|
190
|
+
type?: SeriesType;
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* Specifies a function for creating custom visuals for the points.
|
|
194
|
+
* Applicable for the Bar and Column series.
|
|
195
|
+
*/
|
|
196
|
+
visual?: (e: SeriesVisualArgs) => drawing.Element;
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* Specifies the label configuration of the Chart series.
|
|
200
|
+
* Displays the series labels when the [`seriesDefaults.labels.visible`]({% slug api_charts_seriesdefaultslabels %}#visible) option is set to `true`.
|
|
201
|
+
*/
|
|
202
|
+
labels?: SeriesDefaultsLabels;
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* Specifies the `seriesDefaults` notes configuration.
|
|
206
|
+
*/
|
|
207
|
+
notes?: SeriesDefaultsNotes;
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* Specifies the configuration options of the Chart series tooltip.
|
|
211
|
+
*/
|
|
212
|
+
tooltip?: SeriesDefaultsTooltip;
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* Specifies the focus highlight configuration options.
|
|
216
|
+
*/
|
|
217
|
+
focusHighlight?: FocusHighlight;
|
|
218
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { drawing } from '@progress/kendo-drawing';
|
|
2
|
+
import { ErrorBarLine, ErrorBarsValueArgs, ErrorBarsVisualArgs } from '../../property-types';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Represents the configuration options of the series error bars.
|
|
6
|
+
*/
|
|
7
|
+
export interface SeriesErrorBars {
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Specifies the color of the error bars. Accepts a valid CSS color string, including HEX and RGB.
|
|
11
|
+
*/
|
|
12
|
+
color?: string;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* If set to `false`, the caps of the error bars are not displayed. By default, the caps are visible.
|
|
16
|
+
*/
|
|
17
|
+
endCaps?: boolean;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Specifies the error bars line options.
|
|
21
|
+
*/
|
|
22
|
+
line?: ErrorBarLine;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Specifies the error bars value.
|
|
26
|
+
* Supports the value option when `series.type` is set to `"bar"`, `"column"`, `"line"`, or `"area"`.
|
|
27
|
+
*
|
|
28
|
+
* Supports the following value types:
|
|
29
|
+
*
|
|
30
|
+
* - `"stderr"`—The standard error of the series values will be used to calculate the point low and
|
|
31
|
+
* high values.
|
|
32
|
+
* - `"stddev(n)"`—The standard deviation of the series values will be used to calculate the point low
|
|
33
|
+
* and high values. Between the parentheses, a number can be specified that will be multiplied by the
|
|
34
|
+
* calculated standard deviation.
|
|
35
|
+
* - `"percentage(n)"`—A percentage of the point value.
|
|
36
|
+
* - A number that will be subtracted or added to the point value.
|
|
37
|
+
* - An array that holds the low and high difference from the point value.
|
|
38
|
+
* - A function that returns the `errorBars` point value.
|
|
39
|
+
*/
|
|
40
|
+
value?: string | number | [number, number] | ((e: ErrorBarsValueArgs) => [number, number]);
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Specifies a function for creating custom visuals for the error bars.
|
|
44
|
+
*/
|
|
45
|
+
visual?: (e: ErrorBarsVisualArgs) => drawing.Element;
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Specifies the value of the `xAxis` error bars. For a list of the supported value
|
|
49
|
+
* types, refer to the `series.errorBars.value` option.
|
|
50
|
+
* Supports the `xValue` option when `series.type` is set to `"scatter"`, `"scatterLine"`, or `"bubble"`.
|
|
51
|
+
*/
|
|
52
|
+
xValue?: string;
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Specifies the value of the `yAxis` error bars. For a list of supported value types, refer
|
|
56
|
+
* to the `series.errorBars.value` option.
|
|
57
|
+
* Supports the `yValue` option when `series.type` is set to `"scatter"`, `"scatterLine"`, or `"bubble"`.
|
|
58
|
+
*/
|
|
59
|
+
yValue?: string;
|
|
60
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Border, MarkerType } from '../../property-types';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Represents the configuration options of the series extremes.
|
|
5
|
+
*/
|
|
6
|
+
export interface SeriesExtremes {
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Sets the background color of the series extremes.
|
|
10
|
+
*/
|
|
11
|
+
background?: string;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Configures the border of the extremes.
|
|
15
|
+
*/
|
|
16
|
+
border?: Border;
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Sets the rotation angle of the extremes.
|
|
20
|
+
*/
|
|
21
|
+
rotation?: number;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Sets the extremes size in pixels.
|
|
25
|
+
*/
|
|
26
|
+
size?: number;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Sets the shape of the series extremes.
|
|
30
|
+
*/
|
|
31
|
+
type?: MarkerType;
|
|
32
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { drawing } from '@progress/kendo-drawing';
|
|
2
|
+
import { Border, HighlightLine, HighlightVisualArgs, HighlightToggleArgs } from '../../property-types';
|
|
3
|
+
import { MarkersHighlight } from './markers-highlight.interface';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Represents the configuration options of the series highlight.
|
|
7
|
+
*/
|
|
8
|
+
export interface SeriesHighlight {
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Specifies the border of the highlighted Chart series.
|
|
12
|
+
* Computes the color automatically from the base point color.
|
|
13
|
+
* This option is supported when `series.type` is set to
|
|
14
|
+
* `"donut"`, `"bubble"`, `"pie"`, `"candlestick"`, or `"ohlc"`.
|
|
15
|
+
*/
|
|
16
|
+
border?: Border;
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Specifies the highlight color. Accepts a valid CSS color string, including HEX and RGB.
|
|
20
|
+
* This option is supported when `series.type` is set to `"donut"` or `"pie"`.
|
|
21
|
+
*/
|
|
22
|
+
color?: string;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Specifies the line of the highlighted Chart series.
|
|
26
|
+
* Computes the color automatically from the base point color.
|
|
27
|
+
* This option is supported when `series.type` is set to `"candlestick"` or `"ohlc"`.
|
|
28
|
+
*/
|
|
29
|
+
line?: HighlightLine;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Specifies the opacity of the highlighted points.
|
|
33
|
+
* This option is supported when `series.type` is set to `"bubble"`, `"pie"`, or `"donut"`.
|
|
34
|
+
*/
|
|
35
|
+
opacity?: number;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Specifies the opacity of the series when another series is highlighted.
|
|
39
|
+
*/
|
|
40
|
+
inactiveOpacity?: number;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Specifies the appearance of the highlighted point markers.
|
|
44
|
+
* This option is supported when `series.type` is set to `"line"`, `"area"`, `"scatter"`, `"scatterLine"`, or `"rangeArea"`.
|
|
45
|
+
*/
|
|
46
|
+
markers?: MarkersHighlight;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Specifies a function for handling the toggling of the points highlight.
|
|
50
|
+
*/
|
|
51
|
+
toggle?: (e: HighlightToggleArgs) => void;
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Determines whether the Chart highlights the series when the user hovers over it with the mouse.
|
|
55
|
+
* When set to `true`, the Chart highlights the series when the user hovers over it with the mouse.
|
|
56
|
+
* By default, the highlighting of the Chart series is enabled.
|
|
57
|
+
*/
|
|
58
|
+
visible?: boolean;
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Specifies a function for setting custom visuals for the point highlights.
|
|
62
|
+
*/
|
|
63
|
+
visual?: (e: HighlightVisualArgs) => drawing.Element;
|
|
64
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { Border, Margin, Padding, SeriesLabelsContentArgs } from '../../property-types';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Represents the series `from` labels options.
|
|
5
|
+
*/
|
|
6
|
+
export interface SeriesLabelsFrom {
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Sets the background color of the `from` labels.
|
|
10
|
+
* Accepts a valid CSS color string, including HEX and RGB.
|
|
11
|
+
*/
|
|
12
|
+
background?: string;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Configures the border of the `from` labels.
|
|
16
|
+
*/
|
|
17
|
+
border?: Border;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Sets the text color of the `from` labels.
|
|
21
|
+
* Accepts a valid CSS color string, including HEX and RGB.
|
|
22
|
+
*/
|
|
23
|
+
color?: string;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Sets the function which returns the Chart series `from` label content.
|
|
27
|
+
* You can split the text into multiple lines by using line feed characters (`"\n"`).
|
|
28
|
+
*/
|
|
29
|
+
content?: (e: SeriesLabelsContentArgs) => string;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Sets the font style of the `from` labels.
|
|
33
|
+
*/
|
|
34
|
+
font?: string;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Sets the format of the `from` labels.
|
|
38
|
+
* Uses the [`format` method from `@progress/kendo-intl`](https://github.com/telerik/kendo-intl?tab=readme-ov-file#general-formatting).
|
|
39
|
+
*/
|
|
40
|
+
format?: string;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Sets the margin of the `from` labels.
|
|
44
|
+
* A numeric value sets all margins.
|
|
45
|
+
*/
|
|
46
|
+
margin?: Margin | number;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Sets the padding of the `from` labels.
|
|
50
|
+
* A numeric value sets all paddings.
|
|
51
|
+
*/
|
|
52
|
+
padding?: Padding | number;
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Sets the position of the `from` labels.
|
|
56
|
+
*
|
|
57
|
+
* - `"center"`—The label is positioned at the point center.
|
|
58
|
+
* - `"insideBase"`—The label is positioned inside, near the base of the bar.
|
|
59
|
+
* - `"insideEnd"`—The label is positioned inside, near the end of the point.
|
|
60
|
+
* - `"outsideEnd"`—The label is positioned outside, near the end of the point.
|
|
61
|
+
* - `"above"`—the label is positioned at the top of the marker. Applicable for `"rangeArea"` and `"verticalRangeArea"` series.
|
|
62
|
+
* - `"below"`—the label is positioned at the bottom of the marker. Applicable for `"rangeArea"` and `"verticalRangeArea"` series.
|
|
63
|
+
* - `"left"`—the label is positioned to the left of the marker. Applicable for `"rangeArea"` and `"verticalRangeArea"` series.
|
|
64
|
+
* - `"right"`—the label is positioned to the right of the marker. Applicable for `"rangeArea"` and `"verticalRangeArea"` series.
|
|
65
|
+
*/
|
|
66
|
+
position?: 'center' | 'insideBase' | 'insideEnd' | 'outsideEnd';
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Determines if the Chart displays the series `from` labels.
|
|
70
|
+
* By default, the Chart series `from` labels are not displayed.
|
|
71
|
+
*/
|
|
72
|
+
visible?: boolean;
|
|
73
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { drawing } from '@progress/kendo-drawing';
|
|
2
|
+
import { SeriesLabelsAlignment, SeriesLabelsContentArgs } from '../../property-types';
|
|
3
|
+
import { Border, Margin, Padding, SeriesLabelsVisualArgs } from '../../property-types';
|
|
4
|
+
import { SeriesLabelsPosition } from '../../property-types';
|
|
5
|
+
import { SeriesLabelsFrom } from './labels.from.interface';
|
|
6
|
+
import { SeriesLabelsTo } from './labels.to.interface';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Represents the configuration options of the series labels.
|
|
10
|
+
*/
|
|
11
|
+
export interface SeriesLabels {
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Specifies the alignment of the label when `series.type` is set to `"donut"`, `"funnel"`, `"pyramid"` or `"pie"`.
|
|
15
|
+
*/
|
|
16
|
+
align?: SeriesLabelsAlignment;
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Specifies the background color of the labels. Accepts a valid CSS color string, including HEX and RGB.
|
|
20
|
+
*/
|
|
21
|
+
background?: string;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Specifies the border of the labels.
|
|
25
|
+
*/
|
|
26
|
+
border?: Border;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Specifies the text color of the labels. Accepts a valid CSS color string, including HEX and RGB.
|
|
30
|
+
*/
|
|
31
|
+
color?: string;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Specifies a function which returns the Chart series label content.
|
|
35
|
+
* You can split the text into multiple lines by using line feed characters (`"\n"`).
|
|
36
|
+
*/
|
|
37
|
+
content?: (e: SeriesLabelsContentArgs) => string;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Specifies a function which returns the content for the ARIA label for the series labels.
|
|
41
|
+
*/
|
|
42
|
+
ariaContent?: (e: SeriesLabelsContentArgs) => string;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Specifies the distance between the labels when `series.type` is set to `"donut"` or `"pie"`.
|
|
46
|
+
*/
|
|
47
|
+
distance?: number;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Specifies the font style of the labels.
|
|
51
|
+
*/
|
|
52
|
+
font?: string;
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Specifies the format of the labels. Uses the [`format` method from `@progress/kendo-intl`](https://github.com/telerik/kendo-intl?tab=readme-ov-file#general-formatting).
|
|
56
|
+
*/
|
|
57
|
+
format?: string;
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Specifies the margin of the labels. A numeric value sets all margins.
|
|
61
|
+
*/
|
|
62
|
+
margin?: Margin | number;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Specifies the padding of the labels. A numeric value sets all paddings.
|
|
66
|
+
* Bar and Column series always apply full padding and ignore this setting.
|
|
67
|
+
*/
|
|
68
|
+
padding?: Padding | number;
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Specifies the position of the labels.
|
|
72
|
+
*/
|
|
73
|
+
position?: SeriesLabelsPosition;
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Specifies the rotation angle of the labels. By default, the labels are not rotated.
|
|
77
|
+
*/
|
|
78
|
+
rotation?: number;
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* If set to `true`, the Chart displays the series labels.
|
|
82
|
+
* By default, the Chart series labels are not displayed.
|
|
83
|
+
*/
|
|
84
|
+
visible?: boolean;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Specifies a function that can be used to create a custom visual for the labels.
|
|
88
|
+
*/
|
|
89
|
+
visual?: (e: SeriesLabelsVisualArgs) => drawing.Element;
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Specifies the `from` label configuration of the Chart series.
|
|
93
|
+
* Displays the series from labels when either the `series.labels.visible` or
|
|
94
|
+
* the `series.labels.from.visible` option is set to `true`.
|
|
95
|
+
*/
|
|
96
|
+
from?: SeriesLabelsFrom;
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* Specifies the `to` label configuration of the Chart series.
|
|
100
|
+
* Displays the series to labels when either the `series.labels.visible` or
|
|
101
|
+
* the `series.labels.to.visible` option is set to `true`.
|
|
102
|
+
*/
|
|
103
|
+
to?: SeriesLabelsTo;
|
|
104
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { Border, Margin, Padding, SeriesLabelsContentArgs } from '../../property-types';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Represents the series `to` labels options.
|
|
5
|
+
*/
|
|
6
|
+
export interface SeriesLabelsTo {
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Sets the background color of the `to` labels.
|
|
10
|
+
* Accepts a valid CSS color string, including HEX and RGB.
|
|
11
|
+
*/
|
|
12
|
+
background?: string;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Configures the border of the `to` labels.
|
|
16
|
+
*/
|
|
17
|
+
border?: Border;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Sets the text color of the `to` labels.
|
|
21
|
+
* Accepts a valid CSS color string, including HEX and RGB.
|
|
22
|
+
*/
|
|
23
|
+
color?: string;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Sets the function which returns the Chart series `to` label content.
|
|
27
|
+
* You can split the text into multiple lines by using line feed characters (`"\n"`).
|
|
28
|
+
*/
|
|
29
|
+
content?: (e: SeriesLabelsContentArgs) => string;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Sets the font style of the `to` labels.
|
|
33
|
+
*/
|
|
34
|
+
font?: string;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Sets the format of the `to` labels. Uses the [`format` method from `@progress/kendo-intl`](https://github.com/telerik/kendo-intl?tab=readme-ov-file#general-formatting).
|
|
38
|
+
*/
|
|
39
|
+
format?: string;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Sets the margin of the `to` labels.
|
|
43
|
+
* A numeric value sets all margins.
|
|
44
|
+
*/
|
|
45
|
+
margin?: Margin | number;
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Sets the padding of the `to` labels.
|
|
49
|
+
* A numeric value sets all paddings.
|
|
50
|
+
*/
|
|
51
|
+
padding?: Padding | number;
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Sets the position of the `to` labels.
|
|
55
|
+
*
|
|
56
|
+
* The available options are:
|
|
57
|
+
*
|
|
58
|
+
* - `"center"`—The label is positioned at the point center.
|
|
59
|
+
* - `"insideBase"`—The label is positioned inside, near the base of the bar.
|
|
60
|
+
* - `"insideEnd"`—The label is positioned inside, near the end of the point.
|
|
61
|
+
* - `"outsideEnd"`—The label is positioned outside, near the end of the point.
|
|
62
|
+
* - `"above"`—The label is positioned at the top of the marker. Applicable for the `"rangeArea"` and `"verticalRangeArea"` series.
|
|
63
|
+
* - `"below"`—The label is positioned at the bottom of the marker. Applicable for the `"rangeArea"` and `"verticalRangeArea"` series.
|
|
64
|
+
* - `"left"`—The label is positioned to the left of the marker. Applicable for the `"rangeArea"` and `"verticalRangeArea"` series.
|
|
65
|
+
* - `"right"`—The label is positioned to the right of the marker. Applicable for the `"rangeArea"` and `"verticalRangeArea"` series.
|
|
66
|
+
*/
|
|
67
|
+
position?: 'center' | 'insideBase' | 'insideEnd' | 'outsideEnd';
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Determines if the Chart displays the series `to` labels.
|
|
71
|
+
* By default, the Chart series `to` labels are not displayed.
|
|
72
|
+
*/
|
|
73
|
+
visible?: boolean;
|
|
74
|
+
}
|