@genesislcap/g2plot-chart 14.408.0 → 14.409.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/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
package/README.md
CHANGED
|
@@ -1,31 +1,25 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @genesislcap/g2plot-chart
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Documentation for this package is published on the Genesis docs site:
|
|
4
4
|
|
|
5
|
+
**Docs: [Charts](https://docs.genesis.global/docs/develop/client-capabilities/charts/)**
|
|
5
6
|
|
|
6
7
|
## Installation
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
1. Add `@genesislcap/g2plot-chart` as a dependency in your `package.json` file. Whenever you change the dependencies of your project, ensure you run the `$ npm run bootstrap` command again. You can find more information in the [package.json basics](https://learn.genesis.global/secure/web/basics/package-json-basics/) page.
|
|
9
|
+
Add the package to your `package.json` dependencies. After changing dependencies, run `npm run bootstrap` (or your project's equivalent). See [package.json basics](https://learn.genesis.global/secure/web/basics/package-json-basics/) for more information.
|
|
11
10
|
|
|
12
11
|
```json
|
|
13
12
|
{
|
|
14
|
-
...
|
|
15
13
|
"dependencies": {
|
|
16
|
-
...
|
|
17
14
|
"@genesislcap/g2plot-chart": "latest"
|
|
18
|
-
|
|
19
|
-
},
|
|
20
|
-
...
|
|
15
|
+
}
|
|
21
16
|
}
|
|
22
17
|
```
|
|
23
18
|
|
|
24
|
-
## [API Docs](./docs/api/index.md)
|
|
25
|
-
|
|
26
19
|
## License
|
|
27
20
|
|
|
28
21
|
Note: this project provides front-end dependencies and uses licensed components listed in the next section; thus, licenses for those components are required during development. Contact [Genesis Global](https://genesis.global/contact-us/) for more details.
|
|
29
22
|
|
|
30
23
|
### Licensed components
|
|
31
|
-
|
|
24
|
+
|
|
25
|
+
Genesis low-code platform
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/g2plot-chart",
|
|
3
3
|
"description": "Genesis G2plot Chart",
|
|
4
|
-
"version": "14.
|
|
4
|
+
"version": "14.409.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -53,21 +53,21 @@
|
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@genesislcap/foundation-testing": "14.
|
|
57
|
-
"@genesislcap/genx": "14.
|
|
58
|
-
"@genesislcap/rollup-builder": "14.
|
|
59
|
-
"@genesislcap/ts-builder": "14.
|
|
60
|
-
"@genesislcap/uvu-playwright-builder": "14.
|
|
61
|
-
"@genesislcap/vite-builder": "14.
|
|
62
|
-
"@genesislcap/webpack-builder": "14.
|
|
56
|
+
"@genesislcap/foundation-testing": "14.409.0",
|
|
57
|
+
"@genesislcap/genx": "14.409.0",
|
|
58
|
+
"@genesislcap/rollup-builder": "14.409.0",
|
|
59
|
+
"@genesislcap/ts-builder": "14.409.0",
|
|
60
|
+
"@genesislcap/uvu-playwright-builder": "14.409.0",
|
|
61
|
+
"@genesislcap/vite-builder": "14.409.0",
|
|
62
|
+
"@genesislcap/webpack-builder": "14.409.0"
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
65
|
"@antv/g2plot": "^2.4.32",
|
|
66
|
-
"@genesislcap/foundation-comms": "14.
|
|
67
|
-
"@genesislcap/foundation-logger": "14.
|
|
68
|
-
"@genesislcap/foundation-ui": "14.
|
|
69
|
-
"@genesislcap/foundation-utils": "14.
|
|
70
|
-
"@genesislcap/foundation-zero": "14.
|
|
66
|
+
"@genesislcap/foundation-comms": "14.409.0",
|
|
67
|
+
"@genesislcap/foundation-logger": "14.409.0",
|
|
68
|
+
"@genesislcap/foundation-ui": "14.409.0",
|
|
69
|
+
"@genesislcap/foundation-utils": "14.409.0",
|
|
70
|
+
"@genesislcap/foundation-zero": "14.409.0",
|
|
71
71
|
"@microsoft/fast-element": "1.14.0",
|
|
72
72
|
"@microsoft/fast-foundation": "2.50.0"
|
|
73
73
|
},
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
"access": "public"
|
|
81
81
|
},
|
|
82
82
|
"customElements": "dist/custom-elements.json",
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "cbe0459d170f27c35a7de18cec415947aedf4da5"
|
|
84
84
|
}
|
|
@@ -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) > [ChartConfig](./g2plot-chart.chartconfig.md)
|
|
4
|
-
|
|
5
|
-
## ChartConfig type
|
|
6
|
-
|
|
7
|
-
G2Plot Chart Config
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export type ChartConfig = LineOptions | AreaOptions | BarOptions | ColumnOptions | PieOptions | DualAxesOptions | RoseOptions | ScatterOptions | StockOptions | MixOptions;
|
|
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) > [ChartDatasource](./g2plot-chart.chartdatasource.md) > [chartFields](./g2plot-chart.chartdatasource.chartfields.md)
|
|
4
|
-
|
|
5
|
-
## ChartDatasource.chartFields property
|
|
6
|
-
|
|
7
|
-
Default value is 'groupBy value'. Can be customized but order matters.
|
|
8
|
-
|
|
9
|
-
\[Mandatory\] First is always the xField/colorField \[Mandatory\] Second is always the yField/angleField \[Optional\] Third is always the seriesField
|
|
10
|
-
|
|
11
|
-
**Signature:**
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
chartFields: string;
|
|
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) > [criteria](./g2plot-chart.chartdatasource.criteria.md)
|
|
4
|
-
|
|
5
|
-
## ChartDatasource.criteria property
|
|
6
|
-
|
|
7
|
-
Clients can send a Groovy expression to perform filters on the query server, these remain active for the life of the subscription.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
criteria: string;
|
|
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) > [ChartDatasource](./g2plot-chart.chartdatasource.md) > [data](./g2plot-chart.chartdatasource.data.md)
|
|
4
|
-
|
|
5
|
-
## ChartDatasource.data property
|
|
6
|
-
|
|
7
|
-
Optional attribute that can be used to pass the data that will be used in the component.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
data: any[];
|
|
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) > [ChartDatasource](./g2plot-chart.chartdatasource.md) > [isGroup](./g2plot-chart.chartdatasource.isgroup.md)
|
|
4
|
-
|
|
5
|
-
## ChartDatasource.isGroup property
|
|
6
|
-
|
|
7
|
-
If true, will enable grouped chart plotting numeric values for levels of two categorical variables instead of one.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
isGroup: boolean;
|
|
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) > [ChartDatasource](./g2plot-chart.chartdatasource.md) > [isSnapshot](./g2plot-chart.chartdatasource.issnapshot.md)
|
|
4
|
-
|
|
5
|
-
## ChartDatasource.isSnapshot property
|
|
6
|
-
|
|
7
|
-
Request a snapshot from the server.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
isSnapshot: boolean;
|
|
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) > [ChartDatasource](./g2plot-chart.chartdatasource.md) > [isStack](./g2plot-chart.chartdatasource.isstack.md)
|
|
4
|
-
|
|
5
|
-
## ChartDatasource.isStack property
|
|
6
|
-
|
|
7
|
-
If true, will enable stacked chart to effectively portray comparisons of total values across several categories.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
isStack: boolean;
|
|
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) > [ChartDatasource](./g2plot-chart.chartdatasource.md) > [maxRows](./g2plot-chart.chartdatasource.maxrows.md)
|
|
4
|
-
|
|
5
|
-
## ChartDatasource.maxRows property
|
|
6
|
-
|
|
7
|
-
Maximum number of rows to be returned as part of the initial message, and as part of any additional MORE\_ROWS messages. This will not affect the number of rows displayed.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
maxRows: number;
|
|
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) > [ChartDatasource](./g2plot-chart.chartdatasource.md) > [maxView](./g2plot-chart.chartdatasource.maxview.md)
|
|
4
|
-
|
|
5
|
-
## ChartDatasource.maxView property
|
|
6
|
-
|
|
7
|
-
Maximum number of rows to track as part of a client "view".
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
maxView: number;
|
|
13
|
-
```
|
|
@@ -1,369 +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)
|
|
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
|
-
## Properties
|
|
17
|
-
|
|
18
|
-
<table><thead><tr><th>
|
|
19
|
-
|
|
20
|
-
Property
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
</th><th>
|
|
24
|
-
|
|
25
|
-
Modifiers
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
</th><th>
|
|
29
|
-
|
|
30
|
-
Type
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
</th><th>
|
|
34
|
-
|
|
35
|
-
Description
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</th></tr></thead>
|
|
39
|
-
<tbody><tr><td>
|
|
40
|
-
|
|
41
|
-
[chartFields](./g2plot-chart.chartdatasource.chartfields.md)
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
</td><td>
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
</td><td>
|
|
48
|
-
|
|
49
|
-
string
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
</td><td>
|
|
53
|
-
|
|
54
|
-
Default value is 'groupBy value'. Can be customized but order matters.
|
|
55
|
-
|
|
56
|
-
\[Mandatory\] First is always the xField/colorField \[Mandatory\] Second is always the yField/angleField \[Optional\] Third is always the seriesField
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
</td></tr>
|
|
60
|
-
<tr><td>
|
|
61
|
-
|
|
62
|
-
[criteria](./g2plot-chart.chartdatasource.criteria.md)
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
</td><td>
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
</td><td>
|
|
69
|
-
|
|
70
|
-
string
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
</td><td>
|
|
74
|
-
|
|
75
|
-
Clients can send a Groovy expression to perform filters on the query server, these remain active for the life of the subscription.
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
</td></tr>
|
|
79
|
-
<tr><td>
|
|
80
|
-
|
|
81
|
-
[data](./g2plot-chart.chartdatasource.data.md)
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
</td><td>
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
</td><td>
|
|
88
|
-
|
|
89
|
-
any\[\]
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
</td><td>
|
|
93
|
-
|
|
94
|
-
Optional attribute that can be used to pass the data that will be used in the component.
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
</td></tr>
|
|
98
|
-
<tr><td>
|
|
99
|
-
|
|
100
|
-
[isGroup](./g2plot-chart.chartdatasource.isgroup.md)
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
</td><td>
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
</td><td>
|
|
107
|
-
|
|
108
|
-
boolean
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
</td><td>
|
|
112
|
-
|
|
113
|
-
If true, will enable grouped chart plotting numeric values for levels of two categorical variables instead of one.
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
</td></tr>
|
|
117
|
-
<tr><td>
|
|
118
|
-
|
|
119
|
-
[isSnapshot](./g2plot-chart.chartdatasource.issnapshot.md)
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
</td><td>
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
</td><td>
|
|
126
|
-
|
|
127
|
-
boolean
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
</td><td>
|
|
131
|
-
|
|
132
|
-
Request a snapshot from the server.
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
</td></tr>
|
|
136
|
-
<tr><td>
|
|
137
|
-
|
|
138
|
-
[isStack](./g2plot-chart.chartdatasource.isstack.md)
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
</td><td>
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
</td><td>
|
|
145
|
-
|
|
146
|
-
boolean
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
</td><td>
|
|
150
|
-
|
|
151
|
-
If true, will enable stacked chart to effectively portray comparisons of total values across several categories.
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
</td></tr>
|
|
155
|
-
<tr><td>
|
|
156
|
-
|
|
157
|
-
[maxRows](./g2plot-chart.chartdatasource.maxrows.md)
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
</td><td>
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
</td><td>
|
|
164
|
-
|
|
165
|
-
number
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
</td><td>
|
|
169
|
-
|
|
170
|
-
Maximum number of rows to be returned as part of the initial message, and as part of any additional MORE\_ROWS messages. This will not affect the number of rows displayed.
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
</td></tr>
|
|
174
|
-
<tr><td>
|
|
175
|
-
|
|
176
|
-
[maxView](./g2plot-chart.chartdatasource.maxview.md)
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
</td><td>
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
</td><td>
|
|
183
|
-
|
|
184
|
-
number
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
</td><td>
|
|
188
|
-
|
|
189
|
-
Maximum number of rows to track as part of a client "view".
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
</td></tr>
|
|
193
|
-
<tr><td>
|
|
194
|
-
|
|
195
|
-
[orderBy](./g2plot-chart.chartdatasource.orderby.md)
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
</td><td>
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
</td><td>
|
|
202
|
-
|
|
203
|
-
string
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
</td><td>
|
|
207
|
-
|
|
208
|
-
This option can be used to select a Data Server index (defined in the Data Server query), which is especially useful if you want the data to be sorted in a specific way. By default, Data Server rows are returned in order of creation (from oldest database record to newest).
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
</td></tr>
|
|
212
|
-
<tr><td>
|
|
213
|
-
|
|
214
|
-
[reduced](./g2plot-chart.chartdatasource.reduced.md)
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
</td><td>
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
</td><td>
|
|
221
|
-
|
|
222
|
-
boolean
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
</td><td>
|
|
226
|
-
|
|
227
|
-
Enabled by default, will not work if a custom charts-fields is used (requires \[type, value\]).
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
</td></tr>
|
|
231
|
-
<tr><td>
|
|
232
|
-
|
|
233
|
-
[request](./g2plot-chart.chartdatasource.request.md)
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
</td><td>
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
</td><td>
|
|
240
|
-
|
|
241
|
-
any
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
</td><td>
|
|
245
|
-
|
|
246
|
-
This optional parameter enables you to specify request fields, which can include wildcards.
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
</td></tr>
|
|
250
|
-
<tr><td>
|
|
251
|
-
|
|
252
|
-
[resourceName](./g2plot-chart.chartdatasource.resourcename.md)
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
</td><td>
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
</td><td>
|
|
259
|
-
|
|
260
|
-
string
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
</td><td>
|
|
264
|
-
|
|
265
|
-
Name of the backend resource which contain the data.
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
</td></tr>
|
|
269
|
-
<tr><td>
|
|
270
|
-
|
|
271
|
-
[reverse](./g2plot-chart.chartdatasource.reverse.md)
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
</td><td>
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
</td><td>
|
|
278
|
-
|
|
279
|
-
boolean
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
</td><td>
|
|
283
|
-
|
|
284
|
-
This option changes the Data Server index iteration. For example, if you are using the default index, the query will return rows in order from the newest database records to the oldest.
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
</td></tr>
|
|
288
|
-
<tr><td>
|
|
289
|
-
|
|
290
|
-
[rowId](./g2plot-chart.chartdatasource.rowid.md)
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
</td><td>
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
</td><td>
|
|
297
|
-
|
|
298
|
-
string
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
</td><td>
|
|
302
|
-
|
|
303
|
-
Attribute to set an unique identifier for the row.
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
</td></tr>
|
|
307
|
-
<tr><td>
|
|
308
|
-
|
|
309
|
-
[serverFields](./g2plot-chart.chartdatasource.serverfields.md)
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
</td><td>
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
</td><td>
|
|
316
|
-
|
|
317
|
-
string
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
</td><td>
|
|
321
|
-
|
|
322
|
-
Can be customized but order matters.
|
|
323
|
-
|
|
324
|
-
\[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)
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
</td></tr>
|
|
328
|
-
<tr><td>
|
|
329
|
-
|
|
330
|
-
[showFormattedTime](./g2plot-chart.chartdatasource.showformattedtime.md)
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
</td><td>
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
</td><td>
|
|
337
|
-
|
|
338
|
-
boolean
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
</td><td>
|
|
342
|
-
|
|
343
|
-
Only works if \[withTimestampFormatting\] is true.
|
|
344
|
-
|
|
345
|
-
Disabled by default, will ignore the TIME portion in the Chart labels. Only affects \[DATETIME\] fields.
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
</td></tr>
|
|
349
|
-
<tr><td>
|
|
350
|
-
|
|
351
|
-
[withTimestampFormatting](./g2plot-chart.chartdatasource.withtimestampformatting.md)
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
</td><td>
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
</td><td>
|
|
358
|
-
|
|
359
|
-
boolean
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
</td><td>
|
|
363
|
-
|
|
364
|
-
Enabled by default, will format UNIX timestamp fields to readable \[DATE\|DATETIME\] values.
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
</td></tr>
|
|
368
|
-
</tbody></table>
|
|
369
|
-
|
|
@@ -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) > [orderBy](./g2plot-chart.chartdatasource.orderby.md)
|
|
4
|
-
|
|
5
|
-
## ChartDatasource.orderBy property
|
|
6
|
-
|
|
7
|
-
This option can be used to select a Data Server index (defined in the Data Server query), which is especially useful if you want the data to be sorted in a specific way. By default, Data Server rows are returned in order of creation (from oldest database record to newest).
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
orderBy: string;
|
|
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) > [ChartDatasource](./g2plot-chart.chartdatasource.md) > [reduced](./g2plot-chart.chartdatasource.reduced.md)
|
|
4
|
-
|
|
5
|
-
## ChartDatasource.reduced property
|
|
6
|
-
|
|
7
|
-
Enabled by default, will not work if a custom charts-fields is used (requires \[type, value\]).
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
reduced: boolean;
|
|
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) > [ChartDatasource](./g2plot-chart.chartdatasource.md) > [request](./g2plot-chart.chartdatasource.request.md)
|
|
4
|
-
|
|
5
|
-
## ChartDatasource.request property
|
|
6
|
-
|
|
7
|
-
This optional parameter enables you to specify request fields, which can include wildcards.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
request: any;
|
|
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) > [ChartDatasource](./g2plot-chart.chartdatasource.md) > [resourceName](./g2plot-chart.chartdatasource.resourcename.md)
|
|
4
|
-
|
|
5
|
-
## ChartDatasource.resourceName property
|
|
6
|
-
|
|
7
|
-
Name of the backend resource which contain the data.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
resourceName: string;
|
|
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) > [ChartDatasource](./g2plot-chart.chartdatasource.md) > [reverse](./g2plot-chart.chartdatasource.reverse.md)
|
|
4
|
-
|
|
5
|
-
## ChartDatasource.reverse property
|
|
6
|
-
|
|
7
|
-
This option changes the Data Server index iteration. For example, if you are using the default index, the query will return rows in order from the newest database records to the oldest.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
reverse: boolean;
|
|
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) > [ChartDatasource](./g2plot-chart.chartdatasource.md) > [rowId](./g2plot-chart.chartdatasource.rowid.md)
|
|
4
|
-
|
|
5
|
-
## ChartDatasource.rowId property
|
|
6
|
-
|
|
7
|
-
Attribute to set an unique identifier for the row.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
rowId: string;
|
|
13
|
-
```
|