@siemens/charts-ng 47.6.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/LICENSE.md +20 -0
- package/README.md +47 -0
- package/components/index.d.ts +13 -0
- package/components/si-chart/index.d.ts +6 -0
- package/components/si-chart/si-chart.component.d.ts +341 -0
- package/components/si-chart/si-chart.interfaces.d.ts +97 -0
- package/components/si-chart-cartesian/index.d.ts +6 -0
- package/components/si-chart-cartesian/si-chart-cartesian.component.d.ts +53 -0
- package/components/si-chart-cartesian/si-chart-cartesian.interfaces.d.ts +35 -0
- package/components/si-chart-circle/index.d.ts +6 -0
- package/components/si-chart-circle/si-chart-circle.component.d.ts +18 -0
- package/components/si-chart-circle/si-chart-circle.interface.d.ts +38 -0
- package/components/si-chart-gauge/index.d.ts +6 -0
- package/components/si-chart-gauge/si-chart-gauge.component.d.ts +84 -0
- package/components/si-chart-gauge/si-chart-gauge.interface.d.ts +9 -0
- package/components/si-chart-loading-spinner/si-chart-loading-spinner.component.d.ts +5 -0
- package/components/si-chart-progress/index.d.ts +6 -0
- package/components/si-chart-progress/si-chart-progress.component.d.ts +39 -0
- package/components/si-chart-progress/si-chart-progress.interface.d.ts +12 -0
- package/components/si-chart-progress-bar/index.d.ts +6 -0
- package/components/si-chart-progress-bar/si-chart-progress-bar.component.d.ts +28 -0
- package/components/si-chart-progress-bar/si-chart-progress-bar.interface.d.ts +12 -0
- package/components/si-chart-sankey/index.d.ts +5 -0
- package/components/si-chart-sankey/si-chart-sankey.component.d.ts +11 -0
- package/components/si-chart-sunburst/index.d.ts +5 -0
- package/components/si-chart-sunburst/si-chart-sunburst.component.d.ts +11 -0
- package/components/si-custom-legend/index.d.ts +6 -0
- package/components/si-custom-legend/si-custom-legend.component.d.ts +25 -0
- package/components/si-custom-legend/si-custom-legend.interface.d.ts +33 -0
- package/fesm2022/siemens-charts-ng.mjs +3576 -0
- package/fesm2022/siemens-charts-ng.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/package.json +43 -0
- package/projects/charts-ng/README.md +47 -0
- package/public-api.d.ts +7 -0
- package/public-api.module.d.ts +18 -0
- package/shared/echarts.custom.d.ts +2 -0
- package/shared/echarts.model.d.ts +15 -0
- package/shared/index.d.ts +8 -0
- package/shared/theme-support.d.ts +394 -0
- package/shared/themes/element.d.ts +384 -0
package/index.d.ts
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@siemens/charts-ng",
|
|
3
|
+
"description": "Element Charts library.",
|
|
4
|
+
"version": "47.6.0",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+ssh://git@github.com/siemens/element.git"
|
|
9
|
+
},
|
|
10
|
+
"author": {
|
|
11
|
+
"name": "Siemens AG",
|
|
12
|
+
"email": "info@siemens.com"
|
|
13
|
+
},
|
|
14
|
+
"homepage": "https://github.com/siemens/element",
|
|
15
|
+
"bugs": "https://github.com/siemens/element/issues/new",
|
|
16
|
+
"publishConfig": {
|
|
17
|
+
"access": "public"
|
|
18
|
+
},
|
|
19
|
+
"type": "module",
|
|
20
|
+
"peerDependencies": {
|
|
21
|
+
"@angular/common": "19 - 20",
|
|
22
|
+
"@angular/core": "19 - 20",
|
|
23
|
+
"echarts": "^5.6.0"
|
|
24
|
+
},
|
|
25
|
+
"exports": {
|
|
26
|
+
"./docs.json": {
|
|
27
|
+
"default": "./docs.json"
|
|
28
|
+
},
|
|
29
|
+
"./package.json": {
|
|
30
|
+
"default": "./package.json"
|
|
31
|
+
},
|
|
32
|
+
".": {
|
|
33
|
+
"types": "./index.d.ts",
|
|
34
|
+
"default": "./fesm2022/siemens-charts-ng.mjs"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"module": "fesm2022/siemens-charts-ng.mjs",
|
|
38
|
+
"typings": "index.d.ts",
|
|
39
|
+
"sideEffects": false,
|
|
40
|
+
"dependencies": {
|
|
41
|
+
"tslib": "^2.3.0"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# Element Charts
|
|
2
|
+
|
|
3
|
+
The Element chart library for Angular based on ECharts. Going through the roof. Stoinks.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
To use the Element Charts Angular components in your project, add them to your dependencies
|
|
8
|
+
by executing:
|
|
9
|
+
|
|
10
|
+
```sh
|
|
11
|
+
npm install --save @siemens/charts-ng
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
You also have to install the peer dependencies of Element Charts.
|
|
15
|
+
|
|
16
|
+
```sh
|
|
17
|
+
npm install echarts --save
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Import the library to your Angular `AppModule`, mostly residing in your
|
|
21
|
+
`src/app/app.modules.ts` file as follows:
|
|
22
|
+
|
|
23
|
+
```ts
|
|
24
|
+
// [...]
|
|
25
|
+
|
|
26
|
+
// Import this library
|
|
27
|
+
import { SiChartsNgModule } from '@siemens/charts-ng';
|
|
28
|
+
|
|
29
|
+
@NgModule({
|
|
30
|
+
declarations: [AppComponent],
|
|
31
|
+
imports: [BrowserModule, SiChartsNgModule],
|
|
32
|
+
providers: [],
|
|
33
|
+
bootstrap: [AppComponent]
|
|
34
|
+
})
|
|
35
|
+
export class AppModule {}
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
### Running unit tests
|
|
39
|
+
|
|
40
|
+
Run `yarn charts:test` to perform the unit tests via [Karma](https://karma-runner.github.io).
|
|
41
|
+
You can set a seed for running the tests in a specific using an environment variable: `SEED=71384 yarn lib:test`
|
|
42
|
+
|
|
43
|
+
## License
|
|
44
|
+
|
|
45
|
+
Code and documentation copyright 2018-2024 Siemens AG.
|
|
46
|
+
|
|
47
|
+
See [LICENSE.md](https://github.com/siemens/element/blob/main/LICENSE.md).
|
package/public-api.d.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/common";
|
|
3
|
+
import * as i2 from "./components/si-chart-cartesian/si-chart-cartesian.component";
|
|
4
|
+
import * as i3 from "./components/si-chart-circle/si-chart-circle.component";
|
|
5
|
+
import * as i4 from "./components/si-chart/si-chart.component";
|
|
6
|
+
import * as i5 from "./components/si-chart-gauge/si-chart-gauge.component";
|
|
7
|
+
import * as i6 from "./components/si-chart-loading-spinner/si-chart-loading-spinner.component";
|
|
8
|
+
import * as i7 from "./components/si-chart-progress-bar/si-chart-progress-bar.component";
|
|
9
|
+
import * as i8 from "./components/si-chart-progress/si-chart-progress.component";
|
|
10
|
+
import * as i9 from "./components/si-chart-sankey/si-chart-sankey.component";
|
|
11
|
+
import * as i10 from "./components/si-chart-sunburst/si-chart-sunburst.component";
|
|
12
|
+
import * as i11 from "./components/si-custom-legend/si-custom-legend.component";
|
|
13
|
+
export declare class SiChartsNgModule {
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SiChartsNgModule, never>;
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SiChartsNgModule, never, [typeof i1.CommonModule, typeof i2.SiChartCartesianComponent, typeof i3.SiChartCircleComponent, typeof i4.SiChartComponent, typeof i5.SiChartGaugeComponent, typeof i6.SiChartLoadingSpinnerComponent, typeof i7.SiChartProgressBarComponent, typeof i8.SiChartProgressComponent, typeof i9.SiChartSankeyComponent, typeof i10.SiChartSunburstComponent, typeof i11.SiCustomLegendComponent], [typeof i2.SiChartCartesianComponent, typeof i3.SiChartCircleComponent, typeof i4.SiChartComponent, typeof i5.SiChartGaugeComponent, typeof i7.SiChartProgressBarComponent, typeof i8.SiChartProgressComponent, typeof i9.SiChartSankeyComponent, typeof i10.SiChartSunburstComponent, typeof i11.SiCustomLegendComponent]>;
|
|
16
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SiChartsNgModule>;
|
|
17
|
+
}
|
|
18
|
+
export { SiChartsNgModule as SimplChartsNgModule };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Siemens 2016 - 2025.
|
|
3
|
+
* SPDX-License-Identifier: MIT
|
|
4
|
+
*/
|
|
5
|
+
import type { AxisPointerComponentOption, BarSeriesOption, BrushComponentOption, CandlestickSeriesOption, CustomSeriesOption, DatasetComponentOption, DataZoomComponentOption, GaugeSeriesOption, GridComponentOption, HeatmapSeriesOption, LegendComponentOption, LineSeriesOption, MarkAreaComponentOption, MarkLineComponentOption, MarkPointComponentOption, PieSeriesOption, PolarComponentOption, SankeySeriesOption, ScatterSeriesOption, SingleAxisComponentOption, SunburstSeriesOption, TitleComponentOption, ToolboxComponentOption, TooltipComponentOption, VisualMapComponentOption } from 'echarts';
|
|
6
|
+
export type EChartSeriesOption = BarSeriesOption | CandlestickSeriesOption | CustomSeriesOption | GaugeSeriesOption | HeatmapSeriesOption | LineSeriesOption | PieSeriesOption | ScatterSeriesOption | SankeySeriesOption | SunburstSeriesOption | never;
|
|
7
|
+
export type EChartSeries = EChartSeriesOption[];
|
|
8
|
+
export type { AxisPointerComponentOption, BrushComponentOption, DatasetComponentOption, DataZoomComponentOption, GridComponentOption, LegendComponentOption, MarkAreaComponentOption, MarkLineComponentOption, MarkPointComponentOption, PolarComponentOption, SingleAxisComponentOption, TitleComponentOption, ToolboxComponentOption, TooltipComponentOption, VisualMapComponentOption, BarSeriesOption, CandlestickSeriesOption, CustomSeriesOption, GaugeSeriesOption, HeatmapSeriesOption, LineSeriesOption, PieSeriesOption, ScatterSeriesOption, SankeySeriesOption, SunburstSeriesOption };
|
|
9
|
+
export interface EChartOption {
|
|
10
|
+
legend?: LegendComponentOption[];
|
|
11
|
+
dataZoom?: DataZoomComponentOption[];
|
|
12
|
+
grid?: GridComponentOption | GridComponentOption[];
|
|
13
|
+
series?: EChartSeries;
|
|
14
|
+
[key: string]: any;
|
|
15
|
+
}
|
|
@@ -0,0 +1,394 @@
|
|
|
1
|
+
export declare const themeSupport: {
|
|
2
|
+
_defaultTheme: {
|
|
3
|
+
name: string;
|
|
4
|
+
style: () => {
|
|
5
|
+
textStyle: {
|
|
6
|
+
fontFamily: string | undefined;
|
|
7
|
+
};
|
|
8
|
+
color: string[];
|
|
9
|
+
gradientColor: string[];
|
|
10
|
+
backgroundColor: string;
|
|
11
|
+
animationDuration: number;
|
|
12
|
+
title: {
|
|
13
|
+
padding: number[];
|
|
14
|
+
textStyle: {
|
|
15
|
+
fontFamily: string | undefined;
|
|
16
|
+
lineHeight: number;
|
|
17
|
+
fontSize: number;
|
|
18
|
+
color: string;
|
|
19
|
+
};
|
|
20
|
+
subtextStyle: {
|
|
21
|
+
fontFamily: string | undefined;
|
|
22
|
+
lineHeight: number;
|
|
23
|
+
fontSize: number;
|
|
24
|
+
color: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
legend: {
|
|
28
|
+
backgroundColor: string;
|
|
29
|
+
inactiveColor: string;
|
|
30
|
+
left: string;
|
|
31
|
+
right: number;
|
|
32
|
+
top: number;
|
|
33
|
+
textStyle: {
|
|
34
|
+
fontFamily: string | undefined;
|
|
35
|
+
color: string;
|
|
36
|
+
lineHeight: number;
|
|
37
|
+
fontSize: number;
|
|
38
|
+
};
|
|
39
|
+
icon: string;
|
|
40
|
+
pageTextStyle: {
|
|
41
|
+
color: string;
|
|
42
|
+
};
|
|
43
|
+
itemStyle: {
|
|
44
|
+
borderWidth: number;
|
|
45
|
+
itemGap: number;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
tooltip: {
|
|
49
|
+
borderWidth: number;
|
|
50
|
+
backgroundColor: string;
|
|
51
|
+
textStyle: {
|
|
52
|
+
fontFamily: string | undefined;
|
|
53
|
+
color: string;
|
|
54
|
+
fontWeight: number;
|
|
55
|
+
};
|
|
56
|
+
padding: number[];
|
|
57
|
+
axisPointer: {
|
|
58
|
+
crossStyle: {
|
|
59
|
+
color: string;
|
|
60
|
+
width: number;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
formatter: (p: object | object[]) => string;
|
|
64
|
+
};
|
|
65
|
+
axisPointer: {
|
|
66
|
+
label: {
|
|
67
|
+
fontFamily: string | undefined;
|
|
68
|
+
color: string;
|
|
69
|
+
backgroundColor: string;
|
|
70
|
+
lineHeight: number;
|
|
71
|
+
fontSize: number;
|
|
72
|
+
};
|
|
73
|
+
lineStyle: {
|
|
74
|
+
color: string;
|
|
75
|
+
width: number;
|
|
76
|
+
};
|
|
77
|
+
handle: {
|
|
78
|
+
color: string;
|
|
79
|
+
margin: number;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
grid: {
|
|
83
|
+
top: number;
|
|
84
|
+
left: number;
|
|
85
|
+
right: number;
|
|
86
|
+
bottom: number;
|
|
87
|
+
containLabel: boolean;
|
|
88
|
+
};
|
|
89
|
+
valueAxis: {
|
|
90
|
+
nameTextStyle: {
|
|
91
|
+
fontFamily: string | undefined;
|
|
92
|
+
color: string;
|
|
93
|
+
};
|
|
94
|
+
axisLine: {
|
|
95
|
+
show: boolean;
|
|
96
|
+
lineStyle: {
|
|
97
|
+
color: string;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
axisLabel: {
|
|
101
|
+
fontFamily: string | undefined;
|
|
102
|
+
color: string;
|
|
103
|
+
lineHeight: number;
|
|
104
|
+
fontSize: number;
|
|
105
|
+
hideOverlap: boolean;
|
|
106
|
+
};
|
|
107
|
+
axisTick: {
|
|
108
|
+
alignWithLabel: boolean;
|
|
109
|
+
};
|
|
110
|
+
splitLine: {
|
|
111
|
+
lineStyle: {
|
|
112
|
+
color: string;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
timeAxis: {
|
|
117
|
+
inverse: boolean;
|
|
118
|
+
nameTextStyle: {
|
|
119
|
+
fontFamily: string | undefined;
|
|
120
|
+
color: string;
|
|
121
|
+
};
|
|
122
|
+
axisLine: {
|
|
123
|
+
show: boolean;
|
|
124
|
+
lineStyle: {
|
|
125
|
+
color: string;
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
axisLabel: {
|
|
129
|
+
fontFamily: string | undefined;
|
|
130
|
+
color: string;
|
|
131
|
+
lineHeight: number;
|
|
132
|
+
fontSize: number;
|
|
133
|
+
hideOverlap: boolean;
|
|
134
|
+
};
|
|
135
|
+
axisTick: {
|
|
136
|
+
alignWithLabel: boolean;
|
|
137
|
+
};
|
|
138
|
+
splitLine: {
|
|
139
|
+
lineStyle: {
|
|
140
|
+
color: string;
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
categoryAxis: {
|
|
145
|
+
inverse: boolean;
|
|
146
|
+
nameTextStyle: {
|
|
147
|
+
fontFamily: string | undefined;
|
|
148
|
+
color: string;
|
|
149
|
+
};
|
|
150
|
+
axisLine: {
|
|
151
|
+
show: boolean;
|
|
152
|
+
lineStyle: {
|
|
153
|
+
color: string;
|
|
154
|
+
};
|
|
155
|
+
};
|
|
156
|
+
axisLabel: {
|
|
157
|
+
fontFamily: string | undefined;
|
|
158
|
+
color: string;
|
|
159
|
+
lineHeight: number;
|
|
160
|
+
fontSize: number;
|
|
161
|
+
hideOverlap: boolean;
|
|
162
|
+
};
|
|
163
|
+
axisTick: {
|
|
164
|
+
alignWithLabel: boolean;
|
|
165
|
+
};
|
|
166
|
+
splitLine: {
|
|
167
|
+
lineStyle: {
|
|
168
|
+
color: string;
|
|
169
|
+
};
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
dataZoom: {
|
|
173
|
+
textStyle: {
|
|
174
|
+
fontFamily: string | undefined;
|
|
175
|
+
color: string;
|
|
176
|
+
lineHeight: number;
|
|
177
|
+
fontSize: number;
|
|
178
|
+
};
|
|
179
|
+
borderColor: string;
|
|
180
|
+
fillerColor: string;
|
|
181
|
+
handleIcon: string;
|
|
182
|
+
handleStyle: {
|
|
183
|
+
color: string;
|
|
184
|
+
borderColor: string;
|
|
185
|
+
};
|
|
186
|
+
moveHandleStyle: {
|
|
187
|
+
color: string;
|
|
188
|
+
opacity: number;
|
|
189
|
+
};
|
|
190
|
+
brushStyle: {
|
|
191
|
+
color: string;
|
|
192
|
+
};
|
|
193
|
+
dataBackground: {
|
|
194
|
+
areaStyle: {
|
|
195
|
+
color: string;
|
|
196
|
+
};
|
|
197
|
+
lineStyle: {
|
|
198
|
+
color: string;
|
|
199
|
+
};
|
|
200
|
+
};
|
|
201
|
+
selectedDataBackground: {
|
|
202
|
+
areaStyle: {
|
|
203
|
+
color: string;
|
|
204
|
+
};
|
|
205
|
+
lineStyle: {
|
|
206
|
+
color: string;
|
|
207
|
+
};
|
|
208
|
+
};
|
|
209
|
+
emphasis: {
|
|
210
|
+
moveHandleStyle: {
|
|
211
|
+
color: string;
|
|
212
|
+
opacity: number;
|
|
213
|
+
};
|
|
214
|
+
handleStyle: {
|
|
215
|
+
color: string;
|
|
216
|
+
borderColor: string;
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
};
|
|
220
|
+
toolbox: {
|
|
221
|
+
feature: {
|
|
222
|
+
dataZoom: {
|
|
223
|
+
brushStyle: {
|
|
224
|
+
color: string;
|
|
225
|
+
};
|
|
226
|
+
};
|
|
227
|
+
};
|
|
228
|
+
};
|
|
229
|
+
graph: {
|
|
230
|
+
color: string[];
|
|
231
|
+
};
|
|
232
|
+
bar: {
|
|
233
|
+
barGap: number;
|
|
234
|
+
label: {
|
|
235
|
+
fontFamily: string | undefined;
|
|
236
|
+
color: string;
|
|
237
|
+
fontSize: number;
|
|
238
|
+
};
|
|
239
|
+
};
|
|
240
|
+
line: {
|
|
241
|
+
areaStyle: {
|
|
242
|
+
opacity: number;
|
|
243
|
+
};
|
|
244
|
+
symbol: string;
|
|
245
|
+
};
|
|
246
|
+
pie: {
|
|
247
|
+
label: {
|
|
248
|
+
fontFamily: string | undefined;
|
|
249
|
+
formatter: string;
|
|
250
|
+
color: string;
|
|
251
|
+
lineHeight: number;
|
|
252
|
+
fontSize: number;
|
|
253
|
+
};
|
|
254
|
+
labelLine: {
|
|
255
|
+
lineStyle: {
|
|
256
|
+
color: string;
|
|
257
|
+
};
|
|
258
|
+
};
|
|
259
|
+
itemStyle: {
|
|
260
|
+
borderWidth: number;
|
|
261
|
+
borderColor: string;
|
|
262
|
+
};
|
|
263
|
+
};
|
|
264
|
+
candlestick: {
|
|
265
|
+
itemStyle: {
|
|
266
|
+
color: string;
|
|
267
|
+
color0: string;
|
|
268
|
+
borderColor: string;
|
|
269
|
+
borderColor0: string;
|
|
270
|
+
};
|
|
271
|
+
};
|
|
272
|
+
gauge: {
|
|
273
|
+
detail: {
|
|
274
|
+
color: string;
|
|
275
|
+
rich: {
|
|
276
|
+
value: {
|
|
277
|
+
color: string;
|
|
278
|
+
};
|
|
279
|
+
unit: {
|
|
280
|
+
color: string;
|
|
281
|
+
};
|
|
282
|
+
};
|
|
283
|
+
};
|
|
284
|
+
axisLabel: {
|
|
285
|
+
fontFamily: string | undefined;
|
|
286
|
+
color: string;
|
|
287
|
+
};
|
|
288
|
+
axisTick: {
|
|
289
|
+
lineStyle: {
|
|
290
|
+
color: string;
|
|
291
|
+
};
|
|
292
|
+
};
|
|
293
|
+
splitLine: {
|
|
294
|
+
lineStyle: {
|
|
295
|
+
color: string;
|
|
296
|
+
};
|
|
297
|
+
};
|
|
298
|
+
};
|
|
299
|
+
sankey: {
|
|
300
|
+
label: {
|
|
301
|
+
fontFamily: string | undefined;
|
|
302
|
+
textBorderColor: string;
|
|
303
|
+
color: string;
|
|
304
|
+
};
|
|
305
|
+
};
|
|
306
|
+
sunburst: {
|
|
307
|
+
label: {
|
|
308
|
+
fontFamily: string | undefined;
|
|
309
|
+
textBorderColor: string;
|
|
310
|
+
color: string;
|
|
311
|
+
};
|
|
312
|
+
};
|
|
313
|
+
simpl: {
|
|
314
|
+
colorPalettes: {
|
|
315
|
+
default: string[];
|
|
316
|
+
};
|
|
317
|
+
dataZoom: {
|
|
318
|
+
options: {
|
|
319
|
+
height: number;
|
|
320
|
+
bottom: number;
|
|
321
|
+
};
|
|
322
|
+
grid: {
|
|
323
|
+
bottom: number;
|
|
324
|
+
};
|
|
325
|
+
};
|
|
326
|
+
timeRangeBar: {
|
|
327
|
+
height: number;
|
|
328
|
+
};
|
|
329
|
+
externalZoomSlider: {
|
|
330
|
+
grid: {
|
|
331
|
+
bottom: number;
|
|
332
|
+
};
|
|
333
|
+
};
|
|
334
|
+
legendLeft: {
|
|
335
|
+
left: number;
|
|
336
|
+
width: string;
|
|
337
|
+
};
|
|
338
|
+
legendRight: {
|
|
339
|
+
right: number;
|
|
340
|
+
width: string;
|
|
341
|
+
};
|
|
342
|
+
noTitle: {
|
|
343
|
+
grid: {
|
|
344
|
+
top: number;
|
|
345
|
+
};
|
|
346
|
+
legend: {
|
|
347
|
+
top: number;
|
|
348
|
+
};
|
|
349
|
+
};
|
|
350
|
+
subTitle: {
|
|
351
|
+
grid: {
|
|
352
|
+
top: number;
|
|
353
|
+
};
|
|
354
|
+
legend: {
|
|
355
|
+
top: number;
|
|
356
|
+
};
|
|
357
|
+
};
|
|
358
|
+
customLegend: {
|
|
359
|
+
grid: {
|
|
360
|
+
top: number;
|
|
361
|
+
};
|
|
362
|
+
};
|
|
363
|
+
progress: {
|
|
364
|
+
itemWidth: number;
|
|
365
|
+
itemGap: number;
|
|
366
|
+
grey: string;
|
|
367
|
+
};
|
|
368
|
+
progressBar: {
|
|
369
|
+
labelColor: string;
|
|
370
|
+
itemWidth: number;
|
|
371
|
+
grid: {
|
|
372
|
+
left: number;
|
|
373
|
+
right: number;
|
|
374
|
+
containLabel: boolean;
|
|
375
|
+
};
|
|
376
|
+
};
|
|
377
|
+
gauge: {
|
|
378
|
+
grey: string;
|
|
379
|
+
value: string;
|
|
380
|
+
unit: string;
|
|
381
|
+
defaultColor: string;
|
|
382
|
+
};
|
|
383
|
+
};
|
|
384
|
+
};
|
|
385
|
+
};
|
|
386
|
+
_themes: {
|
|
387
|
+
[key: string]: any;
|
|
388
|
+
};
|
|
389
|
+
registerTheme(theme: any): void;
|
|
390
|
+
getThemeNames(): string[];
|
|
391
|
+
getThemeByName(name: string): any;
|
|
392
|
+
setDefault(theme: any): void;
|
|
393
|
+
getDefault(): any;
|
|
394
|
+
};
|