@genesislcap/g2plot-chart 14.407.0 → 14.408.0-icon-renderer.3
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 +7 -13
- package/package.json +14 -14
- package/docs/api/g2plot-chart.chartconfig.md +0 -13
- package/docs/api/g2plot-chart.chartdatasource.chartfields.md +0 -15
- package/docs/api/g2plot-chart.chartdatasource.criteria.md +0 -13
- package/docs/api/g2plot-chart.chartdatasource.data.md +0 -13
- package/docs/api/g2plot-chart.chartdatasource.isgroup.md +0 -13
- package/docs/api/g2plot-chart.chartdatasource.issnapshot.md +0 -13
- package/docs/api/g2plot-chart.chartdatasource.isstack.md +0 -13
- package/docs/api/g2plot-chart.chartdatasource.maxrows.md +0 -13
- package/docs/api/g2plot-chart.chartdatasource.maxview.md +0 -13
- package/docs/api/g2plot-chart.chartdatasource.md +0 -369
- package/docs/api/g2plot-chart.chartdatasource.orderby.md +0 -13
- package/docs/api/g2plot-chart.chartdatasource.reduced.md +0 -13
- package/docs/api/g2plot-chart.chartdatasource.request.md +0 -13
- package/docs/api/g2plot-chart.chartdatasource.resourcename.md +0 -13
- package/docs/api/g2plot-chart.chartdatasource.reverse.md +0 -13
- package/docs/api/g2plot-chart.chartdatasource.rowid.md +0 -13
- package/docs/api/g2plot-chart.chartdatasource.serverfields.md +0 -15
- package/docs/api/g2plot-chart.chartdatasource.showformattedtime.md +0 -15
- package/docs/api/g2plot-chart.chartdatasource.withtimestampformatting.md +0 -13
- package/docs/api/g2plot-chart.chartdatasourceerrorevent.md +0 -15
- package/docs/api/g2plot-chart.chartdatasourceerroreventdetail.md +0 -15
- package/docs/api/g2plot-chart.chartdatasourceeventnames.md +0 -15
- package/docs/api/g2plot-chart.charterrorevent.md +0 -15
- package/docs/api/g2plot-chart.charterroritem.detail.md +0 -11
- package/docs/api/g2plot-chart.charterroritem.md +0 -73
- package/docs/api/g2plot-chart.charterroritem.type.md +0 -11
- package/docs/api/g2plot-chart.charterrornames.md +0 -16
- package/docs/api/g2plot-chart.charterrortypes.md +0 -15
- package/docs/api/g2plot-chart.chartmodels.md +0 -13
- package/docs/api/g2plot-chart.chartsgradients.md +0 -24
- package/docs/api/g2plot-chart.charttypes.md +0 -13
- package/docs/api/g2plot-chart.defaultchartconfig.md +0 -13
- package/docs/api/g2plot-chart.defaultchartfields.md +0 -18
- package/docs/api/g2plot-chart.defaultserieschartfield.md +0 -18
- package/docs/api/g2plot-chart.foundationchartshadowoptions.md +0 -13
- package/docs/api/g2plot-chart.g2plotchart.config.md +0 -30
- package/docs/api/g2plot-chart.g2plotchart.data.md +0 -18
- package/docs/api/g2plot-chart.g2plotchart.md +0 -101
- package/docs/api/g2plot-chart.g2plotchart.type.md +0 -18
- package/docs/api/g2plot-chart.g2plotchartscomponents.md +0 -26
- package/docs/api/g2plot-chart.g2plotcharttemplate.md +0 -13
- package/docs/api/g2plot-chart.md +0 -275
- package/docs/api/index.md +0 -30
- package/docs/api-report.md.api.md +0 -229
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/g2plot-chart](./g2plot-chart.md) > [ChartDatasource](./g2plot-chart.chartdatasource.md) > [serverFields](./g2plot-chart.chartdatasource.serverfields.md)
|
|
4
|
-
|
|
5
|
-
## ChartDatasource.serverFields property
|
|
6
|
-
|
|
7
|
-
Can be customized but order matters.
|
|
8
|
-
|
|
9
|
-
\[Mandatory\] First will be associated to the first value in 'chartFields' (xField/colorField) \[Mandatory\] Second will be associated to the second value in 'chartFields' (yField/angleField) \[Optional\] Third will be associated to the third value in 'chartFields' (seriesField)
|
|
10
|
-
|
|
11
|
-
**Signature:**
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
serverFields: string;
|
|
15
|
-
```
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/g2plot-chart](./g2plot-chart.md) > [ChartDatasource](./g2plot-chart.chartdatasource.md) > [showFormattedTime](./g2plot-chart.chartdatasource.showformattedtime.md)
|
|
4
|
-
|
|
5
|
-
## ChartDatasource.showFormattedTime property
|
|
6
|
-
|
|
7
|
-
Only works if \[withTimestampFormatting\] is true.
|
|
8
|
-
|
|
9
|
-
Disabled by default, will ignore the TIME portion in the Chart labels. Only affects \[DATETIME\] fields.
|
|
10
|
-
|
|
11
|
-
**Signature:**
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
showFormattedTime: boolean;
|
|
15
|
-
```
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/g2plot-chart](./g2plot-chart.md) > [ChartDatasource](./g2plot-chart.chartdatasource.md) > [withTimestampFormatting](./g2plot-chart.chartdatasource.withtimestampformatting.md)
|
|
4
|
-
|
|
5
|
-
## ChartDatasource.withTimestampFormatting property
|
|
6
|
-
|
|
7
|
-
Enabled by default, will format UNIX timestamp fields to readable \[DATE\|DATETIME\] values.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
withTimestampFormatting: boolean;
|
|
13
|
-
```
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/g2plot-chart](./g2plot-chart.md) > [ChartDatasourceErrorEvent](./g2plot-chart.chartdatasourceerrorevent.md)
|
|
4
|
-
|
|
5
|
-
## ChartDatasourceErrorEvent type
|
|
6
|
-
|
|
7
|
-
The error event Chart Datasource.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export type ChartDatasourceErrorEvent = CustomEvent<ChartDatasourceErrorEventDetail>;
|
|
13
|
-
```
|
|
14
|
-
**References:** [ChartDatasourceErrorEventDetail](./g2plot-chart.chartdatasourceerroreventdetail.md)
|
|
15
|
-
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/g2plot-chart](./g2plot-chart.md) > [ChartDatasourceErrorEventDetail](./g2plot-chart.chartdatasourceerroreventdetail.md)
|
|
4
|
-
|
|
5
|
-
## ChartDatasourceErrorEventDetail type
|
|
6
|
-
|
|
7
|
-
The event detail for the Chart Datasource `error` event.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export type ChartDatasourceErrorEventDetail = {
|
|
13
|
-
message: string;
|
|
14
|
-
};
|
|
15
|
-
```
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/g2plot-chart](./g2plot-chart.md) > [chartDatasourceEventNames](./g2plot-chart.chartdatasourceeventnames.md)
|
|
4
|
-
|
|
5
|
-
## chartDatasourceEventNames variable
|
|
6
|
-
|
|
7
|
-
The Chart Datasource event names.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
chartDatasourceEventNames: {
|
|
13
|
-
error: string;
|
|
14
|
-
}
|
|
15
|
-
```
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/g2plot-chart](./g2plot-chart.md) > [ChartErrorEvent](./g2plot-chart.charterrorevent.md)
|
|
4
|
-
|
|
5
|
-
## ChartErrorEvent type
|
|
6
|
-
|
|
7
|
-
Chart possible error events
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export type ChartErrorEvent = ChartDatasourceErrorEvent | CustomEvent<ChartErrorItem<any>>;
|
|
13
|
-
```
|
|
14
|
-
**References:** [ChartDatasourceErrorEvent](./g2plot-chart.chartdatasourceerrorevent.md)<!-- -->, [ChartErrorItem](./g2plot-chart.charterroritem.md)
|
|
15
|
-
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/g2plot-chart](./g2plot-chart.md) > [ChartErrorItem](./g2plot-chart.charterroritem.md) > [detail](./g2plot-chart.charterroritem.detail.md)
|
|
4
|
-
|
|
5
|
-
## ChartErrorItem.detail property
|
|
6
|
-
|
|
7
|
-
**Signature:**
|
|
8
|
-
|
|
9
|
-
```typescript
|
|
10
|
-
detail: ChartErrorItemDetailType;
|
|
11
|
-
```
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/g2plot-chart](./g2plot-chart.md) > [ChartErrorItem](./g2plot-chart.charterroritem.md)
|
|
4
|
-
|
|
5
|
-
## ChartErrorItem interface
|
|
6
|
-
|
|
7
|
-
Chart Error Item
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export interface ChartErrorItem<ChartErrorItemDetailType>
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Properties
|
|
16
|
-
|
|
17
|
-
<table><thead><tr><th>
|
|
18
|
-
|
|
19
|
-
Property
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</th><th>
|
|
23
|
-
|
|
24
|
-
Modifiers
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th><th>
|
|
28
|
-
|
|
29
|
-
Type
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</th><th>
|
|
33
|
-
|
|
34
|
-
Description
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
</th></tr></thead>
|
|
38
|
-
<tbody><tr><td>
|
|
39
|
-
|
|
40
|
-
[detail](./g2plot-chart.charterroritem.detail.md)
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
</td><td>
|
|
47
|
-
|
|
48
|
-
ChartErrorItemDetailType
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
</td><td>
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
</td></tr>
|
|
55
|
-
<tr><td>
|
|
56
|
-
|
|
57
|
-
[type](./g2plot-chart.charterroritem.type.md)
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
</td><td>
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
</td><td>
|
|
64
|
-
|
|
65
|
-
[ChartErrorTypes](./g2plot-chart.charterrortypes.md)
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
</td><td>
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
</td></tr>
|
|
72
|
-
</tbody></table>
|
|
73
|
-
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/g2plot-chart](./g2plot-chart.md) > [ChartErrorItem](./g2plot-chart.charterroritem.md) > [type](./g2plot-chart.charterroritem.type.md)
|
|
4
|
-
|
|
5
|
-
## ChartErrorItem.type property
|
|
6
|
-
|
|
7
|
-
**Signature:**
|
|
8
|
-
|
|
9
|
-
```typescript
|
|
10
|
-
type: ChartErrorTypes;
|
|
11
|
-
```
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/g2plot-chart](./g2plot-chart.md) > [chartErrorNames](./g2plot-chart.charterrornames.md)
|
|
4
|
-
|
|
5
|
-
## chartErrorNames variable
|
|
6
|
-
|
|
7
|
-
The error names for the Chart component.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
chartErrorNames: {
|
|
13
|
-
readonly datasource: "datasource";
|
|
14
|
-
readonly unknown: "unknown";
|
|
15
|
-
}
|
|
16
|
-
```
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/g2plot-chart](./g2plot-chart.md) > [ChartErrorTypes](./g2plot-chart.charterrortypes.md)
|
|
4
|
-
|
|
5
|
-
## ChartErrorTypes type
|
|
6
|
-
|
|
7
|
-
Chart Error Types
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export type ChartErrorTypes = keyof typeof chartErrorNames;
|
|
13
|
-
```
|
|
14
|
-
**References:** [chartErrorNames](./g2plot-chart.charterrornames.md)
|
|
15
|
-
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/g2plot-chart](./g2plot-chart.md) > [ChartModels](./g2plot-chart.chartmodels.md)
|
|
4
|
-
|
|
5
|
-
## ChartModels type
|
|
6
|
-
|
|
7
|
-
G2Plot Chart Models
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export type ChartModels = Line | Area | Bar | Column | Pie | DualAxes | Rose | Scatter | Stock | Mix;
|
|
13
|
-
```
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/g2plot-chart](./g2plot-chart.md) > [chartsGradients](./g2plot-chart.chartsgradients.md)
|
|
4
|
-
|
|
5
|
-
## chartsGradients variable
|
|
6
|
-
|
|
7
|
-
G2Plot Chart gradient colors
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
chartsGradients: {
|
|
13
|
-
rapidBlue: string;
|
|
14
|
-
rapidGreen: string;
|
|
15
|
-
rapidRed: string;
|
|
16
|
-
rapidPortage: string;
|
|
17
|
-
rapidAlabaster: string;
|
|
18
|
-
rapidSalomie: string;
|
|
19
|
-
rapidMelon: string;
|
|
20
|
-
rapidDodgerBlue: string;
|
|
21
|
-
rapidIce: string;
|
|
22
|
-
rapidViolet: string;
|
|
23
|
-
}
|
|
24
|
-
```
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/g2plot-chart](./g2plot-chart.md) > [ChartTypes](./g2plot-chart.charttypes.md)
|
|
4
|
-
|
|
5
|
-
## ChartTypes type
|
|
6
|
-
|
|
7
|
-
G2Plot Chart Types
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export type ChartTypes = 'line' | 'area' | 'column' | 'bar' | 'pie' | 'donut' | 'dualaxes' | 'rose' | 'scatter' | 'stock' | 'mix';
|
|
13
|
-
```
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/g2plot-chart](./g2plot-chart.md) > [defaultChartConfig](./g2plot-chart.defaultchartconfig.md)
|
|
4
|
-
|
|
5
|
-
## defaultChartConfig variable
|
|
6
|
-
|
|
7
|
-
The default `g2plot-chart` configuration.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
defaultChartConfig: {}
|
|
13
|
-
```
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/g2plot-chart](./g2plot-chart.md) > [defaultChartFields](./g2plot-chart.defaultchartfields.md)
|
|
4
|
-
|
|
5
|
-
## defaultChartFields variable
|
|
6
|
-
|
|
7
|
-
The first and second default chart fields when it's a dual axes chart.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
defaultChartFields = "groupBy value"
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Remarks
|
|
16
|
-
|
|
17
|
-
This field is always used. Default value is 'groupBy value'.
|
|
18
|
-
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/g2plot-chart](./g2plot-chart.md) > [defaultSeriesChartField](./g2plot-chart.defaultserieschartfield.md)
|
|
4
|
-
|
|
5
|
-
## defaultSeriesChartField variable
|
|
6
|
-
|
|
7
|
-
The third default chart field when it's a triple axes chart.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
defaultSeriesChartField = "series"
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Remarks
|
|
16
|
-
|
|
17
|
-
This field is optional. Default value is 'series'.
|
|
18
|
-
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/g2plot-chart](./g2plot-chart.md) > [foundationChartShadowOptions](./g2plot-chart.foundationchartshadowoptions.md)
|
|
4
|
-
|
|
5
|
-
## foundationChartShadowOptions variable
|
|
6
|
-
|
|
7
|
-
The `g2plot-chart` component shadow options.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
foundationChartShadowOptions: ShadowRootInit
|
|
13
|
-
```
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/g2plot-chart](./g2plot-chart.md) > [G2PlotChart](./g2plot-chart.g2plotchart.md) > [config](./g2plot-chart.g2plotchart.config.md)
|
|
4
|
-
|
|
5
|
-
## G2PlotChart.config property
|
|
6
|
-
|
|
7
|
-
The configuration to use for the chart. Check [ChartConfig](./g2plot-chart.chartconfig.md) for possible options
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
config: ChartConfig;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Example
|
|
16
|
-
|
|
17
|
-
Here's a simple example:
|
|
18
|
-
|
|
19
|
-
```
|
|
20
|
-
const chartConfig = {
|
|
21
|
-
width: 700,
|
|
22
|
-
xField: 'value',
|
|
23
|
-
yField: 'groupBy',
|
|
24
|
-
seriesField: 'series',
|
|
25
|
-
legend: {
|
|
26
|
-
position: 'top-left',
|
|
27
|
-
},
|
|
28
|
-
};
|
|
29
|
-
```
|
|
30
|
-
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/g2plot-chart](./g2plot-chart.md) > [G2PlotChart](./g2plot-chart.g2plotchart.md) > [data](./g2plot-chart.g2plotchart.data.md)
|
|
4
|
-
|
|
5
|
-
## G2PlotChart.data property
|
|
6
|
-
|
|
7
|
-
The data to display in the chart.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
data: any[];
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Remarks
|
|
16
|
-
|
|
17
|
-
For scenarios where you want to set data manually, without relying on `<chart-datasource>`<!-- -->.
|
|
18
|
-
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/g2plot-chart](./g2plot-chart.md) > [G2PlotChart](./g2plot-chart.g2plotchart.md)
|
|
4
|
-
|
|
5
|
-
## G2PlotChart class
|
|
6
|
-
|
|
7
|
-
The G2Plot Chart component
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export declare class G2PlotChart extends G2PlotChart_base
|
|
13
|
-
```
|
|
14
|
-
**Extends:** G2PlotChart\_base
|
|
15
|
-
|
|
16
|
-
## Remarks
|
|
17
|
-
|
|
18
|
-
The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the `G2PlotChart` class.
|
|
19
|
-
|
|
20
|
-
## Properties
|
|
21
|
-
|
|
22
|
-
<table><thead><tr><th>
|
|
23
|
-
|
|
24
|
-
Property
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th><th>
|
|
28
|
-
|
|
29
|
-
Modifiers
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</th><th>
|
|
33
|
-
|
|
34
|
-
Type
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
</th><th>
|
|
38
|
-
|
|
39
|
-
Description
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
</th></tr></thead>
|
|
43
|
-
<tbody><tr><td>
|
|
44
|
-
|
|
45
|
-
[config](./g2plot-chart.g2plotchart.config.md)
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td><td>
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
</td><td>
|
|
52
|
-
|
|
53
|
-
[ChartConfig](./g2plot-chart.chartconfig.md)
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
</td><td>
|
|
57
|
-
|
|
58
|
-
The configuration to use for the chart. Check [ChartConfig](./g2plot-chart.chartconfig.md) for possible options
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
</td></tr>
|
|
62
|
-
<tr><td>
|
|
63
|
-
|
|
64
|
-
[data](./g2plot-chart.g2plotchart.data.md)
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
</td><td>
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
</td><td>
|
|
71
|
-
|
|
72
|
-
any\[\]
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
</td><td>
|
|
76
|
-
|
|
77
|
-
The data to display in the chart.
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
</td></tr>
|
|
81
|
-
<tr><td>
|
|
82
|
-
|
|
83
|
-
[type](./g2plot-chart.g2plotchart.type.md)
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
</td><td>
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
</td><td>
|
|
90
|
-
|
|
91
|
-
[ChartTypes](./g2plot-chart.charttypes.md)
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
</td><td>
|
|
95
|
-
|
|
96
|
-
The type to use for the chart. If not set, the default bar type will be used.
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
</td></tr>
|
|
100
|
-
</tbody></table>
|
|
101
|
-
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/g2plot-chart](./g2plot-chart.md) > [G2PlotChart](./g2plot-chart.g2plotchart.md) > [type](./g2plot-chart.g2plotchart.type.md)
|
|
4
|
-
|
|
5
|
-
## G2PlotChart.type property
|
|
6
|
-
|
|
7
|
-
The type to use for the chart. If not set, the default bar type will be used.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
type: ChartTypes;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Remarks
|
|
16
|
-
|
|
17
|
-
Can be one of the following: line, area, column, bar, pie, donut, dualaxes, rose, scatter, stock, mix.
|
|
18
|
-
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/g2plot-chart](./g2plot-chart.md) > [g2plotChartsComponents](./g2plot-chart.g2plotchartscomponents.md)
|
|
4
|
-
|
|
5
|
-
## g2plotChartsComponents variable
|
|
6
|
-
|
|
7
|
-
All the `g2plot-chart` components
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
g2plotChartsComponents: {
|
|
13
|
-
g2plotChart: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<{
|
|
14
|
-
baseName: string;
|
|
15
|
-
styles: import("@microsoft/fast-element").ElementStyles;
|
|
16
|
-
template: import("@microsoft/fast-element").ViewTemplate<any, any>;
|
|
17
|
-
shadowOptions: ShadowRootInit;
|
|
18
|
-
}>) => import("@microsoft/fast-foundation").FoundationElementRegistry<{
|
|
19
|
-
baseName: string;
|
|
20
|
-
styles: import("@microsoft/fast-element").ElementStyles;
|
|
21
|
-
template: import("@microsoft/fast-element").ViewTemplate<any, any>;
|
|
22
|
-
shadowOptions: ShadowRootInit;
|
|
23
|
-
}, typeof import("./chart").G2PlotChart>;
|
|
24
|
-
register(container?: Container, ...rest: any[]): void;
|
|
25
|
-
}
|
|
26
|
-
```
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/g2plot-chart](./g2plot-chart.md) > [g2plotChartTemplate](./g2plot-chart.g2plotcharttemplate.md)
|
|
4
|
-
|
|
5
|
-
## g2plotChartTemplate variable
|
|
6
|
-
|
|
7
|
-
The g2lot chart template.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
g2plotChartTemplate: ViewTemplate
|
|
13
|
-
```
|