forked from syncfusion/ej2-react-ui-components
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathej2-react-charts.es2015.js
459 lines (436 loc) · 14.9 KB
/
ej2-react-charts.es2015.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
import { ComplexBase, ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';
import { PureComponent, createElement } from 'react';
import { AccumulationChart, Chart, RangeNavigator, Smithchart, Sparkline } from '@syncfusion/ej2-charts';
/**
* `SeriesDirective` directive represent a series of the react chart.
* It must be contained in a Chart component(`ChartComponent`).
* ```tsx
* <ChartComponent>
* <SeriesCollectionDirective>
* <SeriesDirective></SeriesDirective>
* </SeriesCollectionDirective>
* </ChartComponent>
* ```
*/
class SeriesDirective extends ComplexBase {
}
SeriesDirective.moduleName = 'series';
class SeriesCollectionDirective extends ComplexBase {
}
SeriesCollectionDirective.propertyName = 'series';
SeriesCollectionDirective.moduleName = 'seriesCollection';
/**
* `TrendlineDirective` directive represent a trendline of the react chart.
* It must be contained in a Chart component(`ChartComponent`).
* ```tsx
* <ChartComponent>
* <SeriesCollectionDirective>
* <SeriesDirective>
* <TrendlinesDirective>
* <TrendlineDirective></TrendlineDirective>
* </TrendlinesDirective>
* </SeriesDirective>
* </SeriesCollectionDirective>
* </ChartComponent>
* ```
*/
class TrendlineDirective extends ComplexBase {
}
TrendlineDirective.moduleName = 'trendline';
class TrendlinesDirective extends ComplexBase {
}
TrendlinesDirective.propertyName = 'trendlines';
TrendlinesDirective.moduleName = 'trendlines';
/**
* `SegmentDirective` directive represent a segment of the react chart.
* It must be contained in a Chart component(`ChartComponent`).
* ```tsx
* <ChartComponent>
* <SeriesCollectionDirective>
* <SeriesDirective>
* <SegmentsDirective>
* <SegmentDirective></SegmentDirective>
* </SegmentsDirective>
* </SeriesDirective>
* </SeriesCollectionDirective>
* </ChartComponent>
* ```
*/
class SegmentDirective extends ComplexBase {
}
SegmentDirective.moduleName = 'segment';
class SegmentsDirective extends ComplexBase {
}
SegmentsDirective.propertyName = 'segments';
SegmentsDirective.moduleName = 'segments';
/**
* `Axis` directive represent a axis row of the react Chart.
* It must be contained in a Chart component(`ChartComponent`).
* ```tsx
* <ChartComponent>
* <AxesDirective>
* <AxisDirective></AxisDirective>
* </AxesDirective>
* </ChartComponent>
* ```
*/
class AxisDirective extends ComplexBase {
}
AxisDirective.moduleName = 'axis';
class AxesDirective extends ComplexBase {
}
AxesDirective.propertyName = 'axes';
AxesDirective.moduleName = 'axes';
/**
* `StriplineDirective` directive represent a stripline of the react chart.
* It must be contained in a Chart component(`ChartComponent`).
* ```tsx
* <ChartComponent>
* <AxesDirective>
* <AxisDirective>
* <StriplinesDirective>
* <StriplineDirective></StriplineDirective>
* </StriplinesDirective>
* </AxisDirective>
* </AxesDirective>
* </ChartComponent>
* ```
*/
class StripLineDirective extends ComplexBase {
}
StripLineDirective.moduleName = 'stripLine';
class StripLinesDirective extends ComplexBase {
}
StripLinesDirective.propertyName = 'stripLines';
StripLinesDirective.moduleName = 'stripLines';
/**
* `MultiLevelLabelDirective` directive represent a multilevellabel of the react chart.
* It must be contained in a Chart component(`ChartComponent`).
* ```tsx
* <ChartComponent>
* <AxesDirective>
* <AxisDirective>
* <MultiLevelLabelsDirective>
* <MultiLevelLabelDirective></MultiLevelLabelDirective>
* </MultiLevelLabelsDirective>
* </AxisDirective>
* </AxesDirective>
* </ChartComponent>
* ```
*/
class MultiLevelLabelDirective extends ComplexBase {
}
MultiLevelLabelDirective.moduleName = 'multiLevelLabel';
class MultiLevelLabelsDirective extends ComplexBase {
}
MultiLevelLabelsDirective.propertyName = 'multiLevelLabels';
MultiLevelLabelsDirective.moduleName = 'multiLevelLabels';
/**
* `CategoryDirective` directive represent a trendline of the react chart.
* It must be contained in a Chart component(`ChartComponent`).
* ```tsx
* <ChartComponent>
* <AxesDirective>
* <AxisDirective>
* <MultiLevelLabelsDirective>
* <MultiLevelLabelDirective>
* <CategoriesDirective>
* <CategoryDirective>
* </CategoryDirective>
* </CategoriesDirective>
* </MultiLevelLabelDirective>
* </MultiLevelLabelsDirective>
* </AxisDirective>
* </AxesDirective>
* </ChartComponent>
* ```
*/
class CategoryDirective extends ComplexBase {
}
CategoryDirective.moduleName = 'category';
class CategoriesDirective extends ComplexBase {
}
CategoriesDirective.propertyName = 'categories';
CategoriesDirective.moduleName = 'categories';
/**
* `Row` directive represent a axis row of the react Chart.
* It must be contained in a Chart component(`ChartComponent`).
* ```tsx
* <ChartComponent>
* <RowsDirective>
* <RowDirective></RowDirective>
* </RowsDirective>
* </ChartComponent>
* ```
*/
class RowDirective extends ComplexBase {
}
RowDirective.moduleName = 'row';
class RowsDirective extends ComplexBase {
}
RowsDirective.propertyName = 'rows';
RowsDirective.moduleName = 'rows';
/**
* `Column` directive represent a axis column of the react Chart.
* It must be contained in a Chart component(`ChartComponent`).
* ```tsx
* <ChartComponent>
* <ColumnsDirective>
* <ColumnDirective></ColumnDirective>
* </ColumnsDirective>
* </ChartComponent>
* ```
*/
class ColumnDirective extends ComplexBase {
}
ColumnDirective.moduleName = 'column';
class ColumnsDirective extends ComplexBase {
}
ColumnsDirective.propertyName = 'columns';
ColumnsDirective.moduleName = 'columns';
/**
* `Annotation` directive represent a annotation of the react Chart.
* It must be contained in a Chart component(`ChartComponent`).
* ```tsx
* <ChartComponent>
* <AnnotationsDirective>
* <AnnotationDirective></AnnotationDirective>
* </AnnotationsDirective>
* </ChartComponent>
* ```
*/
class AnnotationDirective extends ComplexBase {
}
AnnotationDirective.moduleName = 'annotation';
class AnnotationsDirective extends ComplexBase {
}
AnnotationsDirective.propertyName = 'annotations';
AnnotationsDirective.moduleName = 'annotations';
/**
* `SelectedDataIndex` directive represent the selected data in react Chart.
* It must be contained in a Chart component(`ChartComponent`).
* ```tsx
* <ChartComponent>
* <SelectedDataIndexesDirective>
* <SelectedDataIndexDirective></SelectedDataIndexDirective>
* </SelectedDataIndexesDirective>
* </ChartComponent>
* ```
*/
class SelectedDataIndexDirective extends ComplexBase {
}
SelectedDataIndexDirective.moduleName = 'selectedDataIndex';
class SelectedDataIndexesDirective extends ComplexBase {
}
SelectedDataIndexesDirective.propertyName = 'selectedDataIndexes';
SelectedDataIndexesDirective.moduleName = 'selectedDataIndexes';
/**
* `IndicatorDirective` directive represent a indicator of the react chart.
* It must be contained in a Chart component(`ChartComponent`).
* ```tsx
* <ChartComponent>
* <IndicatorsDirective>
* <IndicatorDirective></IndicatorDirective>
* </IndicatorsDirective>
* </ChartComponent>
* ```
*/
class IndicatorDirective extends ComplexBase {
}
IndicatorDirective.moduleName = 'indicator';
class IndicatorsDirective extends ComplexBase {
}
IndicatorsDirective.propertyName = 'indicators';
IndicatorsDirective.moduleName = 'indicators';
/**
* Represents react Chart Component
* ```tsx
* <ChartComponent></ChartComponent>
* ```
*/
class ChartComponent extends Chart {
constructor(props) {
super(props);
this.initRenderCalled = false;
this.checkInjectedModules = true;
this.directivekeys = { 'seriesCollection': { 'series': { 'trendlines': 'trendline', 'segments': 'segment' } }, 'axes': { 'axis': { 'stripLines': 'stripLine', 'multiLevelLabels': { 'multiLevelLabel': { 'categories': 'category' } } } }, 'rows': 'row', 'columns': 'column', 'annotations': 'annotation', 'selectedDataIndexes': 'selectedDataIndex', 'indicators': 'indicator' };
}
render() {
if ((this.element && !this.initRenderCalled) || this.refreshing) {
super.render();
this.initRenderCalled = true;
}
else {
return createElement('div', this.getDefaultAttributes(), this.props.children);
}
}
}
applyMixins(ChartComponent, [ComponentBase, PureComponent]);
/**
* `AccumulationSeriesDirective` directive represent a series of the react AccumulationChart.
* It must be contained in a Pie component(`AccumulationChart`).
* ```tsx
* <AccumulationChartComponent>
* <AccumulationSeriesCollectionDirective>
* <AccumulationSeriesDirective></AccumulationSeriesDirective>
* </AccumulationSeriesCollectionDirective>
* </AccumulationChartComponent>
* ```
*/
class AccumulationSeriesDirective extends ComplexBase {
}
AccumulationSeriesDirective.moduleName = 'accumulationSeries';
class AccumulationSeriesCollectionDirective extends ComplexBase {
}
AccumulationSeriesCollectionDirective.propertyName = 'series';
AccumulationSeriesCollectionDirective.moduleName = 'accumulationSeriesCollection';
/**
* `AccumulationAnnotationsDirective` directive represent a annotation of the react AccumulationChart.
* It must be contained in a Pie component(`AccumulationChart`).
* ```tsx
* <AccumulationChartComponent>
* <AccumulationAnnotationsDirective>
* <AccumulationAnnotationDirective></AccumulationAnnotationDirective>
* </AccumulationAnnotationsDirective>
* </AccumulationChartComponent>
* ```
*/
class AccumulationAnnotationDirective extends ComplexBase {
}
AccumulationAnnotationDirective.moduleName = 'accumulationAnnotation';
class AccumulationAnnotationsDirective extends ComplexBase {
}
AccumulationAnnotationsDirective.propertyName = 'annotations';
AccumulationAnnotationsDirective.moduleName = 'accumulationAnnotations';
/**
* Represents react AccumulationChart Component
* ```tsx
* <AccumulationChartComponent></AccumulationChartComponent>
* ```
*/
class AccumulationChartComponent extends AccumulationChart {
constructor(props) {
super(props);
this.initRenderCalled = false;
this.checkInjectedModules = true;
this.directivekeys = { 'accumulationSeriesCollection': 'accumulationSeries', 'accumulationAnnotations': 'accumulationAnnotation' };
}
render() {
if ((this.element && !this.initRenderCalled) || this.refreshing) {
super.render();
this.initRenderCalled = true;
}
else {
return createElement('div', this.getDefaultAttributes(), this.props.children);
}
}
}
applyMixins(AccumulationChartComponent, [ComponentBase, PureComponent]);
/**
* `rangenavigatorSeriesDirective` directive represent a series of the react AccumulationChart.
* It must be contained in a Rangenavigator component(`Rangenavigator`).
* ```tsx
* <RangenavigatorComponent>
* <RangenavigatorSeriesCollectionDirective>
* <RangenavigatorSeriesDirective></RangenavigatorSeriesDirective>
* </RangenavigatorSeriesCollectionDirective>
* </RangenavigatorChartComponent>
* ```
*/
class RangenavigatorSeriesDirective extends ComplexBase {
}
RangenavigatorSeriesDirective.moduleName = 'rangenavigatorSeries';
class RangenavigatorSeriesCollectionDirective extends ComplexBase {
}
RangenavigatorSeriesCollectionDirective.propertyName = 'series';
RangenavigatorSeriesCollectionDirective.moduleName = 'rangenavigatorSeriesCollection';
/**
* Represents react RangeNavigator Component
* ```tsx
* <RangeNavigatorComponent></RangeNavigatorComponent>
* ```
*/
class RangeNavigatorComponent extends RangeNavigator {
constructor(props) {
super(props);
this.initRenderCalled = false;
this.checkInjectedModules = true;
this.directivekeys = { 'rangenavigatorSeriesCollection': 'rangenavigatorSeries' };
}
render() {
if ((this.element && !this.initRenderCalled) || this.refreshing) {
super.render();
this.initRenderCalled = true;
}
else {
return createElement('div', this.getDefaultAttributes(), this.props.children);
}
}
}
applyMixins(RangeNavigatorComponent, [ComponentBase, PureComponent]);
class RangeBandSettingDirective extends ComplexBase {
}
RangeBandSettingDirective.moduleName = 'rangeBandSetting';
class RangeBandSettingsDirective extends ComplexBase {
}
RangeBandSettingsDirective.propertyName = 'rangeBandSettings';
RangeBandSettingsDirective.moduleName = 'rangeBandSettings';
/**
* Represents react Sparkline Component
* ```tsx
* <SparklineComponent></SparklineComponent>
* ```
*/
class SparklineComponent extends Sparkline {
constructor(props) {
super(props);
this.initRenderCalled = false;
this.checkInjectedModules = true;
this.directivekeys = { 'rangeBandSettings': 'rangeBandSetting' };
}
render() {
if ((this.element && !this.initRenderCalled) || this.refreshing) {
super.render();
this.initRenderCalled = true;
}
else {
return createElement('div', this.getDefaultAttributes(), this.props.children);
}
}
}
applyMixins(SparklineComponent, [ComponentBase, PureComponent]);
class SmithchartSeriesDirective extends ComplexBase {
}
SmithchartSeriesDirective.moduleName = 'smithchartSeries';
class SmithchartSeriesCollectionDirective extends ComplexBase {
}
SmithchartSeriesCollectionDirective.propertyName = 'series';
SmithchartSeriesCollectionDirective.moduleName = 'smithchartSeriesCollection';
/**
* Represents react Smithchart Component
* ```tsx
* <SmithchartComponent></SmithchartComponent>
* ```
*/
class SmithchartComponent extends Smithchart {
constructor(props) {
super(props);
this.initRenderCalled = false;
this.checkInjectedModules = true;
this.directivekeys = { 'smithchartSeriesCollection': 'smithchartSeries' };
}
render() {
if ((this.element && !this.initRenderCalled) || this.refreshing) {
super.render();
this.initRenderCalled = true;
}
else {
return createElement('div', this.getDefaultAttributes(), this.props.children);
}
}
}
applyMixins(SmithchartComponent, [ComponentBase, PureComponent]);
export { SeriesDirective, SeriesCollectionDirective, TrendlineDirective, TrendlinesDirective, SegmentDirective, SegmentsDirective, AxisDirective, AxesDirective, StripLineDirective, StripLinesDirective, MultiLevelLabelDirective, MultiLevelLabelsDirective, CategoryDirective, CategoriesDirective, RowDirective, RowsDirective, ColumnDirective, ColumnsDirective, AnnotationDirective, AnnotationsDirective, SelectedDataIndexDirective, SelectedDataIndexesDirective, IndicatorDirective, IndicatorsDirective, ChartComponent, AccumulationSeriesDirective, AccumulationSeriesCollectionDirective, AccumulationAnnotationDirective, AccumulationAnnotationsDirective, AccumulationChartComponent, RangenavigatorSeriesDirective, RangenavigatorSeriesCollectionDirective, RangeNavigatorComponent, RangeBandSettingDirective, RangeBandSettingsDirective, SparklineComponent, SmithchartSeriesDirective, SmithchartSeriesCollectionDirective, SmithchartComponent };
export * from '@syncfusion/ej2-charts';
export { Inject } from '@syncfusion/ej2-react-base';
//# sourceMappingURL=ej2-react-charts.es2015.js.map