@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
|
@@ -33,41 +33,21 @@ const NAVIGATOR_DEFAULTS = {
|
|
|
33
33
|
* The root StockChart component.
|
|
34
34
|
*
|
|
35
35
|
* @example
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
* <kendo-
|
|
43
|
-
* <kendo-chart-
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
* <kendo-chart-navigator-series-item type="area" [data]="data" field="value" categoryField="date">
|
|
52
|
-
* </kendo-chart-navigator-series-item>
|
|
53
|
-
* </kendo-chart-navigator-series>
|
|
54
|
-
* </kendo-chart-navigator>
|
|
55
|
-
* </kendo-stockchart>
|
|
56
|
-
* `
|
|
57
|
-
* })
|
|
58
|
-
* class AppComponent {
|
|
59
|
-
* public data: any[] = [];
|
|
60
|
-
*
|
|
61
|
-
* constructor() {
|
|
62
|
-
* for (let idx = 0; idx < 100; idx++) {
|
|
63
|
-
* this.data.push({
|
|
64
|
-
* date: new Date(2017, 0, idx),
|
|
65
|
-
* value: Math.random() * 100
|
|
66
|
-
* });
|
|
67
|
-
* }
|
|
68
|
-
* }
|
|
69
|
-
* }
|
|
70
|
-
*
|
|
36
|
+
* ```html
|
|
37
|
+
* <kendo-stockchart>
|
|
38
|
+
* <kendo-chart-series>
|
|
39
|
+
* <kendo-chart-series-item type="line" [data]="data" field="value" categoryField="date">
|
|
40
|
+
* </kendo-chart-series-item>
|
|
41
|
+
* </kendo-chart-series>
|
|
42
|
+
* <kendo-chart-navigator>
|
|
43
|
+
* <kendo-chart-navigator-select to="2017/02/01">
|
|
44
|
+
* </kendo-chart-navigator-select>
|
|
45
|
+
* <kendo-chart-navigator-series>
|
|
46
|
+
* <kendo-chart-navigator-series-item type="area" [data]="data" field="value" categoryField="date">
|
|
47
|
+
* </kendo-chart-navigator-series-item>
|
|
48
|
+
* </kendo-chart-navigator-series>
|
|
49
|
+
* </kendo-chart-navigator>
|
|
50
|
+
* </kendo-stockchart>
|
|
71
51
|
* ```
|
|
72
52
|
*/
|
|
73
53
|
export class StockChartComponent extends ChartComponent {
|
|
@@ -540,6 +540,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
540
540
|
const toggle = (flag) => flag === undefined ? false : !flag;
|
|
541
541
|
/**
|
|
542
542
|
* The configuration component for a series item.
|
|
543
|
+
*
|
|
544
|
+
* @example
|
|
545
|
+
* ```html
|
|
546
|
+
* <kendo-chart ...>
|
|
547
|
+
* <kendo-chart-series>
|
|
548
|
+
* <kendo-chart-series-item type="line" ...> </kendo-chart-series-item>
|
|
549
|
+
* </kendo-chart-series>
|
|
550
|
+
* </kendo-chart>
|
|
551
|
+
* ```
|
|
543
552
|
*/
|
|
544
553
|
class SeriesItemComponent extends CollectionItemComponent {
|
|
545
554
|
constructor(configurationService, collectionService) {
|
|
@@ -1858,8 +1867,8 @@ const packageMetadata = {
|
|
|
1858
1867
|
name: '@progress/kendo-angular-charts',
|
|
1859
1868
|
productName: 'Kendo UI for Angular',
|
|
1860
1869
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
1861
|
-
publishDate:
|
|
1862
|
-
version: '13.2.0
|
|
1870
|
+
publishDate: 1689688607,
|
|
1871
|
+
version: '13.2.0',
|
|
1863
1872
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
1864
1873
|
};
|
|
1865
1874
|
|
|
@@ -4787,65 +4796,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
4787
4796
|
* The configuration of the Chart series marker.
|
|
4788
4797
|
*
|
|
4789
4798
|
* @example
|
|
4790
|
-
* ```
|
|
4791
|
-
*
|
|
4792
|
-
*
|
|
4793
|
-
*
|
|
4794
|
-
*
|
|
4795
|
-
*
|
|
4796
|
-
*
|
|
4797
|
-
*
|
|
4798
|
-
* <kendo-chart-legend position="bottom" orientation="horizontal"></kendo-chart-legend>
|
|
4799
|
-
* <kendo-chart-tooltip format="{0}%"></kendo-chart-tooltip>
|
|
4800
|
-
* <kendo-chart-series>
|
|
4801
|
-
* <kendo-chart-series-item *ngFor="let item of series"
|
|
4802
|
-
* type="line"
|
|
4803
|
-
* style="smooth"
|
|
4804
|
-
* [data]="item.data"
|
|
4805
|
-
* [name]="item.name"
|
|
4806
|
-
* [markers]="item.markers">
|
|
4807
|
-
* </kendo-chart-series-item>
|
|
4808
|
-
* </kendo-chart-series>
|
|
4809
|
-
* </kendo-chart>
|
|
4810
|
-
* `
|
|
4811
|
-
* })
|
|
4812
|
-
* export class AppComponent {
|
|
4813
|
-
* public series: any[] = [{
|
|
4814
|
-
* name: "India",
|
|
4815
|
-
* data: [3.907, 7.943, 7.848, 9.284, 9.263, 9.801, 3.890, 8.238, 9.552, 6.855],
|
|
4816
|
-
* markers: {
|
|
4817
|
-
* background: 'red',
|
|
4818
|
-
* size: 20,
|
|
4819
|
-
* type: 'circle'
|
|
4820
|
-
* }
|
|
4821
|
-
* }, {
|
|
4822
|
-
* name: "Russian Federation",
|
|
4823
|
-
* data: [4.743, 7.295, 7.175, 6.376, 8.153, 8.535, 5.247, -7.832, 4.3, 4.3],
|
|
4824
|
-
* markers: {
|
|
4825
|
-
* background: 'yellow',
|
|
4826
|
-
* size: 10,
|
|
4827
|
-
* type: 'square',
|
|
4828
|
-
* rotation: 45
|
|
4829
|
-
* }
|
|
4830
|
-
* }, {
|
|
4831
|
-
* name: "Germany",
|
|
4832
|
-
* data: [0.010, -0.375, 1.161, 0.684, 3.7, 3.269, 1.083, -5.127, 3.690, 2.995],
|
|
4833
|
-
* markers: {
|
|
4834
|
-
* background: 'green',
|
|
4835
|
-
* size: 20,
|
|
4836
|
-
* type: 'triangle'
|
|
4837
|
-
* }
|
|
4838
|
-
* },{
|
|
4839
|
-
* name: "World",
|
|
4840
|
-
* data: [1.988, 2.733, 3.994, 3.464, 4.001, 3.939, 1.333, -2.245, 4.339, 2.727],
|
|
4841
|
-
* markers: {
|
|
4842
|
-
* background: 'blue',
|
|
4843
|
-
* size: 10,
|
|
4844
|
-
* type: 'cross'
|
|
4845
|
-
* }
|
|
4846
|
-
* }];
|
|
4847
|
-
* public categories: number[] = [2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011];
|
|
4848
|
-
* }
|
|
4799
|
+
* ```html
|
|
4800
|
+
* <kendo-chart ...>
|
|
4801
|
+
* <kendo-chart-series>
|
|
4802
|
+
* <kendo-chart-series-item type="line"...>
|
|
4803
|
+
* <kendo-chart-series-item-markers background="blue"> </kendo-chart-series-item-markers>
|
|
4804
|
+
* </kendo-chart-series-item>
|
|
4805
|
+
* </kendo-chart-series>
|
|
4806
|
+
* </kendo-chart>
|
|
4849
4807
|
* ```
|
|
4850
4808
|
*/
|
|
4851
4809
|
class SeriesMarkersComponent extends SettingsComponent {
|
|
@@ -4886,6 +4844,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
4886
4844
|
/**
|
|
4887
4845
|
* The series notes configuration
|
|
4888
4846
|
* ([see example]({% slug notes_chart_charts %})).
|
|
4847
|
+
*
|
|
4848
|
+
* * @example
|
|
4849
|
+
* ```html
|
|
4850
|
+
* <kendo-chart ...>
|
|
4851
|
+
* <kendo-chart-series>
|
|
4852
|
+
* <kendo-chart-series-item type="line" [data]="data"...>
|
|
4853
|
+
* <kendo-chart-series-item-notes [icon]="{type: 'square'}"> </kendo-chart-series-item-notes>
|
|
4854
|
+
* </kendo-chart-series-item>
|
|
4855
|
+
* </kendo-chart-series>
|
|
4856
|
+
* </kendo-chart>
|
|
4857
|
+
* ```
|
|
4889
4858
|
*/
|
|
4890
4859
|
class SeriesNotesComponent extends SettingsComponent {
|
|
4891
4860
|
constructor(configurationService) {
|
|
@@ -5610,64 +5579,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
5610
5579
|
* A collection of one or more X-axis configuration components.
|
|
5611
5580
|
*
|
|
5612
5581
|
* @example
|
|
5613
|
-
* ```
|
|
5614
|
-
*
|
|
5615
|
-
*
|
|
5616
|
-
* _@Component({
|
|
5617
|
-
* selector: 'my-app',
|
|
5618
|
-
* template: `
|
|
5619
|
-
* <kendo-chart>
|
|
5582
|
+
* ```html
|
|
5583
|
+
* <kendo-chart>
|
|
5620
5584
|
* <kendo-chart-x-axis>
|
|
5621
|
-
*
|
|
5622
|
-
*
|
|
5623
|
-
*
|
|
5624
|
-
*
|
|
5625
|
-
*
|
|
5626
|
-
*
|
|
5627
|
-
*
|
|
5628
|
-
*
|
|
5585
|
+
* <kendo-chart-x-axis-item
|
|
5586
|
+
* [background]="'rgba(100, 100, 100, 0.2)'"
|
|
5587
|
+
* color="red"
|
|
5588
|
+
* [notes]="notesConfig"
|
|
5589
|
+
* [crosshair]="crosshairConfig">
|
|
5590
|
+
* </kendo-chart-x-axis-item>
|
|
5591
|
+
* <kendo-chart-x-axis-item name="secondAxis">
|
|
5592
|
+
* </kendo-chart-x-axis-item>
|
|
5629
5593
|
* </kendo-chart-x-axis>
|
|
5630
|
-
*
|
|
5631
|
-
* <kendo-chart-series-item type="scatter" [data]="[[1, 2]]">
|
|
5632
|
-
* </kendo-chart-series-item>
|
|
5633
|
-
* <kendo-chart-series-item type="scatter" [data]="[[0.1, 0.2]]"
|
|
5634
|
-
* xAxis="secondAxis">
|
|
5635
|
-
* </kendo-chart-series-item>
|
|
5636
|
-
* </kendo-chart-series>
|
|
5637
|
-
* </kendo-chart>
|
|
5638
|
-
* `
|
|
5639
|
-
* })
|
|
5640
|
-
* export class AppComponent {
|
|
5641
|
-
* public notesConfig = {
|
|
5642
|
-
* data: [{
|
|
5643
|
-
* value: 0.2,
|
|
5644
|
-
* text: "foo"
|
|
5645
|
-
* }, {
|
|
5646
|
-
* value: 0.8,
|
|
5647
|
-
* text: "bar"
|
|
5648
|
-
* }],
|
|
5649
|
-
* label: {
|
|
5650
|
-
* content: (args: any) => args.dataItem.text,
|
|
5651
|
-
* background: 'red',
|
|
5652
|
-
* color: 'white'
|
|
5653
|
-
* },
|
|
5654
|
-
* line: {
|
|
5655
|
-
* color: 'blue',
|
|
5656
|
-
* dashType: 'dash',
|
|
5657
|
-
* length: 150,
|
|
5658
|
-
* width: 2
|
|
5659
|
-
* },
|
|
5660
|
-
* position: 'top'
|
|
5661
|
-
* };
|
|
5662
|
-
*
|
|
5663
|
-
* public crosshairConfig = {
|
|
5664
|
-
* color: 'green',
|
|
5665
|
-
* opacity: 0.8,
|
|
5666
|
-
* visible: true,
|
|
5667
|
-
* width: 3
|
|
5668
|
-
* };
|
|
5669
|
-
* }
|
|
5670
|
-
*
|
|
5594
|
+
* </kendo-chart>
|
|
5671
5595
|
* ```
|
|
5672
5596
|
*/
|
|
5673
5597
|
class XAxisComponent extends CollectionComponent {
|
|
@@ -6037,64 +5961,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
6037
5961
|
* A collection of one or more Y-axis configuration components.
|
|
6038
5962
|
*
|
|
6039
5963
|
* @example
|
|
6040
|
-
* ```
|
|
6041
|
-
*
|
|
6042
|
-
*
|
|
6043
|
-
* _@Component({
|
|
6044
|
-
* selector: 'my-app',
|
|
6045
|
-
* template: `
|
|
6046
|
-
* <kendo-chart>
|
|
5964
|
+
* ```html
|
|
5965
|
+
* <kendo-chart>
|
|
6047
5966
|
* <kendo-chart-y-axis>
|
|
6048
|
-
*
|
|
6049
|
-
*
|
|
6050
|
-
*
|
|
6051
|
-
*
|
|
6052
|
-
*
|
|
6053
|
-
*
|
|
6054
|
-
*
|
|
6055
|
-
*
|
|
5967
|
+
* <kendo-chart-y-axis-item
|
|
5968
|
+
* [background]="'rgba(100, 100, 100, 0.2)'"
|
|
5969
|
+
* color="red"
|
|
5970
|
+
* [notes]="notesConfig"
|
|
5971
|
+
* [crosshair]="crosshairConfig">
|
|
5972
|
+
* </kendo-chart-y-axis-item>
|
|
5973
|
+
* <kendo-chart-y-axis-item name="secondAxis">
|
|
5974
|
+
* </kendo-chart-y-axis-item>
|
|
6056
5975
|
* </kendo-chart-y-axis>
|
|
6057
|
-
*
|
|
6058
|
-
* <kendo-chart-series-item type="scatter" [data]="[[1, 2]]">
|
|
6059
|
-
* </kendo-chart-series-item>
|
|
6060
|
-
* <kendo-chart-series-item type="scatter" [data]="[[0.1, 0.2]]"
|
|
6061
|
-
* yAxis="secondAxis">
|
|
6062
|
-
* </kendo-chart-series-item>
|
|
6063
|
-
* </kendo-chart-series>
|
|
6064
|
-
* </kendo-chart>
|
|
6065
|
-
* `
|
|
6066
|
-
* })
|
|
6067
|
-
* export class AppComponent {
|
|
6068
|
-
* public notesConfig = {
|
|
6069
|
-
* data: [{
|
|
6070
|
-
* value: 0.2,
|
|
6071
|
-
* text: "foo"
|
|
6072
|
-
* }, {
|
|
6073
|
-
* value: 0.8,
|
|
6074
|
-
* text: "bar"
|
|
6075
|
-
* }],
|
|
6076
|
-
* label: {
|
|
6077
|
-
* content: (args: any) => args.dataItem.text,
|
|
6078
|
-
* background: 'red',
|
|
6079
|
-
* color: 'white'
|
|
6080
|
-
* },
|
|
6081
|
-
* line: {
|
|
6082
|
-
* color: 'blue',
|
|
6083
|
-
* dashType: 'dash',
|
|
6084
|
-
* length: 150,
|
|
6085
|
-
* width: 2
|
|
6086
|
-
* },
|
|
6087
|
-
* position: 'top'
|
|
6088
|
-
* };
|
|
6089
|
-
*
|
|
6090
|
-
* public crosshairConfig = {
|
|
6091
|
-
* color: 'green',
|
|
6092
|
-
* opacity: 0.8,
|
|
6093
|
-
* visible: true,
|
|
6094
|
-
* width: 3
|
|
6095
|
-
* };
|
|
6096
|
-
* }
|
|
6097
|
-
*
|
|
5976
|
+
* </kendo-chart>
|
|
6098
5977
|
* ```
|
|
6099
5978
|
*/
|
|
6100
5979
|
class YAxisComponent extends CollectionComponent {
|
|
@@ -6677,41 +6556,21 @@ const NAVIGATOR_DEFAULTS = {
|
|
|
6677
6556
|
* The root StockChart component.
|
|
6678
6557
|
*
|
|
6679
6558
|
* @example
|
|
6680
|
-
* ```
|
|
6681
|
-
*
|
|
6682
|
-
*
|
|
6683
|
-
*
|
|
6684
|
-
*
|
|
6685
|
-
*
|
|
6686
|
-
* <kendo-
|
|
6687
|
-
* <kendo-chart-
|
|
6688
|
-
*
|
|
6689
|
-
*
|
|
6690
|
-
*
|
|
6691
|
-
*
|
|
6692
|
-
*
|
|
6693
|
-
*
|
|
6694
|
-
*
|
|
6695
|
-
* <kendo-chart-navigator-series-item type="area" [data]="data" field="value" categoryField="date">
|
|
6696
|
-
* </kendo-chart-navigator-series-item>
|
|
6697
|
-
* </kendo-chart-navigator-series>
|
|
6698
|
-
* </kendo-chart-navigator>
|
|
6699
|
-
* </kendo-stockchart>
|
|
6700
|
-
* `
|
|
6701
|
-
* })
|
|
6702
|
-
* class AppComponent {
|
|
6703
|
-
* public data: any[] = [];
|
|
6704
|
-
*
|
|
6705
|
-
* constructor() {
|
|
6706
|
-
* for (let idx = 0; idx < 100; idx++) {
|
|
6707
|
-
* this.data.push({
|
|
6708
|
-
* date: new Date(2017, 0, idx),
|
|
6709
|
-
* value: Math.random() * 100
|
|
6710
|
-
* });
|
|
6711
|
-
* }
|
|
6712
|
-
* }
|
|
6713
|
-
* }
|
|
6714
|
-
*
|
|
6559
|
+
* ```html
|
|
6560
|
+
* <kendo-stockchart>
|
|
6561
|
+
* <kendo-chart-series>
|
|
6562
|
+
* <kendo-chart-series-item type="line" [data]="data" field="value" categoryField="date">
|
|
6563
|
+
* </kendo-chart-series-item>
|
|
6564
|
+
* </kendo-chart-series>
|
|
6565
|
+
* <kendo-chart-navigator>
|
|
6566
|
+
* <kendo-chart-navigator-select to="2017/02/01">
|
|
6567
|
+
* </kendo-chart-navigator-select>
|
|
6568
|
+
* <kendo-chart-navigator-series>
|
|
6569
|
+
* <kendo-chart-navigator-series-item type="area" [data]="data" field="value" categoryField="date">
|
|
6570
|
+
* </kendo-chart-navigator-series-item>
|
|
6571
|
+
* </kendo-chart-navigator-series>
|
|
6572
|
+
* </kendo-chart-navigator>
|
|
6573
|
+
* </kendo-stockchart>
|
|
6715
6574
|
* ```
|
|
6716
6575
|
*/
|
|
6717
6576
|
class StockChartComponent extends ChartComponent {
|
|
@@ -7634,25 +7493,9 @@ const STOCK_CHART_DIRECTIVES = [
|
|
|
7634
7493
|
* The root Chart component.
|
|
7635
7494
|
*
|
|
7636
7495
|
* @example
|
|
7637
|
-
* ```
|
|
7638
|
-
*
|
|
7639
|
-
*
|
|
7640
|
-
* _@Component({
|
|
7641
|
-
* selector: 'my-app',
|
|
7642
|
-
* template: `
|
|
7643
|
-
* <kendo-sparkline [data]="data" type="column">
|
|
7644
|
-
* </kendo-sparkline>
|
|
7645
|
-
* `
|
|
7646
|
-
* })
|
|
7647
|
-
* class AppComponent {
|
|
7648
|
-
* public data: any[] = [
|
|
7649
|
-
* 936, 968, 1025, 999, 998, 1014, 1017, 1010, 1010, 1007,
|
|
7650
|
-
* 1004, 988, 990, 988, 987, 995, 946, 954, 991, 984,
|
|
7651
|
-
* 974, 956, 986, 936, 955, 1021, 1013, 1005, 958, 953,
|
|
7652
|
-
* 952, 940, 937, 980, 966, 965, 928, 916, 910, 980
|
|
7653
|
-
* ];
|
|
7654
|
-
* }
|
|
7655
|
-
*
|
|
7496
|
+
* ```html
|
|
7497
|
+
* <kendo-sparkline [data]="[936, 968, 1025, 999]" type="column">
|
|
7498
|
+
* </kendo-sparkline>
|
|
7656
7499
|
* ```
|
|
7657
7500
|
*/
|
|
7658
7501
|
class SparklineComponent extends ChartComponent {
|