@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,107 @@
|
|
|
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 `yAxis.labels` options.
|
|
15
|
+
*/
|
|
16
|
+
export interface YAxisLabels {
|
|
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 the 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) method of IntlService.
|
|
45
|
+
* Contains one placeholder (`"{0}"`) which represents the category value.
|
|
46
|
+
* Charts select the appropriate format for the current `yAxis.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
|
+
* If set to `true`, the Chart mirrors the axis labels and ticks. If the labels are normally on the
|
|
69
|
+
* left side of the axis, the mirroring of the axis renders them to the right.
|
|
70
|
+
*/
|
|
71
|
+
mirror?: boolean;
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Specifies the padding of the labels. A numeric value sets all paddings.
|
|
75
|
+
*/
|
|
76
|
+
padding?: Padding | number;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Specifies the position of the axis labels. By default, labels are positioned next to the axis.
|
|
80
|
+
*/
|
|
81
|
+
position?: AxisLabelsPosition;
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Specifies the rotation angle of the labels. By default, the labels are not rotated.
|
|
85
|
+
*/
|
|
86
|
+
rotation?: LabelRotation | number | 'auto';
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Specifies the number of labels to skip.
|
|
90
|
+
*/
|
|
91
|
+
skip?: number;
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Specifies the label rendering step—renders every `n`<sup>th</sup> label. By default, every label is rendered.
|
|
95
|
+
*/
|
|
96
|
+
step?: number;
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* If set to `true`, the Chart displays the Y-axis labels. By default, the Y-axis labels are visible.
|
|
100
|
+
*/
|
|
101
|
+
visible?: boolean;
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* Specifies a function that can be used to create a custom visual for the labels.
|
|
105
|
+
*/
|
|
106
|
+
visual?: (e: AxisLabelVisualArgs) => drawing.Element;
|
|
107
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Border, MarkerType } from '../../property-types';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Represents the Y-axis notes icon options.
|
|
5
|
+
*/
|
|
6
|
+
export interface YAxisNotesIcon {
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Sets the background color of the notes icon.
|
|
10
|
+
*/
|
|
11
|
+
background?: string;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Configures the border of the notes icon.
|
|
15
|
+
*/
|
|
16
|
+
border?: Border;
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Sets the size of the notes icon.
|
|
20
|
+
*/
|
|
21
|
+
size?: number;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Sets the shape of the notes icon.
|
|
25
|
+
*/
|
|
26
|
+
type?: MarkerType;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Sets 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 { YAxisNotesIcon } from './notes.icon.interface';
|
|
4
|
+
import { YAxisNotesLabel } from './notes.label.interface';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Represents the configuration options of the Y-axis notes.
|
|
8
|
+
*/
|
|
9
|
+
export interface YAxisNotes {
|
|
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 Y-axis notes.
|
|
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?: YAxisNotesIcon;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Specifies the label of the notes.
|
|
38
|
+
*/
|
|
39
|
+
label?: YAxisNotesLabel;
|
|
40
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { AxisNoteContentArgs, Border, NoteLabelPosition } from '../../property-types';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Represents the Y-axis notes label options.
|
|
5
|
+
*/
|
|
6
|
+
export interface YAxisNotesLabel {
|
|
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
|
+
* 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 Y-axis notes label.
|
|
55
|
+
* By default, the Y-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 Y-axis title.
|
|
6
|
+
*/
|
|
7
|
+
export interface YAxisTitle {
|
|
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 Scatter Chart Y-axis title.
|
|
57
|
+
* By default, the Scatter Chart Y-axis title is visible.
|
|
58
|
+
*/
|
|
59
|
+
visible?: boolean;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Specifies a function for creating custom visuals for the title.
|
|
63
|
+
*/
|
|
64
|
+
visual?: (e: TitleVisualArgs) => drawing.Element;
|
|
65
|
+
}
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import { AxisLine, AxisTicks, BaseUnit, GridLines, PlotBand } from '../property-types';
|
|
2
|
+
import { YAxisCrosshair } from './y-axis-item/crosshair.interface';
|
|
3
|
+
import { YAxisLabels } from './y-axis-item/labels.interface';
|
|
4
|
+
import { YAxisNotes } from './y-axis-item/notes.interface';
|
|
5
|
+
import { YAxisTitle } from './y-axis-item/title.interface';
|
|
6
|
+
/**
|
|
7
|
+
* Represents the Y-axis options.
|
|
8
|
+
*/
|
|
9
|
+
export interface YAxis {
|
|
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.
|
|
46
|
+
* These are the lines that are an extension of the major ticks through the body of the Chart.
|
|
47
|
+
*/
|
|
48
|
+
majorGridLines?: GridLines;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* The configuration of the Scatter Chart Y-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 [`yAxis.baseUnits`]({% slug api_charts_yaxis %}#baseunit) between major divisions.
|
|
58
|
+
* If the [`yAxis.type`]({% slug api_charts_yaxis %}#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.
|
|
74
|
+
* These are the lines that are an extension of the minor ticks through the body of the Chart.
|
|
75
|
+
*/
|
|
76
|
+
minorGridLines?: GridLines;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* The configuration of the Y-axis minor ticks.
|
|
80
|
+
*/
|
|
81
|
+
minorTicks?: AxisTicks;
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* The interval between minor divisions. It defaults to one-fifth (1/5) of [`yAxis.majorUnit`]({% slug api_charts_yaxis %}#majorunit).
|
|
85
|
+
* If [`yAxis.type`]({% slug api_charts_yaxis %}#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 Y axis by using the [`series.yAxis`]({% slug api_charts_series %}#yaxis) 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 Y axis.
|
|
109
|
+
*/
|
|
110
|
+
plotBands?: PlotBand[];
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* If set to `true`, the value axis direction is reversed.
|
|
114
|
+
* By default, the values increase from left to right and from bottom to top.
|
|
115
|
+
*/
|
|
116
|
+
reverse?: boolean;
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* The axis type.
|
|
120
|
+
*
|
|
121
|
+
* The options are `numeric` for a numeric axis, `date` for a specialized axis for displaying chronological data, and `log` for a logarithmic axis.
|
|
122
|
+
*
|
|
123
|
+
* If the series Y value is of the `date` type, the Chart automatically switches to a date axis.
|
|
124
|
+
* To avoid this behavior, set the `type`.
|
|
125
|
+
*/
|
|
126
|
+
type?: 'numeric' | 'log' | 'date';
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* If set to `true`, the Chart displays the Y axis. By default, the Y axis is visible.
|
|
130
|
+
*/
|
|
131
|
+
visible?: boolean;
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* The configuration options of the crosshair.
|
|
135
|
+
* The crosshair is displayed when the [`yAxis.crosshair.visible`]({% slug api_charts_yaxiscrosshair %}#visible) option is set to `true`.
|
|
136
|
+
*/
|
|
137
|
+
crosshair?: YAxisCrosshair;
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* The axis labels configuration.
|
|
141
|
+
*/
|
|
142
|
+
labels?: YAxisLabels;
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* The Y-axis notes configuration.
|
|
146
|
+
*/
|
|
147
|
+
notes?: YAxisNotes;
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* The title configuration of the Scatter Chart Y axis.
|
|
151
|
+
* To display the title, set the [`yAxis.title.text`]({% slug api_charts_yaxistitle %}#text) option.
|
|
152
|
+
*/
|
|
153
|
+
title?: YAxisTitle;
|
|
154
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { DragAction, MousewheelZoom } from '../property-types';
|
|
2
|
+
/**
|
|
3
|
+
* Specifies the zoomable options.
|
|
4
|
+
*/
|
|
5
|
+
export interface Zoomable {
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Determines whether the Chart can be zoomed by using the mousewheel.
|
|
9
|
+
*/
|
|
10
|
+
mousewheel?: boolean | MousewheelZoom;
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Determines whether the Chart can be zoomed by using selection.
|
|
14
|
+
*/
|
|
15
|
+
selection?: boolean | DragAction;
|
|
16
|
+
}
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
// Re-export component field types
|
|
2
|
+
export { AutoBaseUnitSteps } from './field-types/auto-base-unit-steps.interface';
|
|
3
|
+
export { AxisLabelsPosition } from './field-types/axis-labels-position';
|
|
4
|
+
export { AxisLine } from './field-types/axis-line.interface';
|
|
5
|
+
export { AxisTicks } from './field-types/axis-ticks.interface';
|
|
6
|
+
export { AxisTitlePosition } from './field-types/axis-title-position';
|
|
7
|
+
export { BaseUnit } from './field-types/base-unit';
|
|
8
|
+
export { Border } from './field-types/border.interface';
|
|
9
|
+
export { BulletTarget } from './field-types/bullet-target.interface';
|
|
10
|
+
export { BulletTargetLine } from './field-types/bullet-target-line.interface';
|
|
11
|
+
export { CategoryBaseUnit } from './field-types/category-base-unit';
|
|
12
|
+
export { DashType } from './field-types/dash-type';
|
|
13
|
+
export { DateFormats } from './field-types/date-formats.interface';
|
|
14
|
+
export { DragAction } from './field-types/drag-action.interface';
|
|
15
|
+
export { ErrorBarLine } from './field-types/error-bar-line.interface';
|
|
16
|
+
export { FocusHighlight } from './field-types/focus-highlight.interface';
|
|
17
|
+
export { GridLines } from './field-types/grid-lines.interface';
|
|
18
|
+
export { HighlightLine } from './field-types/highlight-line.interface';
|
|
19
|
+
export { LabelConnectors } from './field-types/label-connectors.interface';
|
|
20
|
+
export { LabelRotation } from './field-types/label-rotation.interface';
|
|
21
|
+
export { LegendLabels } from './field-types/legend-labels.interface';
|
|
22
|
+
export { LineStyle } from './field-types/line-style';
|
|
23
|
+
export { LockAxis } from './field-types/lock-axis';
|
|
24
|
+
export { Margin } from './field-types/margin.interface';
|
|
25
|
+
export { MarkerType } from './field-types/marker-type';
|
|
26
|
+
export { ModifierKey } from './field-types/modifier-key';
|
|
27
|
+
export { MousewheelZoom } from './field-types/mousewheel-zoom.interface';
|
|
28
|
+
export { MousewheelSelect } from './field-types/mousewheel-select.interface';
|
|
29
|
+
export { NegativeBubbleValues } from './field-types/negative-bubble-values.interface';
|
|
30
|
+
export { NoteLabelPosition } from './field-types/note-label-position';
|
|
31
|
+
export { NoteLine } from './field-types/note-line.interface';
|
|
32
|
+
export { NotePosition } from './field-types/note-position';
|
|
33
|
+
export { Overlay } from './field-types/overlay.interface';
|
|
34
|
+
export { Padding } from './field-types/padding.interface';
|
|
35
|
+
export { PlotBand } from './field-types/plot-band.interface';
|
|
36
|
+
export { PlotBandLabel } from './field-types/plot-band-label.interface';
|
|
37
|
+
export { SeriesLabelsPosition } from './field-types/series-labels-position';
|
|
38
|
+
export { SeriesLabelsAlignment } from './field-types/series-labels-alignment';
|
|
39
|
+
export { SeriesLine } from './field-types/series-line.interface';
|
|
40
|
+
export { SeriesMean } from './field-types/series-mean.interface';
|
|
41
|
+
export { SeriesMedian } from './field-types/series-median.interface';
|
|
42
|
+
export { SeriesWhiskers } from './field-types/series-whiskers.interface';
|
|
43
|
+
export { SeriesStack } from './field-types/series-stack.interface';
|
|
44
|
+
export { SeriesType } from './field-types/series-type';
|
|
45
|
+
export { TrendlineForecast } from './field-types/trendline-forecast.interface';
|
|
46
|
+
export { WeekStartDay } from './field-types/week-start-day.enum';
|
|
47
|
+
|
|
48
|
+
// Re-export component callback argument types
|
|
49
|
+
export { AxisLabelContentArgs } from './argument-types/axis-label-content-args.interface';
|
|
50
|
+
export { AxisLabelVisualArgs } from './argument-types/axis-label-visual-args.interface';
|
|
51
|
+
export { AxisNoteVisualArgs } from './argument-types/axis-note-visual-args.interface';
|
|
52
|
+
export { AxisNoteContentArgs } from './argument-types/axis-note-content-args.interface';
|
|
53
|
+
export { ErrorBarsVisualArgs } from './argument-types/error-bars-visual-args.interface';
|
|
54
|
+
export { ErrorBarsValueArgs } from './argument-types/error-bars-value-args.interface';
|
|
55
|
+
export { HighlightToggleArgs } from './argument-types/highlight-toggle-args.interface';
|
|
56
|
+
export { HighlightVisualArgs } from './argument-types/highlight-visual-args.interface';
|
|
57
|
+
export { LegendItemVisualArgs } from './argument-types/legend-item-visual-args.interface';
|
|
58
|
+
export { LegendLabelsContentArgs } from './argument-types/legend-labels-content-args.interface';
|
|
59
|
+
export { MarkersVisualArgs } from './argument-types/markers-visual-args.interface';
|
|
60
|
+
export { SeriesLabelsVisualArgs } from './argument-types/series-labels-visual-args.interface';
|
|
61
|
+
export { SeriesLabelsContentArgs } from './argument-types/series-labels-content-args.interface';
|
|
62
|
+
export { SeriesNoteVisualArgs } from './argument-types/series-note-visual-args.interface';
|
|
63
|
+
export { SeriesNoteContentArgs } from './argument-types/series-note-content-args.interface';
|
|
64
|
+
export { SeriesVisualArgs } from './argument-types/series-visual-args.interface';
|
|
65
|
+
export { TitleVisualArgs } from './argument-types/title-visual-args.interface';
|
|
66
|
+
export { PlotBandLabelVisualArgs } from './argument-types/plot-band-label-visual-args.interface';
|
|
67
|
+
|
|
68
|
+
// Re-export component option types
|
|
69
|
+
|
|
70
|
+
export { AxisDefaults } from './option-types/axis-defaults.interface';
|
|
71
|
+
export { AxisDefaultsCrosshair } from './option-types/axis-defaults/crosshair.interface';
|
|
72
|
+
export { AxisDefaultsCrosshairTooltip } from './option-types/axis-defaults/crosshair.tooltip.interface';
|
|
73
|
+
export { AxisDefaultsLabels } from './option-types/axis-defaults/labels.interface';
|
|
74
|
+
export { AxisDefaultsTitle } from './option-types/axis-defaults/title.interface';
|
|
75
|
+
export { CategoryAxis } from './option-types/category-axis-item.interface';
|
|
76
|
+
export { CategoryAxisCrosshair } from './option-types/category-axis-item/crosshair.interface';
|
|
77
|
+
export { CategoryAxisCrosshairTooltip } from './option-types/category-axis-item/crosshair.tooltip.interface';
|
|
78
|
+
export { CategoryAxisLabels } from './option-types/category-axis-item/labels.interface';
|
|
79
|
+
export { CategoryAxisNotes } from './option-types/category-axis-item/notes.interface';
|
|
80
|
+
export { CategoryAxisNotesIcon } from './option-types/category-axis-item/notes.icon.interface';
|
|
81
|
+
export { CategoryAxisNotesLabel } from './option-types/category-axis-item/notes.label.interface';
|
|
82
|
+
export { CategoryAxisRangeLabels } from './option-types/category-axis-item/range-labels.interface';
|
|
83
|
+
export { CategoryAxisSelect } from './option-types/category-axis-item/select.interface';
|
|
84
|
+
export { CategoryAxisTitle } from './option-types/category-axis-item/title.interface';
|
|
85
|
+
export { ChartArea } from './option-types/chart-area.interface';
|
|
86
|
+
export { Legend } from './option-types/legend.interface';
|
|
87
|
+
export { LegendInactiveItems } from './option-types/legend/inactive-items.interface';
|
|
88
|
+
export { LegendItem, LegendItemArea, LegendItemLine, LegendItemHighlight, LegendItemMarkers, LegendItemMarkersBorder, LegendItemType } from './option-types/legend/item.interface';
|
|
89
|
+
export { LegendMarkers } from './option-types/legend/markers.interface';
|
|
90
|
+
export { LegendTitle } from './option-types/legend/legend-title.interface';
|
|
91
|
+
export { MarkersHighlight } from './option-types/series-item/markers-highlight.interface';
|
|
92
|
+
export { NavigatorOptions } from './option-types/navigator.interface';
|
|
93
|
+
export { NavigatorHintOptions } from './option-types/navigator/hint.interface';
|
|
94
|
+
export { NavigatorHintContentArgs } from './option-types/navigator/hint-content-args.interface';
|
|
95
|
+
export { NavigatorSelect } from './option-types/navigator/select.interface';
|
|
96
|
+
export { Pane } from './option-types/pane.interface';
|
|
97
|
+
export { PaneDefaults } from './option-types/pane-defaults.interface';
|
|
98
|
+
export { PaneDefaultsTitle } from './option-types/pane-defaults/title.interface';
|
|
99
|
+
export { PanesTitle } from './option-types/pane/title.interface';
|
|
100
|
+
export { PlotArea } from './option-types/plot-area.interface';
|
|
101
|
+
export { Series } from './option-types/series-item.interface';
|
|
102
|
+
export { SeriesDefaults } from './option-types/series-defaults.interface';
|
|
103
|
+
export { SeriesDefaultsLabels } from './option-types/series-defaults/labels.interface';
|
|
104
|
+
export { SeriesDefaultsLabelsFrom } from './option-types/series-defaults/labels.from.interface';
|
|
105
|
+
export { SeriesDefaultsLabelsTo } from './option-types/series-defaults/labels.to.interface';
|
|
106
|
+
export { SeriesDefaultsNotes } from './option-types/series-defaults/notes.interface';
|
|
107
|
+
export { SeriesDefaultsNotesIcon } from './option-types/series-defaults/notes.icon.interface';
|
|
108
|
+
export { SeriesDefaultsNotesLabel } from './option-types/series-defaults/notes.label.interface';
|
|
109
|
+
export { SeriesDefaultsTooltip } from './option-types/series-defaults/tooltip.interface';
|
|
110
|
+
export { SeriesErrorBars } from './option-types/series-item/error-bars.interface';
|
|
111
|
+
export { SeriesExtremes } from './option-types/series-item/extremes.interface';
|
|
112
|
+
export { SeriesHighlight } from './option-types/series-item/highlight.interface';
|
|
113
|
+
export { SeriesLabels } from './option-types/series-item/labels.interface';
|
|
114
|
+
export { SeriesLabelsFrom } from './option-types/series-item/labels.from.interface';
|
|
115
|
+
export { SeriesLabelsTo } from './option-types/series-item/labels.to.interface';
|
|
116
|
+
export { SeriesMarkers } from './option-types/series-item/markers.interface';
|
|
117
|
+
export { SeriesNotes } from './option-types/series-item/notes.interface';
|
|
118
|
+
export { SeriesNotesIcon } from './option-types/series-item/notes.icon.interface';
|
|
119
|
+
export { SeriesNotesLabel } from './option-types/series-item/notes.label.interface';
|
|
120
|
+
export { SeriesOutliers } from './option-types/series-item/outliers.interface';
|
|
121
|
+
export { SeriesTooltip } from './option-types/series-item/tooltip.interface';
|
|
122
|
+
export { SeriesTrendline } from './option-types/series-item/trendline.interface';
|
|
123
|
+
export { Subtitle } from './option-types/subtitle.interface';
|
|
124
|
+
export { Title } from './option-types/title.interface';
|
|
125
|
+
export { Tooltip } from './option-types/tooltip.interface';
|
|
126
|
+
export { TooltipBorder } from './option-types/tooltip-border.interface';
|
|
127
|
+
export { ValueAxis } from './option-types/value-axis-item.interface';
|
|
128
|
+
export { ValueAxisCrosshair } from './option-types/value-axis-item/crosshair.interface';
|
|
129
|
+
export { ValueAxisCrosshairTooltip } from './option-types/value-axis-item/crosshair.tooltip.interface';
|
|
130
|
+
export { ValueAxisLabels } from './option-types/value-axis-item/labels.interface';
|
|
131
|
+
export { ValueAxisNotes } from './option-types/value-axis-item/notes.interface';
|
|
132
|
+
export { ValueAxisNotesIcon } from './option-types/value-axis-item/notes.icon.interface';
|
|
133
|
+
export { ValueAxisNotesLabel } from './option-types/value-axis-item/notes.label.interface';
|
|
134
|
+
export { ValueAxisTitle } from './option-types/value-axis-item/title.interface';
|
|
135
|
+
export { XAxis } from './option-types/x-axis-item.interface';
|
|
136
|
+
export { XAxisCrosshair } from './option-types/x-axis-item/crosshair.interface';
|
|
137
|
+
export { XAxisCrosshairTooltip } from './option-types/x-axis-item/crosshair.tooltip.interface';
|
|
138
|
+
export { XAxisLabels } from './option-types/x-axis-item/labels.interface';
|
|
139
|
+
export { XAxisNotes } from './option-types/x-axis-item/notes.interface';
|
|
140
|
+
export { XAxisNotesIcon } from './option-types/x-axis-item/notes.icon.interface';
|
|
141
|
+
export { XAxisNotesLabel } from './option-types/x-axis-item/notes.label.interface';
|
|
142
|
+
export { XAxisTitle } from './option-types/x-axis-item/title.interface';
|
|
143
|
+
export { YAxis } from './option-types/y-axis-item.interface';
|
|
144
|
+
export { YAxisCrosshair } from './option-types/y-axis-item/crosshair.interface';
|
|
145
|
+
export { YAxisCrosshairTooltip } from './option-types/y-axis-item/crosshair.tooltip.interface';
|
|
146
|
+
export { YAxisLabels } from './option-types/y-axis-item/labels.interface';
|
|
147
|
+
export { YAxisNotes } from './option-types/y-axis-item/notes.interface';
|
|
148
|
+
export { YAxisNotesIcon } from './option-types/y-axis-item/notes.icon.interface';
|
|
149
|
+
export { YAxisNotesLabel } from './option-types/y-axis-item/notes.label.interface';
|
|
150
|
+
export { YAxisTitle } from './option-types/y-axis-item/title.interface';
|
|
151
|
+
export { Zoomable } from './option-types/zoomable.interface';
|
package/dist/npm/sankey.d.ts
CHANGED
|
@@ -321,7 +321,7 @@ export interface SankeyTitle {
|
|
|
321
321
|
/**
|
|
322
322
|
* @hidden
|
|
323
323
|
*/
|
|
324
|
-
interface
|
|
324
|
+
interface SankeyLegendTitle extends Omit<SankeyTitle, 'description'> { }
|
|
325
325
|
|
|
326
326
|
/**
|
|
327
327
|
* Represents the legend item options of the Sankey component.
|
|
@@ -447,7 +447,7 @@ export interface SankeyLegend {
|
|
|
447
447
|
/**
|
|
448
448
|
* The title options of the legend.
|
|
449
449
|
*/
|
|
450
|
-
title?:
|
|
450
|
+
title?: SankeyLegendTitle;
|
|
451
451
|
/**
|
|
452
452
|
* The visibility of the legend.
|
|
453
453
|
*/
|
|
@@ -652,6 +652,8 @@ export interface SankeyEvent {
|
|
|
652
652
|
preventDefault(): void;
|
|
653
653
|
/**
|
|
654
654
|
* Indicates whether the default action has been prevented.
|
|
655
|
+
*
|
|
656
|
+
* @return {boolean} `true` if the default action has been prevented; otherwise, `false`.
|
|
655
657
|
*/
|
|
656
658
|
isDefaultPrevented(): boolean;
|
|
657
659
|
}
|
|
@@ -715,7 +717,7 @@ export interface SankeyTooltipEvent extends SankeyEvent {
|
|
|
715
717
|
* @param data - The data objects.
|
|
716
718
|
* @param dimensions - The dimensions of the data.
|
|
717
719
|
* @param measure - The measure of the data.
|
|
718
|
-
* @returns The Sankey data.
|
|
720
|
+
* @returns { links: SankeyLink[]; nodes: SankeyNode[] } The Sankey data.
|
|
719
721
|
*
|
|
720
722
|
* @example
|
|
721
723
|
* ```ts
|