@progress/kendo-angular-charts 13.2.0-develop.8 → 13.2.0
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/chart/series-item/markers.component.d.ts +8 -59
- package/chart/series-item/notes.component.d.ts +11 -0
- package/chart/series-item.component.d.ts +13 -7
- package/chart/subtitle.component.d.ts +5 -0
- package/chart/x-axis-item/notes.icon.component.d.ts +1 -1
- package/chart/x-axis.component.d.ts +11 -56
- package/chart/y-axis-item/notes.icon.component.d.ts +1 -1
- package/chart/y-axis-item.component.d.ts +1 -1
- package/chart/y-axis.component.d.ts +11 -56
- package/esm2020/chart/series-item/markers.component.mjs +8 -59
- package/esm2020/chart/series-item/notes.component.mjs +11 -0
- package/esm2020/chart/series-item.component.mjs +9 -0
- package/esm2020/chart/x-axis.component.mjs +11 -56
- package/esm2020/chart/y-axis.component.mjs +11 -56
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/sparkline.component.mjs +3 -19
- package/esm2020/stock-chart.component.mjs +15 -35
- package/fesm2015/progress-kendo-angular-charts.mjs +70 -227
- package/fesm2020/progress-kendo-angular-charts.mjs +70 -227
- package/option-types/pane/title.interface.d.ts +2 -2
- package/option-types/pane-defaults/title.interface.d.ts +1 -1
- package/option-types/pane-defaults.interface.d.ts +1 -1
- package/option-types/series-defaults/labels.from.interface.d.ts +2 -2
- package/option-types/series-defaults/labels.interface.d.ts +2 -2
- package/option-types/series-defaults/labels.to.interface.d.ts +2 -2
- package/option-types/series-defaults/notes.label.interface.d.ts +2 -2
- package/option-types/series-item/error-bars.interface.d.ts +2 -2
- package/option-types/series-item/highlight.interface.d.ts +1 -1
- package/option-types/series-item/labels.from.interface.d.ts +1 -1
- package/option-types/series-item/labels.interface.d.ts +2 -2
- package/option-types/series-item/labels.to.interface.d.ts +1 -1
- package/option-types/series-item/notes.label.interface.d.ts +2 -2
- package/option-types/series-item/tooltip.interface.d.ts +3 -3
- package/option-types/series-item.interface.d.ts +9 -13
- package/option-types/subtitle.interface.d.ts +3 -3
- package/option-types/title.interface.d.ts +2 -2
- package/option-types/tooltip.interface.d.ts +2 -2
- package/option-types/value-axis-item/crosshair.interface.d.ts +1 -1
- package/option-types/value-axis-item/crosshair.tooltip.interface.d.ts +1 -1
- package/option-types/value-axis-item/labels.interface.d.ts +2 -2
- package/option-types/value-axis-item/notes.label.interface.d.ts +2 -2
- package/option-types/value-axis-item/title.interface.d.ts +2 -2
- package/option-types/value-axis-item.interface.d.ts +1 -1
- package/option-types/x-axis-item/crosshair.interface.d.ts +1 -1
- package/option-types/x-axis-item/crosshair.tooltip.interface.d.ts +2 -2
- package/option-types/x-axis-item/labels.interface.d.ts +2 -2
- package/option-types/x-axis-item/notes.label.interface.d.ts +2 -2
- package/option-types/x-axis-item/title.interface.d.ts +2 -2
- package/option-types/x-axis-item.interface.d.ts +1 -1
- package/option-types/y-axis-item/crosshair.interface.d.ts +1 -1
- package/option-types/y-axis-item/crosshair.tooltip.interface.d.ts +2 -2
- package/option-types/y-axis-item/labels.interface.d.ts +2 -2
- package/option-types/y-axis-item/notes.label.interface.d.ts +2 -2
- package/option-types/y-axis-item/title.interface.d.ts +2 -2
- package/option-types/y-axis-item.interface.d.ts +1 -1
- package/package.json +7 -7
- package/sparkline.component.d.ts +3 -19
- package/stock-chart.component.d.ts +15 -35
|
@@ -12,65 +12,14 @@ import * as i0 from "@angular/core";
|
|
|
12
12
|
* The configuration of the Chart series marker.
|
|
13
13
|
*
|
|
14
14
|
* @example
|
|
15
|
-
* ```
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
* <kendo-chart-legend position="bottom" orientation="horizontal"></kendo-chart-legend>
|
|
24
|
-
* <kendo-chart-tooltip format="{0}%"></kendo-chart-tooltip>
|
|
25
|
-
* <kendo-chart-series>
|
|
26
|
-
* <kendo-chart-series-item *ngFor="let item of series"
|
|
27
|
-
* type="line"
|
|
28
|
-
* style="smooth"
|
|
29
|
-
* [data]="item.data"
|
|
30
|
-
* [name]="item.name"
|
|
31
|
-
* [markers]="item.markers">
|
|
32
|
-
* </kendo-chart-series-item>
|
|
33
|
-
* </kendo-chart-series>
|
|
34
|
-
* </kendo-chart>
|
|
35
|
-
* `
|
|
36
|
-
* })
|
|
37
|
-
* export class AppComponent {
|
|
38
|
-
* public series: any[] = [{
|
|
39
|
-
* name: "India",
|
|
40
|
-
* data: [3.907, 7.943, 7.848, 9.284, 9.263, 9.801, 3.890, 8.238, 9.552, 6.855],
|
|
41
|
-
* markers: {
|
|
42
|
-
* background: 'red',
|
|
43
|
-
* size: 20,
|
|
44
|
-
* type: 'circle'
|
|
45
|
-
* }
|
|
46
|
-
* }, {
|
|
47
|
-
* name: "Russian Federation",
|
|
48
|
-
* data: [4.743, 7.295, 7.175, 6.376, 8.153, 8.535, 5.247, -7.832, 4.3, 4.3],
|
|
49
|
-
* markers: {
|
|
50
|
-
* background: 'yellow',
|
|
51
|
-
* size: 10,
|
|
52
|
-
* type: 'square',
|
|
53
|
-
* rotation: 45
|
|
54
|
-
* }
|
|
55
|
-
* }, {
|
|
56
|
-
* name: "Germany",
|
|
57
|
-
* data: [0.010, -0.375, 1.161, 0.684, 3.7, 3.269, 1.083, -5.127, 3.690, 2.995],
|
|
58
|
-
* markers: {
|
|
59
|
-
* background: 'green',
|
|
60
|
-
* size: 20,
|
|
61
|
-
* type: 'triangle'
|
|
62
|
-
* }
|
|
63
|
-
* },{
|
|
64
|
-
* name: "World",
|
|
65
|
-
* data: [1.988, 2.733, 3.994, 3.464, 4.001, 3.939, 1.333, -2.245, 4.339, 2.727],
|
|
66
|
-
* markers: {
|
|
67
|
-
* background: 'blue',
|
|
68
|
-
* size: 10,
|
|
69
|
-
* type: 'cross'
|
|
70
|
-
* }
|
|
71
|
-
* }];
|
|
72
|
-
* public categories: number[] = [2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011];
|
|
73
|
-
* }
|
|
15
|
+
* ```html
|
|
16
|
+
* <kendo-chart ...>
|
|
17
|
+
* <kendo-chart-series>
|
|
18
|
+
* <kendo-chart-series-item type="line"...>
|
|
19
|
+
* <kendo-chart-series-item-markers background="blue"> </kendo-chart-series-item-markers>
|
|
20
|
+
* </kendo-chart-series-item>
|
|
21
|
+
* </kendo-chart-series>
|
|
22
|
+
* </kendo-chart>
|
|
74
23
|
* ```
|
|
75
24
|
*/
|
|
76
25
|
export declare class SeriesMarkersComponent extends SettingsComponent implements SeriesMarkers {
|
|
@@ -11,6 +11,17 @@ import * as i0 from "@angular/core";
|
|
|
11
11
|
/**
|
|
12
12
|
* The series notes configuration
|
|
13
13
|
* ([see example]({% slug notes_chart_charts %})).
|
|
14
|
+
*
|
|
15
|
+
* * @example
|
|
16
|
+
* ```html
|
|
17
|
+
* <kendo-chart ...>
|
|
18
|
+
* <kendo-chart-series>
|
|
19
|
+
* <kendo-chart-series-item type="line" [data]="data"...>
|
|
20
|
+
* <kendo-chart-series-item-notes [icon]="{type: 'square'}"> </kendo-chart-series-item-notes>
|
|
21
|
+
* </kendo-chart-series-item>
|
|
22
|
+
* </kendo-chart-series>
|
|
23
|
+
* </kendo-chart>
|
|
24
|
+
* ```
|
|
14
25
|
*/
|
|
15
26
|
export declare class SeriesNotesComponent extends SettingsComponent implements SeriesNotes {
|
|
16
27
|
configurationService: ConfigurationService;
|
|
@@ -13,6 +13,15 @@ import { SeriesDrilldownTemplateDirective } from './series-drilldown-template.di
|
|
|
13
13
|
import * as i0 from "@angular/core";
|
|
14
14
|
/**
|
|
15
15
|
* The configuration component for a series item.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```html
|
|
19
|
+
* <kendo-chart ...>
|
|
20
|
+
* <kendo-chart-series>
|
|
21
|
+
* <kendo-chart-series-item type="line" ...> </kendo-chart-series-item>
|
|
22
|
+
* </kendo-chart-series>
|
|
23
|
+
* </kendo-chart>
|
|
24
|
+
* ```
|
|
16
25
|
*/
|
|
17
26
|
export declare class SeriesItemComponent extends CollectionItemComponent implements Series {
|
|
18
27
|
protected configurationService: ConfigurationService;
|
|
@@ -29,20 +38,17 @@ export declare class SeriesItemComponent extends CollectionItemComponent impleme
|
|
|
29
38
|
* - `"max"`—The highest value for the date period.
|
|
30
39
|
* - `"min"`—The lowest value for the date period.
|
|
31
40
|
* - `"sum"`—The sum of all values for the date period. Defaults to `0` if no data points are defined.
|
|
32
|
-
* - `"sumOrNull"`—The sum of all values for the date period. Defaults to `null` if no data points are
|
|
33
|
-
* defined.
|
|
41
|
+
* - `"sumOrNull"`—The sum of all values for the date period. Defaults to `null` if no data points are defined.
|
|
34
42
|
* - `"first"`—The first value.
|
|
35
|
-
* - function (values, series, dataItems, category)—A user-defined aggregate function. Returns a single
|
|
36
|
-
*
|
|
37
|
-
* - object (compound aggregate)—Applicable to the Candlestick, Box Plot, and OHLC series.
|
|
38
|
-
* Specifies the aggregate for each data item field..
|
|
43
|
+
* - function (values, series, dataItems, category)—A user-defined aggregate function. Returns a single value or a data item.
|
|
44
|
+
* - object (compound aggregate)—Applicable to the Candlestick, Box Plot, and OHLC series. Specifies the aggregate for each data item field.
|
|
39
45
|
*
|
|
40
46
|
* @default 'max'
|
|
41
47
|
*/
|
|
42
48
|
aggregate: any;
|
|
43
49
|
/**
|
|
44
50
|
* If set to `true`, the Chart automatically scales down to fit the content area.
|
|
45
|
-
* Applicable for the Pie and Donut series. ([See example]({% slug donut_seriestypes_charts %}#toc-displaying-labels))
|
|
51
|
+
* Applicable for the Pie and Donut series. ([See example]({% slug donut_seriestypes_charts %}#toc-displaying-labels)).
|
|
46
52
|
* @default false
|
|
47
53
|
*/
|
|
48
54
|
autoFit: boolean;
|
|
@@ -36,6 +36,11 @@ export declare class SubtitleComponent extends SettingsComponent implements Subt
|
|
|
36
36
|
*/
|
|
37
37
|
font: string;
|
|
38
38
|
margin: Margin | number;
|
|
39
|
+
/**
|
|
40
|
+
* The padding of the subtitle. A numeric value sets all paddings.
|
|
41
|
+
*
|
|
42
|
+
* @default 5
|
|
43
|
+
*/
|
|
39
44
|
padding: Padding | number;
|
|
40
45
|
/**
|
|
41
46
|
* The position of the subtitle.
|
|
@@ -11,64 +11,19 @@ import * as i0 from "@angular/core";
|
|
|
11
11
|
* A collection of one or more X-axis configuration components.
|
|
12
12
|
*
|
|
13
13
|
* @example
|
|
14
|
-
* ```
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
* _@Component({
|
|
18
|
-
* selector: 'my-app',
|
|
19
|
-
* template: `
|
|
20
|
-
* <kendo-chart>
|
|
14
|
+
* ```html
|
|
15
|
+
* <kendo-chart>
|
|
21
16
|
* <kendo-chart-x-axis>
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
17
|
+
* <kendo-chart-x-axis-item
|
|
18
|
+
* [background]="'rgba(100, 100, 100, 0.2)'"
|
|
19
|
+
* color="red"
|
|
20
|
+
* [notes]="notesConfig"
|
|
21
|
+
* [crosshair]="crosshairConfig">
|
|
22
|
+
* </kendo-chart-x-axis-item>
|
|
23
|
+
* <kendo-chart-x-axis-item name="secondAxis">
|
|
24
|
+
* </kendo-chart-x-axis-item>
|
|
30
25
|
* </kendo-chart-x-axis>
|
|
31
|
-
*
|
|
32
|
-
* <kendo-chart-series-item type="scatter" [data]="[[1, 2]]">
|
|
33
|
-
* </kendo-chart-series-item>
|
|
34
|
-
* <kendo-chart-series-item type="scatter" [data]="[[0.1, 0.2]]"
|
|
35
|
-
* xAxis="secondAxis">
|
|
36
|
-
* </kendo-chart-series-item>
|
|
37
|
-
* </kendo-chart-series>
|
|
38
|
-
* </kendo-chart>
|
|
39
|
-
* `
|
|
40
|
-
* })
|
|
41
|
-
* export class AppComponent {
|
|
42
|
-
* public notesConfig = {
|
|
43
|
-
* data: [{
|
|
44
|
-
* value: 0.2,
|
|
45
|
-
* text: "foo"
|
|
46
|
-
* }, {
|
|
47
|
-
* value: 0.8,
|
|
48
|
-
* text: "bar"
|
|
49
|
-
* }],
|
|
50
|
-
* label: {
|
|
51
|
-
* content: (args: any) => args.dataItem.text,
|
|
52
|
-
* background: 'red',
|
|
53
|
-
* color: 'white'
|
|
54
|
-
* },
|
|
55
|
-
* line: {
|
|
56
|
-
* color: 'blue',
|
|
57
|
-
* dashType: 'dash',
|
|
58
|
-
* length: 150,
|
|
59
|
-
* width: 2
|
|
60
|
-
* },
|
|
61
|
-
* position: 'top'
|
|
62
|
-
* };
|
|
63
|
-
*
|
|
64
|
-
* public crosshairConfig = {
|
|
65
|
-
* color: 'green',
|
|
66
|
-
* opacity: 0.8,
|
|
67
|
-
* visible: true,
|
|
68
|
-
* width: 3
|
|
69
|
-
* };
|
|
70
|
-
* }
|
|
71
|
-
*
|
|
26
|
+
* </kendo-chart>
|
|
72
27
|
* ```
|
|
73
28
|
*/
|
|
74
29
|
export declare class XAxisComponent extends CollectionComponent {
|
|
@@ -51,7 +51,7 @@ export declare class YAxisItemComponent extends CollectionItemComponent implemen
|
|
|
51
51
|
*
|
|
52
52
|
* If the series Y value is of the `date` type, the Chart automatically switches to a date axis.
|
|
53
53
|
* To avoid this behavior, set the `type`.
|
|
54
|
-
* @default
|
|
54
|
+
* @default 'numeric'
|
|
55
55
|
*/
|
|
56
56
|
type: 'numeric' | 'log' | 'date';
|
|
57
57
|
/**
|
|
@@ -11,64 +11,19 @@ import * as i0 from "@angular/core";
|
|
|
11
11
|
* A collection of one or more Y-axis configuration components.
|
|
12
12
|
*
|
|
13
13
|
* @example
|
|
14
|
-
* ```
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
* _@Component({
|
|
18
|
-
* selector: 'my-app',
|
|
19
|
-
* template: `
|
|
20
|
-
* <kendo-chart>
|
|
14
|
+
* ```html
|
|
15
|
+
* <kendo-chart>
|
|
21
16
|
* <kendo-chart-y-axis>
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
17
|
+
* <kendo-chart-y-axis-item
|
|
18
|
+
* [background]="'rgba(100, 100, 100, 0.2)'"
|
|
19
|
+
* color="red"
|
|
20
|
+
* [notes]="notesConfig"
|
|
21
|
+
* [crosshair]="crosshairConfig">
|
|
22
|
+
* </kendo-chart-y-axis-item>
|
|
23
|
+
* <kendo-chart-y-axis-item name="secondAxis">
|
|
24
|
+
* </kendo-chart-y-axis-item>
|
|
30
25
|
* </kendo-chart-y-axis>
|
|
31
|
-
*
|
|
32
|
-
* <kendo-chart-series-item type="scatter" [data]="[[1, 2]]">
|
|
33
|
-
* </kendo-chart-series-item>
|
|
34
|
-
* <kendo-chart-series-item type="scatter" [data]="[[0.1, 0.2]]"
|
|
35
|
-
* yAxis="secondAxis">
|
|
36
|
-
* </kendo-chart-series-item>
|
|
37
|
-
* </kendo-chart-series>
|
|
38
|
-
* </kendo-chart>
|
|
39
|
-
* `
|
|
40
|
-
* })
|
|
41
|
-
* export class AppComponent {
|
|
42
|
-
* public notesConfig = {
|
|
43
|
-
* data: [{
|
|
44
|
-
* value: 0.2,
|
|
45
|
-
* text: "foo"
|
|
46
|
-
* }, {
|
|
47
|
-
* value: 0.8,
|
|
48
|
-
* text: "bar"
|
|
49
|
-
* }],
|
|
50
|
-
* label: {
|
|
51
|
-
* content: (args: any) => args.dataItem.text,
|
|
52
|
-
* background: 'red',
|
|
53
|
-
* color: 'white'
|
|
54
|
-
* },
|
|
55
|
-
* line: {
|
|
56
|
-
* color: 'blue',
|
|
57
|
-
* dashType: 'dash',
|
|
58
|
-
* length: 150,
|
|
59
|
-
* width: 2
|
|
60
|
-
* },
|
|
61
|
-
* position: 'top'
|
|
62
|
-
* };
|
|
63
|
-
*
|
|
64
|
-
* public crosshairConfig = {
|
|
65
|
-
* color: 'green',
|
|
66
|
-
* opacity: 0.8,
|
|
67
|
-
* visible: true,
|
|
68
|
-
* width: 3
|
|
69
|
-
* };
|
|
70
|
-
* }
|
|
71
|
-
*
|
|
26
|
+
* </kendo-chart>
|
|
72
27
|
* ```
|
|
73
28
|
*/
|
|
74
29
|
export declare class YAxisComponent extends CollectionComponent {
|
|
@@ -11,65 +11,14 @@ import * as i1 from "../../common/configuration.service";
|
|
|
11
11
|
* The configuration of the Chart series marker.
|
|
12
12
|
*
|
|
13
13
|
* @example
|
|
14
|
-
* ```
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
* <kendo-chart-legend position="bottom" orientation="horizontal"></kendo-chart-legend>
|
|
23
|
-
* <kendo-chart-tooltip format="{0}%"></kendo-chart-tooltip>
|
|
24
|
-
* <kendo-chart-series>
|
|
25
|
-
* <kendo-chart-series-item *ngFor="let item of series"
|
|
26
|
-
* type="line"
|
|
27
|
-
* style="smooth"
|
|
28
|
-
* [data]="item.data"
|
|
29
|
-
* [name]="item.name"
|
|
30
|
-
* [markers]="item.markers">
|
|
31
|
-
* </kendo-chart-series-item>
|
|
32
|
-
* </kendo-chart-series>
|
|
33
|
-
* </kendo-chart>
|
|
34
|
-
* `
|
|
35
|
-
* })
|
|
36
|
-
* export class AppComponent {
|
|
37
|
-
* public series: any[] = [{
|
|
38
|
-
* name: "India",
|
|
39
|
-
* data: [3.907, 7.943, 7.848, 9.284, 9.263, 9.801, 3.890, 8.238, 9.552, 6.855],
|
|
40
|
-
* markers: {
|
|
41
|
-
* background: 'red',
|
|
42
|
-
* size: 20,
|
|
43
|
-
* type: 'circle'
|
|
44
|
-
* }
|
|
45
|
-
* }, {
|
|
46
|
-
* name: "Russian Federation",
|
|
47
|
-
* data: [4.743, 7.295, 7.175, 6.376, 8.153, 8.535, 5.247, -7.832, 4.3, 4.3],
|
|
48
|
-
* markers: {
|
|
49
|
-
* background: 'yellow',
|
|
50
|
-
* size: 10,
|
|
51
|
-
* type: 'square',
|
|
52
|
-
* rotation: 45
|
|
53
|
-
* }
|
|
54
|
-
* }, {
|
|
55
|
-
* name: "Germany",
|
|
56
|
-
* data: [0.010, -0.375, 1.161, 0.684, 3.7, 3.269, 1.083, -5.127, 3.690, 2.995],
|
|
57
|
-
* markers: {
|
|
58
|
-
* background: 'green',
|
|
59
|
-
* size: 20,
|
|
60
|
-
* type: 'triangle'
|
|
61
|
-
* }
|
|
62
|
-
* },{
|
|
63
|
-
* name: "World",
|
|
64
|
-
* data: [1.988, 2.733, 3.994, 3.464, 4.001, 3.939, 1.333, -2.245, 4.339, 2.727],
|
|
65
|
-
* markers: {
|
|
66
|
-
* background: 'blue',
|
|
67
|
-
* size: 10,
|
|
68
|
-
* type: 'cross'
|
|
69
|
-
* }
|
|
70
|
-
* }];
|
|
71
|
-
* public categories: number[] = [2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011];
|
|
72
|
-
* }
|
|
14
|
+
* ```html
|
|
15
|
+
* <kendo-chart ...>
|
|
16
|
+
* <kendo-chart-series>
|
|
17
|
+
* <kendo-chart-series-item type="line"...>
|
|
18
|
+
* <kendo-chart-series-item-markers background="blue"> </kendo-chart-series-item-markers>
|
|
19
|
+
* </kendo-chart-series-item>
|
|
20
|
+
* </kendo-chart-series>
|
|
21
|
+
* </kendo-chart>
|
|
73
22
|
* ```
|
|
74
23
|
*/
|
|
75
24
|
export class SeriesMarkersComponent extends SettingsComponent {
|
|
@@ -10,6 +10,17 @@ import * as i1 from "../../common/configuration.service";
|
|
|
10
10
|
/**
|
|
11
11
|
* The series notes configuration
|
|
12
12
|
* ([see example]({% slug notes_chart_charts %})).
|
|
13
|
+
*
|
|
14
|
+
* * @example
|
|
15
|
+
* ```html
|
|
16
|
+
* <kendo-chart ...>
|
|
17
|
+
* <kendo-chart-series>
|
|
18
|
+
* <kendo-chart-series-item type="line" [data]="data"...>
|
|
19
|
+
* <kendo-chart-series-item-notes [icon]="{type: 'square'}"> </kendo-chart-series-item-notes>
|
|
20
|
+
* </kendo-chart-series-item>
|
|
21
|
+
* </kendo-chart-series>
|
|
22
|
+
* </kendo-chart>
|
|
23
|
+
* ```
|
|
13
24
|
*/
|
|
14
25
|
export class SeriesNotesComponent extends SettingsComponent {
|
|
15
26
|
constructor(configurationService) {
|
|
@@ -14,6 +14,15 @@ import * as i2 from "../common/collection.service";
|
|
|
14
14
|
const toggle = (flag) => flag === undefined ? false : !flag;
|
|
15
15
|
/**
|
|
16
16
|
* The configuration component for a series item.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```html
|
|
20
|
+
* <kendo-chart ...>
|
|
21
|
+
* <kendo-chart-series>
|
|
22
|
+
* <kendo-chart-series-item type="line" ...> </kendo-chart-series-item>
|
|
23
|
+
* </kendo-chart-series>
|
|
24
|
+
* </kendo-chart>
|
|
25
|
+
* ```
|
|
17
26
|
*/
|
|
18
27
|
export class SeriesItemComponent extends CollectionItemComponent {
|
|
19
28
|
constructor(configurationService, collectionService) {
|
|
@@ -15,64 +15,19 @@ import * as i2 from "../common/collection.service";
|
|
|
15
15
|
* A collection of one or more X-axis configuration components.
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
* _@Component({
|
|
22
|
-
* selector: 'my-app',
|
|
23
|
-
* template: `
|
|
24
|
-
* <kendo-chart>
|
|
18
|
+
* ```html
|
|
19
|
+
* <kendo-chart>
|
|
25
20
|
* <kendo-chart-x-axis>
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
21
|
+
* <kendo-chart-x-axis-item
|
|
22
|
+
* [background]="'rgba(100, 100, 100, 0.2)'"
|
|
23
|
+
* color="red"
|
|
24
|
+
* [notes]="notesConfig"
|
|
25
|
+
* [crosshair]="crosshairConfig">
|
|
26
|
+
* </kendo-chart-x-axis-item>
|
|
27
|
+
* <kendo-chart-x-axis-item name="secondAxis">
|
|
28
|
+
* </kendo-chart-x-axis-item>
|
|
34
29
|
* </kendo-chart-x-axis>
|
|
35
|
-
*
|
|
36
|
-
* <kendo-chart-series-item type="scatter" [data]="[[1, 2]]">
|
|
37
|
-
* </kendo-chart-series-item>
|
|
38
|
-
* <kendo-chart-series-item type="scatter" [data]="[[0.1, 0.2]]"
|
|
39
|
-
* xAxis="secondAxis">
|
|
40
|
-
* </kendo-chart-series-item>
|
|
41
|
-
* </kendo-chart-series>
|
|
42
|
-
* </kendo-chart>
|
|
43
|
-
* `
|
|
44
|
-
* })
|
|
45
|
-
* export class AppComponent {
|
|
46
|
-
* public notesConfig = {
|
|
47
|
-
* data: [{
|
|
48
|
-
* value: 0.2,
|
|
49
|
-
* text: "foo"
|
|
50
|
-
* }, {
|
|
51
|
-
* value: 0.8,
|
|
52
|
-
* text: "bar"
|
|
53
|
-
* }],
|
|
54
|
-
* label: {
|
|
55
|
-
* content: (args: any) => args.dataItem.text,
|
|
56
|
-
* background: 'red',
|
|
57
|
-
* color: 'white'
|
|
58
|
-
* },
|
|
59
|
-
* line: {
|
|
60
|
-
* color: 'blue',
|
|
61
|
-
* dashType: 'dash',
|
|
62
|
-
* length: 150,
|
|
63
|
-
* width: 2
|
|
64
|
-
* },
|
|
65
|
-
* position: 'top'
|
|
66
|
-
* };
|
|
67
|
-
*
|
|
68
|
-
* public crosshairConfig = {
|
|
69
|
-
* color: 'green',
|
|
70
|
-
* opacity: 0.8,
|
|
71
|
-
* visible: true,
|
|
72
|
-
* width: 3
|
|
73
|
-
* };
|
|
74
|
-
* }
|
|
75
|
-
*
|
|
30
|
+
* </kendo-chart>
|
|
76
31
|
* ```
|
|
77
32
|
*/
|
|
78
33
|
export class XAxisComponent extends CollectionComponent {
|
|
@@ -15,64 +15,19 @@ import * as i2 from "../common/collection.service";
|
|
|
15
15
|
* A collection of one or more Y-axis configuration components.
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
* _@Component({
|
|
22
|
-
* selector: 'my-app',
|
|
23
|
-
* template: `
|
|
24
|
-
* <kendo-chart>
|
|
18
|
+
* ```html
|
|
19
|
+
* <kendo-chart>
|
|
25
20
|
* <kendo-chart-y-axis>
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
21
|
+
* <kendo-chart-y-axis-item
|
|
22
|
+
* [background]="'rgba(100, 100, 100, 0.2)'"
|
|
23
|
+
* color="red"
|
|
24
|
+
* [notes]="notesConfig"
|
|
25
|
+
* [crosshair]="crosshairConfig">
|
|
26
|
+
* </kendo-chart-y-axis-item>
|
|
27
|
+
* <kendo-chart-y-axis-item name="secondAxis">
|
|
28
|
+
* </kendo-chart-y-axis-item>
|
|
34
29
|
* </kendo-chart-y-axis>
|
|
35
|
-
*
|
|
36
|
-
* <kendo-chart-series-item type="scatter" [data]="[[1, 2]]">
|
|
37
|
-
* </kendo-chart-series-item>
|
|
38
|
-
* <kendo-chart-series-item type="scatter" [data]="[[0.1, 0.2]]"
|
|
39
|
-
* yAxis="secondAxis">
|
|
40
|
-
* </kendo-chart-series-item>
|
|
41
|
-
* </kendo-chart-series>
|
|
42
|
-
* </kendo-chart>
|
|
43
|
-
* `
|
|
44
|
-
* })
|
|
45
|
-
* export class AppComponent {
|
|
46
|
-
* public notesConfig = {
|
|
47
|
-
* data: [{
|
|
48
|
-
* value: 0.2,
|
|
49
|
-
* text: "foo"
|
|
50
|
-
* }, {
|
|
51
|
-
* value: 0.8,
|
|
52
|
-
* text: "bar"
|
|
53
|
-
* }],
|
|
54
|
-
* label: {
|
|
55
|
-
* content: (args: any) => args.dataItem.text,
|
|
56
|
-
* background: 'red',
|
|
57
|
-
* color: 'white'
|
|
58
|
-
* },
|
|
59
|
-
* line: {
|
|
60
|
-
* color: 'blue',
|
|
61
|
-
* dashType: 'dash',
|
|
62
|
-
* length: 150,
|
|
63
|
-
* width: 2
|
|
64
|
-
* },
|
|
65
|
-
* position: 'top'
|
|
66
|
-
* };
|
|
67
|
-
*
|
|
68
|
-
* public crosshairConfig = {
|
|
69
|
-
* color: 'green',
|
|
70
|
-
* opacity: 0.8,
|
|
71
|
-
* visible: true,
|
|
72
|
-
* width: 3
|
|
73
|
-
* };
|
|
74
|
-
* }
|
|
75
|
-
*
|
|
30
|
+
* </kendo-chart>
|
|
76
31
|
* ```
|
|
77
32
|
*/
|
|
78
33
|
export class YAxisComponent extends CollectionComponent {
|
|
@@ -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:
|
|
13
|
-
version: '13.2.0
|
|
12
|
+
publishDate: 1689688607,
|
|
13
|
+
version: '13.2.0',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|
|
@@ -26,25 +26,9 @@ import * as i8 from "@progress/kendo-angular-common";
|
|
|
26
26
|
* The root Chart component.
|
|
27
27
|
*
|
|
28
28
|
* @example
|
|
29
|
-
* ```
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
* _@Component({
|
|
33
|
-
* selector: 'my-app',
|
|
34
|
-
* template: `
|
|
35
|
-
* <kendo-sparkline [data]="data" type="column">
|
|
36
|
-
* </kendo-sparkline>
|
|
37
|
-
* `
|
|
38
|
-
* })
|
|
39
|
-
* class AppComponent {
|
|
40
|
-
* public data: any[] = [
|
|
41
|
-
* 936, 968, 1025, 999, 998, 1014, 1017, 1010, 1010, 1007,
|
|
42
|
-
* 1004, 988, 990, 988, 987, 995, 946, 954, 991, 984,
|
|
43
|
-
* 974, 956, 986, 936, 955, 1021, 1013, 1005, 958, 953,
|
|
44
|
-
* 952, 940, 937, 980, 966, 965, 928, 916, 910, 980
|
|
45
|
-
* ];
|
|
46
|
-
* }
|
|
47
|
-
*
|
|
29
|
+
* ```html
|
|
30
|
+
* <kendo-sparkline [data]="[936, 968, 1025, 999]" type="column">
|
|
31
|
+
* </kendo-sparkline>
|
|
48
32
|
* ```
|
|
49
33
|
*/
|
|
50
34
|
export class SparklineComponent extends ChartComponent {
|