@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"covalent-echarts-treemap.mjs","sources":["../../../../
|
|
1
|
+
{"version":3,"file":"covalent-echarts-treemap.mjs","sources":["../../../../libs/angular-echarts/treemap/src/treemap.component.ts","../../../../libs/angular-echarts/treemap/src/treemap.module.ts","../../../../libs/angular-echarts/treemap/src/covalent-echarts-treemap.ts"],"sourcesContent":["import {\n Component,\n Input,\n ChangeDetectionStrategy,\n forwardRef,\n} from '@angular/core';\n\nimport {\n TdChartOptionsService,\n ITdItemStyle,\n ITdSeriesTooltip,\n ITdLabel,\n ITdSeries,\n TdSeriesDirective,\n ITdEmphasis,\n ITdShadow,\n} from '@covalent/echarts/base';\n\n/**\n * ECHART OPTION DOCS\n * https://ecomfe.github.io/echarts-examples/public/index.html#chart-type-treemap\n *\n */\n\nexport interface ITdTreemapEmphasisLineStyle extends ITdShadow {\n color?: any;\n width?: number;\n curveness?: number;\n}\n\nexport interface ITdTreemapEmphasis extends ITdEmphasis {\n lineStyle: ITdTreemapEmphasisLineStyle;\n}\n\nexport interface ITdTreemapUpperLabel {\n show?: boolean;\n position?: string | any[];\n distance?: string | number;\n rotate?: string | number;\n offset?: any[];\n formatter?: string;\n color?: any;\n fontStyle?: string;\n fontWeight?: string;\n fontFamily?: string;\n fontSize?: string | number;\n align?: string;\n verticalAlign?: string;\n lineHeight?: string | number;\n backgroundColor?: any;\n borderColor?: string;\n borderWidth?: string | number;\n borderRadius?: string | number;\n padding?: number | any[];\n shadowColor?: string;\n shadowBlur?: string | number;\n shadowOffsetX?: string | number;\n shadowOffsetY?: string | number;\n width?: string | number;\n height?: string | number;\n textBorderColor?: string;\n textBorderWidth?: string | number;\n textShadowColor?: string;\n textShadowBlur?: string | number;\n textShadowOffsetX?: string | number;\n textShadowOffsetY?: string | number;\n rich?: any;\n ellipsis?: any;\n}\n\nexport interface ITdTreemapBreadcrumb {\n show?: boolean;\n left?: string | number;\n top?: string | number;\n right?: string | number;\n bottom?: string | number;\n height?: string | number;\n emptyItemWidth?: string | number;\n itemStyle?: ITdItemStyle;\n emphasis?: ITdTreemapEmphasis;\n}\n\ninterface ITdTreemapSeries extends ITdSeries {\n zlevel?: number;\n z?: number;\n left?: string | number;\n top?: string | number;\n right?: string | number;\n bottom?: string | number;\n width?: string | number;\n height?: string | number;\n squareRatio?: string | number;\n leafDepth?: string | number;\n drillDownIcon?: string;\n roam?: boolean | string;\n nodeClick?: boolean | string;\n zoomToNodeRatio?: string | number;\n levels?: any[];\n silent?: boolean;\n visualDimension?: string | number;\n visualMin?: string | number;\n visualMax?: string | number;\n colorAlpha?: any[];\n colorSaturation?: string | number;\n colorMappingBy?: string;\n visibleMin?: string | number;\n childrenVisibleMin?: string | number;\n itemStyle?: ITdItemStyle;\n label?: ITdLabel;\n upperLabel?: ITdTreemapUpperLabel;\n breadcrumb?: ITdTreemapBreadcrumb;\n emphasis?: ITdTreemapEmphasis;\n data?: any[];\n}\n\n@Component({\n selector: 'td-chart-series[td-treemap]',\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n inputs: [\n 'config',\n 'id',\n 'name',\n 'color',\n 'data',\n\n 'animation',\n 'animationThreshold',\n 'animationDuration',\n 'animationEasing',\n 'animationDelay',\n 'animationDurationUpdate',\n 'animationEasingUpdate',\n 'animationDelayUpdate',\n 'tooltip',\n ],\n providers: [\n {\n provide: TdSeriesDirective,\n useExisting: forwardRef(() => TdChartSeriesTreemapComponent),\n },\n ],\n})\nexport class TdChartSeriesTreemapComponent\n extends TdSeriesDirective\n implements ITdTreemapSeries\n{\n @Input() override config?: any = {};\n @Input() override id?: string;\n @Input() override name?: string;\n @Input() override data?: any;\n @Input() zlevel?: number;\n @Input() z?: number;\n @Input() left?: string | number;\n @Input() top?: string | number;\n @Input() right?: string | number;\n @Input() bottom?: string | number;\n @Input() width?: string | number;\n @Input() height?: string | number;\n @Input() squareRatio?: string | number;\n @Input() leafDepth?: string | number;\n @Input() drillDownIcon?: string;\n @Input() roam?: boolean | string;\n @Input() nodeClick?: boolean | string;\n @Input() zoomToNodeRatio?: string | number;\n @Input() levels?: any[];\n @Input() silent?: boolean;\n @Input() visualDimension?: string | number;\n @Input() visualMin?: string | number;\n @Input() visualMax?: string | number;\n @Input() colorAlpha?: any[];\n @Input() colorSaturation?: string | number;\n @Input() colorMappingBy?: string;\n @Input() visibleMin?: string | number;\n @Input() childrenVisibleMin?: string | number;\n @Input() itemStyle?: ITdItemStyle;\n @Input() label?: ITdLabel;\n @Input() upperLabel?: ITdTreemapUpperLabel;\n @Input() breadcrumb?: ITdTreemapBreadcrumb;\n @Input() emphasis?: ITdTreemapEmphasis;\n @Input() override tooltip?: ITdSeriesTooltip;\n\n constructor(_optionsService: TdChartOptionsService) {\n super('treemap', _optionsService);\n }\n\n getConfig(): any {\n return {\n zlevel: this.zlevel,\n z: this.z,\n left: this.left,\n top: this.top,\n right: this.right,\n bottom: this.bottom,\n width: this.width,\n height: this.height,\n squareRatio: this.squareRatio,\n leafDepth: this.leafDepth,\n drillDownIcon: this.drillDownIcon,\n roam: this.roam,\n nodeClick: this.nodeClick,\n zoomToNodeRatio: this.zoomToNodeRatio,\n levels: this.levels,\n silent: this.silent,\n visualDimension: this.visualDimension,\n visualMin: this.visualMin,\n visualMax: this.visualMax,\n colorAlpha: this.colorAlpha,\n colorSaturation: this.colorSaturation,\n colorMappingBy: this.colorMappingBy,\n visibleMin: this.visibleMin,\n childrenVisibleMin: this.childrenVisibleMin,\n itemStyle: this.itemStyle,\n label: this.label,\n upperLabel: this.upperLabel,\n breadcrumb: this.breadcrumb,\n emphasis: this.emphasis,\n };\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { TdChartSeriesTreemapComponent } from './treemap.component';\n\nexport const TREEMAP_MODULE_COMPONENTS: Type<any>[] = [\n TdChartSeriesTreemapComponent,\n];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [TREEMAP_MODULE_COMPONENTS],\n exports: [TREEMAP_MODULE_COMPONENTS],\n})\nexport class CovalentTreemapEchartsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":"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"}
|
|
@@ -4,7 +4,6 @@ import { CommonModule } from '@angular/common';
|
|
|
4
4
|
import * as i1 from '@covalent/echarts/base';
|
|
5
5
|
import { TdSeriesDirective } from '@covalent/echarts/base';
|
|
6
6
|
|
|
7
|
-
const _c0 = ["td-wordCloud", ""];
|
|
8
7
|
class TdChartSeriesWordcloudComponent extends TdSeriesDirective {
|
|
9
8
|
constructor(_optionsService) {
|
|
10
9
|
super('wordCloud', _optionsService);
|
|
@@ -27,87 +26,88 @@ class TdChartSeriesWordcloudComponent extends TdSeriesDirective {
|
|
|
27
26
|
};
|
|
28
27
|
}
|
|
29
28
|
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
(
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
29
|
+
TdChartSeriesWordcloudComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdChartSeriesWordcloudComponent, deps: [{ token: i1.TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
30
|
+
TdChartSeriesWordcloudComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: TdChartSeriesWordcloudComponent, selector: "td-chart-series[td-wordCloud]", inputs: { config: "config", id: "id", name: "name", color: "color", data: "data", animation: "animation", animationThreshold: "animationThreshold", animationDuration: "animationDuration", animationEasing: "animationEasing", animationDelay: "animationDelay", animationDurationUpdate: "animationDurationUpdate", animationEasingUpdate: "animationEasingUpdate", animationDelayUpdate: "animationDelayUpdate", tooltip: "tooltip", shape: "shape", left: "left", top: "top", width: "width", height: "height", right: "right", bottom: "bottom", sizeRange: "sizeRange", rotationRange: "rotationRange", rotationStep: "rotationStep", gridSize: "gridSize", drawOutOfBound: "drawOutOfBound", textStyle: "textStyle" }, providers: [
|
|
31
|
+
{
|
|
32
|
+
provide: TdSeriesDirective,
|
|
33
|
+
useExisting: forwardRef(() => TdChartSeriesWordcloudComponent),
|
|
34
|
+
},
|
|
35
|
+
], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdChartSeriesWordcloudComponent, decorators: [{
|
|
37
|
+
type: Component,
|
|
38
|
+
args: [{
|
|
39
|
+
selector: 'td-chart-series[td-wordCloud]',
|
|
40
|
+
template: '',
|
|
41
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
42
|
+
inputs: [
|
|
43
|
+
'config',
|
|
44
|
+
'id',
|
|
45
|
+
'name',
|
|
46
|
+
'color',
|
|
47
|
+
'data',
|
|
48
|
+
'animation',
|
|
49
|
+
'animationThreshold',
|
|
50
|
+
'animationDuration',
|
|
51
|
+
'animationEasing',
|
|
52
|
+
'animationDelay',
|
|
53
|
+
'animationDurationUpdate',
|
|
54
|
+
'animationEasingUpdate',
|
|
55
|
+
'animationDelayUpdate',
|
|
56
|
+
'tooltip',
|
|
57
|
+
],
|
|
58
|
+
providers: [
|
|
59
|
+
{
|
|
60
|
+
provide: TdSeriesDirective,
|
|
61
|
+
useExisting: forwardRef(() => TdChartSeriesWordcloudComponent),
|
|
62
|
+
},
|
|
63
|
+
],
|
|
64
|
+
}]
|
|
65
|
+
}], ctorParameters: function () { return [{ type: i1.TdChartOptionsService }]; }, propDecorators: { data: [{
|
|
66
|
+
type: Input
|
|
67
|
+
}], shape: [{
|
|
68
|
+
type: Input
|
|
69
|
+
}], left: [{
|
|
70
|
+
type: Input
|
|
71
|
+
}], top: [{
|
|
72
|
+
type: Input
|
|
73
|
+
}], width: [{
|
|
74
|
+
type: Input
|
|
75
|
+
}], height: [{
|
|
76
|
+
type: Input
|
|
77
|
+
}], right: [{
|
|
78
|
+
type: Input
|
|
79
|
+
}], bottom: [{
|
|
80
|
+
type: Input
|
|
81
|
+
}], sizeRange: [{
|
|
82
|
+
type: Input
|
|
83
|
+
}], rotationRange: [{
|
|
84
|
+
type: Input
|
|
85
|
+
}], rotationStep: [{
|
|
86
|
+
type: Input
|
|
87
|
+
}], gridSize: [{
|
|
88
|
+
type: Input
|
|
89
|
+
}], drawOutOfBound: [{
|
|
90
|
+
type: Input
|
|
91
|
+
}], textStyle: [{
|
|
92
|
+
type: Input
|
|
93
|
+
}] } });
|
|
95
94
|
|
|
96
|
-
const WORDCLOUD_MODULE_COMPONENTS = [
|
|
95
|
+
const WORDCLOUD_MODULE_COMPONENTS = [
|
|
96
|
+
TdChartSeriesWordcloudComponent,
|
|
97
|
+
];
|
|
97
98
|
class CovalentWordcloudEchartsModule {
|
|
98
99
|
}
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
(
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(CovalentWordcloudEchartsModule, { declarations: [TdChartSeriesWordcloudComponent], imports: [CommonModule], exports: [TdChartSeriesWordcloudComponent] }); })();
|
|
100
|
+
CovalentWordcloudEchartsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentWordcloudEchartsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
101
|
+
CovalentWordcloudEchartsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentWordcloudEchartsModule, declarations: [TdChartSeriesWordcloudComponent], imports: [CommonModule], exports: [TdChartSeriesWordcloudComponent] });
|
|
102
|
+
CovalentWordcloudEchartsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentWordcloudEchartsModule, imports: [[CommonModule]] });
|
|
103
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentWordcloudEchartsModule, decorators: [{
|
|
104
|
+
type: NgModule,
|
|
105
|
+
args: [{
|
|
106
|
+
imports: [CommonModule],
|
|
107
|
+
declarations: [WORDCLOUD_MODULE_COMPONENTS],
|
|
108
|
+
exports: [WORDCLOUD_MODULE_COMPONENTS],
|
|
109
|
+
}]
|
|
110
|
+
}] });
|
|
111
111
|
|
|
112
112
|
/**
|
|
113
113
|
* Generated bundle index. Do not edit.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"covalent-echarts-wordcloud.mjs","sources":["../../../../
|
|
1
|
+
{"version":3,"file":"covalent-echarts-wordcloud.mjs","sources":["../../../../libs/angular-echarts/wordcloud/src/wordcloud.component.ts","../../../../libs/angular-echarts/wordcloud/src/wordcloud.module.ts","../../../../libs/angular-echarts/wordcloud/src/covalent-echarts-wordcloud.ts"],"sourcesContent":["import {\n Component,\n Input,\n ChangeDetectionStrategy,\n forwardRef,\n} from '@angular/core';\n\nimport {\n TdChartOptionsService,\n ITdSeries,\n TdSeriesDirective,\n} from '@covalent/echarts/base';\n\nexport type TdWordcloudShape =\n | 'circle'\n | 'cardioid'\n | 'diamond'\n | 'triangle-forward'\n | 'triangle'\n | 'pentagon'\n | 'star';\n\nexport interface ITdWordcloudTextStyle {\n normal?: {\n fontFamily?: string;\n fontWeight?: string;\n color?: string | ((x: any) => string);\n };\n emphasis?: {\n shadowBlur?: number;\n shadowColor?: string;\n };\n}\n\nexport interface ITdWordCloudData {\n name: string;\n value: number;\n textStyle?: ITdWordcloudTextStyle;\n}\n\nexport interface ITdWordcloudSeries extends ITdSeries {\n data?: ITdWordCloudData[];\n shape?: TdWordcloudShape;\n left?: string | number;\n top?: string | number;\n width?: string | number;\n height?: string | number;\n right?: string | number;\n bottom?: string | number;\n sizeRange?: number[];\n rotationRange?: number[];\n rotationStep?: number;\n gridSize?: number;\n drawOutOfBound?: boolean;\n textStyle?: ITdWordcloudTextStyle;\n}\n\n@Component({\n selector: 'td-chart-series[td-wordCloud]',\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n inputs: [\n 'config',\n 'id',\n 'name',\n 'color',\n 'data',\n\n 'animation',\n 'animationThreshold',\n 'animationDuration',\n 'animationEasing',\n 'animationDelay',\n 'animationDurationUpdate',\n 'animationEasingUpdate',\n 'animationDelayUpdate',\n 'tooltip',\n ],\n providers: [\n {\n provide: TdSeriesDirective,\n useExisting: forwardRef(() => TdChartSeriesWordcloudComponent),\n },\n ],\n})\nexport class TdChartSeriesWordcloudComponent\n extends TdSeriesDirective\n implements ITdWordcloudSeries\n{\n @Input() override data?: ITdWordCloudData[];\n @Input() shape?: TdWordcloudShape;\n @Input() left?: string | number;\n @Input() top?: string | number;\n @Input() width?: string | number;\n @Input() height?: string | number;\n @Input() right?: string | number;\n @Input() bottom?: string | number;\n @Input() sizeRange?: number[];\n @Input() rotationRange?: number[];\n @Input() rotationStep?: number;\n @Input() gridSize?: number;\n @Input() drawOutOfBound?: boolean;\n @Input() textStyle?: ITdWordcloudTextStyle;\n\n constructor(_optionsService: TdChartOptionsService) {\n super('wordCloud', _optionsService);\n }\n\n getConfig(): any {\n return {\n shape: this.shape,\n left: this.left,\n top: this.top,\n width: this.width,\n height: this.height,\n right: this.right,\n bottom: this.bottom,\n sizeRange: this.sizeRange,\n rotationRange: this.rotationRange,\n rotationStep: this.rotationStep,\n gridSize: this.gridSize,\n drawOutOfBound: this.drawOutOfBound,\n textStyle: this.textStyle,\n };\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { TdChartSeriesWordcloudComponent } from './wordcloud.component';\n\nexport const WORDCLOUD_MODULE_COMPONENTS: Type<any>[] = [\n TdChartSeriesWordcloudComponent,\n];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [WORDCLOUD_MODULE_COMPONENTS],\n exports: [WORDCLOUD_MODULE_COMPONENTS],\n})\nexport class CovalentWordcloudEchartsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;MAqFa,+BACX,SAAQ,iBAAiB;IAkBzB,YAAY,eAAsC;QAChD,KAAK,CAAC,WAAW,EAAE,eAAe,CAAC,CAAC;KACrC;IAED,SAAS;QACP,OAAO;YACL,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,GAAG,EAAE,IAAI,CAAC,GAAG;YACb,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,aAAa,EAAE,IAAI,CAAC,aAAa;YACjC,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,cAAc,EAAE,IAAI,CAAC,cAAc;YACnC,SAAS,EAAE,IAAI,CAAC,SAAS;SAC1B,CAAC;KACH;;4HAvCU,+BAA+B;gHAA/B,+BAA+B,svBAP/B;QACT;YACE,OAAO,EAAE,iBAAiB;YAC1B,WAAW,EAAE,UAAU,CAAC,MAAM,+BAA+B,CAAC;SAC/D;KACF,iDAxBS,EAAE;2FA0BD,+BAA+B;kBA5B3C,SAAS;mBAAC;oBACT,QAAQ,EAAE,+BAA+B;oBACzC,QAAQ,EAAE,EAAE;oBACZ,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,MAAM,EAAE;wBACN,QAAQ;wBACR,IAAI;wBACJ,MAAM;wBACN,OAAO;wBACP,MAAM;wBAEN,WAAW;wBACX,oBAAoB;wBACpB,mBAAmB;wBACnB,iBAAiB;wBACjB,gBAAgB;wBAChB,yBAAyB;wBACzB,uBAAuB;wBACvB,sBAAsB;wBACtB,SAAS;qBACV;oBACD,SAAS,EAAE;wBACT;4BACE,OAAO,EAAE,iBAAiB;4BAC1B,WAAW,EAAE,UAAU,CAAC,qCAAqC,CAAC;yBAC/D;qBACF;iBACF;4GAKmB,IAAI;sBAArB,KAAK;gBACG,KAAK;sBAAb,KAAK;gBACG,IAAI;sBAAZ,KAAK;gBACG,GAAG;sBAAX,KAAK;gBACG,KAAK;sBAAb,KAAK;gBACG,MAAM;sBAAd,KAAK;gBACG,KAAK;sBAAb,KAAK;gBACG,MAAM;sBAAd,KAAK;gBACG,SAAS;sBAAjB,KAAK;gBACG,aAAa;sBAArB,KAAK;gBACG,YAAY;sBAApB,KAAK;gBACG,QAAQ;sBAAhB,KAAK;gBACG,cAAc;sBAAtB,KAAK;gBACG,SAAS;sBAAjB,KAAK;;;MCjGK,2BAA2B,GAAgB;IACtD,+BAA+B;EAC/B;MAOW,8BAA8B;;2HAA9B,8BAA8B;4HAA9B,8BAA8B,iBARzC,+BAA+B,aAIrB,YAAY,aAJtB,+BAA+B;4HAQpB,8BAA8B,YAJhC,CAAC,YAAY,CAAC;2FAIZ,8BAA8B;kBAL1C,QAAQ;mBAAC;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,YAAY,EAAE,CAAC,2BAA2B,CAAC;oBAC3C,OAAO,EAAE,CAAC,2BAA2B,CAAC;iBACvC;;;ACbD;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"covalent-echarts.mjs","sources":["../../../../
|
|
1
|
+
{"version":3,"file":"covalent-echarts.mjs","sources":["../../../../libs/angular-echarts/src/covalent-echarts.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":"AAAA;;"}
|
package/graph/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-graph)
|
|
27
27
|
|
|
@@ -49,8 +49,9 @@ Basic Example:
|
|
|
49
49
|
|
|
50
50
|
```html
|
|
51
51
|
<td-chart>
|
|
52
|
-
<td-chart-series
|
|
53
|
-
|
|
52
|
+
<td-chart-series
|
|
53
|
+
td-graph
|
|
54
|
+
[data]="[{ x: -739.36383, y: -404.26147, id: 'jquery', name: 'jquery',
|
|
54
55
|
symbolSize: 40.7252817, itemStyle: { normal: { color: '#4f19c7' } } },
|
|
55
56
|
{ x: -134.2215, y: -862.7517, id: 'backbone', name: 'backbone',
|
|
56
57
|
symbolSize: 60.1554675, itemStyle: { normal: { color: '#c71969' } } },
|
|
@@ -68,7 +69,7 @@ Basic Example:
|
|
|
68
69
|
symbolSize: 30.3863845, itemStyle: { normal: { color: '#c71969' } } },
|
|
69
70
|
{ x: -644.2716, y: -230.14833, id: 'express', name: 'express',
|
|
70
71
|
symbolSize: 49.608772, itemStyle: { normal: { color: '#c71919' } } }]"
|
|
71
|
-
|
|
72
|
+
[edges]="[{ source: 'jquery', target: 'backbone' },
|
|
72
73
|
{ source: 'jquery', target: 'vue.js' },
|
|
73
74
|
{ source: 'jquery', target: 'lodash' },
|
|
74
75
|
{ source: 'jquery', target: 'dateformat' },
|
|
@@ -80,9 +81,10 @@ Basic Example:
|
|
|
80
81
|
{ source: 'vue.js', target: 'dateformat' },
|
|
81
82
|
{ source: 'express', target: 'socket.io' },
|
|
82
83
|
{ source: 'express', target: 'dateformat' }]"
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
84
|
+
[roam]="true"
|
|
85
|
+
[focusNodeAdjacency]="true"
|
|
86
|
+
[label]="{ emphasis: { position: 'right', show: true } }"
|
|
87
|
+
>
|
|
86
88
|
</td-chart-series>
|
|
87
89
|
</td-chart>
|
|
88
90
|
```
|
|
@@ -38,10 +38,10 @@ export interface ITdGraphSeries extends ITdSeries {
|
|
|
38
38
|
symbolRotate?: number;
|
|
39
39
|
symbolKeepAspect?: boolean;
|
|
40
40
|
symbolOffset?: any[];
|
|
41
|
-
focusNodeAdjacency
|
|
42
|
-
edgeSymbol
|
|
43
|
-
edgeSymbolSize
|
|
44
|
-
cursor
|
|
41
|
+
focusNodeAdjacency?: boolean;
|
|
42
|
+
edgeSymbol?: any[] | string;
|
|
43
|
+
edgeSymbolSize?: number;
|
|
44
|
+
cursor?: string;
|
|
45
45
|
roam?: boolean;
|
|
46
46
|
expandAndCollapse?: boolean;
|
|
47
47
|
initialTreeDepth?: number;
|
|
@@ -50,23 +50,23 @@ export interface ITdGraphSeries extends ITdSeries {
|
|
|
50
50
|
label?: ITdLabel;
|
|
51
51
|
edgeLabel?: ITdEdgeLabel;
|
|
52
52
|
emphasis?: ITdEmphasis;
|
|
53
|
-
categories
|
|
53
|
+
categories?: ITdCategories;
|
|
54
54
|
data?: any[];
|
|
55
|
-
nodes
|
|
56
|
-
links
|
|
57
|
-
edges
|
|
55
|
+
nodes?: any[];
|
|
56
|
+
links?: any[];
|
|
57
|
+
edges?: any[];
|
|
58
58
|
markPoint?: ITdMarkPoint;
|
|
59
59
|
markLine?: ITdMarkLine;
|
|
60
60
|
markArea?: ITdMarkArea;
|
|
61
|
-
zlevel
|
|
61
|
+
zlevel?: number;
|
|
62
62
|
z?: number;
|
|
63
63
|
silent?: boolean;
|
|
64
|
-
left
|
|
65
|
-
top
|
|
66
|
-
right
|
|
67
|
-
bottom
|
|
68
|
-
width
|
|
69
|
-
height
|
|
64
|
+
left?: string | number;
|
|
65
|
+
top?: string | number;
|
|
66
|
+
right?: string | number;
|
|
67
|
+
bottom?: string | number;
|
|
68
|
+
width?: string | number;
|
|
69
|
+
height?: string | number;
|
|
70
70
|
animation?: boolean;
|
|
71
71
|
animationThreshold?: number;
|
|
72
72
|
animationDuration?: number | Function;
|
|
@@ -77,51 +77,51 @@ export interface ITdGraphSeries extends ITdSeries {
|
|
|
77
77
|
animationDelayUpdate?: number | Function;
|
|
78
78
|
}
|
|
79
79
|
export declare class TdChartSeriesGraphComponent extends TdSeriesDirective implements ITdGraphSeries {
|
|
80
|
-
legendHoverLink
|
|
81
|
-
coordinateSystem
|
|
82
|
-
xAxisIndex
|
|
83
|
-
yAxisIndex
|
|
84
|
-
polarIndex
|
|
85
|
-
calendarIndex
|
|
86
|
-
geoIndex
|
|
87
|
-
hoverAnimation
|
|
88
|
-
circular
|
|
89
|
-
force
|
|
90
|
-
layout
|
|
91
|
-
nodeScaleRatio
|
|
92
|
-
draggable
|
|
93
|
-
symbol
|
|
94
|
-
symbolSize
|
|
95
|
-
symbolRotate
|
|
96
|
-
symbolKeepAspect
|
|
97
|
-
symbolOffset
|
|
98
|
-
focusNodeAdjacency
|
|
99
|
-
edgeSymbol
|
|
100
|
-
edgeSymbolSize
|
|
101
|
-
cursor
|
|
102
|
-
roam
|
|
103
|
-
initialTreeDepth
|
|
104
|
-
itemStyle
|
|
105
|
-
lineStyle
|
|
106
|
-
label
|
|
107
|
-
edgeLabel
|
|
108
|
-
emphasis
|
|
109
|
-
categories
|
|
110
|
-
nodes
|
|
111
|
-
links
|
|
112
|
-
edges
|
|
113
|
-
markPoint
|
|
114
|
-
markLine
|
|
115
|
-
markArea
|
|
116
|
-
zlevel
|
|
117
|
-
z
|
|
118
|
-
silent
|
|
119
|
-
left
|
|
120
|
-
top
|
|
121
|
-
right
|
|
122
|
-
bottom
|
|
123
|
-
width
|
|
124
|
-
height
|
|
80
|
+
legendHoverLink?: boolean;
|
|
81
|
+
coordinateSystem?: TdCoordinateSystem;
|
|
82
|
+
xAxisIndex?: number;
|
|
83
|
+
yAxisIndex?: number;
|
|
84
|
+
polarIndex?: number;
|
|
85
|
+
calendarIndex?: number;
|
|
86
|
+
geoIndex?: number;
|
|
87
|
+
hoverAnimation?: boolean;
|
|
88
|
+
circular?: object;
|
|
89
|
+
force?: ITdGraphForce;
|
|
90
|
+
layout?: TdGraphLayout;
|
|
91
|
+
nodeScaleRatio?: boolean;
|
|
92
|
+
draggable?: boolean;
|
|
93
|
+
symbol?: TdMarkPointSymbol | string;
|
|
94
|
+
symbolSize?: number | any[] | Function;
|
|
95
|
+
symbolRotate?: number;
|
|
96
|
+
symbolKeepAspect?: boolean;
|
|
97
|
+
symbolOffset?: any[];
|
|
98
|
+
focusNodeAdjacency?: boolean;
|
|
99
|
+
edgeSymbol?: any[] | string;
|
|
100
|
+
edgeSymbolSize?: number;
|
|
101
|
+
cursor?: string;
|
|
102
|
+
roam?: boolean;
|
|
103
|
+
initialTreeDepth?: number;
|
|
104
|
+
itemStyle?: ITdItemStyle;
|
|
105
|
+
lineStyle?: ITdLineStyle;
|
|
106
|
+
label?: ITdLabel;
|
|
107
|
+
edgeLabel?: ITdEdgeLabel;
|
|
108
|
+
emphasis?: ITdEmphasis;
|
|
109
|
+
categories?: ITdCategories;
|
|
110
|
+
nodes?: any[];
|
|
111
|
+
links?: any[];
|
|
112
|
+
edges?: any[];
|
|
113
|
+
markPoint?: ITdMarkPoint;
|
|
114
|
+
markLine?: ITdMarkLine;
|
|
115
|
+
markArea?: ITdMarkArea;
|
|
116
|
+
zlevel?: number;
|
|
117
|
+
z?: number;
|
|
118
|
+
silent?: boolean;
|
|
119
|
+
left?: string | number;
|
|
120
|
+
top?: string | number;
|
|
121
|
+
right?: string | number;
|
|
122
|
+
bottom?: string | number;
|
|
123
|
+
width?: string | number;
|
|
124
|
+
height?: string | number;
|
|
125
125
|
constructor(_optionsService: TdChartOptionsService);
|
|
126
126
|
getConfig(): any;
|
|
127
127
|
static ɵfac: i0.ɵɵFactoryDeclaration<TdChartSeriesGraphComponent, never>;
|
|
File without changes
|
package/line/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-line)
|
|
25
25
|
|
|
@@ -47,15 +47,12 @@ Basic Example:
|
|
|
47
47
|
|
|
48
48
|
```html
|
|
49
49
|
<td-chart>
|
|
50
|
-
<td-chart-x-axis [show]="true"
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
<td-chart-series td-line
|
|
57
|
-
[name]="'name'"
|
|
58
|
-
[data]="[{
|
|
50
|
+
<td-chart-x-axis [show]="true" [type]="'time'"> </td-chart-x-axis>
|
|
51
|
+
<td-chart-y-axis [show]="true" [type]="'value'"> </td-chart-y-axis>
|
|
52
|
+
<td-chart-series
|
|
53
|
+
td-line
|
|
54
|
+
[name]="'name'"
|
|
55
|
+
[data]="[{
|
|
59
56
|
'name': '2018-10-29T03:27:33.932Z',
|
|
60
57
|
'value': [
|
|
61
58
|
'2018-10-29T03:27:33.932Z',
|
|
@@ -74,7 +71,8 @@ Basic Example:
|
|
|
74
71
|
100
|
|
75
72
|
]
|
|
76
73
|
}]"
|
|
77
|
-
|
|
74
|
+
[color]="'#F2724B'"
|
|
75
|
+
>
|
|
78
76
|
</td-chart-series>
|
|
79
77
|
</td-chart>
|
|
80
78
|
```
|