@progress/kendo-angular-charts 7.1.0-dev.202204261149 → 7.1.1-dev.202207071646
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 +35 -10
- package/argument-types/error-bars-value-args.interface.d.ts +29 -0
- package/bundles/kendo-angular-charts.umd.js +1 -1
- package/chart/series-item/labels.component.d.ts +3 -4
- package/chart-options.interface.d.ts +113 -0
- package/chart.component.d.ts +5 -88
- package/common/property-types.d.ts +2 -0
- package/esm2015/argument-types/error-bars-value-args.interface.js +5 -0
- package/esm2015/chart/tooltip/base-tooltip.js +0 -1
- package/esm2015/chart-options.interface.js +5 -0
- package/esm2015/chart.component.js +7 -7
- package/esm2015/field-types/series-labels-alignment.js +5 -0
- package/esm2015/package-metadata.js +1 -1
- package/esm2015/sparkline.component.js +2 -2
- package/esm2015/stock-chart.component.js +2 -2
- package/fesm2015/kendo-angular-charts.js +12 -13
- package/field-types/series-labels-alignment.d.ts +21 -0
- package/main.d.ts +1 -0
- package/option-types/series-item/error-bars.interface.d.ts +2 -2
- package/option-types/series-item/labels.interface.d.ts +2 -15
- package/option-types/y-axis-item.interface.d.ts +3 -3
- package/package.json +27 -7
|
@@ -4,9 +4,8 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { drawing } from '@progress/kendo-drawing';
|
|
6
6
|
import { ConfigurationService } from '../../common/configuration.service';
|
|
7
|
-
import { Border, Margin, Padding, SeriesLabelsContentArgs, SeriesLabelsVisualArgs } from '../../common/property-types';
|
|
8
|
-
import { SeriesLabels, SeriesLabelsFrom, SeriesLabelsTo } from '../../common/property-types';
|
|
9
|
-
import { SeriesLabelsPosition } from '../../common/property-types';
|
|
7
|
+
import { Border, Margin, Padding, SeriesLabelsAlignment, SeriesLabelsContentArgs, SeriesLabelsVisualArgs } from '../../common/property-types';
|
|
8
|
+
import { SeriesLabels, SeriesLabelsFrom, SeriesLabelsPosition, SeriesLabelsTo } from '../../common/property-types';
|
|
10
9
|
import { SettingsComponent } from '../../common/settings.component';
|
|
11
10
|
import * as i0 from "@angular/core";
|
|
12
11
|
/**
|
|
@@ -15,7 +14,7 @@ import * as i0 from "@angular/core";
|
|
|
15
14
|
*/
|
|
16
15
|
export declare class SeriesLabelsComponent extends SettingsComponent implements SeriesLabels {
|
|
17
16
|
configurationService: ConfigurationService;
|
|
18
|
-
align:
|
|
17
|
+
align: SeriesLabelsAlignment;
|
|
19
18
|
background: string;
|
|
20
19
|
border: Border;
|
|
21
20
|
color: string;
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { AxisDefaults, CategoryAxis, ChartArea, DragAction, Legend, Pane, PaneDefaults, PlotArea, Series, SeriesDefaults, Title, Tooltip, ValueAxis, XAxis, YAxis, Zoomable } from './common/property-types';
|
|
6
|
+
/**
|
|
7
|
+
* A configuration object that groups all root-level Chart options.
|
|
8
|
+
*/
|
|
9
|
+
export interface ChartOptions {
|
|
10
|
+
/**
|
|
11
|
+
* Specifies if the Chart can be panned.
|
|
12
|
+
*/
|
|
13
|
+
pannable?: boolean | DragAction;
|
|
14
|
+
/**
|
|
15
|
+
* Sets the preferred rendering engine.
|
|
16
|
+
* If not supported by the browser, the Chart switches to the first available mode.
|
|
17
|
+
*
|
|
18
|
+
* The supported values are:
|
|
19
|
+
* - `"svg"`—If available, renders the component as an inline `.svg` file.
|
|
20
|
+
* - `"canvas"`—If available, renders the component as a `canvas` element.
|
|
21
|
+
*/
|
|
22
|
+
renderAs?: 'svg' | 'canvas';
|
|
23
|
+
/**
|
|
24
|
+
* The default colors for the Chart series.
|
|
25
|
+
* When all colors are used, new colors are pulled from the start again.
|
|
26
|
+
*/
|
|
27
|
+
seriesColors?: string[];
|
|
28
|
+
/**
|
|
29
|
+
* The configuration options or the text of the Chart title.
|
|
30
|
+
*/
|
|
31
|
+
title?: string | Title;
|
|
32
|
+
/**
|
|
33
|
+
* If set to `true`, the Chart plays animations when it displays the series.
|
|
34
|
+
* By default, animations are enabled.
|
|
35
|
+
*/
|
|
36
|
+
transitions?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Specifies if the Chart can be zoomed.
|
|
39
|
+
*/
|
|
40
|
+
zoomable?: boolean | Zoomable;
|
|
41
|
+
/**
|
|
42
|
+
* The default options for all Chart axes. Accepts the options which are supported by
|
|
43
|
+
* [`categoryAxis`]({% slug api_charts_categoryaxisitemcomponent %}),
|
|
44
|
+
* [`valueAxis`]({% slug api_charts_valueaxisitemcomponent %}),
|
|
45
|
+
* [`xAxis`]({% slug api_charts_xaxisitemcomponent %}),
|
|
46
|
+
* and [`yAxis`]({% slug api_charts_yaxisitemcomponent %}).
|
|
47
|
+
*/
|
|
48
|
+
axisDefaults?: AxisDefaults;
|
|
49
|
+
/**
|
|
50
|
+
* The configuration options of the category axis.
|
|
51
|
+
*/
|
|
52
|
+
categoryAxis?: CategoryAxis | CategoryAxis[];
|
|
53
|
+
/**
|
|
54
|
+
* The configuration options of the Chart area.
|
|
55
|
+
* Represents the entire visible area of the Chart.
|
|
56
|
+
*/
|
|
57
|
+
chartArea?: ChartArea;
|
|
58
|
+
/**
|
|
59
|
+
* The configuration options of the Chart legend.
|
|
60
|
+
*/
|
|
61
|
+
legend?: Legend;
|
|
62
|
+
/**
|
|
63
|
+
* The configuration of the Chart panes.
|
|
64
|
+
* Panes are used to split the Chart into two or more parts. The panes are ordered from top to bottom.
|
|
65
|
+
* To associate each axis with a pane, set its `pane` option to the name of the desired pane.
|
|
66
|
+
* Axis that do not have a specified pane are placed in the top (default) pane.
|
|
67
|
+
* To move a series to the desired pane, associate them with an axis.
|
|
68
|
+
*/
|
|
69
|
+
panes?: Pane[];
|
|
70
|
+
/**
|
|
71
|
+
* The default options of all panes.
|
|
72
|
+
*/
|
|
73
|
+
paneDefaults?: PaneDefaults;
|
|
74
|
+
/**
|
|
75
|
+
* The configuration options of the plot area.
|
|
76
|
+
* The plot area is the area which displays the series.
|
|
77
|
+
*/
|
|
78
|
+
plotArea?: PlotArea;
|
|
79
|
+
/**
|
|
80
|
+
* The configuration of the Chart series.
|
|
81
|
+
* The series type is determined by the value of the type field.
|
|
82
|
+
* If a type value is missing, the Chart renders the type that is
|
|
83
|
+
* specified in [`seriesDefaults`]({% slug api_charts_seriesdefaultscomponent %}).
|
|
84
|
+
* Some options accept functions as arguments. These arguments are evaluated for each point
|
|
85
|
+
* which is supplied as a parameter. If no value is returned, the Chart uses the `theme` or
|
|
86
|
+
* [`seriesDefaults`]({% slug api_charts_seriesdefaultscomponent %}) values.
|
|
87
|
+
*/
|
|
88
|
+
series?: Series[];
|
|
89
|
+
/**
|
|
90
|
+
* The default options of all series.
|
|
91
|
+
*/
|
|
92
|
+
seriesDefaults?: SeriesDefaults;
|
|
93
|
+
/**
|
|
94
|
+
* The configuration options of the Chart series tooltips.
|
|
95
|
+
* The tooltip of the Chart series is displayed when the
|
|
96
|
+
* [`tooltip.visible`]({% slug api_charts_tooltipcomponent %}#toc-visible) option is set to `true`.
|
|
97
|
+
*/
|
|
98
|
+
tooltip?: Tooltip;
|
|
99
|
+
/**
|
|
100
|
+
* The configuration options of the value axis.
|
|
101
|
+
*/
|
|
102
|
+
valueAxis?: ValueAxis | ValueAxis[];
|
|
103
|
+
/**
|
|
104
|
+
* The configuration options of the Scatter Chart X-axis.
|
|
105
|
+
* Supports all [`valueAxis`]({% slug api_charts_valueaxisitemcomponent %}) options.
|
|
106
|
+
*/
|
|
107
|
+
xAxis?: XAxis | XAxis[];
|
|
108
|
+
/**
|
|
109
|
+
* The configuration options of the Scatter Chart Y-axis.
|
|
110
|
+
* Supports all [`valueAxis`]({% slug api_charts_valueaxisitemcomponent %}) options.
|
|
111
|
+
*/
|
|
112
|
+
yAxis?: YAxis | YAxis[];
|
|
113
|
+
}
|
package/chart.component.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ import { ChartPane } from './api-types/chart-pane.interface';
|
|
|
15
15
|
import { ChartPlotArea } from './api-types/chart-plotarea.interface';
|
|
16
16
|
import { SeriesPoint } from './api-types/series-point.interface';
|
|
17
17
|
import './chart-defaults';
|
|
18
|
+
import { ChartOptions } from './chart-options.interface';
|
|
18
19
|
import { DonutCenterTemplateDirective } from './chart/donut-center-template.directive';
|
|
19
20
|
import { SeriesItemComponent } from './chart/series-item.component';
|
|
20
21
|
import { CrosshairTooltipsContainerComponent } from './chart/tooltip/crosshair-tooltips-container.component';
|
|
@@ -90,7 +91,7 @@ import * as i0 from "@angular/core";
|
|
|
90
91
|
*
|
|
91
92
|
* ```
|
|
92
93
|
*/
|
|
93
|
-
export declare class ChartComponent implements OnChanges, OnInit, OnDestroy, AfterViewInit, AfterViewChecked {
|
|
94
|
+
export declare class ChartComponent implements ChartOptions, OnChanges, OnInit, OnDestroy, AfterViewInit, AfterViewChecked {
|
|
94
95
|
configurationService: ConfigurationService;
|
|
95
96
|
themeService: ThemeService;
|
|
96
97
|
protected element: ElementRef;
|
|
@@ -100,108 +101,24 @@ export declare class ChartComponent implements OnChanges, OnInit, OnDestroy, Aft
|
|
|
100
101
|
protected instanceEventService: InstanceEventService;
|
|
101
102
|
protected changeDetector: ChangeDetectorRef;
|
|
102
103
|
protected renderer: Renderer2;
|
|
103
|
-
/**
|
|
104
|
-
* Specifies if the Chart can be panned.
|
|
105
|
-
*/
|
|
106
104
|
pannable: boolean | DragAction;
|
|
107
|
-
/**
|
|
108
|
-
* Sets the preferred rendering engine.
|
|
109
|
-
* If not supported by the browser, the Chart switches to the first available mode.
|
|
110
|
-
*
|
|
111
|
-
* The supported values are:
|
|
112
|
-
* - `"svg"`—If available, renders the component as an inline `.svg` file.
|
|
113
|
-
* - `"canvas"`—If available, renders the component as a `canvas` element.
|
|
114
|
-
*/
|
|
115
105
|
renderAs: 'svg' | 'canvas';
|
|
116
|
-
/**
|
|
117
|
-
* The default colors for the Chart series.
|
|
118
|
-
* When all colors are used, new colors are pulled from the start again.
|
|
119
|
-
*/
|
|
120
106
|
seriesColors: string[];
|
|
121
|
-
/**
|
|
122
|
-
* The configuration options or the text of the Chart title.
|
|
123
|
-
*/
|
|
124
107
|
title: string | Title;
|
|
125
|
-
/**
|
|
126
|
-
* If set to `true`, the Chart plays animations when it displays the series.
|
|
127
|
-
* By default, animations are enabled.
|
|
128
|
-
*/
|
|
129
108
|
transitions: boolean;
|
|
130
|
-
/**
|
|
131
|
-
* Specifies if the Chart can be zoomed.
|
|
132
|
-
*/
|
|
133
109
|
zoomable: boolean | Zoomable;
|
|
134
|
-
/**
|
|
135
|
-
* The default options for all Chart axes. Accepts the options which are supported by
|
|
136
|
-
* [`categoryAxis`]({% slug api_charts_categoryaxisitemcomponent %}),
|
|
137
|
-
* [`valueAxis`]({% slug api_charts_valueaxisitemcomponent %}),
|
|
138
|
-
* [`xAxis`]({% slug api_charts_xaxisitemcomponent %}),
|
|
139
|
-
* and [`yAxis`]({% slug api_charts_yaxisitemcomponent %}).
|
|
140
|
-
*/
|
|
141
110
|
axisDefaults: AxisDefaults;
|
|
142
|
-
/**
|
|
143
|
-
* The configuration options of the category axis.
|
|
144
|
-
*/
|
|
145
111
|
categoryAxis: CategoryAxis | CategoryAxis[];
|
|
146
|
-
/**
|
|
147
|
-
* The configuration options of the Chart area.
|
|
148
|
-
* Represents the entire visible area of the Chart.
|
|
149
|
-
*/
|
|
150
112
|
chartArea: ChartArea;
|
|
151
|
-
/**
|
|
152
|
-
* The configuration options of the Chart legend.
|
|
153
|
-
*/
|
|
154
113
|
legend: Legend;
|
|
155
|
-
/**
|
|
156
|
-
* The configuration of the Chart panes.
|
|
157
|
-
* Panes are used to split the Chart into two or more parts. The panes are ordered from top to bottom.
|
|
158
|
-
* To associate each axis with a pane, set its `pane` option to the name of the desired pane.
|
|
159
|
-
* Axis that do not have a specified pane are placed in the top (default) pane.
|
|
160
|
-
* To move a series to the desired pane, associate them with an axis.
|
|
161
|
-
*/
|
|
162
114
|
panes: Pane[];
|
|
163
|
-
/**
|
|
164
|
-
* The default options of all panes.
|
|
165
|
-
*/
|
|
166
115
|
paneDefaults: PaneDefaults;
|
|
167
|
-
/**
|
|
168
|
-
* The configuration options of the plot area.
|
|
169
|
-
* The plot area is the area which displays the series.
|
|
170
|
-
*/
|
|
171
116
|
plotArea: PlotArea;
|
|
172
|
-
/**
|
|
173
|
-
* The configuration of the Chart series.
|
|
174
|
-
* The series type is determined by the value of the type field.
|
|
175
|
-
* If a type value is missing, the Chart renders the type that is
|
|
176
|
-
* specified in [`seriesDefaults`]({% slug api_charts_seriesdefaultscomponent %}).
|
|
177
|
-
* Some options accept functions as arguments. These arguments are evaluated for each point
|
|
178
|
-
* which is supplied as a parameter. If no value is returned, the Chart uses the `theme` or
|
|
179
|
-
* [`seriesDefaults`]({% slug api_charts_seriesdefaultscomponent %}) values.
|
|
180
|
-
*/
|
|
181
117
|
series: Series[];
|
|
182
|
-
/**
|
|
183
|
-
* The default options of all series.
|
|
184
|
-
*/
|
|
185
118
|
seriesDefaults: SeriesDefaults;
|
|
186
|
-
/**
|
|
187
|
-
* The configuration options of the Chart series tooltips.
|
|
188
|
-
* The tooltip of the Chart series is displayed when the
|
|
189
|
-
* [`tooltip.visible`]({% slug api_charts_tooltipcomponent %}#toc-visible) option is set to `true`.
|
|
190
|
-
*/
|
|
191
119
|
tooltip: Tooltip;
|
|
192
|
-
/**
|
|
193
|
-
* The configuration options of the value axis.
|
|
194
|
-
*/
|
|
195
120
|
valueAxis: ValueAxis | ValueAxis[];
|
|
196
|
-
/**
|
|
197
|
-
* The configuration options of the Scatter Chart X-axis.
|
|
198
|
-
* Supports all [`valueAxis`]({% slug api_charts_valueaxisitemcomponent %}) options.
|
|
199
|
-
*/
|
|
200
121
|
xAxis: XAxis | XAxis[];
|
|
201
|
-
/**
|
|
202
|
-
* The configuration options of the Scatter Chart Y-axis.
|
|
203
|
-
* Supports all [`valueAxis`]({% slug api_charts_valueaxisitemcomponent %}) options.
|
|
204
|
-
*/
|
|
205
122
|
yAxis: YAxis | YAxis[];
|
|
206
123
|
/**
|
|
207
124
|
* Fires when the user clicks an axis label ([see example]({% slug overview_chart_charts %}#toc-events)).
|
|
@@ -340,7 +257,7 @@ export declare class ChartComponent implements OnChanges, OnInit, OnDestroy, Aft
|
|
|
340
257
|
* <kendo-chart [resizeRateLimit]="2">
|
|
341
258
|
* <!-- ^^^^^^^^^^^^^^^^^^^^^^
|
|
342
259
|
* Will update the size of the Chart up to two times a second.
|
|
343
|
-
* Resize the
|
|
260
|
+
* Resize the example pane or window to try it out.
|
|
344
261
|
* -->
|
|
345
262
|
* <kendo-chart-series>
|
|
346
263
|
* <kendo-chart-series-item [data]="seriesData">
|
|
@@ -375,7 +292,7 @@ export declare class ChartComponent implements OnChanges, OnInit, OnDestroy, Aft
|
|
|
375
292
|
instance: any;
|
|
376
293
|
protected options: any;
|
|
377
294
|
protected theme: any;
|
|
378
|
-
protected
|
|
295
|
+
protected optionsChange: Subscription;
|
|
379
296
|
protected suppressTransitions: boolean;
|
|
380
297
|
protected resizeTimeout: any;
|
|
381
298
|
protected redrawTimeout: any;
|
|
@@ -497,7 +414,7 @@ export declare class ChartComponent implements OnChanges, OnInit, OnDestroy, Aft
|
|
|
497
414
|
/**
|
|
498
415
|
* @hidden
|
|
499
416
|
*/
|
|
500
|
-
onResize(
|
|
417
|
+
onResize(): void;
|
|
501
418
|
protected onLegendItemClick(e: any): void;
|
|
502
419
|
protected onInit(e: any): void;
|
|
503
420
|
protected onRender(e: any): void;
|
|
@@ -37,6 +37,7 @@ export { Padding } from '../field-types/padding.interface';
|
|
|
37
37
|
export { PlotBand } from '../field-types/plot-band.interface';
|
|
38
38
|
export { PlotBandLabel } from '../field-types/plot-band-label.interface';
|
|
39
39
|
export { SeriesLabelsPosition } from '../field-types/series-labels-position';
|
|
40
|
+
export { SeriesLabelsAlignment } from '../field-types/series-labels-alignment';
|
|
40
41
|
export { SeriesLine } from '../field-types/series-line.interface';
|
|
41
42
|
export { SeriesMean } from '../field-types/series-mean.interface';
|
|
42
43
|
export { SeriesMedian } from '../field-types/series-median.interface';
|
|
@@ -49,6 +50,7 @@ export { AxisLabelVisualArgs } from '../argument-types/axis-label-visual-args.in
|
|
|
49
50
|
export { AxisNoteVisualArgs } from '../argument-types/axis-note-visual-args.interface';
|
|
50
51
|
export { AxisNoteContentArgs } from '../argument-types/axis-note-content-args.interface';
|
|
51
52
|
export { ErrorBarsVisualArgs } from '../argument-types/error-bars-visual-args.interface';
|
|
53
|
+
export { ErrorBarsValueArgs } from '../argument-types/error-bars-value-args.interface';
|
|
52
54
|
export { HighlightToggleArgs } from '../argument-types/highlight-toggle-args.interface';
|
|
53
55
|
export { HighlightVisualArgs } from '../argument-types/highlight-visual-args.interface';
|
|
54
56
|
export { LegendItemVisualArgs } from '../argument-types/legend-item-visual-args.interface';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -61,7 +61,6 @@ export class BaseTooltip {
|
|
|
61
61
|
return offset;
|
|
62
62
|
}
|
|
63
63
|
const appendTo = this.popupSettings.appendTo.element.nativeElement;
|
|
64
|
-
console.log('appendTo', appendTo);
|
|
65
64
|
const bbox = appendTo.getBoundingClientRect();
|
|
66
65
|
const { scrollLeft, scrollTop } = this.scrollOffset(appendTo);
|
|
67
66
|
return {
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -226,7 +226,7 @@ export class ChartComponent {
|
|
|
226
226
|
* <kendo-chart [resizeRateLimit]="2">
|
|
227
227
|
* <!-- ^^^^^^^^^^^^^^^^^^^^^^
|
|
228
228
|
* Will update the size of the Chart up to two times a second.
|
|
229
|
-
* Resize the
|
|
229
|
+
* Resize the example pane or window to try it out.
|
|
230
230
|
* -->
|
|
231
231
|
* <kendo-chart-series>
|
|
232
232
|
* <kendo-chart-series-item [data]="seriesData">
|
|
@@ -303,8 +303,8 @@ export class ChartComponent {
|
|
|
303
303
|
}
|
|
304
304
|
ngOnDestroy() {
|
|
305
305
|
this.destroyed = true;
|
|
306
|
-
if (this.
|
|
307
|
-
this.
|
|
306
|
+
if (this.optionsChange) {
|
|
307
|
+
this.optionsChange.unsubscribe();
|
|
308
308
|
}
|
|
309
309
|
if (this.domSubscriptions) {
|
|
310
310
|
this.domSubscriptions();
|
|
@@ -457,7 +457,7 @@ export class ChartComponent {
|
|
|
457
457
|
/**
|
|
458
458
|
* @hidden
|
|
459
459
|
*/
|
|
460
|
-
onResize(
|
|
460
|
+
onResize() {
|
|
461
461
|
if (this.autoResize) {
|
|
462
462
|
this.resize();
|
|
463
463
|
}
|
|
@@ -628,7 +628,7 @@ export class ChartComponent {
|
|
|
628
628
|
}
|
|
629
629
|
refreshWait() {
|
|
630
630
|
this.ngZone.runOutsideAngular(() => {
|
|
631
|
-
this.
|
|
631
|
+
this.optionsChange = combineLatest(this.configurationService.onChange$, this.themeService.onChange$).pipe(tap((result) => {
|
|
632
632
|
this.options = result[0];
|
|
633
633
|
this.theme = result[1];
|
|
634
634
|
}), auditTime(THROTTLE_MS))
|
|
@@ -710,7 +710,7 @@ ChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version
|
|
|
710
710
|
</kendo-chart-crosshair-tooltips-container>
|
|
711
711
|
<kendo-chart-tooltip-popup (leave)="tooltipMouseleave($event)" [popupSettings]="popupSettings">
|
|
712
712
|
</kendo-chart-tooltip-popup>
|
|
713
|
-
<kendo-resize-sensor (resize)="onResize(
|
|
713
|
+
<kendo-resize-sensor (resize)="onResize()" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>
|
|
714
714
|
<div class="k-chart-donut-center" [ngStyle]="donutCenterStyle" *ngIf="donutCenterStyle && donutCenterTemplate">
|
|
715
715
|
<ng-template [ngTemplateOutlet]="donutCenterTemplate.templateRef"></ng-template>
|
|
716
716
|
</div>
|
|
@@ -737,7 +737,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
737
737
|
</kendo-chart-crosshair-tooltips-container>
|
|
738
738
|
<kendo-chart-tooltip-popup (leave)="tooltipMouseleave($event)" [popupSettings]="popupSettings">
|
|
739
739
|
</kendo-chart-tooltip-popup>
|
|
740
|
-
<kendo-resize-sensor (resize)="onResize(
|
|
740
|
+
<kendo-resize-sensor (resize)="onResize()" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>
|
|
741
741
|
<div class="k-chart-donut-center" [ngStyle]="donutCenterStyle" *ngIf="donutCenterStyle && donutCenterTemplate">
|
|
742
742
|
<ng-template [ngTemplateOutlet]="donutCenterTemplate.templateRef"></ng-template>
|
|
743
743
|
</div>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-charts',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
12
|
+
publishDate: 1657212357,
|
|
13
13
|
version: '',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
15
15
|
};
|
|
@@ -99,7 +99,7 @@ SparklineComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
99
99
|
<kendo-chart-tooltip-popup [animate]="false" [wrapperClass]="tooltipWrapperClass"
|
|
100
100
|
[classNames]="tooltipContentClasses" (leave)="tooltipMouseleave($event)" [popupSettings]="popupSettings">
|
|
101
101
|
</kendo-chart-tooltip-popup>
|
|
102
|
-
<kendo-resize-sensor (resize)="onResize(
|
|
102
|
+
<kendo-resize-sensor (resize)="onResize()"></kendo-resize-sensor>
|
|
103
103
|
`, isInline: true, components: [{ type: i6.CrosshairTooltipsContainerComponent, selector: "kendo-chart-crosshair-tooltips-container", inputs: ["popupSettings"] }, { type: i7.TooltipPopupComponent, selector: "kendo-chart-tooltip-popup", inputs: ["animate", "classNames", "popupSettings", "wrapperClass"], outputs: ["leave"] }, { type: i8.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
104
104
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SparklineComponent, decorators: [{
|
|
105
105
|
type: Component,
|
|
@@ -124,7 +124,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
124
124
|
<kendo-chart-tooltip-popup [animate]="false" [wrapperClass]="tooltipWrapperClass"
|
|
125
125
|
[classNames]="tooltipContentClasses" (leave)="tooltipMouseleave($event)" [popupSettings]="popupSettings">
|
|
126
126
|
</kendo-chart-tooltip-popup>
|
|
127
|
-
<kendo-resize-sensor (resize)="onResize(
|
|
127
|
+
<kendo-resize-sensor (resize)="onResize()"></kendo-resize-sensor>
|
|
128
128
|
`
|
|
129
129
|
}]
|
|
130
130
|
}], ctorParameters: function () { return [{ type: i1.ConfigurationService }, { type: i2.ThemeService }, { type: i0.ElementRef }, { type: i3.IntlService }, { type: i4.LocalizationService }, { type: i0.NgZone }, { type: i5.InstanceEventService }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }]; }, propDecorators: { type: [{
|
|
@@ -143,7 +143,7 @@ StockChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
143
143
|
</kendo-chart-crosshair-tooltips-container>
|
|
144
144
|
<kendo-chart-tooltip-popup (leave)="tooltipMouseleave($event)" [popupSettings]="popupSettings">
|
|
145
145
|
</kendo-chart-tooltip-popup>
|
|
146
|
-
<kendo-resize-sensor (resize)="onResize(
|
|
146
|
+
<kendo-resize-sensor (resize)="onResize()"></kendo-resize-sensor>
|
|
147
147
|
`, isInline: true, components: [{ type: i6.CrosshairTooltipsContainerComponent, selector: "kendo-chart-crosshair-tooltips-container", inputs: ["popupSettings"] }, { type: i7.TooltipPopupComponent, selector: "kendo-chart-tooltip-popup", inputs: ["animate", "classNames", "popupSettings", "wrapperClass"], outputs: ["leave"] }, { type: i8.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
148
148
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: StockChartComponent, decorators: [{
|
|
149
149
|
type: Component,
|
|
@@ -168,7 +168,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
168
168
|
</kendo-chart-crosshair-tooltips-container>
|
|
169
169
|
<kendo-chart-tooltip-popup (leave)="tooltipMouseleave($event)" [popupSettings]="popupSettings">
|
|
170
170
|
</kendo-chart-tooltip-popup>
|
|
171
|
-
<kendo-resize-sensor (resize)="onResize(
|
|
171
|
+
<kendo-resize-sensor (resize)="onResize()"></kendo-resize-sensor>
|
|
172
172
|
`
|
|
173
173
|
}]
|
|
174
174
|
}], ctorParameters: function () { return [{ type: i1.ConfigurationService }, { type: i2.ThemeService }, { type: i0.ElementRef }, { type: i3.IntlService }, { type: i4.LocalizationService }, { type: i0.NgZone }, { type: i5.StockInstanceEventService }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }]; }, propDecorators: { navigator: [{
|
|
@@ -811,7 +811,6 @@ class BaseTooltip {
|
|
|
811
811
|
return offset;
|
|
812
812
|
}
|
|
813
813
|
const appendTo = this.popupSettings.appendTo.element.nativeElement;
|
|
814
|
-
console.log('appendTo', appendTo);
|
|
815
814
|
const bbox = appendTo.getBoundingClientRect();
|
|
816
815
|
const { scrollLeft, scrollTop } = this.scrollOffset(appendTo);
|
|
817
816
|
return {
|
|
@@ -1838,7 +1837,7 @@ const packageMetadata = {
|
|
|
1838
1837
|
name: '@progress/kendo-angular-charts',
|
|
1839
1838
|
productName: 'Kendo UI for Angular',
|
|
1840
1839
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
1841
|
-
publishDate:
|
|
1840
|
+
publishDate: 1657212357,
|
|
1842
1841
|
version: '',
|
|
1843
1842
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
1844
1843
|
};
|
|
@@ -2407,7 +2406,7 @@ class ChartComponent {
|
|
|
2407
2406
|
* <kendo-chart [resizeRateLimit]="2">
|
|
2408
2407
|
* <!-- ^^^^^^^^^^^^^^^^^^^^^^
|
|
2409
2408
|
* Will update the size of the Chart up to two times a second.
|
|
2410
|
-
* Resize the
|
|
2409
|
+
* Resize the example pane or window to try it out.
|
|
2411
2410
|
* -->
|
|
2412
2411
|
* <kendo-chart-series>
|
|
2413
2412
|
* <kendo-chart-series-item [data]="seriesData">
|
|
@@ -2484,8 +2483,8 @@ class ChartComponent {
|
|
|
2484
2483
|
}
|
|
2485
2484
|
ngOnDestroy() {
|
|
2486
2485
|
this.destroyed = true;
|
|
2487
|
-
if (this.
|
|
2488
|
-
this.
|
|
2486
|
+
if (this.optionsChange) {
|
|
2487
|
+
this.optionsChange.unsubscribe();
|
|
2489
2488
|
}
|
|
2490
2489
|
if (this.domSubscriptions) {
|
|
2491
2490
|
this.domSubscriptions();
|
|
@@ -2638,7 +2637,7 @@ class ChartComponent {
|
|
|
2638
2637
|
/**
|
|
2639
2638
|
* @hidden
|
|
2640
2639
|
*/
|
|
2641
|
-
onResize(
|
|
2640
|
+
onResize() {
|
|
2642
2641
|
if (this.autoResize) {
|
|
2643
2642
|
this.resize();
|
|
2644
2643
|
}
|
|
@@ -2809,7 +2808,7 @@ class ChartComponent {
|
|
|
2809
2808
|
}
|
|
2810
2809
|
refreshWait() {
|
|
2811
2810
|
this.ngZone.runOutsideAngular(() => {
|
|
2812
|
-
this.
|
|
2811
|
+
this.optionsChange = combineLatest(this.configurationService.onChange$, this.themeService.onChange$).pipe(tap((result) => {
|
|
2813
2812
|
this.options = result[0];
|
|
2814
2813
|
this.theme = result[1];
|
|
2815
2814
|
}), auditTime(THROTTLE_MS))
|
|
@@ -2891,7 +2890,7 @@ ChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version
|
|
|
2891
2890
|
</kendo-chart-crosshair-tooltips-container>
|
|
2892
2891
|
<kendo-chart-tooltip-popup (leave)="tooltipMouseleave($event)" [popupSettings]="popupSettings">
|
|
2893
2892
|
</kendo-chart-tooltip-popup>
|
|
2894
|
-
<kendo-resize-sensor (resize)="onResize(
|
|
2893
|
+
<kendo-resize-sensor (resize)="onResize()" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>
|
|
2895
2894
|
<div class="k-chart-donut-center" [ngStyle]="donutCenterStyle" *ngIf="donutCenterStyle && donutCenterTemplate">
|
|
2896
2895
|
<ng-template [ngTemplateOutlet]="donutCenterTemplate.templateRef"></ng-template>
|
|
2897
2896
|
</div>
|
|
@@ -2918,7 +2917,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
2918
2917
|
</kendo-chart-crosshair-tooltips-container>
|
|
2919
2918
|
<kendo-chart-tooltip-popup (leave)="tooltipMouseleave($event)" [popupSettings]="popupSettings">
|
|
2920
2919
|
</kendo-chart-tooltip-popup>
|
|
2921
|
-
<kendo-resize-sensor (resize)="onResize(
|
|
2920
|
+
<kendo-resize-sensor (resize)="onResize()" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>
|
|
2922
2921
|
<div class="k-chart-donut-center" [ngStyle]="donutCenterStyle" *ngIf="donutCenterStyle && donutCenterTemplate">
|
|
2923
2922
|
<ng-template [ngTemplateOutlet]="donutCenterTemplate.templateRef"></ng-template>
|
|
2924
2923
|
</div>
|
|
@@ -6837,7 +6836,7 @@ StockChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
6837
6836
|
</kendo-chart-crosshair-tooltips-container>
|
|
6838
6837
|
<kendo-chart-tooltip-popup (leave)="tooltipMouseleave($event)" [popupSettings]="popupSettings">
|
|
6839
6838
|
</kendo-chart-tooltip-popup>
|
|
6840
|
-
<kendo-resize-sensor (resize)="onResize(
|
|
6839
|
+
<kendo-resize-sensor (resize)="onResize()"></kendo-resize-sensor>
|
|
6841
6840
|
`, isInline: true, components: [{ type: CrosshairTooltipsContainerComponent, selector: "kendo-chart-crosshair-tooltips-container", inputs: ["popupSettings"] }, { type: TooltipPopupComponent, selector: "kendo-chart-tooltip-popup", inputs: ["animate", "classNames", "popupSettings", "wrapperClass"], outputs: ["leave"] }, { type: i8.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
6842
6841
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: StockChartComponent, decorators: [{
|
|
6843
6842
|
type: Component,
|
|
@@ -6862,7 +6861,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
6862
6861
|
</kendo-chart-crosshair-tooltips-container>
|
|
6863
6862
|
<kendo-chart-tooltip-popup (leave)="tooltipMouseleave($event)" [popupSettings]="popupSettings">
|
|
6864
6863
|
</kendo-chart-tooltip-popup>
|
|
6865
|
-
<kendo-resize-sensor (resize)="onResize(
|
|
6864
|
+
<kendo-resize-sensor (resize)="onResize()"></kendo-resize-sensor>
|
|
6866
6865
|
`
|
|
6867
6866
|
}]
|
|
6868
6867
|
}], ctorParameters: function () { return [{ type: ConfigurationService }, { type: ThemeService }, { type: i0.ElementRef }, { type: i3.IntlService }, { type: i4.LocalizationService }, { type: i0.NgZone }, { type: StockInstanceEventService }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }]; }, propDecorators: { navigator: [{
|
|
@@ -7728,7 +7727,7 @@ SparklineComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
7728
7727
|
<kendo-chart-tooltip-popup [animate]="false" [wrapperClass]="tooltipWrapperClass"
|
|
7729
7728
|
[classNames]="tooltipContentClasses" (leave)="tooltipMouseleave($event)" [popupSettings]="popupSettings">
|
|
7730
7729
|
</kendo-chart-tooltip-popup>
|
|
7731
|
-
<kendo-resize-sensor (resize)="onResize(
|
|
7730
|
+
<kendo-resize-sensor (resize)="onResize()"></kendo-resize-sensor>
|
|
7732
7731
|
`, isInline: true, components: [{ type: CrosshairTooltipsContainerComponent, selector: "kendo-chart-crosshair-tooltips-container", inputs: ["popupSettings"] }, { type: TooltipPopupComponent, selector: "kendo-chart-tooltip-popup", inputs: ["animate", "classNames", "popupSettings", "wrapperClass"], outputs: ["leave"] }, { type: i8.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
7733
7732
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SparklineComponent, decorators: [{
|
|
7734
7733
|
type: Component,
|
|
@@ -7753,7 +7752,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
7753
7752
|
<kendo-chart-tooltip-popup [animate]="false" [wrapperClass]="tooltipWrapperClass"
|
|
7754
7753
|
[classNames]="tooltipContentClasses" (leave)="tooltipMouseleave($event)" [popupSettings]="popupSettings">
|
|
7755
7754
|
</kendo-chart-tooltip-popup>
|
|
7756
|
-
<kendo-resize-sensor (resize)="onResize(
|
|
7755
|
+
<kendo-resize-sensor (resize)="onResize()"></kendo-resize-sensor>
|
|
7757
7756
|
`
|
|
7758
7757
|
}]
|
|
7759
7758
|
}], ctorParameters: function () { return [{ type: ConfigurationService }, { type: ThemeService }, { type: i0.ElementRef }, { type: i3.IntlService }, { type: i4.LocalizationService }, { type: i0.NgZone }, { type: InstanceEventService }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }]; }, propDecorators: { type: [{
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
/**
|
|
6
|
+
* The alignment of the label when [`series.type`]({% slug api_charts_series %}#toc-type) is set to `"donut"`, `"funnel"`, or `"pie"`.
|
|
7
|
+
*
|
|
8
|
+
* The supported values for `"donut"` and `"pie"` are:
|
|
9
|
+
*
|
|
10
|
+
* - `"circle"`—The labels are positioned in circle around the Chart.
|
|
11
|
+
* - `"column"`—The labels are positioned in columns to the left and right of the Chart.
|
|
12
|
+
*
|
|
13
|
+
* The supported values for `"funnel"` are:
|
|
14
|
+
*
|
|
15
|
+
* - `"center"`—The labels are positioned in the center over the funnel segment.
|
|
16
|
+
* - `"right"`—The labels are positioned on the right side of the Chart and, if there is enough
|
|
17
|
+
* space, do not overlap the funnel segments.
|
|
18
|
+
* - `"left"`—The labels are positioned on the left side of the Chart and, if there is enough
|
|
19
|
+
* space, do not overlap the funnel segments.
|
|
20
|
+
*/
|
|
21
|
+
export declare type SeriesLabelsAlignment = 'circle' | 'column' | 'center' | 'right' | 'left';
|
package/main.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ export { ChartModule } from './chart.module';
|
|
|
14
14
|
export { StockChartModule } from './stock-chart.module';
|
|
15
15
|
export { SparklineModule } from './sparkline.module';
|
|
16
16
|
export { ChartsModule } from './charts.module';
|
|
17
|
+
export { ChartOptions } from './chart-options.interface';
|
|
17
18
|
export { CrosshairTooltipComponent } from './chart/tooltip/crosshair-tooltip.component';
|
|
18
19
|
export { CrosshairTooltipsContainerComponent } from './chart/tooltip/crosshair-tooltips-container.component';
|
|
19
20
|
export { DonutCenterTemplateDirective } from './chart/donut-center-template.directive';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { drawing } from '@progress/kendo-drawing';
|
|
6
|
-
import { ErrorBarLine, ErrorBarsVisualArgs } from '../../common/property-types';
|
|
6
|
+
import { ErrorBarLine, ErrorBarsValueArgs, ErrorBarsVisualArgs } from '../../common/property-types';
|
|
7
7
|
/**
|
|
8
8
|
* The configuration options of the series error bars.
|
|
9
9
|
*/
|
|
@@ -36,7 +36,7 @@ export interface SeriesErrorBars {
|
|
|
36
36
|
* - An array that holds the low and high difference from the point value.
|
|
37
37
|
* - A function that returns the `errorBars` point value.
|
|
38
38
|
*/
|
|
39
|
-
value?: string;
|
|
39
|
+
value?: string | number | [number, number] | ((e: ErrorBarsValueArgs) => [number, number]);
|
|
40
40
|
/**
|
|
41
41
|
* A function that for creating custom visuals for the error bars.
|
|
42
42
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { drawing } from '@progress/kendo-drawing';
|
|
6
|
-
import { SeriesLabelsContentArgs } from '../../common/property-types';
|
|
6
|
+
import { SeriesLabelsAlignment, SeriesLabelsContentArgs } from '../../common/property-types';
|
|
7
7
|
import { Border, Margin, Padding, SeriesLabelsVisualArgs } from '../../common/property-types';
|
|
8
8
|
import { SeriesLabelsPosition } from '../../common/property-types';
|
|
9
9
|
import { SeriesLabelsFrom } from './labels.from.interface';
|
|
@@ -14,21 +14,8 @@ import { SeriesLabelsTo } from './labels.to.interface';
|
|
|
14
14
|
export interface SeriesLabels {
|
|
15
15
|
/**
|
|
16
16
|
* The alignment of the label when [`series.type`]({% slug api_charts_series %}#toc-type) is set to `"donut"`, `"funnel"`, or `"pie"`.
|
|
17
|
-
*
|
|
18
|
-
* The supported values for `"donut"` and `"pie"` are:
|
|
19
|
-
*
|
|
20
|
-
* - `"circle"`—The labels are positioned in circle around the Chart.
|
|
21
|
-
* - `"column"`—The labels are positioned in columns to the left and right of the Chart.
|
|
22
|
-
*
|
|
23
|
-
* The supported values for `"funnel"` are:
|
|
24
|
-
*
|
|
25
|
-
* - `"center"`—The labels are positioned in the center over the funnel segment.
|
|
26
|
-
* - `"right"`—The labels are positioned on the right side of the Chart and, if there is enough
|
|
27
|
-
* space, do not overlap the funnel segments.
|
|
28
|
-
* - `"left"`—The labels are positioned on the left side of the Chart and, if there is enough
|
|
29
|
-
* space, do not overlap the funnel segments.
|
|
30
17
|
*/
|
|
31
|
-
align?:
|
|
18
|
+
align?: SeriesLabelsAlignment;
|
|
32
19
|
/**
|
|
33
20
|
* The background color of the labels. Accepts a valid CSS color string, including hex and rgb.
|
|
34
21
|
*/
|
|
@@ -12,9 +12,9 @@ import { YAxisTitle } from './y-axis-item/title.interface';
|
|
|
12
12
|
*/
|
|
13
13
|
export interface YAxis {
|
|
14
14
|
/**
|
|
15
|
-
* * (Only for objects) The value at which the
|
|
16
|
-
* * (Only for arrays) The value indices at which the
|
|
17
|
-
* * (Only for dates) The date at which the
|
|
15
|
+
* * (Only for objects) The value at which the X axis crosses this axis.
|
|
16
|
+
* * (Only for arrays) The value indices at which the X axes cross the value axis.
|
|
17
|
+
* * (Only for dates) The date at which the X axis crosses this axis.
|
|
18
18
|
*
|
|
19
19
|
* To denote the far end of the axis, set a value that is greater than or equal to the axis maximum value.
|
|
20
20
|
*/
|