@genesislcap/g2plot-chart 14.214.2 → 14.214.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/dist/custom-elements.json +23 -9
- package/dist/dts/chart-components.d.ts +4 -0
- package/dist/dts/chart-components.d.ts.map +1 -1
- package/dist/dts/chart-datasource/chart-datasource.d.ts +14 -0
- package/dist/dts/chart-datasource/chart-datasource.d.ts.map +1 -1
- package/dist/dts/chart.d.ts +11 -0
- package/dist/dts/chart.d.ts.map +1 -1
- package/dist/dts/chart.types.d.ts +8 -0
- package/dist/dts/chart.types.d.ts.map +1 -1
- package/dist/dts/settings/colors.d.ts +4 -0
- package/dist/dts/settings/colors.d.ts.map +1 -1
- package/dist/dts/settings/shapes.d.ts +4 -0
- package/dist/dts/settings/shapes.d.ts.map +1 -1
- package/dist/dts/tsdoc-metadata.json +11 -0
- package/dist/esm/chart-components.js +4 -0
- package/dist/esm/chart-datasource/chart-datasource.js +14 -0
- package/dist/esm/chart.js +11 -1
- package/dist/esm/settings/colors.js +4 -0
- package/dist/esm/settings/shapes.js +4 -0
- package/dist/g2plot-chart.api.json +1600 -0
- package/dist/g2plot-chart.d.ts +964 -0
- package/docs/.gitattributes +2 -0
- package/docs/api/g2plot-chart.chartdatasource.disconnectedcallback.md +15 -0
- package/docs/api/g2plot-chart.chartdatasource.fetchgenesisdata.md +22 -0
- package/docs/api/g2plot-chart.chartdatasource.md +22 -0
- package/docs/api/g2plot-chart.chartdatasourceerrorevent.md +15 -0
- package/docs/api/g2plot-chart.chartdatasourceerroreventdetail.md +15 -0
- package/docs/api/g2plot-chart.chartdatasourceeventnames.md +15 -0
- package/docs/api/g2plot-chart.charterrorevent.md +15 -0
- package/docs/api/g2plot-chart.charterroritem.detail.md +11 -0
- package/docs/api/g2plot-chart.charterroritem.md +21 -0
- package/docs/api/g2plot-chart.charterroritem.type.md +11 -0
- package/docs/api/g2plot-chart.charterrornames.md +16 -0
- package/docs/api/g2plot-chart.charterrortypes.md +15 -0
- package/docs/api/g2plot-chart.chartmodels.md +13 -0
- package/docs/api/g2plot-chart.chartsgradients.md +24 -0
- package/docs/api/g2plot-chart.charttypes.md +13 -0
- package/docs/api/g2plot-chart.defaultchartconfig.md +13 -0
- package/docs/api/g2plot-chart.defaultchartfields.md +18 -0
- package/docs/api/g2plot-chart.defaultserieschartfield.md +18 -0
- package/docs/api/g2plot-chart.foundationchartshadowoptions.md +13 -0
- package/docs/api/g2plot-chart.g2plotchart._constructor_.md +13 -0
- package/docs/api/g2plot-chart.g2plotchart.chart.md +11 -0
- package/docs/api/g2plot-chart.g2plotchart.chartcontainer.md +11 -0
- package/docs/api/g2plot-chart.g2plotchart.config.md +11 -0
- package/docs/api/g2plot-chart.g2plotchart.configchanged.md +15 -0
- package/docs/api/g2plot-chart.g2plotchart.connectedcallback.md +15 -0
- package/docs/api/g2plot-chart.g2plotchart.data.md +11 -0
- package/docs/api/g2plot-chart.g2plotchart.datachanged.md +23 -0
- package/docs/api/g2plot-chart.g2plotchart.deepclone.md +15 -0
- package/docs/api/g2plot-chart.g2plotchart.disconnectedcallback.md +15 -0
- package/docs/api/g2plot-chart.g2plotchart.erroritems.md +11 -0
- package/docs/api/g2plot-chart.g2plotchart.eventhandler.md +11 -0
- package/docs/api/g2plot-chart.g2plotchart.md +28 -0
- package/docs/api/g2plot-chart.g2plotchart.renderchart.md +15 -0
- package/docs/api/g2plot-chart.g2plotchart.type.md +11 -0
- package/docs/api/g2plot-chart.g2plotchartscomponents.md +26 -0
- package/docs/api/g2plot-chart.g2plotcharttemplate.md +13 -0
- package/docs/api/g2plot-chart.md +46 -0
- package/docs/api/g2plot-chart.registerrapidshape.md +13 -0
- package/docs/api/index.md +12 -0
- package/docs/api-report.md +190 -0
- package/package.json +14 -14
- package/tsdoc.json +4 -0
|
@@ -0,0 +1,15 @@
|
|
|
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) > [disconnectedCallback](./g2plot-chart.chartdatasource.disconnectedcallback.md)
|
|
4
|
+
|
|
5
|
+
## ChartDatasource.disconnectedCallback() method
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
disconnectedCallback(): void;
|
|
11
|
+
```
|
|
12
|
+
**Returns:**
|
|
13
|
+
|
|
14
|
+
void
|
|
15
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
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) > [fetchGenesisData](./g2plot-chart.chartdatasource.fetchgenesisdata.md)
|
|
4
|
+
|
|
5
|
+
## ChartDatasource.fetchGenesisData() method
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
fetchGenesisData(withFullInit?: boolean): Promise<void>;
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Parameters
|
|
14
|
+
|
|
15
|
+
| Parameter | Type | Description |
|
|
16
|
+
| --- | --- | --- |
|
|
17
|
+
| withFullInit | boolean | _(Optional)_ |
|
|
18
|
+
|
|
19
|
+
**Returns:**
|
|
20
|
+
|
|
21
|
+
Promise<void>
|
|
22
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
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)
|
|
4
|
+
|
|
5
|
+
## ChartDatasource class
|
|
6
|
+
|
|
7
|
+
The Genesis Datasource for the `g2plot-chart` component.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
export declare class ChartDatasource extends ChartDatasource_base
|
|
13
|
+
```
|
|
14
|
+
**Extends:** ChartDatasource\_base
|
|
15
|
+
|
|
16
|
+
## Methods
|
|
17
|
+
|
|
18
|
+
| Method | Modifiers | Description |
|
|
19
|
+
| --- | --- | --- |
|
|
20
|
+
| [disconnectedCallback()](./g2plot-chart.chartdatasource.disconnectedcallback.md) | | |
|
|
21
|
+
| [fetchGenesisData(withFullInit)](./g2plot-chart.chartdatasource.fetchgenesisdata.md) | | |
|
|
22
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
```
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
```
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
```
|
|
@@ -0,0 +1,21 @@
|
|
|
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
|
+
| Property | Modifiers | Type | Description |
|
|
18
|
+
| --- | --- | --- | --- |
|
|
19
|
+
| [detail](./g2plot-chart.charterroritem.detail.md) | | ChartErrorItemDetailType | |
|
|
20
|
+
| [type](./g2plot-chart.charterroritem.type.md) | | [ChartErrorTypes](./g2plot-chart.charterrortypes.md) | |
|
|
21
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
```
|
|
@@ -0,0 +1,16 @@
|
|
|
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
|
+
```
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
```
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
```
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
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) > [(constructor)](./g2plot-chart.g2plotchart._constructor_.md)
|
|
4
|
+
|
|
5
|
+
## G2PlotChart.(constructor)
|
|
6
|
+
|
|
7
|
+
Constructs a new instance of the `G2PlotChart` class
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
constructor();
|
|
13
|
+
```
|
|
@@ -0,0 +1,11 @@
|
|
|
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) > [chart](./g2plot-chart.g2plotchart.chart.md)
|
|
4
|
+
|
|
5
|
+
## G2PlotChart.chart property
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
chart: ChartModels;
|
|
11
|
+
```
|
|
@@ -0,0 +1,11 @@
|
|
|
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) > [chartContainer](./g2plot-chart.g2plotchart.chartcontainer.md)
|
|
4
|
+
|
|
5
|
+
## G2PlotChart.chartContainer property
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
chartContainer: HTMLElement;
|
|
11
|
+
```
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
config: any;
|
|
11
|
+
```
|
|
@@ -0,0 +1,15 @@
|
|
|
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) > [configChanged](./g2plot-chart.g2plotchart.configchanged.md)
|
|
4
|
+
|
|
5
|
+
## G2PlotChart.configChanged() method
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
configChanged(): void;
|
|
11
|
+
```
|
|
12
|
+
**Returns:**
|
|
13
|
+
|
|
14
|
+
void
|
|
15
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
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) > [connectedCallback](./g2plot-chart.g2plotchart.connectedcallback.md)
|
|
4
|
+
|
|
5
|
+
## G2PlotChart.connectedCallback() method
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
connectedCallback(): void;
|
|
11
|
+
```
|
|
12
|
+
**Returns:**
|
|
13
|
+
|
|
14
|
+
void
|
|
15
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
data: any[];
|
|
11
|
+
```
|
|
@@ -0,0 +1,23 @@
|
|
|
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) > [dataChanged](./g2plot-chart.g2plotchart.datachanged.md)
|
|
4
|
+
|
|
5
|
+
## G2PlotChart.dataChanged() method
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
dataChanged(oldValue: any[], newValue: any[]): void;
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Parameters
|
|
14
|
+
|
|
15
|
+
| Parameter | Type | Description |
|
|
16
|
+
| --- | --- | --- |
|
|
17
|
+
| oldValue | any\[\] | |
|
|
18
|
+
| newValue | any\[\] | |
|
|
19
|
+
|
|
20
|
+
**Returns:**
|
|
21
|
+
|
|
22
|
+
void
|
|
23
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
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) > [deepClone](./g2plot-chart.g2plotchart.deepclone.md)
|
|
4
|
+
|
|
5
|
+
## G2PlotChart.deepClone() method
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
deepClone(): Node;
|
|
11
|
+
```
|
|
12
|
+
**Returns:**
|
|
13
|
+
|
|
14
|
+
Node
|
|
15
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
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) > [disconnectedCallback](./g2plot-chart.g2plotchart.disconnectedcallback.md)
|
|
4
|
+
|
|
5
|
+
## G2PlotChart.disconnectedCallback() method
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
disconnectedCallback(): void;
|
|
11
|
+
```
|
|
12
|
+
**Returns:**
|
|
13
|
+
|
|
14
|
+
void
|
|
15
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
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) > [errorItems](./g2plot-chart.g2plotchart.erroritems.md)
|
|
4
|
+
|
|
5
|
+
## G2PlotChart.errorItems property
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
errorItems: ChartErrorItem<ChartErrorEvent['detail']>[];
|
|
11
|
+
```
|
|
@@ -0,0 +1,11 @@
|
|
|
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) > [eventHandler](./g2plot-chart.g2plotchart.eventhandler.md)
|
|
4
|
+
|
|
5
|
+
## G2PlotChart.eventHandler property
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
eventHandler: (e: any) => void;
|
|
11
|
+
```
|
|
@@ -0,0 +1,28 @@
|
|
|
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 variable
|
|
6
|
+
|
|
7
|
+
The G2plot Chart
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
g2plotChart: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<{
|
|
13
|
+
baseName: string;
|
|
14
|
+
styles: import("@microsoft/fast-element").ElementStyles;
|
|
15
|
+
template: import("@microsoft/fast-element").ViewTemplate<any, any>;
|
|
16
|
+
shadowOptions: ShadowRootInit;
|
|
17
|
+
}>) => import("@microsoft/fast-foundation").FoundationElementRegistry<{
|
|
18
|
+
baseName: string;
|
|
19
|
+
styles: import("@microsoft/fast-element").ElementStyles;
|
|
20
|
+
template: import("@microsoft/fast-element").ViewTemplate<any, any>;
|
|
21
|
+
shadowOptions: ShadowRootInit;
|
|
22
|
+
}, typeof G2PlotChart>
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Remarks
|
|
26
|
+
|
|
27
|
+
HTML Element: <<!-- -->design-system-g2plot-chart<!-- -->>
|
|
28
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
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) > [renderChart](./g2plot-chart.g2plotchart.renderchart.md)
|
|
4
|
+
|
|
5
|
+
## G2PlotChart.renderChart() method
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
renderChart(): void;
|
|
11
|
+
```
|
|
12
|
+
**Returns:**
|
|
13
|
+
|
|
14
|
+
void
|
|
15
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
type: ChartTypes;
|
|
11
|
+
```
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
```
|