@covalent/echarts 4.0.0-beta.4 → 4.1.0-develop.11
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 +4 -90
- package/bar/README.md +23 -21
- package/bar/bar.component.d.ts +27 -27
- package/bar/covalent-echarts-bar.d.ts +1 -1
- package/bar/{public-api.d.ts → public_api.d.ts} +0 -0
- package/base/README.md +26 -26
- package/base/axis/axis.component.d.ts +29 -29
- package/base/chart.component.d.ts +3 -3
- package/base/covalent-echarts-base.d.ts +1 -1
- package/base/dataset/dataset.component.d.ts +5 -5
- package/base/{public-api.d.ts → public_api.d.ts} +0 -0
- package/base/series/series.component.d.ts +15 -15
- package/base/{axis → src/axis}/README.md +19 -19
- package/base/{dataset → src/dataset}/README.md +19 -16
- package/covalent-echarts.d.ts +1 -1
- package/esm2020/bar/bar.component.mjs +95 -96
- package/esm2020/bar/bar.module.mjs +12 -13
- package/esm2020/bar/covalent-echarts-bar.mjs +2 -2
- package/esm2020/bar/public_api.mjs +3 -0
- package/esm2020/base/axis/axis.component.mjs +66 -66
- package/esm2020/base/axis/axis.interface.mjs +1 -1
- package/esm2020/base/axis/x-axis.component.mjs +45 -45
- package/esm2020/base/axis/y-axis.component.mjs +45 -45
- package/esm2020/base/base.module.mjs +13 -14
- package/esm2020/base/base.types.mjs +1 -1
- package/esm2020/base/chart-options.service.mjs +6 -6
- package/esm2020/base/chart.component.mjs +42 -38
- package/esm2020/base/covalent-echarts-base.mjs +2 -2
- package/esm2020/base/dataset/dataset.component.mjs +22 -22
- package/esm2020/base/public_api.mjs +10 -0
- package/esm2020/base/series/series.component.mjs +34 -34
- package/esm2020/base/series/series.interface.mjs +1 -1
- package/esm2020/base/themes/aqua-splash.mjs +31 -4
- package/esm2020/base/themes/california-coast.mjs +1 -1
- package/esm2020/base/themes/hawaiian-sunrise.mjs +1 -1
- package/esm2020/base/themes/passion-flower.mjs +1 -1
- package/esm2020/base/themes/razzleberry-pie.mjs +31 -4
- package/esm2020/base/themes/teradata-classic.mjs +31 -4
- package/esm2020/base/themes/teradata-default.mjs +1 -1
- package/esm2020/base/themes/urban-sunrise.mjs +1 -1
- package/esm2020/base/themes/volcanic-eruption.mjs +1 -1
- package/esm2020/base/utils/assign-defined.mjs +1 -1
- package/esm2020/base/utils/echarts.mjs +1 -1
- package/esm2020/base/utils/index.mjs +1 -1
- package/esm2020/covalent-echarts.mjs +2 -2
- package/esm2020/graph/covalent-echarts-graph.mjs +2 -2
- package/esm2020/graph/graph.component.mjs +129 -130
- package/esm2020/graph/graph.module.mjs +15 -14
- package/esm2020/graph/public_api.mjs +3 -0
- package/esm2020/line/covalent-echarts-line.mjs +2 -2
- package/esm2020/line/line.component.mjs +111 -112
- package/esm2020/line/line.module.mjs +12 -13
- package/esm2020/line/public_api.mjs +3 -0
- package/esm2020/map/covalent-echarts-map.mjs +2 -2
- package/esm2020/map/map.component.mjs +93 -94
- package/esm2020/map/map.module.mjs +12 -13
- package/esm2020/map/public_api.mjs +3 -0
- package/esm2020/pie/covalent-echarts-pie.mjs +2 -2
- package/esm2020/pie/pie.component.mjs +91 -92
- package/esm2020/pie/pie.module.mjs +12 -13
- package/esm2020/pie/public_api.mjs +3 -0
- package/esm2020/public_api.mjs +2 -0
- package/esm2020/sankey/covalent-echarts-sankey.mjs +2 -2
- package/esm2020/sankey/public_api.mjs +3 -0
- package/esm2020/sankey/sankey.component.mjs +83 -84
- package/esm2020/sankey/sankey.module.mjs +15 -14
- package/esm2020/scatter/covalent-echarts-scatter.mjs +2 -2
- package/esm2020/scatter/public_api.mjs +3 -0
- package/esm2020/scatter/scatter.component.mjs +101 -102
- package/esm2020/scatter/scatter.module.mjs +15 -14
- package/esm2020/toolbox/covalent-echarts-toolbox.mjs +2 -2
- package/esm2020/toolbox/public_api.mjs +3 -0
- package/esm2020/toolbox/toolbox.component.mjs +60 -76
- package/esm2020/toolbox/toolbox.module.mjs +19 -15
- package/esm2020/tooltip/covalent-echarts-tooltip.mjs +2 -2
- package/esm2020/tooltip/public_api.mjs +4 -0
- package/esm2020/tooltip/series-tooltip.component.mjs +40 -49
- package/esm2020/tooltip/tooltip.component.mjs +71 -80
- package/esm2020/tooltip/tooltip.module.mjs +14 -15
- package/esm2020/tree/covalent-echarts-tree.mjs +2 -2
- package/esm2020/tree/public_api.mjs +3 -0
- package/esm2020/tree/tree.component.mjs +83 -84
- package/esm2020/tree/tree.module.mjs +12 -13
- package/esm2020/treemap/covalent-echarts-treemap.mjs +2 -2
- package/esm2020/treemap/public_api.mjs +3 -0
- package/esm2020/treemap/treemap.component.mjs +107 -108
- package/esm2020/treemap/treemap.module.mjs +15 -14
- package/esm2020/wordcloud/covalent-echarts-wordcloud.mjs +2 -2
- package/esm2020/wordcloud/public_api.mjs +3 -0
- package/esm2020/wordcloud/wordcloud.component.mjs +68 -69
- package/esm2020/wordcloud/wordcloud.module.mjs +15 -14
- package/fesm2015/covalent-echarts-bar.mjs +16 -22
- package/fesm2015/covalent-echarts-bar.mjs.map +1 -1
- package/fesm2015/covalent-echarts-base.mjs +148 -81
- package/fesm2015/covalent-echarts-base.mjs.map +1 -1
- package/fesm2015/covalent-echarts-graph.mjs +19 -23
- package/fesm2015/covalent-echarts-graph.mjs.map +1 -1
- package/fesm2015/covalent-echarts-line.mjs +16 -22
- package/fesm2015/covalent-echarts-line.mjs.map +1 -1
- package/fesm2015/covalent-echarts-map.mjs +16 -22
- package/fesm2015/covalent-echarts-map.mjs.map +1 -1
- package/fesm2015/covalent-echarts-pie.mjs +16 -22
- package/fesm2015/covalent-echarts-pie.mjs.map +1 -1
- package/fesm2015/covalent-echarts-sankey.mjs +19 -23
- package/fesm2015/covalent-echarts-sankey.mjs.map +1 -1
- package/fesm2015/covalent-echarts-scatter.mjs +19 -23
- package/fesm2015/covalent-echarts-scatter.mjs.map +1 -1
- package/fesm2015/covalent-echarts-toolbox.mjs +23 -49
- package/fesm2015/covalent-echarts-toolbox.mjs.map +1 -1
- package/fesm2015/covalent-echarts-tooltip.mjs +43 -90
- package/fesm2015/covalent-echarts-tooltip.mjs.map +1 -1
- package/fesm2015/covalent-echarts-tree.mjs +16 -22
- package/fesm2015/covalent-echarts-tree.mjs.map +1 -1
- package/fesm2015/covalent-echarts-treemap.mjs +19 -23
- package/fesm2015/covalent-echarts-treemap.mjs.map +1 -1
- package/fesm2015/covalent-echarts-wordcloud.mjs +19 -23
- package/fesm2015/covalent-echarts-wordcloud.mjs.map +1 -1
- package/fesm2015/covalent-echarts.mjs.map +1 -1
- package/fesm2020/covalent-echarts-bar.mjs +104 -106
- package/fesm2020/covalent-echarts-bar.mjs.map +1 -1
- package/fesm2020/covalent-echarts-base.mjs +353 -269
- package/fesm2020/covalent-echarts-base.mjs.map +1 -1
- package/fesm2020/covalent-echarts-graph.mjs +141 -141
- package/fesm2020/covalent-echarts-graph.mjs.map +1 -1
- package/fesm2020/covalent-echarts-line.mjs +120 -122
- package/fesm2020/covalent-echarts-line.mjs.map +1 -1
- package/fesm2020/covalent-echarts-map.mjs +102 -104
- package/fesm2020/covalent-echarts-map.mjs.map +1 -1
- package/fesm2020/covalent-echarts-pie.mjs +100 -102
- package/fesm2020/covalent-echarts-pie.mjs.map +1 -1
- package/fesm2020/covalent-echarts-sankey.mjs +95 -95
- package/fesm2020/covalent-echarts-sankey.mjs.map +1 -1
- package/fesm2020/covalent-echarts-scatter.mjs +113 -113
- package/fesm2020/covalent-echarts-scatter.mjs.map +1 -1
- package/fesm2020/covalent-echarts-toolbox.mjs +76 -88
- package/fesm2020/covalent-echarts-toolbox.mjs.map +1 -1
- package/fesm2020/covalent-echarts-tooltip.mjs +120 -139
- package/fesm2020/covalent-echarts-tooltip.mjs.map +1 -1
- package/fesm2020/covalent-echarts-tree.mjs +92 -94
- package/fesm2020/covalent-echarts-tree.mjs.map +1 -1
- package/fesm2020/covalent-echarts-treemap.mjs +119 -119
- package/fesm2020/covalent-echarts-treemap.mjs.map +1 -1
- package/fesm2020/covalent-echarts-wordcloud.mjs +79 -79
- package/fesm2020/covalent-echarts-wordcloud.mjs.map +1 -1
- package/fesm2020/covalent-echarts.mjs.map +1 -1
- package/graph/README.md +21 -19
- package/graph/covalent-echarts-graph.d.ts +1 -1
- package/graph/graph.component.d.ts +60 -60
- package/graph/{public-api.d.ts → public_api.d.ts} +0 -0
- package/line/README.md +19 -21
- package/line/covalent-echarts-line.d.ts +1 -1
- package/line/line.component.d.ts +35 -35
- package/line/{public-api.d.ts → public_api.d.ts} +0 -0
- package/map/README.md +19 -17
- package/map/covalent-echarts-map.d.ts +1 -1
- package/map/map.component.d.ts +27 -27
- package/map/{public-api.d.ts → public_api.d.ts} +0 -0
- package/package.json +11 -22
- package/pie/README.md +17 -15
- package/pie/covalent-echarts-pie.d.ts +1 -1
- package/pie/pie.component.d.ts +26 -26
- package/pie/{public-api.d.ts → public_api.d.ts} +0 -0
- package/{index.d.ts → public_api.d.ts} +0 -0
- package/sankey/README.md +22 -20
- package/sankey/covalent-echarts-sankey.d.ts +1 -1
- package/sankey/{public-api.d.ts → public_api.d.ts} +0 -0
- package/sankey/sankey.component.d.ts +22 -22
- package/scatter/README.md +19 -21
- package/scatter/covalent-echarts-scatter.d.ts +1 -1
- package/scatter/{public-api.d.ts → public_api.d.ts} +0 -0
- package/scatter/scatter.component.d.ts +31 -31
- package/toolbox/README.md +12 -11
- package/toolbox/covalent-echarts-toolbox.d.ts +1 -1
- package/toolbox/{public-api.d.ts → public_api.d.ts} +0 -0
- package/toolbox/toolbox.component.d.ts +10 -10
- package/tooltip/README.md +30 -26
- package/tooltip/covalent-echarts-tooltip.d.ts +1 -1
- package/tooltip/{public-api.d.ts → public_api.d.ts} +0 -0
- package/tooltip/series-tooltip.component.d.ts +11 -9
- package/tooltip/tooltip.component.d.ts +16 -16
- package/tree/README.md +20 -18
- package/tree/covalent-echarts-tree.d.ts +1 -1
- package/tree/{public-api.d.ts → public_api.d.ts} +0 -0
- package/tree/tree.component.d.ts +24 -24
- package/treemap/README.md +23 -21
- package/treemap/covalent-echarts-treemap.d.ts +1 -1
- package/treemap/{public-api.d.ts → public_api.d.ts} +0 -0
- package/treemap/treemap.component.d.ts +37 -37
- package/wordcloud/README.md +25 -23
- package/wordcloud/covalent-echarts-wordcloud.d.ts +1 -1
- package/wordcloud/{public-api.d.ts → public_api.d.ts} +0 -0
- package/wordcloud/wordcloud.component.d.ts +14 -14
- package/bar/index.d.ts +0 -1
- package/base/chart.component.scss +0 -4
- package/base/index.d.ts +0 -1
- package/esm2020/bar/index.mjs +0 -2
- package/esm2020/bar/public-api.mjs +0 -3
- package/esm2020/base/index.mjs +0 -2
- package/esm2020/base/public-api.mjs +0 -10
- package/esm2020/graph/index.mjs +0 -2
- package/esm2020/graph/public-api.mjs +0 -3
- package/esm2020/index.mjs +0 -2
- package/esm2020/line/index.mjs +0 -2
- package/esm2020/line/public-api.mjs +0 -3
- package/esm2020/map/index.mjs +0 -2
- package/esm2020/map/public-api.mjs +0 -3
- package/esm2020/pie/index.mjs +0 -2
- package/esm2020/pie/public-api.mjs +0 -3
- package/esm2020/sankey/index.mjs +0 -2
- package/esm2020/sankey/public-api.mjs +0 -3
- package/esm2020/scatter/index.mjs +0 -2
- package/esm2020/scatter/public-api.mjs +0 -3
- package/esm2020/toolbox/index.mjs +0 -2
- package/esm2020/toolbox/public-api.mjs +0 -3
- package/esm2020/tooltip/index.mjs +0 -2
- package/esm2020/tooltip/public-api.mjs +0 -4
- package/esm2020/tree/index.mjs +0 -2
- package/esm2020/tree/public-api.mjs +0 -3
- package/esm2020/treemap/index.mjs +0 -2
- package/esm2020/treemap/public-api.mjs +0 -3
- package/esm2020/wordcloud/index.mjs +0 -2
- package/esm2020/wordcloud/public-api.mjs +0 -3
- package/graph/index.d.ts +0 -1
- package/line/index.d.ts +0 -1
- package/map/index.d.ts +0 -1
- package/pie/index.d.ts +0 -1
- package/sankey/index.d.ts +0 -1
- package/scatter/index.d.ts +0 -1
- package/toolbox/index.d.ts +0 -1
- package/tooltip/index.d.ts +0 -1
- package/tree/index.d.ts +0 -1
- package/treemap/index.d.ts +0 -1
- package/wordcloud/index.d.ts +0 -1
package/line/line.component.d.ts
CHANGED
|
@@ -43,42 +43,42 @@ export interface ITdLineSeries extends ITdSeries, ITdShadow {
|
|
|
43
43
|
silent?: boolean;
|
|
44
44
|
}
|
|
45
45
|
export declare class TdChartSeriesLineComponent extends TdSeriesDirective implements ITdLineSeries {
|
|
46
|
-
coordinateSystem
|
|
47
|
-
xAxisIndex
|
|
48
|
-
yAxisIndex
|
|
49
|
-
polarIndex
|
|
50
|
-
symbol
|
|
51
|
-
symbolSize
|
|
52
|
-
symbolRotate
|
|
53
|
-
symbolKeepAspect
|
|
54
|
-
symbolOffset
|
|
55
|
-
showSymbol
|
|
56
|
-
showAllSymbol
|
|
57
|
-
hoverAnimation
|
|
58
|
-
legendHoverLink
|
|
59
|
-
stack
|
|
60
|
-
cursor
|
|
61
|
-
connectNulls
|
|
62
|
-
clipOverflow
|
|
63
|
-
step
|
|
64
|
-
label
|
|
65
|
-
itemStyle
|
|
66
|
-
lineStyle
|
|
67
|
-
areaStyle
|
|
68
|
-
emphasis
|
|
69
|
-
smooth
|
|
70
|
-
smoothMonotone
|
|
71
|
-
sampling
|
|
72
|
-
dimensions
|
|
46
|
+
coordinateSystem?: TdCoordinateSystem;
|
|
47
|
+
xAxisIndex?: number;
|
|
48
|
+
yAxisIndex?: number;
|
|
49
|
+
polarIndex?: number;
|
|
50
|
+
symbol?: TdMarkPointSymbol | string;
|
|
51
|
+
symbolSize?: number | any[] | Function;
|
|
52
|
+
symbolRotate?: number;
|
|
53
|
+
symbolKeepAspect?: boolean;
|
|
54
|
+
symbolOffset?: any[];
|
|
55
|
+
showSymbol?: boolean;
|
|
56
|
+
showAllSymbol?: boolean;
|
|
57
|
+
hoverAnimation?: boolean;
|
|
58
|
+
legendHoverLink?: boolean;
|
|
59
|
+
stack?: string;
|
|
60
|
+
cursor?: string;
|
|
61
|
+
connectNulls?: boolean;
|
|
62
|
+
clipOverflow?: boolean;
|
|
63
|
+
step?: string | boolean;
|
|
64
|
+
label?: ITdLabel;
|
|
65
|
+
itemStyle?: ITdItemStyle;
|
|
66
|
+
lineStyle?: ITdLineStyle;
|
|
67
|
+
areaStyle?: ITdAreaStyle;
|
|
68
|
+
emphasis?: ITdEmphasis;
|
|
69
|
+
smooth?: boolean | number;
|
|
70
|
+
smoothMonotone?: string;
|
|
71
|
+
sampling?: TdSampling;
|
|
72
|
+
dimensions?: any[];
|
|
73
73
|
encode: any;
|
|
74
|
-
seriesLayoutBy
|
|
75
|
-
datasetIndex
|
|
76
|
-
markPoint
|
|
77
|
-
markLine
|
|
78
|
-
markArea
|
|
79
|
-
zlevel
|
|
80
|
-
z
|
|
81
|
-
silent
|
|
74
|
+
seriesLayoutBy?: TdSeriesLayoutBy;
|
|
75
|
+
datasetIndex?: number;
|
|
76
|
+
markPoint?: ITdMarkPoint;
|
|
77
|
+
markLine?: ITdMarkLine;
|
|
78
|
+
markArea?: ITdMarkArea;
|
|
79
|
+
zlevel?: number;
|
|
80
|
+
z?: number;
|
|
81
|
+
silent?: boolean;
|
|
82
82
|
constructor(_optionsService: TdChartOptionsService);
|
|
83
83
|
getConfig(): any;
|
|
84
84
|
static ɵfac: i0.ɵɵFactoryDeclaration<TdChartSeriesLineComponent, never>;
|
|
File without changes
|
package/map/README.md
CHANGED
|
@@ -6,20 +6,20 @@
|
|
|
6
6
|
|
|
7
7
|
#### Inputs
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
- config?: any
|
|
10
|
+
- Sets the JS config object if you choose to not use the property inputs.
|
|
11
|
+
- Note: [config] input properties will override input values
|
|
12
12
|
|
|
13
13
|
There are also lots of property inputs like:
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
15
|
+
- id?: string
|
|
16
|
+
- It can be used to refer the component in option or API.
|
|
17
|
+
- name?: string
|
|
18
|
+
- Series name used for displaying in tooltip and filtering with legend.
|
|
19
|
+
- map?: string
|
|
20
|
+
- Due to the increase of fineness of map, ECharts 3 doesn't include map data by default for package size consideration.
|
|
21
|
+
- data?: any[]
|
|
22
|
+
- Data array of series.
|
|
23
23
|
|
|
24
24
|
And so many more.. for more info [click here](https://echarts.apache.org/en/option.html#series-map)
|
|
25
25
|
|
|
@@ -53,10 +53,11 @@ echarts.registerMap('USA', usaGeoJson);
|
|
|
53
53
|
|
|
54
54
|
```html
|
|
55
55
|
<td-chart>
|
|
56
|
-
<td-chart-series
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
56
|
+
<td-chart-series
|
|
57
|
+
td-map
|
|
58
|
+
[name]="'USA PopEstimates'"
|
|
59
|
+
[map]="'USA'"
|
|
60
|
+
[data]="[
|
|
60
61
|
{name: 'Alabama', value: 4822023},
|
|
61
62
|
{name: 'Alaska', value: 731449},
|
|
62
63
|
{name: 'Arizona', value: 6553255},
|
|
@@ -110,8 +111,9 @@ echarts.registerMap('USA', usaGeoJson);
|
|
|
110
111
|
{name: 'Wyoming', value: 576412},
|
|
111
112
|
{name: 'Puerto Rico', value: 3667084}
|
|
112
113
|
]"
|
|
113
|
-
|
|
114
|
-
|
|
114
|
+
[roam]="true"
|
|
115
|
+
[itemStyle]="{ emphasis:{label:{show:true}} }"
|
|
116
|
+
>
|
|
115
117
|
</td-chart-series>
|
|
116
118
|
</td-chart>
|
|
117
119
|
```
|
package/map/map.component.d.ts
CHANGED
|
@@ -41,33 +41,33 @@ export interface ITdMapSeries extends ITdSeries {
|
|
|
41
41
|
silent?: boolean;
|
|
42
42
|
}
|
|
43
43
|
export declare class TdChartSeriesMapComponent extends TdSeriesDirective implements ITdMapSeries {
|
|
44
|
-
map
|
|
45
|
-
roam
|
|
46
|
-
center
|
|
47
|
-
aspectScale
|
|
48
|
-
boudingCoords
|
|
49
|
-
zoom
|
|
50
|
-
scaleLimit
|
|
51
|
-
nameMap
|
|
52
|
-
selectedMode
|
|
53
|
-
label
|
|
54
|
-
itemStyle
|
|
55
|
-
zLevel
|
|
56
|
-
z
|
|
57
|
-
left
|
|
58
|
-
top
|
|
59
|
-
right
|
|
60
|
-
bottom
|
|
61
|
-
layoutCenter
|
|
62
|
-
layoutSize
|
|
63
|
-
geoIndex
|
|
64
|
-
mapValueCalculation
|
|
65
|
-
showLegendSymbol
|
|
66
|
-
seriesLayoutBy
|
|
67
|
-
markPoint
|
|
68
|
-
markLine
|
|
69
|
-
markArea
|
|
70
|
-
silent
|
|
44
|
+
map?: string;
|
|
45
|
+
roam?: boolean;
|
|
46
|
+
center?: number[];
|
|
47
|
+
aspectScale?: number;
|
|
48
|
+
boudingCoords?: any[];
|
|
49
|
+
zoom?: number;
|
|
50
|
+
scaleLimit?: ITdMapScaleLimit;
|
|
51
|
+
nameMap?: object;
|
|
52
|
+
selectedMode?: boolean | string;
|
|
53
|
+
label?: ITdLabel;
|
|
54
|
+
itemStyle?: ITdMapItemStyle;
|
|
55
|
+
zLevel?: number;
|
|
56
|
+
z?: number;
|
|
57
|
+
left?: string | number;
|
|
58
|
+
top?: string | number;
|
|
59
|
+
right?: string | number;
|
|
60
|
+
bottom?: string | number;
|
|
61
|
+
layoutCenter?: any[];
|
|
62
|
+
layoutSize?: any[];
|
|
63
|
+
geoIndex?: number;
|
|
64
|
+
mapValueCalculation?: TdMapValueCalculation;
|
|
65
|
+
showLegendSymbol?: boolean;
|
|
66
|
+
seriesLayoutBy?: string;
|
|
67
|
+
markPoint?: ITdMarkPoint;
|
|
68
|
+
markLine?: ITdMarkLine;
|
|
69
|
+
markArea?: ITdMarkArea;
|
|
70
|
+
silent?: boolean;
|
|
71
71
|
constructor(_optionsService: TdChartOptionsService);
|
|
72
72
|
getConfig(): any;
|
|
73
73
|
static ɵfac: i0.ɵɵFactoryDeclaration<TdChartSeriesMapComponent, never>;
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@covalent/echarts",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.1.0-develop.11",
|
|
4
4
|
"description": "Teradata UI Platform Echarts Module",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -18,20 +18,15 @@
|
|
|
18
18
|
},
|
|
19
19
|
"license": "MIT",
|
|
20
20
|
"author": "Teradata UX",
|
|
21
|
-
"contributors": [
|
|
22
|
-
"Kyle Ledbetter <kyle.ledbetter@teradata.com>",
|
|
23
|
-
"Richa Vyas <richa.vyas@teradata.com>",
|
|
24
|
-
"Ed Morales <eduardo.morales@teradata.com>",
|
|
25
|
-
"Jason Weaver <jason.weaver@teradata.com>",
|
|
26
|
-
"Jeremy Wilken <jeremy.wilken@teradata.com>",
|
|
27
|
-
"Jeremy Smartt <jeremy.smartt@teradata.com>",
|
|
28
|
-
"Steven Ov <steven.ov@teradata.com>"
|
|
29
|
-
],
|
|
30
21
|
"peerDependencies": {
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
22
|
+
"@angular/common": "^13.2.0",
|
|
23
|
+
"@angular/core": "^13.2.0",
|
|
24
|
+
"echarts": "^5.3.0",
|
|
25
|
+
"echarts-wordcloud": "^2.0.0",
|
|
26
|
+
"rxjs": "~7.4.0"
|
|
27
|
+
},
|
|
28
|
+
"dependencies": {
|
|
29
|
+
"tslib": "^2.0.0"
|
|
35
30
|
},
|
|
36
31
|
"module": "fesm2015/covalent-echarts.mjs",
|
|
37
32
|
"es2020": "fesm2020/covalent-echarts.mjs",
|
|
@@ -156,11 +151,5 @@
|
|
|
156
151
|
"default": "./fesm2020/covalent-echarts-wordcloud.mjs"
|
|
157
152
|
}
|
|
158
153
|
},
|
|
159
|
-
"sideEffects": false
|
|
160
|
-
|
|
161
|
-
"tslib": "^2.3.0"
|
|
162
|
-
},
|
|
163
|
-
"scripts": {
|
|
164
|
-
"prepublishOnly": "node --eval \"console.error('ERROR: Trying to publish a package that has been compiled by Ivy in full compilation mode. This is not allowed.\\nPlease delete and rebuild the package with Ivy partial compilation mode, before attempting to publish.\\n')\" && exit 1"
|
|
165
|
-
}
|
|
166
|
-
}
|
|
154
|
+
"sideEffects": false
|
|
155
|
+
}
|
package/pie/README.md
CHANGED
|
@@ -6,20 +6,20 @@
|
|
|
6
6
|
|
|
7
7
|
#### Inputs
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
- config?: any
|
|
10
|
+
- Sets the JS config object if you choose to not use the property inputs.
|
|
11
|
+
- Note: [config] input properties will override input values
|
|
12
12
|
|
|
13
13
|
There are also lots of property inputs like:
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
15
|
+
- id?: string
|
|
16
|
+
- It can be used to refer the component in option or API.
|
|
17
|
+
- name?: string
|
|
18
|
+
- Series name used for displaying in tooltip and filtering with legend.
|
|
19
|
+
- color?: any
|
|
20
|
+
- Global color for the series.
|
|
21
|
+
- data?: any[]
|
|
22
|
+
- Data array of series.
|
|
23
23
|
|
|
24
24
|
And so many more.. for more info [click here](https://echarts.apache.org/en/option.html#series-pie)
|
|
25
25
|
|
|
@@ -47,14 +47,16 @@ Basic Example:
|
|
|
47
47
|
|
|
48
48
|
```html
|
|
49
49
|
<td-chart>
|
|
50
|
-
<td-chart-series
|
|
51
|
-
|
|
52
|
-
|
|
50
|
+
<td-chart-series
|
|
51
|
+
td-pie
|
|
52
|
+
[name]="'name'"
|
|
53
|
+
[data]="[{ name: 'name1', value: 150},
|
|
53
54
|
{ name: 'name2', value: 130},
|
|
54
55
|
{ name: 'name3', value: 150},
|
|
55
56
|
{ name: 'name4', value: 120},
|
|
56
57
|
{ name: 'name5', value: 150}]"
|
|
57
|
-
|
|
58
|
+
[color]="['#F2724B','#26B99A', '#34495E', '#BDC3C7', '#3498DB']"
|
|
59
|
+
>
|
|
58
60
|
</td-chart-series>
|
|
59
61
|
</td-chart>
|
|
60
62
|
```
|
package/pie/pie.component.d.ts
CHANGED
|
@@ -31,32 +31,32 @@ export interface ITdPieSeries extends ITdSeries {
|
|
|
31
31
|
silent?: boolean;
|
|
32
32
|
}
|
|
33
33
|
export declare class TdChartSeriesPieComponent extends TdSeriesDirective implements ITdPieSeries {
|
|
34
|
-
legendHoverLink
|
|
35
|
-
hoverAnimation
|
|
36
|
-
hoverOffset
|
|
37
|
-
selectedMode
|
|
38
|
-
selectedOffset
|
|
39
|
-
clockwise
|
|
40
|
-
startAngle
|
|
41
|
-
minAngle
|
|
42
|
-
minShowLabelAngle
|
|
43
|
-
roseType
|
|
44
|
-
avoidLabelOverlap
|
|
45
|
-
stillShowZeroSum
|
|
46
|
-
cursor
|
|
47
|
-
labelLine
|
|
48
|
-
label
|
|
49
|
-
itemStyle
|
|
50
|
-
emphasis
|
|
51
|
-
seriesLayoutBy
|
|
52
|
-
datasetIndex
|
|
53
|
-
markPoint
|
|
54
|
-
markLine
|
|
55
|
-
markArea
|
|
56
|
-
zlevel
|
|
57
|
-
z
|
|
58
|
-
center
|
|
59
|
-
radius
|
|
34
|
+
legendHoverLink?: boolean;
|
|
35
|
+
hoverAnimation?: boolean;
|
|
36
|
+
hoverOffset?: number;
|
|
37
|
+
selectedMode?: boolean | string;
|
|
38
|
+
selectedOffset?: number;
|
|
39
|
+
clockwise?: boolean;
|
|
40
|
+
startAngle?: number;
|
|
41
|
+
minAngle?: number;
|
|
42
|
+
minShowLabelAngle?: number;
|
|
43
|
+
roseType?: boolean | string;
|
|
44
|
+
avoidLabelOverlap?: boolean;
|
|
45
|
+
stillShowZeroSum?: boolean;
|
|
46
|
+
cursor?: string;
|
|
47
|
+
labelLine?: object;
|
|
48
|
+
label?: any;
|
|
49
|
+
itemStyle?: ITdItemStyle;
|
|
50
|
+
emphasis?: ITdEmphasis;
|
|
51
|
+
seriesLayoutBy?: TdSeriesLayoutBy;
|
|
52
|
+
datasetIndex?: number;
|
|
53
|
+
markPoint?: ITdMarkPoint;
|
|
54
|
+
markLine?: ITdMarkLine;
|
|
55
|
+
markArea?: ITdMarkArea;
|
|
56
|
+
zlevel?: number;
|
|
57
|
+
z?: number;
|
|
58
|
+
center?: object;
|
|
59
|
+
radius?: number | string | any[];
|
|
60
60
|
constructor(_optionsService: TdChartOptionsService);
|
|
61
61
|
getConfig(): any;
|
|
62
62
|
static ɵfac: i0.ɵɵFactoryDeclaration<TdChartSeriesPieComponent, never>;
|
|
File without changes
|
|
File without changes
|
package/sankey/README.md
CHANGED
|
@@ -6,22 +6,22 @@
|
|
|
6
6
|
|
|
7
7
|
#### Inputs
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
- config?: any
|
|
10
|
+
- Sets the JS config object if you choose to not use the property inputs.
|
|
11
|
+
- Note: [config] input properties will override input values
|
|
12
12
|
|
|
13
13
|
There are also lots of property inputs like:
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
15
|
+
- id?: string
|
|
16
|
+
- It can be used to refer the component in option or API.
|
|
17
|
+
- name?: string
|
|
18
|
+
- Series name used for displaying in tooltip and filtering with legend.
|
|
19
|
+
- color?: any
|
|
20
|
+
- Global color for the series.
|
|
21
|
+
- nodes?: any[] // or data?: any[]
|
|
22
|
+
- Data array of series.
|
|
23
|
+
- links?: any[] // or edges?: any[]
|
|
24
|
+
- The links between nodes.
|
|
25
25
|
|
|
26
26
|
And so many more.. for more info [click here](https://echarts.apache.org/en/option.html#series-sankey)
|
|
27
27
|
|
|
@@ -49,17 +49,18 @@ Basic Example:
|
|
|
49
49
|
|
|
50
50
|
```html
|
|
51
51
|
<td-chart>
|
|
52
|
-
<td-chart-series
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
52
|
+
<td-chart-series
|
|
53
|
+
td-sankey
|
|
54
|
+
[focusNodeAdjacency]="'allEdges'"
|
|
55
|
+
[right]="40"
|
|
56
|
+
[left]="40"
|
|
57
|
+
[data]="[{name: 'a'},
|
|
57
58
|
{name: 'b'},
|
|
58
59
|
{name: 'a1'},
|
|
59
60
|
{name: 'a2'},
|
|
60
61
|
{name: 'b1'},
|
|
61
62
|
{name: 'c'}]"
|
|
62
|
-
|
|
63
|
+
[links]="[{
|
|
63
64
|
source: 'a',
|
|
64
65
|
target: 'a1',
|
|
65
66
|
value: 5
|
|
@@ -83,7 +84,8 @@ Basic Example:
|
|
|
83
84
|
source: 'b1',
|
|
84
85
|
target: 'c',
|
|
85
86
|
value: 2
|
|
86
|
-
}]"
|
|
87
|
+
}]"
|
|
88
|
+
>
|
|
87
89
|
</td-chart-series>
|
|
88
90
|
</td-chart>
|
|
89
91
|
```
|
|
File without changes
|
|
@@ -36,28 +36,28 @@ export interface ITdSankeySeries extends ITdSeries {
|
|
|
36
36
|
silent?: boolean;
|
|
37
37
|
}
|
|
38
38
|
export declare class TdChartSeriesSankeyComponent extends TdSeriesDirective implements ITdSankeySeries {
|
|
39
|
-
zlevel
|
|
40
|
-
z
|
|
41
|
-
left
|
|
42
|
-
top
|
|
43
|
-
right
|
|
44
|
-
bottom
|
|
45
|
-
width
|
|
46
|
-
height
|
|
47
|
-
nodeWidth
|
|
48
|
-
nodeGap
|
|
49
|
-
layoutIterations
|
|
50
|
-
orient
|
|
51
|
-
draggable
|
|
52
|
-
focusNodeAdjacency
|
|
53
|
-
label
|
|
54
|
-
itemStyle
|
|
55
|
-
lineStyle
|
|
56
|
-
emphasis
|
|
57
|
-
nodes
|
|
58
|
-
links
|
|
59
|
-
edges
|
|
60
|
-
silent
|
|
39
|
+
zlevel?: number;
|
|
40
|
+
z?: number;
|
|
41
|
+
left?: string | number;
|
|
42
|
+
top?: string | number;
|
|
43
|
+
right?: string | number;
|
|
44
|
+
bottom?: string | number;
|
|
45
|
+
width?: string | number;
|
|
46
|
+
height?: string | number;
|
|
47
|
+
nodeWidth?: number;
|
|
48
|
+
nodeGap?: number;
|
|
49
|
+
layoutIterations?: number;
|
|
50
|
+
orient?: TdSankeyOrient;
|
|
51
|
+
draggable?: boolean;
|
|
52
|
+
focusNodeAdjacency?: TdSankeyFocusNodeAdjacency;
|
|
53
|
+
label?: ITdLabel;
|
|
54
|
+
itemStyle?: ITdItemStyle;
|
|
55
|
+
lineStyle?: ITdLineCurveStyle;
|
|
56
|
+
emphasis?: ITdEmphasis;
|
|
57
|
+
nodes?: any[];
|
|
58
|
+
links?: any[];
|
|
59
|
+
edges?: any[];
|
|
60
|
+
silent?: boolean;
|
|
61
61
|
constructor(_optionsService: TdChartOptionsService);
|
|
62
62
|
getConfig(): any;
|
|
63
63
|
static ɵfac: i0.ɵɵFactoryDeclaration<TdChartSeriesSankeyComponent, never>;
|
package/scatter/README.md
CHANGED
|
@@ -6,20 +6,20 @@
|
|
|
6
6
|
|
|
7
7
|
#### Inputs
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
- config?: any
|
|
10
|
+
- Sets the JS config object if you choose to not use the property inputs.
|
|
11
|
+
- Note: [config] input properties will override input values
|
|
12
12
|
|
|
13
13
|
There are also lots of property inputs like:
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
15
|
+
- id?: string
|
|
16
|
+
- It can be used to refer the component in option or API.
|
|
17
|
+
- name?: string
|
|
18
|
+
- Series name used for displaying in tooltip and filtering with legend.
|
|
19
|
+
- color?: any
|
|
20
|
+
- Global color for the series.
|
|
21
|
+
- data?: any[]
|
|
22
|
+
- Data array of series.
|
|
23
23
|
|
|
24
24
|
And so many more.. for more info [click here](https://echarts.apache.org/en/option.html#series-scatter)
|
|
25
25
|
|
|
@@ -47,22 +47,20 @@ Basic Example:
|
|
|
47
47
|
|
|
48
48
|
```html
|
|
49
49
|
<td-chart>
|
|
50
|
-
<td-chart-x-axis [show]="true"
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
</td-chart-y-axis>
|
|
56
|
-
<td-chart-series td-scatter
|
|
57
|
-
[data]="[
|
|
50
|
+
<td-chart-x-axis [show]="true" [type]="'value'"> </td-chart-x-axis>
|
|
51
|
+
<td-chart-y-axis [show]="true" [type]="'value'"> </td-chart-y-axis>
|
|
52
|
+
<td-chart-series
|
|
53
|
+
td-scatter
|
|
54
|
+
[data]="[
|
|
58
55
|
[28604, 77, 17096869, 'Australia', 1990],
|
|
59
56
|
[31163, 77.4, 27662440, 'Canada', 1990],
|
|
60
57
|
[1516, 68, 1154605773, 'China', 1990],
|
|
61
58
|
[13670, 74.7, 10582082, 'Cuba', 1990],
|
|
62
59
|
[28599, 75, 4986705, 'Finland', 1990]
|
|
63
60
|
]"
|
|
64
|
-
|
|
65
|
-
|
|
61
|
+
[name]="'1990'"
|
|
62
|
+
[color]="'#F2724B'"
|
|
63
|
+
>
|
|
66
64
|
</td-chart-series>
|
|
67
65
|
</td-chart>
|
|
68
66
|
```
|
|
File without changes
|