@mescius/wijmo.angular.chart 5.20232.939

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/index.d.ts ADDED
@@ -0,0 +1,416 @@
1
+ /*!
2
+ *
3
+ * Wijmo Library 5.20232.939
4
+ * https://developer.mescius.com/wijmo
5
+ *
6
+ * Copyright(c) MESCIUS inc. All rights reserved.
7
+ *
8
+ * Licensed under the End-User License Agreement For MESCIUS Wijmo Software.
9
+ * us.sales@mescius.com
10
+ * https://developer.mescius.com/wijmo/licensing
11
+ *
12
+ */
13
+ /**
14
+ * {@module wijmo.angular.chart}
15
+ * AngularJS directives for wijmo.chart module
16
+ */
17
+ /**
18
+ *
19
+ */
20
+ export declare var ___keepComment: any;
21
+ import { WjDirective } from '@grapecity/wijmo.angular.base';
22
+ import * as wjcChart from '@grapecity/wijmo.chart';
23
+ /**
24
+ * Angular module name, which can be used in the <b>angular.module(moduleName)</b>
25
+ * function to obtain a reference to the module .
26
+ */
27
+ export declare const ngModuleName = "wj.chart";
28
+ export declare class WjFlexChartBase extends WjDirective {
29
+ constructor();
30
+ readonly _controlConstructor: typeof wjcChart.FlexChartBase;
31
+ _initProps(): void;
32
+ }
33
+ export declare class WjFlexChartCore extends WjFlexChartBase {
34
+ readonly _controlConstructor: typeof wjcChart.FlexChartCore;
35
+ _initProps(): void;
36
+ }
37
+ /**
38
+ * AngularJS directive for the {@link FlexChart} control.
39
+ *
40
+ * Use the <b>wj-flex-chart</b> directive to add charts to your AngularJS applications.
41
+ * Note that directive and parameter names must be formatted using lower-case letters
42
+ * with dashes instead of camel case. For example:
43
+ *
44
+ * <pre>&lt;p&gt;Here is a FlexChart control:&lt;/p&gt;
45
+ * &lt;wj-flex-chart
46
+ * style="height:300px"
47
+ * items-source="data"
48
+ * binding-x="country"&gt;
49
+ * &lt;wj-flex-chart-axis
50
+ * wj-property="axisY"
51
+ * major-unit="5000"&gt;
52
+ * &lt;/wj-flex-chart-axis&gt;
53
+ * &lt;wj-flex-chart-series
54
+ * binding="sales"
55
+ * name="Sales"&gt;
56
+ * &lt;/wj-flex-chart-series&gt;
57
+ * &lt;wj-flex-chart-series
58
+ * binding="expenses"
59
+ * name="Expenses"&gt;
60
+ * &lt;/wj-flex-chart-series&gt;
61
+ * &lt;wj-flex-chart-series
62
+ * binding="downloads"
63
+ * name="Downloads"
64
+ * chart-type="LineSymbols"&gt;
65
+ * &lt;/wj-flex-chart-series&gt;
66
+ * &lt;/wj-flex-chart&gt;</pre>
67
+ *
68
+ * The example below creates a {@link FlexChart} control and binds it to a 'data' array
69
+ * exposed by the controller. The chart has three series objects, each corresponding to
70
+ * a property in the objects contained in the source array. The last series in the
71
+ * example uses the 'chart-type' attribute to override the default chart type used
72
+ * for the other series objects.
73
+ *
74
+ * <a href="https://jsfiddle.net/Wijmo5/QNb9X/" target="_blank">Example</a>
75
+ *
76
+ * The wj-flex-chart directive supports the following attributes:
77
+ *
78
+ * <dl class="dl-horizontal">
79
+ * <dt>binding</dt> <dd><code>@</code> The name of the property that contains Y
80
+ * values for the chart. You can override this at the series level.</dd>
81
+ * <dt>binding-x</dt> <dd><code>@</code> The name of the property that contains X
82
+ * values for the chart. You can override this at the series level.</dd>
83
+ * <dt>chart-type</dt> <dd><code>@</code> The default chart type to use in rendering series
84
+ * objects. You can override this at the series level. See {@link ChartType}.</dd>
85
+ * <dt>control</dt> <dd><code>=</code> A reference to the {@link FlexChart} control
86
+ * that this directive creates.</dd>
87
+ * <dt>footer</dt> <dd><code>@</code> The text to display in the chart footer (plain
88
+ * text).</dd>
89
+ * <dt>footer-style</dt> <dd><code>=</code> The style to apply to the chart footer.</dd>
90
+ * <dt>header</dt> <dd><code>@</code> The text to display in the chart header (plain
91
+ * text).</dd>
92
+ * <dt>header-style</dt> <dd><code>=</code> The style to apply to the chart header.</dd>
93
+ * <dt>initialized</dt> <dd><code>&</code> This event occurs after the binding has finished
94
+ * initializing the control with attribute values.</dd>
95
+ * <dt>is-initialized</dt><dd><code>=</code> A value indicating whether the binding has finished
96
+ * initializing the control with attribute values. </dd>
97
+ * <dt>interpolate-nulls</dt> <dd><code>@</code> The value indicating whether to interpolate or
98
+ * leave gaps when there are null values in the data.</dd>
99
+ * <dt>item-formatter</dt> <dd><code>=</code> The formatter function that customizes the
100
+ * appearance of data points.</dd>
101
+ * <dt>items-source</dt> <dd><code>=</code> An array or {@link ICollectionView} object that contains
102
+ * the data used to create the chart.</dd>
103
+ * <dt>legend-toggle</dt> <dd><code>@</code> The value indicating whether clicking legend items
104
+ * toggles series visibility.</dd>
105
+ * <dt>options</dt> <dd><code>=</code> Chart options that only apply to certain chart types.
106
+ * See <b>options</b> under {@link FlexChart} for details.</dd>
107
+ * <dt>palette</dt> <dd><code>=</code> An array that contains the default colors used for
108
+ * displaying each series.</dd>
109
+ * <dt>plot-margin</dt> <dd><code>=</code> The number of pixels of space to leave between the
110
+ * edges of the control and the plot area, or CSS-style margins.</dd>
111
+ * <dt>rotated</dt> <dd><code>@</code> The value indicating whether to flip the axes so that
112
+ * X is vertical and Y is horizontal.</dd>
113
+ * <dt>selection</dt> <dd><code>=</code> The series object that is selected.</dd>
114
+ * <dt>selection-mode</dt> <dd><code>@</code> The {@link SelectionMode} value indicating whether or what is
115
+ * selected when the user clicks a series.</dd>
116
+ * <dt>stacking</dt> <dd><code>@</code> The {@link Stacking} value indicating whether or how series
117
+ * objects are stacked or plotted independently.</dd>
118
+ * <dt>symbol-size</dt> <dd><code>@</code> The size of the symbols used to render data points in Scatter,
119
+ * LineSymbols, and SplineSymbols charts, in pixels. You can override
120
+ * this at the series level.</dd>
121
+ * <dt>tooltip-content</dt> <dd><code>@</code> The value to display in the
122
+ * {@link ChartTooltip} content property.</dd>
123
+ * <dt>got-focus</dt> <dd><code>&</code> The {@link FlexChart.gotFocus} event handler.</dd>
124
+ * <dt>lost-focus</dt> <dd><code>&</code> The {@link FlexChart.lostFocus} event handler.</dd>
125
+ * <dt>rendering</dt> <dd><code>&</code> The {@link FlexChart.rendering} event handler.</dd>
126
+ * <dt>rendered</dt> <dd><code>&</code> The {@link FlexChart.rendered} event handler.</dd>
127
+ * <dt>series-visibility-changed</dt>
128
+ * <dd><code>&</code> The {@link FlexChart.seriesVisibilityChanged} event handler.</dd>
129
+ * <dt>selection-changed</dt> <dd><code>&</code> The {@link FlexChart.selectionChanged} event handler.</dd>
130
+ * </dl>
131
+ *
132
+ * The wj-flex-chart directive may contain the following child directives:
133
+ * {@link wijmo.angular.chart.WjFlexChartAxis}, {@link wijmo.angular.chart.WjFlexChartSeries}, {@link wijmo.angular.chart.WjFlexChartLegend} and {@link wijmo.angular.chart.WjFlexChartDataLabel}.
134
+ */
135
+ export declare class WjFlexChart extends WjFlexChartCore {
136
+ readonly _controlConstructor: typeof wjcChart.FlexChart;
137
+ }
138
+ /**
139
+ * AngularJS directive for the {@link FlexChart} {@link Axis} object.
140
+ *
141
+ * The <b>wj-flex-chart-axis</b> directive must be contained in a {@link wijmo.angular.chart.WjFlexChart} directive or {@link wijmo.angular.chart.finance.WjFinancialChart} directive.
142
+ * It supports the following attributes:
143
+ *
144
+ * <dl class="dl-horizontal">
145
+ * <dt>wj-property</dt> <dd><code>@</code> Defines the {@link FlexChart} property name,
146
+ * axis-x or axis-y, to initialize with the directive.</dd>
147
+ * <dt>axis-line</dt> <dd><code>@</code> The value indicating whether the axis line is visible.</dd>
148
+ * <dt>binding</dt> <dd><code>@</code> Gets or sets the comma-separated property names for
149
+ * the {@link wijmo.chart.Axis.itemsSource} property to use in axis labels.
150
+ * The first name specifies the value on the axis, the second represents
151
+ * the corresponding axis label. The default value is 'value,text'.</dd>
152
+ * <dt>format</dt> <dd><code>@</code> The format string used for the axis labels
153
+ * (see {@link Globalize}).</dd>
154
+ * <dt>item-formatter</dt> <dd><code>=</code> The formatter function that customizes the
155
+ * appearance of axis labels.</dd>
156
+ * <dt>items-source</dt> <dd><code>=</code> The items source for the axis labels.</dd>
157
+ * <dt>labels</dt> <dd><code>@</code> The value indicating whether the axis labels are visible.</dd>
158
+ * <dt>label-angle</dt> <dd><code>@</code> The rotation angle of axis labels in degrees.</dd>
159
+ * <dt>label-align</dt> <dd><code>@</code> The alignment of axis labels.</dd>
160
+ * <dt>label-padding</dt> <dd><code>@</code> The padding of axis labels.</dd>
161
+ * <dt>major-grid</dt> <dd><code>@</code> The value indicating whether the axis includes grid lines.</dd>
162
+ * <dt>major-tick-marks</dt><dd><code>@</code> Defines the appearance of tick marks on the axis
163
+ * (see {@link TickMark}).</dd>
164
+ * <dt>major-unit</dt> <dd><code>@</code> The number of units between axis labels.</dd>
165
+ * <dt>max</dt> <dd><code>@</code> The minimum value shown on the axis.</dd>
166
+ * <dt>min</dt> <dd><code>@</code> The maximum value shown on the axis.</dd>
167
+ * <dt>minor-grid</dt> <dd><code>@</code> The value indicating whether the axis includes minor grid lines.</dd>
168
+ * <dt>minor-tick-marks</dt><dd><code>@</code> Defines the appearance of minor tick marks on the axis
169
+ * (see {@link TickMark}).</dd>
170
+ * <dt>minor-unit</dt> <dd><code>@</code> The number of units between minor axis ticks.</dd>
171
+ * <dt>origin</dt> <dd><code>@</code> The axis origin.</dd>
172
+ * <dt>overlappingLabels</dt><dd><code>@</code> The {@link OverlappingLabels} value indicating how to handle the overlapping axis labels.</dd>
173
+ * <dt>position</dt> <dd><code>@</code> The {@link Position} value indicating the position of the axis.</dd>
174
+ * <dt>reversed</dt> <dd><code>@</code> The value indicating whether the axis is reversed (top to
175
+ * bottom or right to left).</dd>
176
+ * <dt>title</dt> <dd><code>@</code> The title text shown next to the axis.</dd>
177
+ * </dl>
178
+ */
179
+ export declare class WjFlexChartAxis extends WjDirective {
180
+ constructor();
181
+ readonly _controlConstructor: typeof wjcChart.Axis;
182
+ _initControl(element: any): any;
183
+ }
184
+ /**
185
+ * AngularJS directive for the {@link FlexChart} {@link Legend} object.
186
+ *
187
+ * The <b>wj-flex-chart-legend</b> directive must be contained in a {@link wijmo.angular.chart.WjFlexChart} directive, {@link wijmo.angular.chart.WjFlexPie} directive or {@link wijmo.angular.chart.finance.WjFinancialChart} directive.
188
+ * It supports the following attributes:
189
+ *
190
+ * <dl class="dl-horizontal">
191
+ * <dt>position</dt> <dd><code>@</code> The {@link Position} value indicating the position of the
192
+ * legend.</dd>
193
+ * </dl>
194
+ *
195
+ * The example below shows how you can use the wj-flex-chart-legend directive
196
+ * to change the position of the chart legend:
197
+ *
198
+ * <pre>&lt;wj-flex-chart
199
+ * items-source="data"
200
+ * binding-x="country"&gt;
201
+ * &lt;wj-flex-chart-axis
202
+ * wj-property="axisY"
203
+ * major-unit="5000"&gt;
204
+ * &lt;/wj-flex-chart-axis&gt;
205
+ * &lt;wj-flex-chart-series
206
+ * binding="sales"
207
+ * name="Sales"&gt;
208
+ * &lt;/wj-flex-chart-series&gt;
209
+ * &lt;wj-flex-chart-legend
210
+ * position="Bottom"&gt;
211
+ * &lt;/wj-flex-chart-legend&gt;
212
+ * &lt;/wj-flex-chart&gt;</pre>
213
+ */
214
+ export declare class WjFlexChartLegend extends WjDirective {
215
+ constructor();
216
+ readonly _controlConstructor: typeof wjcChart.Legend;
217
+ }
218
+ export declare class WjFlexChartDataLabelBase extends WjDirective {
219
+ constructor();
220
+ readonly _controlConstructor: typeof wjcChart.DataLabelBase;
221
+ }
222
+ /**
223
+ * AngularJS directive for the {@link FlexChart} {@link DataLabel} object.
224
+ *
225
+ * The <b>wj-flex-chart-data-label</b> directive must be contained in a {@link wijmo.angular.chart.WjFlexChart} directive.
226
+ * It supports the following attributes:
227
+ *
228
+ * <dl class="dl-horizontal">
229
+ * <dt>content</dt> <dd><code>=</code> A string or function that gets or sets the content of the data labels.</dd>
230
+ * <dt>border</dt> <dd><code>@</code> Gets or sets a value indicating whether the data labels have borders.</dd>
231
+ * <dt>position</dt> <dd><code>@</code> The {@link LabelPosition} value indicating the position of the data labels.</dd>
232
+ * </dl>
233
+ */
234
+ export declare class WjFlexChartDataLabel extends WjFlexChartDataLabelBase {
235
+ constructor();
236
+ readonly _controlConstructor: typeof wjcChart.DataLabel;
237
+ }
238
+ /**
239
+ * AngularJS directive for the {@link FlexPie} {@link PieDataLabel} object.
240
+ *
241
+ * The <b>wj-flex-pie-data-label</b> directive must be contained in a {@link wijmo.angular.chart.WjFlexPie} directive.
242
+ * It supports the following attributes:
243
+ *
244
+ * <dl class="dl-horizontal">
245
+ * <dt>content</dt> <dd><code>=</code> A string or function that gets or sets the content of the data labels.</dd>
246
+ * <dt>border</dt> <dd><code>@</code> Gets or sets a value indicating whether the data labels have borders.</dd>
247
+ * <dt>position</dt> <dd><code>@</code> The {@link PieLabelPosition} value indicating the position of the data labels.</dd>
248
+ * </dl>
249
+ */
250
+ export declare class WjFlexPieDataLabel extends WjFlexChartDataLabelBase {
251
+ constructor();
252
+ readonly _controlConstructor: typeof wjcChart.PieDataLabel;
253
+ }
254
+ export declare class WjSeriesBase extends WjDirective {
255
+ constructor();
256
+ readonly _controlConstructor: any;
257
+ _initControl(element: any): any;
258
+ _getId(): string;
259
+ }
260
+ /**
261
+ * AngularJS directive for the {@link FlexChart} {@link Series} object.
262
+ *
263
+ * The <b>wj-flex-chart-series</b> directive must be contained in a {@link wijmo.angular.chart.WjFlexChart} directive.
264
+ * It supports the following attributes:
265
+ *
266
+ * <dl class="dl-horizontal">
267
+ * <dt>axis-x</dt> <dd><code>@</code> X-axis for the series.</dd>
268
+ * <dt>axis-y</dt> <dd><code>@</code> Y-axis for the series.</dd>
269
+ * <dt>binding</dt> <dd><code>@</code> The name of the property that contains Y values for the
270
+ * series. This value overrides any binding set for the chart.</dd>
271
+ * <dt>binding-x</dt> <dd><code>@</code> The name of the property that contains X values for the
272
+ * series. This value overrides any binding set for the chart.</dd>
273
+ * <dt>chart-type</dt> <dd><code>@</code> The chart type to use in rendering objects for this series
274
+ * objects. This value overrides the default chart type set on the chart. See
275
+ * {@link ChartType}.</dd>
276
+ * <dt>css-class</dt> <dd><code>@</code> The CSS class to use for the series.</dd>
277
+ * <dt>items-source</dt> <dd><code>=</code> An array or {@link ICollectionView} object that contains
278
+ * data for this series.</dd>
279
+ * <dt>name</dt> <dd><code>@</code> The name of the series to show in the legend.</dd>
280
+ * <dt>style</dt> <dd><code>=</code> The series style. Use ng-attr-style to specify the series
281
+ * style object as an object. See the section on ngAttr attribute bindings in
282
+ * <a target="_blank" href="https://docs.angularjs.org/guide/directive">
283
+ * AngularJS Creating Custom Directives</a> and the <a target="_blank" href=
284
+ * "https://demos.wijmo.com/5/Angular/FlexChartIntro/FlexChartIntro/#Styling">
285
+ * FlexChart 101 Styling Series</a> sample for more information.</dd>
286
+ * <dt>altStyle</dt> <dd><code>=</code> The series alternative style.</dd>
287
+ * <dt>symbol-marker</dt><dd><code>@</code> The shape of marker to use for the series. This value
288
+ * overrides the default marker set on the chart. See {@link Marker}.</dd>
289
+ * <dt>symbol-size</dt> <dd><code>@</code> The size of the symbols used to render data points in this series
290
+ * for Scatter, LineSymbols, and SplineSymbols charts, in pixels.
291
+ * This value overrides any settings at the chart level.</dd>
292
+ * <dt>symbol-style</dt> <dd><code>=</code> The style of the symbols used to render data
293
+ * points in this series for Scatter, LineSymbols, and SplineSymbols charts.
294
+ * This value overrides any settings at the chart level.</dd>
295
+ * <dt>visibility</dt> <dd><code>=</code> The {@link SeriesVisibility} value indicating whether and where to
296
+ * display the series.</dd>
297
+ * </dl>
298
+ *
299
+ * In most cases, the <b>wj-flex-chart-series</b> specifies only the <b>name</b> and <b>binding</b> properties.
300
+ * The remaining values are inherited from the parent <b>wj-flex-chart</b> directive.
301
+ */
302
+ export declare class WjFlexChartSeries extends WjSeriesBase {
303
+ constructor();
304
+ readonly _controlConstructor: any;
305
+ }
306
+ /**
307
+ * AngularJS directive for the {@link FlexChart} {@link LineMarker} object.
308
+ *
309
+ * The <b>wj-flex-line-marker</b> directive must be contained in a {@link wijmo.angular.chart.WjFlexChart} directive or {@link wijmo.angular.chart.finance.WjFinancialChart} directive.
310
+ * It supports the following attributes:
311
+ *
312
+ * <dl class="dl-horizontal">
313
+ * <dt>is-visible</dt> <dd><code>@</code> The value indicating whether the LineMarker is visible.</dd>
314
+ * <dt>series-index</dt> <dd><code>@</code> The index of the series in the chart in which the LineMarker appears.</dd>
315
+ * <dt>horizontal-position</dt> <dd><code>@</code> The horizontal position of the LineMarker relative to the plot area.</dd>
316
+ * <dt>content</dt> <dd><code>@</code> The function that allows you to customize the text content of the LineMarker.</dd>
317
+ * <dt>vertical-position</dt> <dd><code>@</code> The vertical position of the LineMarker relative to the plot area.</dd>
318
+ * <dt>alignment</dt> <dd><code>@</code> The {@link LineMarkerAlignment} value indicating the alignment of the LineMarker content.</dd>
319
+ * <dt>lines</dt> <dd><code>@</code> The {@link LineMarkerLines} value indicating the appearance of the LineMarker's lines.</dd>
320
+ * <dt>interaction</dt> <dd><code>@</code> The {@link LineMarkerInteraction} value indicating the interaction mode of the LineMarker.</dd>
321
+ * <dt>drag-threshold</dt> <dd><code>@</code> The maximum distance from the horizontal or vertical line that you can drag the marker.</dd>
322
+ * <dt>drag-content</dt> <dd><code>@</code> The value indicating whether you can drag the content of the marker when the interaction mode is "Drag".</dd>
323
+ * <dt>drag-lines</dt> <dd><code>@</code> The value indicating whether the lines are linked when you drag the horizontal or vertical line when the interaction mode is "Drag".</dd>
324
+ * </dl>
325
+ */
326
+ export declare class WjFlexChartLineMarker extends WjDirective {
327
+ constructor();
328
+ readonly _controlConstructor: any;
329
+ }
330
+ /**
331
+ * AngularJS directive for the {@link FlexChart} {@link DataPoint} object.
332
+ *
333
+ * The <b>wj-flex-chart-data-point</b> directive must be contained in a
334
+ * {@link wijmo.angular.chart.annotation.WjFlexChartAnnotation} directive.
335
+ * The property of the parent directive's object
336
+ * where <b>wj-flex-data-point</b> should assign a value is specified in the
337
+ * <b>wj-property</b> attribute.
338
+ *
339
+ * The directive supports the following attributes:
340
+ *
341
+ * <dl class="dl-horizontal">
342
+ *
343
+ * <dt>wj-property</dt> <dd><code>@</code> The name of the parent directive object's property where the
344
+ * <b>DataPoint</b> will be assigned.</dd>
345
+ * <dt>x</dt> <dd><code>@</code> x coordinate, can be a numeric or date value.</dd>
346
+ * <dt>y</dt> <dd><code>@</code> y coordinate, can be a numeric or date value.</dd>
347
+ * </dl>
348
+ */
349
+ export declare class WjFlexChartDataPoint extends WjDirective {
350
+ constructor();
351
+ readonly _controlConstructor: any;
352
+ }
353
+ /**
354
+ * AngularJS directive for the {@link FlexPie} control.
355
+ *
356
+ * <dl class="dl-horizontal">
357
+ * <dt>items-source</dt> <dd><code>=</code> An array or {@link ICollectionView}
358
+ * object that contains data for the chart.</dd>
359
+ * <dt>binding</dt> <dd><code>@</code> The name of the property that
360
+ * contains item values.</dd>
361
+ * <dt>binding-name</dt> <dd><code>@</code> The name of the property that
362
+ * contains item names.</dd>
363
+ * <dt>footer</dt> <dd><code>@</code> The text to display in the chart footer (plain
364
+ * text).</dd>
365
+ * <dt>footer-style</dt> <dd><code>=</code> The style to apply to the chart footer.</dd>
366
+ * <dt>header</dt> <dd><code>@</code> The text to display in the chart header (plain
367
+ * text).</dd>
368
+ * <dt>header-style</dt> <dd><code>=</code> The style to apply to the chart header.</dd>
369
+ * <dt>initialized</dt> <dd><code>&</code> This event occurs after the binding has finished
370
+ * initializing the control with attribute values.</dd>
371
+ * <dt>is-initialized</dt><dd><code>=</code> A value indicating whether the binding has finished
372
+ * initializing the control with attribute values. </dd>
373
+ * <dt>inner-radius</dt> <dd><code>@</code> The size of the hole inside the
374
+ * pie, measured as a fraction of the pie radius.</dd>
375
+ * <dt>is-animated</dt> <dd><code>@</code> A value indicating whether to use animation
376
+ * to move selected items to the selectedItemPosition.</dd>
377
+ * <dt>item-formatter</dt> <dd><code>=</code> The formatter function that customizes the
378
+ * appearance of data points.</dd>
379
+ * <dt>offset</dt> <dd><code>@</code> The extent to which pie slices are pulled
380
+ * out from the center, as a fraction of the pie radius.</dd>
381
+ * <dt>palette</dt> <dd><code>=</code> An array that contains the default colors used for
382
+ * displaying pie slices.</dd>
383
+ * <dt>plot-margin</dt> <dd><code>=</code> The number of pixels of space to leave between the
384
+ * edges of the control and the plot area, or CSS-style margins.</dd>
385
+ * <dt>reversed</dt> <dd><code>@</code> A value indicating whether to draw pie
386
+ * slices in a counter-clockwise direction.</dd>
387
+ * <dt>start-angle</dt> <dd><code>@</code> The starting angle for pie slices,
388
+ * measured clockwise from the 9 o'clock position.</dd>
389
+ * <dt>selected-item-offset</dt>
390
+ * <dd><code>@</code> The extent to which the selected pie slice is
391
+ * pulled out from the center, as a fraction of the pie radius.</dd>
392
+ * <dt>selected-item-position</dt>
393
+ * <dd><code>@</code> The {@link Position} value indicating where to display
394
+ * the selected slice.</dd>
395
+ * <dt>selection-mode</dt> <dd><code>@</code> The {@link SelectionMode} value indicating whether or what is
396
+ * selected when the user clicks a series.</dd>
397
+ * <dt>tooltip-content</dt> <dd><code>@</code> The value to display in the
398
+ * {@link ChartTooltip} content property.</dd>
399
+ * <dt>got-focus</dt> <dd><code>&</code> The {@link FlexPie.gotFocus} event handler.</dd>
400
+ * <dt>lost-focus</dt> <dd><code>&</code> The {@link FlexPie.lostFocus} event handler.</dd>
401
+ * <dt>rendering</dt> <dd><code>&</code> The {@link FlexPie.rendering} event handler.</dd>
402
+ * <dt>rendered</dt> <dd><code>&</code> The {@link FlexPie.rendered} event handler.</dd>
403
+ * </dl>
404
+ *
405
+ * The wj-flex-pie directive may contain the following child directives:
406
+ * {@link wijmo.angular.chart.WjFlexChartLegend} and {@link wijmo.angular.chart.WjFlexPieDataLabel}.
407
+ */
408
+ export declare class WjFlexPie extends WjFlexChartBase {
409
+ readonly _controlConstructor: typeof wjcChart.FlexPie;
410
+ _initProps(): void;
411
+ }
412
+ export declare class WjFlexChartPlotArea extends WjDirective {
413
+ constructor();
414
+ readonly _controlConstructor: typeof wjcChart.PlotArea;
415
+ _initControl(element: any): any;
416
+ }
package/index.js ADDED
@@ -0,0 +1,14 @@
1
+ /*!
2
+ *
3
+ * Wijmo Library 5.20232.939
4
+ * https://developer.mescius.com/wijmo
5
+ *
6
+ * Copyright(c) MESCIUS inc. All rights reserved.
7
+ *
8
+ * Licensed under the End-User License Agreement For MESCIUS Wijmo Software.
9
+ * us.sales@mescius.com
10
+ * https://developer.mescius.com/wijmo/licensing
11
+ *
12
+ */
13
+
14
+ "use strict";var __extends=this&&this.__extends||function(){var extendStatics=function(e,t){return(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)};return function(e,t){extendStatics(e,t);function __(){this.constructor=e}e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}}(),__importStar=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);t.default=e;return t};Object.defineProperty(exports,"__esModule",{value:!0});var wijmo_angular_base_1=require("@mescius/wijmo.angular.base"),mNg=__importStar(require("angular")),wjcChart=__importStar(require("@mescius/wijmo.chart")),wjNg=mNg,wijmoChartName="wj.chart";exports.ngModuleName=wijmoChartName;var wijmoChart=wijmo_angular_base_1._registerNgModule(wijmoChartName);if(wijmo_angular_base_1.softRefChart()&&wijmo_angular_base_1.softRefChart().FlexChart){wijmoChart.directive("wjFlexChart",[function(){return new WjFlexChart}]);wijmoChart.directive("wjFlexChartAxis",[function(){return new WjFlexChartAxis}]);wijmoChart.directive("wjFlexChartSeries",[function(){return new WjFlexChartSeries}]);wijmoChart.directive("wjFlexChartLegend",[function(){return new WjFlexChartLegend}]);wijmoChart.directive("wjFlexChartDataLabel",[function(){return new WjFlexChartDataLabel}]);wijmoChart.directive("wjFlexPieDataLabel",[function(){return new WjFlexPieDataLabel}]);wijmoChart.directive("wjFlexChartLineMarker",[function(){return new WjFlexChartLineMarker}]);wijmoChart.directive("wjFlexChartPlotArea",[function(){return new WjFlexChartPlotArea}]);wijmoChart.directive("wjFlexChartDataPoint",[function(){return new WjFlexChartDataPoint}]);wijmoChart.directive("wjFlexPie",[function(){return new WjFlexPie}])}var WjFlexChartBase=function(e){__extends(WjFlexChartBase,e);function WjFlexChartBase(){var t=e.call(this)||this;t.template="<div ng-transclude />";t.transclude=!0;return t}Object.defineProperty(WjFlexChartBase.prototype,"_controlConstructor",{get:function(){return wjcChart.FlexChartBase},enumerable:!0,configurable:!0});WjFlexChartBase.prototype._initProps=function(){e.prototype._initProps.call(this);wijmo_angular_base_1.MetaFactory.findProp("tooltipContent",this._props).customHandler=function(e,t,r,a,n){null!=r&&(t.tooltip.content=r)}};return WjFlexChartBase}(wijmo_angular_base_1.WjDirective);exports.WjFlexChartBase=WjFlexChartBase;var WjFlexChartCore=function(e){__extends(WjFlexChartCore,e);function WjFlexChartCore(){return null!==e&&e.apply(this,arguments)||this}Object.defineProperty(WjFlexChartCore.prototype,"_controlConstructor",{get:function(){return wjcChart.FlexChartCore},enumerable:!0,configurable:!0});WjFlexChartCore.prototype._initProps=function(){e.prototype._initProps.call(this);wijmo_angular_base_1.MetaFactory.findProp("labelContent",this._props).customHandler=function(e,t,r,a,n){null!=r&&(t.dataLabel.content=r)}};return WjFlexChartCore}(WjFlexChartBase);exports.WjFlexChartCore=WjFlexChartCore;var WjFlexChart=function(e){__extends(WjFlexChart,e);function WjFlexChart(){return null!==e&&e.apply(this,arguments)||this}Object.defineProperty(WjFlexChart.prototype,"_controlConstructor",{get:function(){return wjcChart.FlexChart},enumerable:!0,configurable:!0});return WjFlexChart}(WjFlexChartCore);exports.WjFlexChart=WjFlexChart;var WjFlexChartAxis=function(e){__extends(WjFlexChartAxis,e);function WjFlexChartAxis(){var t=e.call(this)||this;t.require=["?^wjFlexChartSeries","?^wjFinancialChartSeries","?^wjFlexChart","?^wjFinancialChart","?^wjFlexRadar"];t.template='<div class="wjFlexChartAxis" />';return t}Object.defineProperty(WjFlexChartAxis.prototype,"_controlConstructor",{get:function(){return wjcChart.Axis},enumerable:!0,configurable:!0});WjFlexChartAxis.prototype._initControl=function(t){return e.prototype._initControl.call(this,void 0)};return WjFlexChartAxis}(wijmo_angular_base_1.WjDirective);exports.WjFlexChartAxis=WjFlexChartAxis;var WjFlexChartLegend=function(e){__extends(WjFlexChartLegend,e);function WjFlexChartLegend(){var t=e.call(this)||this;t.require=["?^wjFlexChart","?^wjFlexPie","?^wjSunburst","?^wjFinancialChart","?^wjFlexRadar"];t.template="<div />";return t}Object.defineProperty(WjFlexChartLegend.prototype,"_controlConstructor",{get:function(){return wjcChart.Legend},enumerable:!0,configurable:!0});return WjFlexChartLegend}(wijmo_angular_base_1.WjDirective);exports.WjFlexChartLegend=WjFlexChartLegend;var WjFlexChartDataLabelBase=function(e){__extends(WjFlexChartDataLabelBase,e);function WjFlexChartDataLabelBase(){var t=e.call(this)||this;t.require=["?^wjFlexChart","?^wjFlexPie","?^wjSunburst","?^wjTreeMap"];t.template="<div />";return t}Object.defineProperty(WjFlexChartDataLabelBase.prototype,"_controlConstructor",{get:function(){return wjcChart.DataLabelBase},enumerable:!0,configurable:!0});return WjFlexChartDataLabelBase}(wijmo_angular_base_1.WjDirective);exports.WjFlexChartDataLabelBase=WjFlexChartDataLabelBase;var WjFlexChartDataLabel=function(e){__extends(WjFlexChartDataLabel,e);function WjFlexChartDataLabel(){var t=e.call(this)||this;t.require=["^wjFlexChart","?^wjTreeMap"];return t}Object.defineProperty(WjFlexChartDataLabel.prototype,"_controlConstructor",{get:function(){return wjcChart.DataLabel},enumerable:!0,configurable:!0});return WjFlexChartDataLabel}(WjFlexChartDataLabelBase);exports.WjFlexChartDataLabel=WjFlexChartDataLabel;var WjFlexPieDataLabel=function(e){__extends(WjFlexPieDataLabel,e);function WjFlexPieDataLabel(){var t=e.call(this)||this;t.require=["^wjFlexPie","?^wjSunburst"];return t}Object.defineProperty(WjFlexPieDataLabel.prototype,"_controlConstructor",{get:function(){return wjcChart.PieDataLabel},enumerable:!0,configurable:!0});return WjFlexPieDataLabel}(WjFlexChartDataLabelBase);exports.WjFlexPieDataLabel=WjFlexPieDataLabel;var WjSeriesBase=function(e){__extends(WjSeriesBase,e);function WjSeriesBase(){var t=e.call(this)||this;t.require=["?^wjFlexChart","?^wjFinancialChart","?^wjFlexRadar"];t.template='<div class="wjSeriesBase" ng-transclude />';t.transclude=!0;return t}Object.defineProperty(WjSeriesBase.prototype,"_controlConstructor",{get:function(){return wjcChart.SeriesBase},enumerable:!0,configurable:!0});WjSeriesBase.prototype._initControl=function(t){return e.prototype._initControl.call(this,void 0)};WjSeriesBase.prototype._getId=function(){return"series"};return WjSeriesBase}(wijmo_angular_base_1.WjDirective);exports.WjSeriesBase=WjSeriesBase;var WjFlexChartSeries=function(e){__extends(WjFlexChartSeries,e);function WjFlexChartSeries(){var t=e.call(this)||this;t.require="^wjFlexChart";t.template='<div class="wjFlexChartSeries" ng-transclude />';return t}Object.defineProperty(WjFlexChartSeries.prototype,"_controlConstructor",{get:function(){return wjcChart.Series},enumerable:!0,configurable:!0});return WjFlexChartSeries}(WjSeriesBase);exports.WjFlexChartSeries=WjFlexChartSeries;var WjFlexChartLineMarker=function(e){__extends(WjFlexChartLineMarker,e);function WjFlexChartLineMarker(){var t=e.call(this)||this;t.require=["?^wjFlexChart","?^wjFinancialChart"];return t}Object.defineProperty(WjFlexChartLineMarker.prototype,"_controlConstructor",{get:function(){return wjcChart.LineMarker},enumerable:!0,configurable:!0});return WjFlexChartLineMarker}(wijmo_angular_base_1.WjDirective);exports.WjFlexChartLineMarker=WjFlexChartLineMarker;var WjFlexChartDataPoint=function(e){__extends(WjFlexChartDataPoint,e);function WjFlexChartDataPoint(){var t=e.call(this)||this;t.require=["?^wjFlexChartAnnotation"];return t}Object.defineProperty(WjFlexChartDataPoint.prototype,"_controlConstructor",{get:function(){return wjcChart.DataPoint},enumerable:!0,configurable:!0});return WjFlexChartDataPoint}(wijmo_angular_base_1.WjDirective);exports.WjFlexChartDataPoint=WjFlexChartDataPoint;var WjFlexPie=function(e){__extends(WjFlexPie,e);function WjFlexPie(){return null!==e&&e.apply(this,arguments)||this}Object.defineProperty(WjFlexPie.prototype,"_controlConstructor",{get:function(){return wjcChart.FlexPie},enumerable:!0,configurable:!0});WjFlexPie.prototype._initProps=function(){e.prototype._initProps.call(this);wijmo_angular_base_1.MetaFactory.findProp("labelContent",this._props).customHandler=function(e,t,r,a,n){null!=r&&(t.dataLabel.content=r)}};return WjFlexPie}(WjFlexChartBase);exports.WjFlexPie=WjFlexPie;var WjFlexChartPlotArea=function(e){__extends(WjFlexChartPlotArea,e);function WjFlexChartPlotArea(){var t=e.call(this)||this;t.require=["?^wjFlexChartPlotArea","?^wjFlexChart","?^wjFinancialChart"];t.template='<div class="wjFlexChartPlotArea" />';return t}Object.defineProperty(WjFlexChartPlotArea.prototype,"_controlConstructor",{get:function(){return wjcChart.PlotArea},enumerable:!0,configurable:!0});WjFlexChartPlotArea.prototype._initControl=function(t){return e.prototype._initControl.call(this,void 0)};return WjFlexChartPlotArea}(wijmo_angular_base_1.WjDirective);exports.WjFlexChartPlotArea=WjFlexChartPlotArea;
package/package.json ADDED
@@ -0,0 +1,46 @@
1
+ {
2
+ "name": "@mescius/wijmo.angular.chart",
3
+ "version": "5.20232.939",
4
+ "description": "UI library for pure JS, Angular, React, Vue and more...",
5
+ "author": "MESCIUS inc",
6
+ "license": "Commercial",
7
+ "main": "./index.js",
8
+ "types": "./index.d.ts",
9
+ "dependencies": {
10
+ "@mescius/wijmo": "5.20232.939",
11
+ "@mescius/wijmo.chart": "5.20232.939",
12
+ "@mescius/wijmo.angular.base": "5.20232.939"
13
+ },
14
+ "homepage": "https://developer.mescius.com/wijmo",
15
+ "bugs": {
16
+ "url": "https://developer.mescius.com/forums/wijmo"
17
+ },
18
+ "keywords": [
19
+ "control",
20
+ "component",
21
+ "ui",
22
+ "control library",
23
+ "component library",
24
+ "ui library",
25
+ "control-library",
26
+ "component-library",
27
+ "ui-library",
28
+ "grid",
29
+ "data grid",
30
+ "data-grid",
31
+ "datagrid",
32
+ "angular grid",
33
+ "react grid",
34
+ "vue grid",
35
+ "angular-grid",
36
+ "react-grid",
37
+ "vue-grid"
38
+ ],
39
+ "module": "./es5-esm.js",
40
+ "esm5": "./es5-esm.js",
41
+ "wj-esm5": "./es5-esm.js",
42
+ "es2015Cjs": "./es2015-commonjs.js",
43
+ "wj-es2015Cjs": "./es2015-commonjs.js",
44
+ "esm2015": "./es2015-esm.js",
45
+ "wj-esm2015": "./es2015-esm.js"
46
+ }