@genesislcap/g2plot-chart 14.302.0 → 14.302.1-alpha-945e484.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.
@@ -15,23 +15,355 @@ export declare class ChartDatasource extends ChartDatasource_base
15
15
 
16
16
  ## Properties
17
17
 
18
- | Property | Modifiers | Type | Description |
19
- | --- | --- | --- | --- |
20
- | [chartFields](./g2plot-chart.chartdatasource.chartfields.md) | | string | <p>Default value is 'groupBy value'. Can be customized but order matters.</p><p>\[Mandatory\] First is always the xField/colorField \[Mandatory\] Second is always the yField/angleField \[Optional\] Third is always the seriesField</p> |
21
- | [criteria](./g2plot-chart.chartdatasource.criteria.md) | | string | Clients can send a Groovy expression to perform filters on the query server, these remain active for the life of the subscription. |
22
- | [data](./g2plot-chart.chartdatasource.data.md) | | any\[\] | Optional attribute that can be used to pass the data that will be used in the component. |
23
- | [isGroup](./g2plot-chart.chartdatasource.isgroup.md) | | boolean | If true, will enable grouped chart plotting numeric values for levels of two categorical variables instead of one. |
24
- | [isSnapshot](./g2plot-chart.chartdatasource.issnapshot.md) | | boolean | Request a snapshot from the server. |
25
- | [isStack](./g2plot-chart.chartdatasource.isstack.md) | | boolean | If true, will enable stacked chart to effectively portray comparisons of total values across several categories. |
26
- | [maxRows](./g2plot-chart.chartdatasource.maxrows.md) | | number | 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. |
27
- | [maxView](./g2plot-chart.chartdatasource.maxview.md) | | number | Maximum number of rows to track as part of a client "view". |
28
- | [orderBy](./g2plot-chart.chartdatasource.orderby.md) | | string | 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). |
29
- | [reduced](./g2plot-chart.chartdatasource.reduced.md) | | boolean | Enabled by default, will not work if a custom charts-fields is used (requires \[type, value\]). |
30
- | [request](./g2plot-chart.chartdatasource.request.md) | | any | This optional parameter enables you to specify request fields, which can include wildcards. |
31
- | [resourceName](./g2plot-chart.chartdatasource.resourcename.md) | | string | Name of the backend resource which contain the data. |
32
- | [reverse](./g2plot-chart.chartdatasource.reverse.md) | | boolean | 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. |
33
- | [rowId](./g2plot-chart.chartdatasource.rowid.md) | | string | Attribute to set an unique identifier for the row. |
34
- | [serverFields](./g2plot-chart.chartdatasource.serverfields.md) | | string | <p>Can be customized but order matters.</p><p>\[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)</p> |
35
- | [showFormattedTime](./g2plot-chart.chartdatasource.showformattedtime.md) | | boolean | <p>Only works if \[withTimestampFormatting\] is true.</p><p>Disabled by default, will ignore the TIME portion in the Chart labels. Only affects \[DATETIME\] fields.</p> |
36
- | [withTimestampFormatting](./g2plot-chart.chartdatasource.withtimestampformatting.md) | | boolean | Enabled by default, will format UNIX timestamp fields to readable \[DATE\|DATETIME\] values. |
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>
37
369
 
@@ -14,8 +14,60 @@ export interface ChartErrorItem<ChartErrorItemDetailType>
14
14
 
15
15
  ## Properties
16
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) | |
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>
21
73
 
@@ -19,9 +19,83 @@ The constructor for this class is marked as internal. Third-party code should no
19
19
 
20
20
  ## Properties
21
21
 
22
- | Property | Modifiers | Type | Description |
23
- | --- | --- | --- | --- |
24
- | [config](./g2plot-chart.g2plotchart.config.md) | | [ChartConfig](./g2plot-chart.chartconfig.md) | The configuration to use for the chart. Check [ChartConfig](./g2plot-chart.chartconfig.md) for possible options |
25
- | [data](./g2plot-chart.g2plotchart.data.md) | | any\[\] | The data to display in the chart. |
26
- | [type](./g2plot-chart.g2plotchart.type.md) | | [ChartTypes](./g2plot-chart.charttypes.md) | The type to use for the chart. If not set, the default bar type will be used. |
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>
27
101