@nstudio/ncharts 1.0.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.
Files changed (113) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +129 -0
  3. package/angular/fesm2022/nstudio-ncharts-angular.mjs +1059 -0
  4. package/angular/fesm2022/nstudio-ncharts-angular.mjs.map +1 -0
  5. package/angular/package.json +19 -0
  6. package/angular/types/nstudio-ncharts-angular.d.ts +175 -0
  7. package/charts/bar-chart.android.d.ts +29 -0
  8. package/charts/bar-chart.android.js +235 -0
  9. package/charts/bar-chart.android.js.map +1 -0
  10. package/charts/bar-chart.d.ts +14 -0
  11. package/charts/bar-chart.ios.d.ts +29 -0
  12. package/charts/bar-chart.ios.js +263 -0
  13. package/charts/bar-chart.ios.js.map +1 -0
  14. package/charts/bubble-chart.android.d.ts +26 -0
  15. package/charts/bubble-chart.android.js +189 -0
  16. package/charts/bubble-chart.android.js.map +1 -0
  17. package/charts/bubble-chart.d.ts +9 -0
  18. package/charts/bubble-chart.ios.d.ts +26 -0
  19. package/charts/bubble-chart.ios.js +225 -0
  20. package/charts/bubble-chart.ios.js.map +1 -0
  21. package/charts/candlestick-chart.android.d.ts +26 -0
  22. package/charts/candlestick-chart.android.js +236 -0
  23. package/charts/candlestick-chart.android.js.map +1 -0
  24. package/charts/candlestick-chart.d.ts +9 -0
  25. package/charts/candlestick-chart.ios.d.ts +26 -0
  26. package/charts/candlestick-chart.ios.js +248 -0
  27. package/charts/candlestick-chart.ios.js.map +1 -0
  28. package/charts/combined-chart.android.d.ts +26 -0
  29. package/charts/combined-chart.android.js +524 -0
  30. package/charts/combined-chart.android.js.map +1 -0
  31. package/charts/combined-chart.d.ts +9 -0
  32. package/charts/combined-chart.ios.d.ts +26 -0
  33. package/charts/combined-chart.ios.js +485 -0
  34. package/charts/combined-chart.ios.js.map +1 -0
  35. package/charts/index.android.d.ts +12 -0
  36. package/charts/index.android.js +13 -0
  37. package/charts/index.android.js.map +1 -0
  38. package/charts/index.d.ts +12 -0
  39. package/charts/index.ios.d.ts +12 -0
  40. package/charts/index.ios.js +13 -0
  41. package/charts/index.ios.js.map +1 -0
  42. package/charts/line-chart.android.d.ts +26 -0
  43. package/charts/line-chart.android.js +248 -0
  44. package/charts/line-chart.android.js.map +1 -0
  45. package/charts/line-chart.d.ts +9 -0
  46. package/charts/line-chart.ios.d.ts +26 -0
  47. package/charts/line-chart.ios.js +278 -0
  48. package/charts/line-chart.ios.js.map +1 -0
  49. package/charts/pie-chart.android.d.ts +24 -0
  50. package/charts/pie-chart.android.js +241 -0
  51. package/charts/pie-chart.android.js.map +1 -0
  52. package/charts/pie-chart.d.ts +9 -0
  53. package/charts/pie-chart.ios.d.ts +24 -0
  54. package/charts/pie-chart.ios.js +380 -0
  55. package/charts/pie-chart.ios.js.map +1 -0
  56. package/charts/radar-chart.android.d.ts +21 -0
  57. package/charts/radar-chart.android.js +217 -0
  58. package/charts/radar-chart.android.js.map +1 -0
  59. package/charts/radar-chart.d.ts +9 -0
  60. package/charts/radar-chart.ios.d.ts +21 -0
  61. package/charts/radar-chart.ios.js +241 -0
  62. package/charts/radar-chart.ios.js.map +1 -0
  63. package/charts/scatter-chart.android.d.ts +26 -0
  64. package/charts/scatter-chart.android.js +220 -0
  65. package/charts/scatter-chart.android.js.map +1 -0
  66. package/charts/scatter-chart.d.ts +9 -0
  67. package/charts/scatter-chart.ios.d.ts +26 -0
  68. package/charts/scatter-chart.ios.js +242 -0
  69. package/charts/scatter-chart.ios.js.map +1 -0
  70. package/charts/utils.d.ts +21 -0
  71. package/charts/utils.js +99 -0
  72. package/charts/utils.js.map +1 -0
  73. package/common.d.ts +300 -0
  74. package/common.js +464 -0
  75. package/common.js.map +1 -0
  76. package/index.android.d.ts +7 -0
  77. package/index.android.js +10 -0
  78. package/index.android.js.map +1 -0
  79. package/index.d.ts +14 -0
  80. package/index.ios.d.ts +7 -0
  81. package/index.ios.js +10 -0
  82. package/index.ios.js.map +1 -0
  83. package/nativescript.config.ts +14 -0
  84. package/nativescript.webpack.js +35 -0
  85. package/package.json +114 -0
  86. package/platforms/android/include.gradle +14 -0
  87. package/react/index.d.ts +6 -0
  88. package/react/index.js +6 -0
  89. package/react/index.js.map +1 -0
  90. package/react/register-elements.d.ts +1 -0
  91. package/react/register-elements.js +19 -0
  92. package/react/register-elements.js.map +1 -0
  93. package/solid/index.d.ts +6 -0
  94. package/solid/index.js +6 -0
  95. package/solid/index.js.map +1 -0
  96. package/solid/register-elements.d.ts +1 -0
  97. package/solid/register-elements.js +19 -0
  98. package/solid/register-elements.js.map +1 -0
  99. package/svelte/index.d.ts +6 -0
  100. package/svelte/index.js +6 -0
  101. package/svelte/index.js.map +1 -0
  102. package/svelte/register-elements.d.ts +1 -0
  103. package/svelte/register-elements.js +19 -0
  104. package/svelte/register-elements.js.map +1 -0
  105. package/types.d.ts +713 -0
  106. package/types.js +7 -0
  107. package/types.js.map +1 -0
  108. package/vue/index.d.ts +6 -0
  109. package/vue/index.js +6 -0
  110. package/vue/index.js.map +1 -0
  111. package/vue/register-elements.d.ts +1 -0
  112. package/vue/register-elements.js +19 -0
  113. package/vue/register-elements.js.map +1 -0
@@ -0,0 +1,1059 @@
1
+ import * as i0 from '@angular/core';
2
+ import { input, output, effect, Directive, NO_ERRORS_SCHEMA, NgModule } from '@angular/core';
3
+ import { registerElement } from '@nativescript/angular';
4
+ import { LineChart, BarChart, HorizontalBarChart, PieChart, ScatterChart, BubbleChart, CandleStickChart, RadarChart, CombinedChart } from '@nstudio/ncharts';
5
+ export { parseColor } from '@nstudio/ncharts';
6
+
7
+ /**
8
+ * @nstudio/ncharts Angular Directives
9
+ *
10
+ * Standalone Angular components/directives for all chart types
11
+ * Uses signal inputs for zoneless compatibility
12
+ */
13
+ // ============================================================================
14
+ // Base Chart Directive
15
+ // ============================================================================
16
+ class ChartBaseDirective {
17
+ el;
18
+ // Common signal inputs
19
+ animation = input(...(ngDevMode ? [undefined, { debugName: "animation" }] : []));
20
+ chartBackgroundColor = input(...(ngDevMode ? [undefined, { debugName: "chartBackgroundColor" }] : []));
21
+ chartGridBackgroundColor = input(...(ngDevMode ? [undefined, { debugName: "chartGridBackgroundColor" }] : []));
22
+ logEnabled = input(...(ngDevMode ? [undefined, { debugName: "logEnabled" }] : []));
23
+ noDataText = input(...(ngDevMode ? [undefined, { debugName: "noDataText" }] : []));
24
+ noDataTextColor = input(...(ngDevMode ? [undefined, { debugName: "noDataTextColor" }] : []));
25
+ touchEnabled = input(...(ngDevMode ? [undefined, { debugName: "touchEnabled" }] : []));
26
+ dragDecelerationEnabled = input(...(ngDevMode ? [undefined, { debugName: "dragDecelerationEnabled" }] : []));
27
+ dragDecelerationFrictionCoef = input(...(ngDevMode ? [undefined, { debugName: "dragDecelerationFrictionCoef" }] : []));
28
+ highlightPerTapEnabled = input(...(ngDevMode ? [undefined, { debugName: "highlightPerTapEnabled" }] : []));
29
+ chartDescription = input(...(ngDevMode ? [undefined, { debugName: "chartDescription" }] : []));
30
+ legend = input(...(ngDevMode ? [undefined, { debugName: "legend" }] : []));
31
+ xAxis = input(...(ngDevMode ? [undefined, { debugName: "xAxis" }] : []));
32
+ marker = input(...(ngDevMode ? [undefined, { debugName: "marker" }] : []));
33
+ highlights = input(...(ngDevMode ? [undefined, { debugName: "highlights" }] : []));
34
+ // Common outputs
35
+ select = output();
36
+ deselect = output();
37
+ gesture = output();
38
+ chart;
39
+ initialized = false;
40
+ constructor(el) {
41
+ this.el = el;
42
+ // Set up effects for common properties
43
+ effect(() => {
44
+ const value = this.animation();
45
+ if (this.initialized && value !== undefined) {
46
+ this.chart.animation = value;
47
+ }
48
+ });
49
+ effect(() => {
50
+ const value = this.chartBackgroundColor();
51
+ if (this.initialized && value !== undefined) {
52
+ this.chart.chartBackgroundColor = value;
53
+ }
54
+ });
55
+ effect(() => {
56
+ const value = this.chartGridBackgroundColor();
57
+ if (this.initialized && value !== undefined) {
58
+ this.chart.chartGridBackgroundColor = value;
59
+ }
60
+ });
61
+ effect(() => {
62
+ const value = this.logEnabled();
63
+ if (this.initialized && value !== undefined) {
64
+ this.chart.logEnabled = value;
65
+ }
66
+ });
67
+ effect(() => {
68
+ const value = this.noDataText();
69
+ if (this.initialized && value !== undefined) {
70
+ this.chart.noDataText = value;
71
+ }
72
+ });
73
+ effect(() => {
74
+ const value = this.noDataTextColor();
75
+ if (this.initialized && value !== undefined) {
76
+ this.chart.noDataTextColor = value;
77
+ }
78
+ });
79
+ effect(() => {
80
+ const value = this.touchEnabled();
81
+ if (this.initialized && value !== undefined) {
82
+ this.chart.touchEnabled = value;
83
+ }
84
+ });
85
+ effect(() => {
86
+ const value = this.dragDecelerationEnabled();
87
+ if (this.initialized && value !== undefined) {
88
+ this.chart.dragDecelerationEnabled = value;
89
+ }
90
+ });
91
+ effect(() => {
92
+ const value = this.dragDecelerationFrictionCoef();
93
+ if (this.initialized && value !== undefined) {
94
+ this.chart.dragDecelerationFrictionCoef = value;
95
+ }
96
+ });
97
+ effect(() => {
98
+ const value = this.highlightPerTapEnabled();
99
+ if (this.initialized && value !== undefined) {
100
+ this.chart.highlightPerTapEnabled = value;
101
+ }
102
+ });
103
+ effect(() => {
104
+ const value = this.chartDescription();
105
+ if (this.initialized && value !== undefined) {
106
+ this.chart.chartDescription = value;
107
+ }
108
+ });
109
+ effect(() => {
110
+ const value = this.legend();
111
+ if (this.initialized && value !== undefined) {
112
+ this.chart.legend = value;
113
+ }
114
+ });
115
+ effect(() => {
116
+ const value = this.xAxis();
117
+ if (this.initialized && value !== undefined) {
118
+ this.chart.xAxis = value;
119
+ }
120
+ });
121
+ effect(() => {
122
+ const value = this.marker();
123
+ if (this.initialized && value !== undefined) {
124
+ this.chart.marker = value;
125
+ }
126
+ });
127
+ effect(() => {
128
+ const value = this.highlights();
129
+ if (this.initialized && value !== undefined) {
130
+ this.chart.highlights = value;
131
+ }
132
+ });
133
+ }
134
+ ngAfterViewInit() {
135
+ this.chart = this.el.nativeElement;
136
+ this.initialized = true;
137
+ this.applyInitialProperties();
138
+ // this.setupEventListeners();
139
+ }
140
+ ngOnDestroy() {
141
+ // this.removeEventListeners();
142
+ this.chart = null;
143
+ this.initialized = false;
144
+ }
145
+ // private setupEventListeners(): void {
146
+ // if (!this.chart) return;
147
+ // this.chart.on('select', this.onChartSelect, this);
148
+ // this.chart.on('deselect', this.onChartDeselect, this);
149
+ // this.chart.on('gesture', this.onChartGesture, this);
150
+ // }
151
+ // private removeEventListeners(): void {
152
+ // if (!this.chart) return;
153
+ // this.chart.off('select', this.onChartSelect, this);
154
+ // this.chart.off('deselect', this.onChartDeselect, this);
155
+ // this.chart.off('gesture', this.onChartGesture, this);
156
+ // }
157
+ // private onChartSelect = (args: any): void => {
158
+ // this.select.emit({
159
+ // x: args.x,
160
+ // y: args.y,
161
+ // dataSetIndex: args.dataSetIndex,
162
+ // dataIndex: args.dataIndex,
163
+ // data: args.data,
164
+ // });
165
+ // };
166
+ // private onChartDeselect = (): void => {
167
+ // this.deselect.emit();
168
+ // };
169
+ // private onChartGesture = (args: any): void => {
170
+ // this.gesture.emit(args);
171
+ // };
172
+ applyInitialProperties() {
173
+ if (!this.chart)
174
+ return;
175
+ // Apply all current signal values
176
+ const animation = this.animation();
177
+ if (animation)
178
+ this.chart.animation = animation;
179
+ const chartBackgroundColor = this.chartBackgroundColor();
180
+ if (chartBackgroundColor)
181
+ this.chart.chartBackgroundColor = chartBackgroundColor;
182
+ const chartGridBackgroundColor = this.chartGridBackgroundColor();
183
+ if (chartGridBackgroundColor)
184
+ this.chart.chartGridBackgroundColor = chartGridBackgroundColor;
185
+ const logEnabled = this.logEnabled();
186
+ if (logEnabled !== undefined)
187
+ this.chart.logEnabled = logEnabled;
188
+ const noDataText = this.noDataText();
189
+ if (noDataText)
190
+ this.chart.noDataText = noDataText;
191
+ const noDataTextColor = this.noDataTextColor();
192
+ if (noDataTextColor)
193
+ this.chart.noDataTextColor = noDataTextColor;
194
+ const touchEnabled = this.touchEnabled();
195
+ if (touchEnabled !== undefined)
196
+ this.chart.touchEnabled = touchEnabled;
197
+ const dragDecelerationEnabled = this.dragDecelerationEnabled();
198
+ if (dragDecelerationEnabled !== undefined)
199
+ this.chart.dragDecelerationEnabled = dragDecelerationEnabled;
200
+ const dragDecelerationFrictionCoef = this.dragDecelerationFrictionCoef();
201
+ if (dragDecelerationFrictionCoef !== undefined)
202
+ this.chart.dragDecelerationFrictionCoef = dragDecelerationFrictionCoef;
203
+ const highlightPerTapEnabled = this.highlightPerTapEnabled();
204
+ if (highlightPerTapEnabled !== undefined)
205
+ this.chart.highlightPerTapEnabled = highlightPerTapEnabled;
206
+ const chartDescription = this.chartDescription();
207
+ if (chartDescription)
208
+ this.chart.chartDescription = chartDescription;
209
+ const legend = this.legend();
210
+ if (legend)
211
+ this.chart.legend = legend;
212
+ const xAxis = this.xAxis();
213
+ if (xAxis)
214
+ this.chart.xAxis = xAxis;
215
+ const marker = this.marker();
216
+ if (marker)
217
+ this.chart.marker = marker;
218
+ const highlights = this.highlights();
219
+ if (highlights)
220
+ this.chart.highlights = highlights;
221
+ }
222
+ // Public methods
223
+ animate(animation) {
224
+ this.chart?.animate(animation);
225
+ }
226
+ highlightValues(highlights) {
227
+ this.chart?.highlightValues(highlights);
228
+ }
229
+ clearHighlights() {
230
+ this.chart?.clearHighlights();
231
+ }
232
+ invalidate() {
233
+ this.chart?.invalidate();
234
+ }
235
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: ChartBaseDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
236
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.0.9", type: ChartBaseDirective, isStandalone: true, inputs: { animation: { classPropertyName: "animation", publicName: "animation", isSignal: true, isRequired: false, transformFunction: null }, chartBackgroundColor: { classPropertyName: "chartBackgroundColor", publicName: "chartBackgroundColor", isSignal: true, isRequired: false, transformFunction: null }, chartGridBackgroundColor: { classPropertyName: "chartGridBackgroundColor", publicName: "chartGridBackgroundColor", isSignal: true, isRequired: false, transformFunction: null }, logEnabled: { classPropertyName: "logEnabled", publicName: "logEnabled", isSignal: true, isRequired: false, transformFunction: null }, noDataText: { classPropertyName: "noDataText", publicName: "noDataText", isSignal: true, isRequired: false, transformFunction: null }, noDataTextColor: { classPropertyName: "noDataTextColor", publicName: "noDataTextColor", isSignal: true, isRequired: false, transformFunction: null }, touchEnabled: { classPropertyName: "touchEnabled", publicName: "touchEnabled", isSignal: true, isRequired: false, transformFunction: null }, dragDecelerationEnabled: { classPropertyName: "dragDecelerationEnabled", publicName: "dragDecelerationEnabled", isSignal: true, isRequired: false, transformFunction: null }, dragDecelerationFrictionCoef: { classPropertyName: "dragDecelerationFrictionCoef", publicName: "dragDecelerationFrictionCoef", isSignal: true, isRequired: false, transformFunction: null }, highlightPerTapEnabled: { classPropertyName: "highlightPerTapEnabled", publicName: "highlightPerTapEnabled", isSignal: true, isRequired: false, transformFunction: null }, chartDescription: { classPropertyName: "chartDescription", publicName: "chartDescription", isSignal: true, isRequired: false, transformFunction: null }, legend: { classPropertyName: "legend", publicName: "legend", isSignal: true, isRequired: false, transformFunction: null }, xAxis: { classPropertyName: "xAxis", publicName: "xAxis", isSignal: true, isRequired: false, transformFunction: null }, marker: { classPropertyName: "marker", publicName: "marker", isSignal: true, isRequired: false, transformFunction: null }, highlights: { classPropertyName: "highlights", publicName: "highlights", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { select: "select", deselect: "deselect", gesture: "gesture" }, ngImport: i0 });
237
+ }
238
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: ChartBaseDirective, decorators: [{
239
+ type: Directive
240
+ }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { animation: [{ type: i0.Input, args: [{ isSignal: true, alias: "animation", required: false }] }], chartBackgroundColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "chartBackgroundColor", required: false }] }], chartGridBackgroundColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "chartGridBackgroundColor", required: false }] }], logEnabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "logEnabled", required: false }] }], noDataText: [{ type: i0.Input, args: [{ isSignal: true, alias: "noDataText", required: false }] }], noDataTextColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "noDataTextColor", required: false }] }], touchEnabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "touchEnabled", required: false }] }], dragDecelerationEnabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "dragDecelerationEnabled", required: false }] }], dragDecelerationFrictionCoef: [{ type: i0.Input, args: [{ isSignal: true, alias: "dragDecelerationFrictionCoef", required: false }] }], highlightPerTapEnabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "highlightPerTapEnabled", required: false }] }], chartDescription: [{ type: i0.Input, args: [{ isSignal: true, alias: "chartDescription", required: false }] }], legend: [{ type: i0.Input, args: [{ isSignal: true, alias: "legend", required: false }] }], xAxis: [{ type: i0.Input, args: [{ isSignal: true, alias: "xAxis", required: false }] }], marker: [{ type: i0.Input, args: [{ isSignal: true, alias: "marker", required: false }] }], highlights: [{ type: i0.Input, args: [{ isSignal: true, alias: "highlights", required: false }] }], select: [{ type: i0.Output, args: ["select"] }], deselect: [{ type: i0.Output, args: ["deselect"] }], gesture: [{ type: i0.Output, args: ["gesture"] }] } });
241
+ // ============================================================================
242
+ // BarLine Chart Base Directive
243
+ // ============================================================================
244
+ class BarLineChartBaseDirective extends ChartBaseDirective {
245
+ maxHighlightDistance = input(...(ngDevMode ? [undefined, { debugName: "maxHighlightDistance" }] : []));
246
+ drawGridBackground = input(...(ngDevMode ? [undefined, { debugName: "drawGridBackground" }] : []));
247
+ gridBackgroundColor = input(...(ngDevMode ? [undefined, { debugName: "gridBackgroundColor" }] : []));
248
+ drawBorders = input(...(ngDevMode ? [undefined, { debugName: "drawBorders" }] : []));
249
+ borderColor = input(...(ngDevMode ? [undefined, { debugName: "borderColor" }] : []));
250
+ borderWidth = input(...(ngDevMode ? [undefined, { debugName: "borderWidth" }] : []));
251
+ minOffset = input(...(ngDevMode ? [undefined, { debugName: "minOffset" }] : []));
252
+ maxVisibleValueCount = input(...(ngDevMode ? [undefined, { debugName: "maxVisibleValueCount" }] : []));
253
+ autoScaleMinMaxEnabled = input(...(ngDevMode ? [undefined, { debugName: "autoScaleMinMaxEnabled" }] : []));
254
+ keepPositionOnRotation = input(...(ngDevMode ? [undefined, { debugName: "keepPositionOnRotation" }] : []));
255
+ highlightPerDragEnabled = input(...(ngDevMode ? [undefined, { debugName: "highlightPerDragEnabled" }] : []));
256
+ scaleEnabled = input(...(ngDevMode ? [undefined, { debugName: "scaleEnabled" }] : []));
257
+ scaleXEnabled = input(...(ngDevMode ? [undefined, { debugName: "scaleXEnabled" }] : []));
258
+ scaleYEnabled = input(...(ngDevMode ? [undefined, { debugName: "scaleYEnabled" }] : []));
259
+ dragEnabled = input(...(ngDevMode ? [undefined, { debugName: "dragEnabled" }] : []));
260
+ pinchZoom = input(...(ngDevMode ? [undefined, { debugName: "pinchZoom" }] : []));
261
+ doubleTapToZoomEnabled = input(...(ngDevMode ? [undefined, { debugName: "doubleTapToZoomEnabled" }] : []));
262
+ yAxis = input(...(ngDevMode ? [undefined, { debugName: "yAxis" }] : []));
263
+ constructor(el) {
264
+ super(el);
265
+ // Set up effects for BarLine-specific properties
266
+ effect(() => {
267
+ const value = this.maxHighlightDistance();
268
+ if (this.initialized && value !== undefined) {
269
+ this.chart.maxHighlightDistance = value;
270
+ }
271
+ });
272
+ effect(() => {
273
+ const value = this.drawGridBackground();
274
+ if (this.initialized && value !== undefined) {
275
+ this.chart.drawGridBackground = value;
276
+ }
277
+ });
278
+ effect(() => {
279
+ const value = this.gridBackgroundColor();
280
+ if (this.initialized && value !== undefined) {
281
+ this.chart.gridBackgroundColor = value;
282
+ }
283
+ });
284
+ effect(() => {
285
+ const value = this.drawBorders();
286
+ if (this.initialized && value !== undefined) {
287
+ this.chart.drawBorders = value;
288
+ }
289
+ });
290
+ effect(() => {
291
+ const value = this.borderColor();
292
+ if (this.initialized && value !== undefined) {
293
+ this.chart.borderColor = value;
294
+ }
295
+ });
296
+ effect(() => {
297
+ const value = this.borderWidth();
298
+ if (this.initialized && value !== undefined) {
299
+ this.chart.borderWidth = value;
300
+ }
301
+ });
302
+ effect(() => {
303
+ const value = this.minOffset();
304
+ if (this.initialized && value !== undefined) {
305
+ this.chart.minOffset = value;
306
+ }
307
+ });
308
+ effect(() => {
309
+ const value = this.maxVisibleValueCount();
310
+ if (this.initialized && value !== undefined) {
311
+ this.chart.maxVisibleValueCount = value;
312
+ }
313
+ });
314
+ effect(() => {
315
+ const value = this.autoScaleMinMaxEnabled();
316
+ if (this.initialized && value !== undefined) {
317
+ this.chart.autoScaleMinMaxEnabled = value;
318
+ }
319
+ });
320
+ effect(() => {
321
+ const value = this.keepPositionOnRotation();
322
+ if (this.initialized && value !== undefined) {
323
+ this.chart.keepPositionOnRotation = value;
324
+ }
325
+ });
326
+ effect(() => {
327
+ const value = this.highlightPerDragEnabled();
328
+ if (this.initialized && value !== undefined) {
329
+ this.chart.highlightPerDragEnabled = value;
330
+ }
331
+ });
332
+ effect(() => {
333
+ const value = this.scaleEnabled();
334
+ if (this.initialized && value !== undefined) {
335
+ this.chart.scaleEnabled = value;
336
+ }
337
+ });
338
+ effect(() => {
339
+ const value = this.scaleXEnabled();
340
+ if (this.initialized && value !== undefined) {
341
+ this.chart.scaleXEnabled = value;
342
+ }
343
+ });
344
+ effect(() => {
345
+ const value = this.scaleYEnabled();
346
+ if (this.initialized && value !== undefined) {
347
+ this.chart.scaleYEnabled = value;
348
+ }
349
+ });
350
+ effect(() => {
351
+ const value = this.dragEnabled();
352
+ if (this.initialized && value !== undefined) {
353
+ this.chart.dragEnabled = value;
354
+ }
355
+ });
356
+ effect(() => {
357
+ const value = this.pinchZoom();
358
+ if (this.initialized && value !== undefined) {
359
+ this.chart.pinchZoom = value;
360
+ }
361
+ });
362
+ effect(() => {
363
+ const value = this.doubleTapToZoomEnabled();
364
+ if (this.initialized && value !== undefined) {
365
+ this.chart.doubleTapToZoomEnabled = value;
366
+ }
367
+ });
368
+ effect(() => {
369
+ const value = this.yAxis();
370
+ if (this.initialized && value !== undefined) {
371
+ this.chart.yAxis = value;
372
+ }
373
+ });
374
+ }
375
+ applyInitialProperties() {
376
+ super.applyInitialProperties();
377
+ if (!this.chart)
378
+ return;
379
+ const maxHighlightDistance = this.maxHighlightDistance();
380
+ if (maxHighlightDistance !== undefined)
381
+ this.chart.maxHighlightDistance = maxHighlightDistance;
382
+ const drawGridBackground = this.drawGridBackground();
383
+ if (drawGridBackground !== undefined)
384
+ this.chart.drawGridBackground = drawGridBackground;
385
+ const gridBackgroundColor = this.gridBackgroundColor();
386
+ if (gridBackgroundColor)
387
+ this.chart.gridBackgroundColor = gridBackgroundColor;
388
+ const drawBorders = this.drawBorders();
389
+ if (drawBorders !== undefined)
390
+ this.chart.drawBorders = drawBorders;
391
+ const borderColor = this.borderColor();
392
+ if (borderColor)
393
+ this.chart.borderColor = borderColor;
394
+ const borderWidth = this.borderWidth();
395
+ if (borderWidth !== undefined)
396
+ this.chart.borderWidth = borderWidth;
397
+ const minOffset = this.minOffset();
398
+ if (minOffset !== undefined)
399
+ this.chart.minOffset = minOffset;
400
+ const maxVisibleValueCount = this.maxVisibleValueCount();
401
+ if (maxVisibleValueCount !== undefined)
402
+ this.chart.maxVisibleValueCount = maxVisibleValueCount;
403
+ const autoScaleMinMaxEnabled = this.autoScaleMinMaxEnabled();
404
+ if (autoScaleMinMaxEnabled !== undefined)
405
+ this.chart.autoScaleMinMaxEnabled = autoScaleMinMaxEnabled;
406
+ const keepPositionOnRotation = this.keepPositionOnRotation();
407
+ if (keepPositionOnRotation !== undefined)
408
+ this.chart.keepPositionOnRotation = keepPositionOnRotation;
409
+ const highlightPerDragEnabled = this.highlightPerDragEnabled();
410
+ if (highlightPerDragEnabled !== undefined)
411
+ this.chart.highlightPerDragEnabled = highlightPerDragEnabled;
412
+ const scaleEnabled = this.scaleEnabled();
413
+ if (scaleEnabled !== undefined)
414
+ this.chart.scaleEnabled = scaleEnabled;
415
+ const scaleXEnabled = this.scaleXEnabled();
416
+ if (scaleXEnabled !== undefined)
417
+ this.chart.scaleXEnabled = scaleXEnabled;
418
+ const scaleYEnabled = this.scaleYEnabled();
419
+ if (scaleYEnabled !== undefined)
420
+ this.chart.scaleYEnabled = scaleYEnabled;
421
+ const dragEnabled = this.dragEnabled();
422
+ if (dragEnabled !== undefined)
423
+ this.chart.dragEnabled = dragEnabled;
424
+ const pinchZoom = this.pinchZoom();
425
+ if (pinchZoom !== undefined)
426
+ this.chart.pinchZoom = pinchZoom;
427
+ const doubleTapToZoomEnabled = this.doubleTapToZoomEnabled();
428
+ if (doubleTapToZoomEnabled !== undefined)
429
+ this.chart.doubleTapToZoomEnabled = doubleTapToZoomEnabled;
430
+ const yAxis = this.yAxis();
431
+ if (yAxis)
432
+ this.chart.yAxis = yAxis;
433
+ }
434
+ // Public methods specific to BarLine charts
435
+ moveViewToX(xValue) {
436
+ this.chart?.moveViewToX(xValue);
437
+ }
438
+ moveViewTo(xValue, yValue, axisDependency = 'LEFT') {
439
+ this.chart?.moveViewTo(xValue, yValue, axisDependency);
440
+ }
441
+ centerViewTo(xValue, yValue, axisDependency = 'LEFT') {
442
+ this.chart?.centerViewTo(xValue, yValue, axisDependency);
443
+ }
444
+ zoom(scaleX, scaleY, xValue, yValue, axisDependency = 'LEFT') {
445
+ this.chart?.zoom(scaleX, scaleY, xValue, yValue, axisDependency);
446
+ }
447
+ fitScreen() {
448
+ this.chart?.fitScreen();
449
+ }
450
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: BarLineChartBaseDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
451
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.0.9", type: BarLineChartBaseDirective, isStandalone: true, inputs: { maxHighlightDistance: { classPropertyName: "maxHighlightDistance", publicName: "maxHighlightDistance", isSignal: true, isRequired: false, transformFunction: null }, drawGridBackground: { classPropertyName: "drawGridBackground", publicName: "drawGridBackground", isSignal: true, isRequired: false, transformFunction: null }, gridBackgroundColor: { classPropertyName: "gridBackgroundColor", publicName: "gridBackgroundColor", isSignal: true, isRequired: false, transformFunction: null }, drawBorders: { classPropertyName: "drawBorders", publicName: "drawBorders", isSignal: true, isRequired: false, transformFunction: null }, borderColor: { classPropertyName: "borderColor", publicName: "borderColor", isSignal: true, isRequired: false, transformFunction: null }, borderWidth: { classPropertyName: "borderWidth", publicName: "borderWidth", isSignal: true, isRequired: false, transformFunction: null }, minOffset: { classPropertyName: "minOffset", publicName: "minOffset", isSignal: true, isRequired: false, transformFunction: null }, maxVisibleValueCount: { classPropertyName: "maxVisibleValueCount", publicName: "maxVisibleValueCount", isSignal: true, isRequired: false, transformFunction: null }, autoScaleMinMaxEnabled: { classPropertyName: "autoScaleMinMaxEnabled", publicName: "autoScaleMinMaxEnabled", isSignal: true, isRequired: false, transformFunction: null }, keepPositionOnRotation: { classPropertyName: "keepPositionOnRotation", publicName: "keepPositionOnRotation", isSignal: true, isRequired: false, transformFunction: null }, highlightPerDragEnabled: { classPropertyName: "highlightPerDragEnabled", publicName: "highlightPerDragEnabled", isSignal: true, isRequired: false, transformFunction: null }, scaleEnabled: { classPropertyName: "scaleEnabled", publicName: "scaleEnabled", isSignal: true, isRequired: false, transformFunction: null }, scaleXEnabled: { classPropertyName: "scaleXEnabled", publicName: "scaleXEnabled", isSignal: true, isRequired: false, transformFunction: null }, scaleYEnabled: { classPropertyName: "scaleYEnabled", publicName: "scaleYEnabled", isSignal: true, isRequired: false, transformFunction: null }, dragEnabled: { classPropertyName: "dragEnabled", publicName: "dragEnabled", isSignal: true, isRequired: false, transformFunction: null }, pinchZoom: { classPropertyName: "pinchZoom", publicName: "pinchZoom", isSignal: true, isRequired: false, transformFunction: null }, doubleTapToZoomEnabled: { classPropertyName: "doubleTapToZoomEnabled", publicName: "doubleTapToZoomEnabled", isSignal: true, isRequired: false, transformFunction: null }, yAxis: { classPropertyName: "yAxis", publicName: "yAxis", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
452
+ }
453
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: BarLineChartBaseDirective, decorators: [{
454
+ type: Directive
455
+ }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { maxHighlightDistance: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxHighlightDistance", required: false }] }], drawGridBackground: [{ type: i0.Input, args: [{ isSignal: true, alias: "drawGridBackground", required: false }] }], gridBackgroundColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "gridBackgroundColor", required: false }] }], drawBorders: [{ type: i0.Input, args: [{ isSignal: true, alias: "drawBorders", required: false }] }], borderColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "borderColor", required: false }] }], borderWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "borderWidth", required: false }] }], minOffset: [{ type: i0.Input, args: [{ isSignal: true, alias: "minOffset", required: false }] }], maxVisibleValueCount: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxVisibleValueCount", required: false }] }], autoScaleMinMaxEnabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoScaleMinMaxEnabled", required: false }] }], keepPositionOnRotation: [{ type: i0.Input, args: [{ isSignal: true, alias: "keepPositionOnRotation", required: false }] }], highlightPerDragEnabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "highlightPerDragEnabled", required: false }] }], scaleEnabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "scaleEnabled", required: false }] }], scaleXEnabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "scaleXEnabled", required: false }] }], scaleYEnabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "scaleYEnabled", required: false }] }], dragEnabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "dragEnabled", required: false }] }], pinchZoom: [{ type: i0.Input, args: [{ isSignal: true, alias: "pinchZoom", required: false }] }], doubleTapToZoomEnabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "doubleTapToZoomEnabled", required: false }] }], yAxis: [{ type: i0.Input, args: [{ isSignal: true, alias: "yAxis", required: false }] }] } });
456
+ // ============================================================================
457
+ // PieRadar Chart Base Directive
458
+ // ============================================================================
459
+ class PieRadarChartBaseDirective extends ChartBaseDirective {
460
+ rotationAngle = input(...(ngDevMode ? [undefined, { debugName: "rotationAngle" }] : []));
461
+ rotationEnabled = input(...(ngDevMode ? [undefined, { debugName: "rotationEnabled" }] : []));
462
+ minOffset = input(...(ngDevMode ? [undefined, { debugName: "minOffset" }] : []));
463
+ constructor(el) {
464
+ super(el);
465
+ effect(() => {
466
+ const value = this.rotationAngle();
467
+ if (this.initialized && value !== undefined) {
468
+ this.chart.rotationAngle = value;
469
+ }
470
+ });
471
+ effect(() => {
472
+ const value = this.rotationEnabled();
473
+ if (this.initialized && value !== undefined) {
474
+ this.chart.rotationEnabled = value;
475
+ }
476
+ });
477
+ effect(() => {
478
+ const value = this.minOffset();
479
+ if (this.initialized && value !== undefined) {
480
+ this.chart.minOffset = value;
481
+ }
482
+ });
483
+ }
484
+ applyInitialProperties() {
485
+ super.applyInitialProperties();
486
+ if (!this.chart)
487
+ return;
488
+ const rotationAngle = this.rotationAngle();
489
+ if (rotationAngle !== undefined)
490
+ this.chart.rotationAngle = rotationAngle;
491
+ const rotationEnabled = this.rotationEnabled();
492
+ if (rotationEnabled !== undefined)
493
+ this.chart.rotationEnabled = rotationEnabled;
494
+ const minOffset = this.minOffset();
495
+ if (minOffset !== undefined)
496
+ this.chart.minOffset = minOffset;
497
+ }
498
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: PieRadarChartBaseDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
499
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.0.9", type: PieRadarChartBaseDirective, isStandalone: true, inputs: { rotationAngle: { classPropertyName: "rotationAngle", publicName: "rotationAngle", isSignal: true, isRequired: false, transformFunction: null }, rotationEnabled: { classPropertyName: "rotationEnabled", publicName: "rotationEnabled", isSignal: true, isRequired: false, transformFunction: null }, minOffset: { classPropertyName: "minOffset", publicName: "minOffset", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
500
+ }
501
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: PieRadarChartBaseDirective, decorators: [{
502
+ type: Directive
503
+ }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { rotationAngle: [{ type: i0.Input, args: [{ isSignal: true, alias: "rotationAngle", required: false }] }], rotationEnabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "rotationEnabled", required: false }] }], minOffset: [{ type: i0.Input, args: [{ isSignal: true, alias: "minOffset", required: false }] }] } });
504
+ // ============================================================================
505
+ // Line Chart Directive
506
+ // ============================================================================
507
+ class LineChartDirective extends BarLineChartBaseDirective {
508
+ data = input(...(ngDevMode ? [undefined, { debugName: "data" }] : []));
509
+ constructor(elRef) {
510
+ super(elRef);
511
+ effect(() => {
512
+ const value = this.data();
513
+ if (this.initialized && value !== undefined) {
514
+ this.chart.data = value;
515
+ }
516
+ });
517
+ }
518
+ applyInitialProperties() {
519
+ super.applyInitialProperties();
520
+ const data = this.data();
521
+ if (data && this.chart) {
522
+ this.chart.data = data;
523
+ }
524
+ }
525
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: LineChartDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
526
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.0.9", type: LineChartDirective, isStandalone: true, selector: "LineChart", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
527
+ }
528
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: LineChartDirective, decorators: [{
529
+ type: Directive,
530
+ args: [{
531
+ selector: 'LineChart',
532
+ standalone: true,
533
+ }]
534
+ }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: false }] }] } });
535
+ // ============================================================================
536
+ // Bar Chart Directive
537
+ // ============================================================================
538
+ class BarChartDirective extends BarLineChartBaseDirective {
539
+ data = input(...(ngDevMode ? [undefined, { debugName: "data" }] : []));
540
+ constructor(elRef) {
541
+ super(elRef);
542
+ effect(() => {
543
+ const value = this.data();
544
+ if (this.initialized && value !== undefined) {
545
+ this.chart.data = value;
546
+ }
547
+ });
548
+ }
549
+ applyInitialProperties() {
550
+ super.applyInitialProperties();
551
+ const data = this.data();
552
+ if (data && this.chart) {
553
+ this.chart.data = data;
554
+ }
555
+ }
556
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: BarChartDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
557
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.0.9", type: BarChartDirective, isStandalone: true, selector: "BarChart", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
558
+ }
559
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: BarChartDirective, decorators: [{
560
+ type: Directive,
561
+ args: [{
562
+ selector: 'BarChart',
563
+ standalone: true,
564
+ }]
565
+ }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: false }] }] } });
566
+ // ============================================================================
567
+ // Horizontal Bar Chart Directive
568
+ // ============================================================================
569
+ class HorizontalBarChartDirective extends BarLineChartBaseDirective {
570
+ data = input(...(ngDevMode ? [undefined, { debugName: "data" }] : []));
571
+ constructor(elRef) {
572
+ super(elRef);
573
+ effect(() => {
574
+ const value = this.data();
575
+ if (this.initialized && value !== undefined) {
576
+ this.chart.data = value;
577
+ }
578
+ });
579
+ }
580
+ applyInitialProperties() {
581
+ super.applyInitialProperties();
582
+ const data = this.data();
583
+ if (data && this.chart) {
584
+ this.chart.data = data;
585
+ }
586
+ }
587
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: HorizontalBarChartDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
588
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.0.9", type: HorizontalBarChartDirective, isStandalone: true, selector: "HorizontalBarChart", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
589
+ }
590
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: HorizontalBarChartDirective, decorators: [{
591
+ type: Directive,
592
+ args: [{
593
+ selector: 'HorizontalBarChart',
594
+ standalone: true,
595
+ }]
596
+ }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: false }] }] } });
597
+ // ============================================================================
598
+ // Pie Chart Directive
599
+ // ============================================================================
600
+ class PieChartDirective extends PieRadarChartBaseDirective {
601
+ data = input(...(ngDevMode ? [undefined, { debugName: "data" }] : []));
602
+ drawHole = input(...(ngDevMode ? [undefined, { debugName: "drawHole" }] : []));
603
+ holeRadius = input(...(ngDevMode ? [undefined, { debugName: "holeRadius" }] : []));
604
+ transparentCircleRadius = input(...(ngDevMode ? [undefined, { debugName: "transparentCircleRadius" }] : []));
605
+ holeColor = input(...(ngDevMode ? [undefined, { debugName: "holeColor" }] : []));
606
+ transparentCircleColor = input(...(ngDevMode ? [undefined, { debugName: "transparentCircleColor" }] : []));
607
+ drawCenterText = input(...(ngDevMode ? [undefined, { debugName: "drawCenterText" }] : []));
608
+ centerText = input(...(ngDevMode ? [undefined, { debugName: "centerText" }] : []));
609
+ centerTextColor = input(...(ngDevMode ? [undefined, { debugName: "centerTextColor" }] : []));
610
+ centerTextSize = input(...(ngDevMode ? [undefined, { debugName: "centerTextSize" }] : []));
611
+ drawSliceText = input(...(ngDevMode ? [undefined, { debugName: "drawSliceText" }] : []));
612
+ sliceTextSize = input(...(ngDevMode ? [undefined, { debugName: "sliceTextSize" }] : []));
613
+ sliceTextColor = input(...(ngDevMode ? [undefined, { debugName: "sliceTextColor" }] : []));
614
+ usePercentValues = input(...(ngDevMode ? [undefined, { debugName: "usePercentValues" }] : []));
615
+ maxAngle = input(...(ngDevMode ? [undefined, { debugName: "maxAngle" }] : []));
616
+ constructor(elRef) {
617
+ super(elRef);
618
+ effect(() => {
619
+ const value = this.data();
620
+ if (this.initialized && value !== undefined) {
621
+ this.chart.data = value;
622
+ }
623
+ });
624
+ effect(() => {
625
+ const value = this.drawHole();
626
+ if (this.initialized && value !== undefined) {
627
+ this.chart.drawHole = value;
628
+ }
629
+ });
630
+ effect(() => {
631
+ const value = this.holeRadius();
632
+ if (this.initialized && value !== undefined) {
633
+ this.chart.holeRadius = value;
634
+ }
635
+ });
636
+ effect(() => {
637
+ const value = this.transparentCircleRadius();
638
+ if (this.initialized && value !== undefined) {
639
+ this.chart.transparentCircleRadius = value;
640
+ }
641
+ });
642
+ effect(() => {
643
+ const value = this.holeColor();
644
+ if (this.initialized && value !== undefined) {
645
+ this.chart.holeColor = value;
646
+ }
647
+ });
648
+ effect(() => {
649
+ const value = this.transparentCircleColor();
650
+ if (this.initialized && value !== undefined) {
651
+ this.chart.transparentCircleColor = value;
652
+ }
653
+ });
654
+ effect(() => {
655
+ const value = this.drawCenterText();
656
+ if (this.initialized && value !== undefined) {
657
+ this.chart.drawCenterText = value;
658
+ }
659
+ });
660
+ effect(() => {
661
+ const value = this.centerText();
662
+ if (this.initialized && value !== undefined) {
663
+ this.chart.centerText = value;
664
+ }
665
+ });
666
+ effect(() => {
667
+ const value = this.centerTextColor();
668
+ if (this.initialized && value !== undefined) {
669
+ this.chart.centerTextColor = value;
670
+ }
671
+ });
672
+ effect(() => {
673
+ const value = this.centerTextSize();
674
+ if (this.initialized && value !== undefined) {
675
+ this.chart.centerTextSize = value;
676
+ }
677
+ });
678
+ effect(() => {
679
+ const value = this.drawSliceText();
680
+ if (this.initialized && value !== undefined) {
681
+ this.chart.drawSliceText = value;
682
+ }
683
+ });
684
+ effect(() => {
685
+ const value = this.sliceTextSize();
686
+ if (this.initialized && value !== undefined) {
687
+ this.chart.sliceTextSize = value;
688
+ }
689
+ });
690
+ effect(() => {
691
+ const value = this.sliceTextColor();
692
+ if (this.initialized && value !== undefined) {
693
+ this.chart.sliceTextColor = value;
694
+ }
695
+ });
696
+ effect(() => {
697
+ const value = this.usePercentValues();
698
+ if (this.initialized && value !== undefined) {
699
+ this.chart.usePercentValues = value;
700
+ }
701
+ });
702
+ effect(() => {
703
+ const value = this.maxAngle();
704
+ if (this.initialized && value !== undefined) {
705
+ this.chart.maxAngle = value;
706
+ }
707
+ });
708
+ }
709
+ applyInitialProperties() {
710
+ super.applyInitialProperties();
711
+ if (!this.chart)
712
+ return;
713
+ const data = this.data();
714
+ if (data)
715
+ this.chart.data = data;
716
+ const drawHole = this.drawHole();
717
+ if (drawHole !== undefined)
718
+ this.chart.drawHole = drawHole;
719
+ const holeRadius = this.holeRadius();
720
+ if (holeRadius !== undefined)
721
+ this.chart.holeRadius = holeRadius;
722
+ const transparentCircleRadius = this.transparentCircleRadius();
723
+ if (transparentCircleRadius !== undefined)
724
+ this.chart.transparentCircleRadius = transparentCircleRadius;
725
+ const holeColor = this.holeColor();
726
+ if (holeColor)
727
+ this.chart.holeColor = holeColor;
728
+ const transparentCircleColor = this.transparentCircleColor();
729
+ if (transparentCircleColor)
730
+ this.chart.transparentCircleColor = transparentCircleColor;
731
+ const drawCenterText = this.drawCenterText();
732
+ if (drawCenterText !== undefined)
733
+ this.chart.drawCenterText = drawCenterText;
734
+ const centerText = this.centerText();
735
+ if (centerText)
736
+ this.chart.centerText = centerText;
737
+ const centerTextColor = this.centerTextColor();
738
+ if (centerTextColor)
739
+ this.chart.centerTextColor = centerTextColor;
740
+ const centerTextSize = this.centerTextSize();
741
+ if (centerTextSize !== undefined)
742
+ this.chart.centerTextSize = centerTextSize;
743
+ const drawSliceText = this.drawSliceText();
744
+ if (drawSliceText !== undefined)
745
+ this.chart.drawSliceText = drawSliceText;
746
+ const sliceTextSize = this.sliceTextSize();
747
+ if (sliceTextSize !== undefined)
748
+ this.chart.sliceTextSize = sliceTextSize;
749
+ const sliceTextColor = this.sliceTextColor();
750
+ if (sliceTextColor)
751
+ this.chart.sliceTextColor = sliceTextColor;
752
+ const usePercentValues = this.usePercentValues();
753
+ if (usePercentValues !== undefined)
754
+ this.chart.usePercentValues = usePercentValues;
755
+ const maxAngle = this.maxAngle();
756
+ if (maxAngle !== undefined)
757
+ this.chart.maxAngle = maxAngle;
758
+ }
759
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: PieChartDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
760
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.0.9", type: PieChartDirective, isStandalone: true, selector: "PieChart", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null }, drawHole: { classPropertyName: "drawHole", publicName: "drawHole", isSignal: true, isRequired: false, transformFunction: null }, holeRadius: { classPropertyName: "holeRadius", publicName: "holeRadius", isSignal: true, isRequired: false, transformFunction: null }, transparentCircleRadius: { classPropertyName: "transparentCircleRadius", publicName: "transparentCircleRadius", isSignal: true, isRequired: false, transformFunction: null }, holeColor: { classPropertyName: "holeColor", publicName: "holeColor", isSignal: true, isRequired: false, transformFunction: null }, transparentCircleColor: { classPropertyName: "transparentCircleColor", publicName: "transparentCircleColor", isSignal: true, isRequired: false, transformFunction: null }, drawCenterText: { classPropertyName: "drawCenterText", publicName: "drawCenterText", isSignal: true, isRequired: false, transformFunction: null }, centerText: { classPropertyName: "centerText", publicName: "centerText", isSignal: true, isRequired: false, transformFunction: null }, centerTextColor: { classPropertyName: "centerTextColor", publicName: "centerTextColor", isSignal: true, isRequired: false, transformFunction: null }, centerTextSize: { classPropertyName: "centerTextSize", publicName: "centerTextSize", isSignal: true, isRequired: false, transformFunction: null }, drawSliceText: { classPropertyName: "drawSliceText", publicName: "drawSliceText", isSignal: true, isRequired: false, transformFunction: null }, sliceTextSize: { classPropertyName: "sliceTextSize", publicName: "sliceTextSize", isSignal: true, isRequired: false, transformFunction: null }, sliceTextColor: { classPropertyName: "sliceTextColor", publicName: "sliceTextColor", isSignal: true, isRequired: false, transformFunction: null }, usePercentValues: { classPropertyName: "usePercentValues", publicName: "usePercentValues", isSignal: true, isRequired: false, transformFunction: null }, maxAngle: { classPropertyName: "maxAngle", publicName: "maxAngle", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
761
+ }
762
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: PieChartDirective, decorators: [{
763
+ type: Directive,
764
+ args: [{
765
+ selector: 'PieChart',
766
+ standalone: true,
767
+ }]
768
+ }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: false }] }], drawHole: [{ type: i0.Input, args: [{ isSignal: true, alias: "drawHole", required: false }] }], holeRadius: [{ type: i0.Input, args: [{ isSignal: true, alias: "holeRadius", required: false }] }], transparentCircleRadius: [{ type: i0.Input, args: [{ isSignal: true, alias: "transparentCircleRadius", required: false }] }], holeColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "holeColor", required: false }] }], transparentCircleColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "transparentCircleColor", required: false }] }], drawCenterText: [{ type: i0.Input, args: [{ isSignal: true, alias: "drawCenterText", required: false }] }], centerText: [{ type: i0.Input, args: [{ isSignal: true, alias: "centerText", required: false }] }], centerTextColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "centerTextColor", required: false }] }], centerTextSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "centerTextSize", required: false }] }], drawSliceText: [{ type: i0.Input, args: [{ isSignal: true, alias: "drawSliceText", required: false }] }], sliceTextSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "sliceTextSize", required: false }] }], sliceTextColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "sliceTextColor", required: false }] }], usePercentValues: [{ type: i0.Input, args: [{ isSignal: true, alias: "usePercentValues", required: false }] }], maxAngle: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxAngle", required: false }] }] } });
769
+ // ============================================================================
770
+ // Scatter Chart Directive
771
+ // ============================================================================
772
+ class ScatterChartDirective extends BarLineChartBaseDirective {
773
+ data = input(...(ngDevMode ? [undefined, { debugName: "data" }] : []));
774
+ constructor(elRef) {
775
+ super(elRef);
776
+ effect(() => {
777
+ const value = this.data();
778
+ if (this.initialized && value !== undefined) {
779
+ this.chart.data = value;
780
+ }
781
+ });
782
+ }
783
+ applyInitialProperties() {
784
+ super.applyInitialProperties();
785
+ const data = this.data();
786
+ if (data && this.chart) {
787
+ this.chart.data = data;
788
+ }
789
+ }
790
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: ScatterChartDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
791
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.0.9", type: ScatterChartDirective, isStandalone: true, selector: "ScatterChart", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
792
+ }
793
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: ScatterChartDirective, decorators: [{
794
+ type: Directive,
795
+ args: [{
796
+ selector: 'ScatterChart',
797
+ standalone: true,
798
+ }]
799
+ }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: false }] }] } });
800
+ // ============================================================================
801
+ // Bubble Chart Directive
802
+ // ============================================================================
803
+ class BubbleChartDirective extends BarLineChartBaseDirective {
804
+ data = input(...(ngDevMode ? [undefined, { debugName: "data" }] : []));
805
+ constructor(elRef) {
806
+ super(elRef);
807
+ effect(() => {
808
+ const value = this.data();
809
+ if (this.initialized && value !== undefined) {
810
+ this.chart.data = value;
811
+ }
812
+ });
813
+ }
814
+ applyInitialProperties() {
815
+ super.applyInitialProperties();
816
+ const data = this.data();
817
+ if (data && this.chart) {
818
+ this.chart.data = data;
819
+ }
820
+ }
821
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: BubbleChartDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
822
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.0.9", type: BubbleChartDirective, isStandalone: true, selector: "BubbleChart", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
823
+ }
824
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: BubbleChartDirective, decorators: [{
825
+ type: Directive,
826
+ args: [{
827
+ selector: 'BubbleChart',
828
+ standalone: true,
829
+ }]
830
+ }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: false }] }] } });
831
+ // ============================================================================
832
+ // CandleStick Chart Directive
833
+ // ============================================================================
834
+ class CandleStickChartDirective extends BarLineChartBaseDirective {
835
+ data = input(...(ngDevMode ? [undefined, { debugName: "data" }] : []));
836
+ constructor(elRef) {
837
+ super(elRef);
838
+ effect(() => {
839
+ const value = this.data();
840
+ if (this.initialized && value !== undefined) {
841
+ this.chart.data = value;
842
+ }
843
+ });
844
+ }
845
+ applyInitialProperties() {
846
+ super.applyInitialProperties();
847
+ const data = this.data();
848
+ if (data && this.chart) {
849
+ this.chart.data = data;
850
+ }
851
+ }
852
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: CandleStickChartDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
853
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.0.9", type: CandleStickChartDirective, isStandalone: true, selector: "CandleStickChart", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
854
+ }
855
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: CandleStickChartDirective, decorators: [{
856
+ type: Directive,
857
+ args: [{
858
+ selector: 'CandleStickChart',
859
+ standalone: true,
860
+ }]
861
+ }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: false }] }] } });
862
+ // ============================================================================
863
+ // Radar Chart Directive
864
+ // ============================================================================
865
+ class RadarChartDirective extends PieRadarChartBaseDirective {
866
+ data = input(...(ngDevMode ? [undefined, { debugName: "data" }] : []));
867
+ yAxis = input(...(ngDevMode ? [undefined, { debugName: "yAxis" }] : []));
868
+ drawWeb = input(...(ngDevMode ? [undefined, { debugName: "drawWeb" }] : []));
869
+ webLineWidth = input(...(ngDevMode ? [undefined, { debugName: "webLineWidth" }] : []));
870
+ webLineWidthInner = input(...(ngDevMode ? [undefined, { debugName: "webLineWidthInner" }] : []));
871
+ webAlpha = input(...(ngDevMode ? [undefined, { debugName: "webAlpha" }] : []));
872
+ webColor = input(...(ngDevMode ? [undefined, { debugName: "webColor" }] : []));
873
+ webColorInner = input(...(ngDevMode ? [undefined, { debugName: "webColorInner" }] : []));
874
+ skipWebLineCount = input(...(ngDevMode ? [undefined, { debugName: "skipWebLineCount" }] : []));
875
+ constructor(elRef) {
876
+ super(elRef);
877
+ effect(() => {
878
+ const value = this.data();
879
+ if (this.initialized && value !== undefined) {
880
+ this.chart.data = value;
881
+ }
882
+ });
883
+ effect(() => {
884
+ const value = this.yAxis();
885
+ if (this.initialized && value !== undefined) {
886
+ this.chart.yAxis = value;
887
+ }
888
+ });
889
+ effect(() => {
890
+ const value = this.drawWeb();
891
+ if (this.initialized && value !== undefined) {
892
+ this.chart.drawWeb = value;
893
+ }
894
+ });
895
+ effect(() => {
896
+ const value = this.webLineWidth();
897
+ if (this.initialized && value !== undefined) {
898
+ this.chart.webLineWidth = value;
899
+ }
900
+ });
901
+ effect(() => {
902
+ const value = this.webLineWidthInner();
903
+ if (this.initialized && value !== undefined) {
904
+ this.chart.webLineWidthInner = value;
905
+ }
906
+ });
907
+ effect(() => {
908
+ const value = this.webAlpha();
909
+ if (this.initialized && value !== undefined) {
910
+ this.chart.webAlpha = value;
911
+ }
912
+ });
913
+ effect(() => {
914
+ const value = this.webColor();
915
+ if (this.initialized && value !== undefined) {
916
+ this.chart.webColor = value;
917
+ }
918
+ });
919
+ effect(() => {
920
+ const value = this.webColorInner();
921
+ if (this.initialized && value !== undefined) {
922
+ this.chart.webColorInner = value;
923
+ }
924
+ });
925
+ effect(() => {
926
+ const value = this.skipWebLineCount();
927
+ if (this.initialized && value !== undefined) {
928
+ this.chart.skipWebLineCount = value;
929
+ }
930
+ });
931
+ }
932
+ applyInitialProperties() {
933
+ super.applyInitialProperties();
934
+ if (!this.chart)
935
+ return;
936
+ const data = this.data();
937
+ if (data)
938
+ this.chart.data = data;
939
+ const yAxis = this.yAxis();
940
+ if (yAxis)
941
+ this.chart.yAxis = yAxis;
942
+ const drawWeb = this.drawWeb();
943
+ if (drawWeb !== undefined)
944
+ this.chart.drawWeb = drawWeb;
945
+ const webLineWidth = this.webLineWidth();
946
+ if (webLineWidth !== undefined)
947
+ this.chart.webLineWidth = webLineWidth;
948
+ const webLineWidthInner = this.webLineWidthInner();
949
+ if (webLineWidthInner !== undefined)
950
+ this.chart.webLineWidthInner = webLineWidthInner;
951
+ const webAlpha = this.webAlpha();
952
+ if (webAlpha !== undefined)
953
+ this.chart.webAlpha = webAlpha;
954
+ const webColor = this.webColor();
955
+ if (webColor)
956
+ this.chart.webColor = webColor;
957
+ const webColorInner = this.webColorInner();
958
+ if (webColorInner)
959
+ this.chart.webColorInner = webColorInner;
960
+ const skipWebLineCount = this.skipWebLineCount();
961
+ if (skipWebLineCount !== undefined)
962
+ this.chart.skipWebLineCount = skipWebLineCount;
963
+ }
964
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: RadarChartDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
965
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.0.9", type: RadarChartDirective, isStandalone: true, selector: "RadarChart", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null }, yAxis: { classPropertyName: "yAxis", publicName: "yAxis", isSignal: true, isRequired: false, transformFunction: null }, drawWeb: { classPropertyName: "drawWeb", publicName: "drawWeb", isSignal: true, isRequired: false, transformFunction: null }, webLineWidth: { classPropertyName: "webLineWidth", publicName: "webLineWidth", isSignal: true, isRequired: false, transformFunction: null }, webLineWidthInner: { classPropertyName: "webLineWidthInner", publicName: "webLineWidthInner", isSignal: true, isRequired: false, transformFunction: null }, webAlpha: { classPropertyName: "webAlpha", publicName: "webAlpha", isSignal: true, isRequired: false, transformFunction: null }, webColor: { classPropertyName: "webColor", publicName: "webColor", isSignal: true, isRequired: false, transformFunction: null }, webColorInner: { classPropertyName: "webColorInner", publicName: "webColorInner", isSignal: true, isRequired: false, transformFunction: null }, skipWebLineCount: { classPropertyName: "skipWebLineCount", publicName: "skipWebLineCount", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
966
+ }
967
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: RadarChartDirective, decorators: [{
968
+ type: Directive,
969
+ args: [{
970
+ selector: 'RadarChart',
971
+ standalone: true,
972
+ }]
973
+ }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: false }] }], yAxis: [{ type: i0.Input, args: [{ isSignal: true, alias: "yAxis", required: false }] }], drawWeb: [{ type: i0.Input, args: [{ isSignal: true, alias: "drawWeb", required: false }] }], webLineWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "webLineWidth", required: false }] }], webLineWidthInner: [{ type: i0.Input, args: [{ isSignal: true, alias: "webLineWidthInner", required: false }] }], webAlpha: [{ type: i0.Input, args: [{ isSignal: true, alias: "webAlpha", required: false }] }], webColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "webColor", required: false }] }], webColorInner: [{ type: i0.Input, args: [{ isSignal: true, alias: "webColorInner", required: false }] }], skipWebLineCount: [{ type: i0.Input, args: [{ isSignal: true, alias: "skipWebLineCount", required: false }] }] } });
974
+ // ============================================================================
975
+ // Combined Chart Directive
976
+ // ============================================================================
977
+ class CombinedChartDirective extends BarLineChartBaseDirective {
978
+ data = input(...(ngDevMode ? [undefined, { debugName: "data" }] : []));
979
+ constructor(elRef) {
980
+ super(elRef);
981
+ effect(() => {
982
+ const value = this.data();
983
+ if (this.initialized && value !== undefined) {
984
+ this.chart.data = value;
985
+ }
986
+ });
987
+ }
988
+ applyInitialProperties() {
989
+ super.applyInitialProperties();
990
+ const data = this.data();
991
+ if (data && this.chart) {
992
+ this.chart.data = data;
993
+ }
994
+ }
995
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: CombinedChartDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
996
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.0.9", type: CombinedChartDirective, isStandalone: true, selector: "CombinedChart", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
997
+ }
998
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: CombinedChartDirective, decorators: [{
999
+ type: Directive,
1000
+ args: [{
1001
+ selector: 'CombinedChart',
1002
+ standalone: true,
1003
+ }]
1004
+ }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: false }] }] } });
1005
+
1006
+ /**
1007
+ * Register custom NativeScript chart views for Angular
1008
+ * This file should be imported in main.ts to register all custom elements
1009
+ */
1010
+ // Register chart views
1011
+ function registerNchartsElements() {
1012
+ registerElement('LineChart', () => LineChart);
1013
+ registerElement('BarChart', () => BarChart);
1014
+ registerElement('HorizontalBarChart', () => HorizontalBarChart);
1015
+ registerElement('PieChart', () => PieChart);
1016
+ registerElement('ScatterChart', () => ScatterChart);
1017
+ registerElement('BubbleChart', () => BubbleChart);
1018
+ registerElement('CandleStickChart', () => CandleStickChart);
1019
+ registerElement('RadarChart', () => RadarChart);
1020
+ registerElement('CombinedChart', () => CombinedChart);
1021
+ }
1022
+
1023
+ /**
1024
+ * @nstudio/ncharts Angular Module
1025
+ *
1026
+ * Provides NgModule for registering chart elements and utilities
1027
+ */
1028
+ // All chart directives for easy importing
1029
+ const NCHARTS_DIRECTIVES = [LineChartDirective, BarChartDirective, HorizontalBarChartDirective, PieChartDirective, ScatterChartDirective, BubbleChartDirective, CandleStickChartDirective, RadarChartDirective, CombinedChartDirective];
1030
+ /**
1031
+ * NativeScript NCharts Module (optional - directives are standalone)
1032
+ */
1033
+ class NativeScriptNchartsModule {
1034
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: NativeScriptNchartsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1035
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.9", ngImport: i0, type: NativeScriptNchartsModule, imports: [LineChartDirective, BarChartDirective, HorizontalBarChartDirective, PieChartDirective, ScatterChartDirective, BubbleChartDirective, CandleStickChartDirective, RadarChartDirective, CombinedChartDirective], exports: [LineChartDirective, BarChartDirective, HorizontalBarChartDirective, PieChartDirective, ScatterChartDirective, BubbleChartDirective, CandleStickChartDirective, RadarChartDirective, CombinedChartDirective] });
1036
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: NativeScriptNchartsModule });
1037
+ }
1038
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: NativeScriptNchartsModule, decorators: [{
1039
+ type: NgModule,
1040
+ args: [{
1041
+ imports: [...NCHARTS_DIRECTIVES],
1042
+ exports: [...NCHARTS_DIRECTIVES],
1043
+ schemas: [NO_ERRORS_SCHEMA],
1044
+ }]
1045
+ }] });
1046
+
1047
+ /**
1048
+ * @nstudio/ncharts/angular
1049
+ *
1050
+ * Angular integration for NativeScript Charts
1051
+ * Provides standalone Angular components for all chart types
1052
+ */
1053
+
1054
+ /**
1055
+ * Generated bundle index. Do not edit.
1056
+ */
1057
+
1058
+ export { BarChartDirective, BarLineChartBaseDirective, BubbleChartDirective, CandleStickChartDirective, ChartBaseDirective, CombinedChartDirective, HorizontalBarChartDirective, LineChartDirective, NCHARTS_DIRECTIVES, NativeScriptNchartsModule, PieChartDirective, PieRadarChartBaseDirective, RadarChartDirective, ScatterChartDirective, registerNchartsElements };
1059
+ //# sourceMappingURL=nstudio-ncharts-angular.mjs.map