@carbon/charts 1.16.3 → 1.16.5
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/CHANGELOG.md +22 -0
- package/dist/{_baseEach-DHzZsRNB.mjs → _baseEach-Bp7pBkX8.mjs} +2 -2
- package/dist/{_baseEach-DHzZsRNB.mjs.map → _baseEach-Bp7pBkX8.mjs.map} +1 -1
- package/dist/{angle-utils-D8sXyiIj.mjs → angle-utils-BCx3SRS2.mjs} +2 -2
- package/dist/{angle-utils-D8sXyiIj.mjs.map → angle-utils-BCx3SRS2.mjs.map} +1 -1
- package/dist/chart.d.ts +5 -0
- package/dist/charts/alluvial.d.ts +5 -0
- package/dist/charts/area-stacked.d.ts +5 -0
- package/dist/charts/area.d.ts +5 -0
- package/dist/charts/bar-grouped.d.ts +5 -0
- package/dist/charts/bar-simple.d.ts +5 -0
- package/dist/charts/bar-stacked.d.ts +5 -0
- package/dist/charts/boxplot.d.ts +5 -0
- package/dist/charts/bubble.d.ts +5 -0
- package/dist/charts/bullet.d.ts +5 -0
- package/dist/charts/choropleth.d.ts +6 -1
- package/dist/charts/circle-pack.d.ts +5 -0
- package/dist/charts/combo.d.ts +5 -0
- package/dist/charts/donut.d.ts +5 -0
- package/dist/charts/gauge.d.ts +5 -0
- package/dist/charts/heatmap.d.ts +5 -0
- package/dist/charts/histogram.d.ts +5 -0
- package/dist/charts/index.d.ts +3 -3
- package/dist/charts/line.d.ts +5 -0
- package/dist/charts/lollipop.d.ts +5 -0
- package/dist/charts/meter.d.ts +5 -0
- package/dist/charts/pie.d.ts +5 -0
- package/dist/charts/radar.d.ts +5 -0
- package/dist/charts/scatter.d.ts +5 -0
- package/dist/charts/tree.d.ts +5 -0
- package/dist/charts/treemap.d.ts +5 -0
- package/dist/charts/wordcloud.d.ts +8 -2
- package/dist/{choropleth-ChNZz853.mjs → choropleth-B7eXF9sA.mjs} +60 -112
- package/dist/choropleth-B7eXF9sA.mjs.map +1 -0
- package/dist/{color-scale-utils-C93P4hee.mjs → color-scale-utils-BaTmNvWt.mjs} +7 -12
- package/dist/color-scale-utils-BaTmNvWt.mjs.map +1 -0
- package/dist/components/essentials/title-meter.d.ts +0 -1
- package/dist/components/index.mjs +1 -1
- package/dist/configuration.d.ts +2 -2
- package/dist/demo/charts/choropleth.d.ts +0 -2
- package/dist/demo/index.mjs +38 -44
- package/dist/demo/index.mjs.map +1 -1
- package/dist/demo/styles.css +43 -2
- package/dist/demo/styles.css.map +1 -1
- package/dist/index.d.ts +10 -2
- package/dist/index.mjs +139 -8
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.d.ts +5 -1
- package/dist/interfaces/charts.d.ts +3 -2
- package/dist/interfaces/index.d.ts +5 -1
- package/dist/interfaces/layout.d.ts +28 -3
- package/dist/interfaces/services.d.ts +39 -0
- package/dist/model/cartesian-charts.d.ts +7 -1
- package/dist/model/circle-pack.d.ts +6 -5
- package/dist/model/heatmap.d.ts +7 -1
- package/dist/model/index.mjs +1 -1
- package/dist/model/model.d.ts +15 -3
- package/dist/model/tree.d.ts +9 -2
- package/dist/services/index.mjs +3 -3
- package/dist/umd/bundle.umd.js +14 -14
- package/dist/umd/bundle.umd.js.map +1 -1
- package/dist/{wordcloud-KxSjz0Gg.mjs → wordcloud-BsEQRUwL.mjs} +50 -18
- package/dist/wordcloud-BsEQRUwL.mjs.map +1 -0
- package/dist/{zoom-B7KfNcH9.mjs → zoom-E2POxw6n.mjs} +8 -13
- package/dist/{zoom-B7KfNcH9.mjs.map → zoom-E2POxw6n.mjs.map} +1 -1
- package/package.json +9 -9
- package/dist/choropleth-ChNZz853.mjs.map +0 -1
- package/dist/color-scale-utils-C93P4hee.mjs.map +0 -1
- package/dist/wordcloud-KxSjz0Gg.mjs.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -4,8 +4,16 @@ import * as interfaces_1 from './interfaces';
|
|
|
4
4
|
export { interfaces_1 as interfaces };
|
|
5
5
|
export { AxisChart } from './axis-chart';
|
|
6
6
|
export { Chart } from './chart';
|
|
7
|
-
export { AlluvialChart, AreaChart, BoxplotChart, BubbleChart, BulletChart, Charts,
|
|
8
|
-
|
|
7
|
+
export { AlluvialChart, AreaChart, BoxplotChart, BubbleChart, BulletChart, Charts,
|
|
8
|
+
/**
|
|
9
|
+
* @deprecated Use `ChoroplethChart` instead.
|
|
10
|
+
*/
|
|
11
|
+
ChoroplethChart as ExperimentalChoroplethChart, ChoroplethChart, CirclePackChart, ComboChart, DonutChart, GaugeChart, GroupedBarChart, HeatmapChart, HistogramChart, LineChart, LollipopChart, MeterChart, PieChart, RadarChart, ScatterChart, SimpleBarChart, StackedAreaChart, StackedBarChart, TreeChart, TreemapChart, WordCloudChart } from './charts';
|
|
12
|
+
export { ChartConfig, ChartData, ChartOptions, ChartTabularData, DataSet, LayoutConfigs, AlluvialChartOptions, AreaChartOptions, AxisChartOptions, BarChartOptions, BaseChartOptions, BinnedAxisChartOptions, BoxplotChartOptions, BubbleChartOptions, BulletChartOptions, ChoroplethChartOptions, CirclePackChartOptions, ComboChartOptions, DonutChartOptions, GaugeChartOptions, HeatmapChartOptions, HistogramChartOptions, LineChartOptions, LollipopChartOptions, MeterChartOptions, PieChartOptions, ProportionalMeterChartOptions, RadarChartOptions, ScatterChartOptions, StackedAreaChartOptions, StackedBarChartOptions, ThematicChartOptions, TreeChartOptions, TreemapChartOptions, WordCloudChartOptions,
|
|
13
|
+
/**
|
|
14
|
+
* @deprecated Use `WordCloudChartOptions` instead.
|
|
15
|
+
*/
|
|
16
|
+
WordCloudChartOptions as WorldCloudChartOptions, AxesOptions, AxisOptions, BarOptions, BasedAxisOptions, BinnedAxisOptions, ComboChartAxisOptions, GridOptions, LegendOptions, Locale, LocaleTimeScaleOptions, RulerOptions, StackedBarOptions, TimeScaleOptions, ThresholdOptions, ToolbarOptions, TooltipOptions, TruncationOptions, WordCloudChartTooltipOptions, ZoomBarOptions, ZoomBarsOptions, TabularRepCustomizationOptions, TickFormats, TimeIntervalFormats, TimeIntervalNames, Coordinates, LegendItem, LayoutComponentChild, Services, ToolbarControl } from './interfaces';
|
|
9
17
|
export { Alignments, AreaEvent, ArrowDirections, AxisEvent, AxisFlavor, AxisPositions, AxisTitleOrientations, BarEvent, BoxplotEvent, CalloutDirections, CanvasZoomEvent, CartesianOrientations, ChartEvent, ChartTheme, ChartTypes, ColorClassNameTypes, ColorLegendType, DividerStatus, DominantBaseline, GaugeEvent, GaugeTypes, LayoutAlignItems, LayoutDirection, LayoutGrowth, LegendItemType, LegendOrientations, LegendPositions, LineEvent, ModalEvent, ModelEvent, PieEvent, Projection, RadarEvent, RenderTypes, ScaleTypes, ScatterEvent, Skeletons, Statuses, TextAnchor, ThresholdEvent, TickRotations, ToolbarControlTypes, TooltipEvent, TruncationTypes, TreeEvent, TreemapEvent, TreeTypes, WordCloudEvent, ZoombarEvent, ZoomDomainEvent, ZoomBarTypes } from './interfaces';
|
|
10
18
|
export { alluvial, area, axis, baseTooltip, boxplot, canvasZoomSettings, carbonPrefix, circlePack, color, defaultLegendAdditionalItems, grid, histogram, legend, lines, meter, options, pie, radar, ruler, spacers, timeScale, tooltips, transitions, toolbar, zoomBar } from './configuration';
|
|
11
19
|
export { Axis, BinnedRuler, ChartClip, ChartBrush, GenericSvgSelection, Grid, HoverAxis, Ruler, StackedRuler, Toolbar, TwoDimensionalAxes, ZeroLine, ZoomBar, arrowLeft, arrowRight, buildBezierPathString, buildElbowPathString, buildStraightPathString, circle, diamond, square, tee, AxisChartsTooltip, CanvasChartClip, ColorScaleLegend, GeoProjection, Highlight, Legend, MeterTitle, Modal, Threshold, Title, Tooltip, Alluvial, Area, Bar, Boxplot, Bubble, Bullet, Choropleth, CirclePack, Donut, Gauge, GroupedBar, Heatmap, Histogram, Line, Lollipop, Meter, Pie, Radar, Scatter, SimpleBar, Skeleton, SkeletonLines, StackedArea, StackedBar, StackedScatter, Tree, Treemap, WordCloud, LayoutComponent, Spacer, Component } from './components';
|
package/dist/index.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { B as Y, m as l, C as a, D as r, t as J, x as V } from "./color-scale-utils-
|
|
2
|
-
import { T as yt, F as Dt, G as Lt, H as Ft, I as Pt, J as Mt, K as kt, n as Bt, L as It, y as Ht, c as Gt, E as Vt, M as Ut, f as Nt, b as Zt, g as _t, a as zt, d as Wt, N as jt, u as $t, i as Kt, s as Jt, O as Xt, P as qt, Q as Qt, R as Yt, S as eo, U as so, V as to, Y as oo, W as no, X as io, Z as ro } from "./color-scale-utils-
|
|
1
|
+
import { B as Y, m as l, C as a, D as r, t as J, x as V } from "./color-scale-utils-BaTmNvWt.mjs";
|
|
2
|
+
import { T as yt, F as Dt, G as Lt, H as Ft, I as Pt, J as Mt, K as kt, n as Bt, L as It, y as Ht, c as Gt, E as Vt, M as Ut, f as Nt, b as Zt, g as _t, a as zt, d as Wt, N as jt, u as $t, i as Kt, s as Jt, O as Xt, P as qt, Q as Qt, R as Yt, S as eo, U as so, V as to, Y as oo, W as no, X as io, Z as ro } from "./color-scale-utils-BaTmNvWt.mjs";
|
|
3
3
|
import { i as ho } from "./index-zSuueE1Q.mjs";
|
|
4
|
-
import { C as Re, c as Te, A as be, B as Oe, a as Se, d as fe, e as Ae, P as xe, G as ye, H as De, b as Le, M as Fe, R as Pe, T as Me, f as ke, W as Be } from "./wordcloud-
|
|
4
|
+
import { C as Re, c as Te, A as be, B as Oe, a as Se, d as fe, e as Ae, P as xe, G as ye, H as De, b as Le, M as Fe, R as Pe, T as Me, f as ke, W as Be } from "./wordcloud-BsEQRUwL.mjs";
|
|
5
5
|
import { _ as j, r as i, q as h, L as Z, y as A, t as U, e as $, S as Ie, u as K, F as p, l as R } from "./enums-DwsxZqjR.mjs";
|
|
6
6
|
import { A as mo, a as lo, b as po, c as Co, d as uo, f as vo, B as go, g as wo, C as Eo, h as Ro, i as To, j as bo, k as Oo, m as So, n as fo, D as Ao, o as xo, G as yo, p as Do, s as Lo, v as Fo, M as Po, w as Mo, P as ko, x as Bo, R as Io, z as Ho, H as Go, T as Vo, I as Uo, J as No, K as Zo, N as _o, O as zo, Q as Wo, U as jo, V as $o, W as Ko, Z as Jo, X as Xo, Y as qo } from "./enums-DwsxZqjR.mjs";
|
|
7
|
-
import { a9 as He, L as ee, l as Ge, r as _, T as z, a6 as g, a7 as L, u as se, p as W, C as Ve, a as Ue, q as Ne, o as Ze, c as _e, k as te, v as ze, b as d, G as w, R as B, P as k, w as oe, X as M, _ as C, y as We, Z as I, z as je, D as $e, m as ne, E as Ke, F as Je, a0 as ie, a2 as re, S as N, Y as ae, K as he, a1 as ce, V as Xe, I as qe, J as Qe, N as Ye, B as es, O as ss, $ as ts, Q as os, M as ns, U as is, W as rs, a3 as as, a4 as hs, a5 as cs } from "./choropleth-
|
|
8
|
-
import { A as Yo, x as en, a8 as sn, n as tn, H as on, d as nn, e as rn, f as an, g as hn, h as cn, i as mn, j as ln, s as pn, t as dn } from "./choropleth-
|
|
9
|
-
import { c as ms, C as ls, E as ps, F as ds, T as Cs, b as us, a as vs, Z as gs, f as ws } from "./zoom-
|
|
10
|
-
import { D as Es, G as Rs } from "./angle-utils-
|
|
11
|
-
import { S as un, d as vn, a as gn, p as wn, b as En, r as Rn } from "./angle-utils-
|
|
7
|
+
import { a9 as He, L as ee, l as Ge, r as _, T as z, a6 as g, a7 as L, u as se, p as W, C as Ve, a as Ue, q as Ne, o as Ze, c as _e, k as te, v as ze, b as d, G as w, R as B, P as k, w as oe, X as M, _ as C, y as We, Z as I, z as je, D as $e, m as ne, E as Ke, F as Je, a0 as ie, a2 as re, S as N, Y as ae, K as he, a1 as ce, V as Xe, I as qe, J as Qe, N as Ye, B as es, O as ss, $ as ts, Q as os, M as ns, U as is, W as rs, a3 as as, a4 as hs, a5 as cs } from "./choropleth-B7eXF9sA.mjs";
|
|
8
|
+
import { A as Yo, x as en, a8 as sn, n as tn, H as on, d as nn, e as rn, f as an, g as hn, h as cn, i as mn, j as ln, s as pn, t as dn } from "./choropleth-B7eXF9sA.mjs";
|
|
9
|
+
import { c as ms, C as ls, E as ps, F as ds, T as Cs, b as us, a as vs, Z as gs, f as ws } from "./zoom-E2POxw6n.mjs";
|
|
10
|
+
import { D as Es, G as Rs } from "./angle-utils-BCx3SRS2.mjs";
|
|
11
|
+
import { S as un, d as vn, a as gn, p as wn, b as En, r as Rn } from "./angle-utils-BCx3SRS2.mjs";
|
|
12
12
|
function Ts(t, s, e) {
|
|
13
13
|
var n = t.length;
|
|
14
14
|
return e = e === void 0 ? n : e, !s && e >= n ? t : ms(t, s, e);
|
|
@@ -67,6 +67,11 @@ class T {
|
|
|
67
67
|
this.update(!1);
|
|
68
68
|
}), this.components = this.getComponents(), this.update();
|
|
69
69
|
}
|
|
70
|
+
/**
|
|
71
|
+
* Retrieves the components to be rendered inside the graph frame.
|
|
72
|
+
*
|
|
73
|
+
* @returns {Component[]} An array of components to be rendered.
|
|
74
|
+
*/
|
|
70
75
|
getComponents() {
|
|
71
76
|
return console.error("getComponents() method is not implemented"), [];
|
|
72
77
|
}
|
|
@@ -278,6 +283,11 @@ class tt extends T {
|
|
|
278
283
|
constructor(s, e) {
|
|
279
284
|
super(s, e), this.model = new be(this.services), this.model.setOptions(a(r.alluvialChart, e.options)), this.init(s, e);
|
|
280
285
|
}
|
|
286
|
+
/**
|
|
287
|
+
* Retrieves the components to be rendered inside the graph frame.
|
|
288
|
+
*
|
|
289
|
+
* @returns {Component[]} An array of components to be rendered.
|
|
290
|
+
*/
|
|
281
291
|
getComponents() {
|
|
282
292
|
const s = [new ze(this.model, this.services)];
|
|
283
293
|
return this.getChartComponents(s, {
|
|
@@ -291,6 +301,11 @@ class ot extends u {
|
|
|
291
301
|
a(J(r.areaChart), e.options)
|
|
292
302
|
), this.init(s, e);
|
|
293
303
|
}
|
|
304
|
+
/**
|
|
305
|
+
* Retrieves the components to be rendered inside the graph frame.
|
|
306
|
+
*
|
|
307
|
+
* @returns {Component[]} An array of components to be rendered.
|
|
308
|
+
*/
|
|
294
309
|
getComponents() {
|
|
295
310
|
const s = [
|
|
296
311
|
new d(this.model, this.services),
|
|
@@ -313,6 +328,11 @@ class nt extends u {
|
|
|
313
328
|
constructor(s, e) {
|
|
314
329
|
super(s, e), this.model = new Oe(this.services), this.model.setOptions(a(r.boxplotChart, e.options)), this.init(s, e);
|
|
315
330
|
}
|
|
331
|
+
/**
|
|
332
|
+
* Retrieves the components to be rendered inside the graph frame.
|
|
333
|
+
*
|
|
334
|
+
* @returns {Component[]} An array of components to be rendered.
|
|
335
|
+
*/
|
|
316
336
|
getComponents() {
|
|
317
337
|
const s = [
|
|
318
338
|
new d(this.model, this.services),
|
|
@@ -334,6 +354,11 @@ class it extends u {
|
|
|
334
354
|
constructor(s, e) {
|
|
335
355
|
super(s, e), this.model.setOptions(a(r.bubbleChart, e.options)), this.init(s, e);
|
|
336
356
|
}
|
|
357
|
+
/**
|
|
358
|
+
* Retrieves the components to be rendered inside the graph frame.
|
|
359
|
+
*
|
|
360
|
+
* @returns {Component[]} An array of components to be rendered.
|
|
361
|
+
*/
|
|
337
362
|
getComponents() {
|
|
338
363
|
const s = [
|
|
339
364
|
new d(this.model, this.services),
|
|
@@ -351,6 +376,11 @@ class rt extends u {
|
|
|
351
376
|
constructor(s, e) {
|
|
352
377
|
super(s, e), this.model = new Se(this.services), this.model.setOptions(a(r.bulletChart, e.options)), this.init(s, e);
|
|
353
378
|
}
|
|
379
|
+
/**
|
|
380
|
+
* Retrieves the components to be rendered inside the graph frame.
|
|
381
|
+
*
|
|
382
|
+
* @returns {Component[]} An array of components to be rendered.
|
|
383
|
+
*/
|
|
354
384
|
getComponents() {
|
|
355
385
|
const s = [
|
|
356
386
|
new d(this.model, this.services),
|
|
@@ -453,6 +483,11 @@ class at extends T {
|
|
|
453
483
|
})
|
|
454
484
|
];
|
|
455
485
|
}
|
|
486
|
+
/**
|
|
487
|
+
* Retrieves the components to be rendered inside the graph frame.
|
|
488
|
+
*
|
|
489
|
+
* @returns {Component[]} An array of components to be rendered.
|
|
490
|
+
*/
|
|
456
491
|
getComponents() {
|
|
457
492
|
const s = [new Ke(this.model, this.services)];
|
|
458
493
|
return this.getChartComponents(s);
|
|
@@ -462,6 +497,11 @@ class ht extends T {
|
|
|
462
497
|
constructor(s, e) {
|
|
463
498
|
super(s, e), this.model = new Ae(this.services), this.model.setOptions(a(r.circlePackChart, e.options)), this.init(s, e);
|
|
464
499
|
}
|
|
500
|
+
/**
|
|
501
|
+
* Retrieves the components to be rendered inside the graph frame.
|
|
502
|
+
*
|
|
503
|
+
* @returns {Component[]} An array of components to be rendered.
|
|
504
|
+
*/
|
|
465
505
|
getComponents() {
|
|
466
506
|
const s = [new Je(this.model, this.services)];
|
|
467
507
|
return this.getChartComponents(s);
|
|
@@ -512,6 +552,11 @@ class ct extends u {
|
|
|
512
552
|
}).filter((o) => o !== null);
|
|
513
553
|
return ws(n);
|
|
514
554
|
}
|
|
555
|
+
/**
|
|
556
|
+
* Retrieves the components to be rendered inside the graph frame.
|
|
557
|
+
*
|
|
558
|
+
* @returns {Component[]} An array of components to be rendered.
|
|
559
|
+
*/
|
|
515
560
|
getComponents() {
|
|
516
561
|
const { comboChartTypes: s } = this.model.getOptions(), e = s.some(
|
|
517
562
|
(c) => c.type === R.STACKED_BAR || c.type === R.STACKED_AREA
|
|
@@ -532,6 +577,11 @@ class Js extends T {
|
|
|
532
577
|
constructor(s, e, n = !1) {
|
|
533
578
|
super(s, e), this.model = new xe(this.services), !n && (this.model.setOptions(a(r.pieChart, e.options)), this.init(s, e));
|
|
534
579
|
}
|
|
580
|
+
/**
|
|
581
|
+
* Retrieves the components to be rendered inside the graph frame.
|
|
582
|
+
*
|
|
583
|
+
* @returns {Component[]} An array of components to be rendered.
|
|
584
|
+
*/
|
|
535
585
|
getComponents() {
|
|
536
586
|
const s = [
|
|
537
587
|
new Xe(this.model, this.services),
|
|
@@ -546,6 +596,11 @@ class mt extends Js {
|
|
|
546
596
|
constructor(s, e) {
|
|
547
597
|
super(s, e, !0), this.model.setOptions(a(r.donutChart, e.options)), this.init(s, e);
|
|
548
598
|
}
|
|
599
|
+
/**
|
|
600
|
+
* Retrieves the components to be rendered inside the graph frame.
|
|
601
|
+
*
|
|
602
|
+
* @returns {Component[]} An array of components to be rendered.
|
|
603
|
+
*/
|
|
549
604
|
getComponents() {
|
|
550
605
|
const s = [
|
|
551
606
|
new qe(this.model, this.services),
|
|
@@ -560,6 +615,11 @@ class lt extends T {
|
|
|
560
615
|
constructor(s, e) {
|
|
561
616
|
super(s, e), this.model = new ye(this.services), this.model.setOptions(a(r.gaugeChart, e.options)), this.init(s, e);
|
|
562
617
|
}
|
|
618
|
+
/**
|
|
619
|
+
* Retrieves the components to be rendered inside the graph frame.
|
|
620
|
+
*
|
|
621
|
+
* @returns {Component[]} An array of components to be rendered.
|
|
622
|
+
*/
|
|
563
623
|
getComponents() {
|
|
564
624
|
const s = [new Qe(this.model, this.services)];
|
|
565
625
|
return this.getChartComponents(s);
|
|
@@ -569,6 +629,11 @@ class pt extends u {
|
|
|
569
629
|
constructor(s, e) {
|
|
570
630
|
super(s, e), this.model.setOptions(a(r.groupedBarChart, e.options)), this.init(s, e);
|
|
571
631
|
}
|
|
632
|
+
/**
|
|
633
|
+
* Retrieves the components to be rendered inside the graph frame.
|
|
634
|
+
*
|
|
635
|
+
* @returns {Component[]} An array of components to be rendered.
|
|
636
|
+
*/
|
|
572
637
|
getComponents() {
|
|
573
638
|
const s = [
|
|
574
639
|
new d(this.model, this.services),
|
|
@@ -674,6 +739,11 @@ class dt extends u {
|
|
|
674
739
|
})
|
|
675
740
|
];
|
|
676
741
|
}
|
|
742
|
+
/**
|
|
743
|
+
* Retrieves the components to be rendered inside the graph frame.
|
|
744
|
+
*
|
|
745
|
+
* @returns {Component[]} An array of components to be rendered.
|
|
746
|
+
*/
|
|
677
747
|
getComponents() {
|
|
678
748
|
const s = [
|
|
679
749
|
new d(this.model, this.services),
|
|
@@ -686,6 +756,11 @@ class Ct extends u {
|
|
|
686
756
|
constructor(s, e) {
|
|
687
757
|
super(s, e), this.model = new Le(this.services), this.model.setOptions(a(r.histogramChart, e.options)), this.init(s, e), this.update();
|
|
688
758
|
}
|
|
759
|
+
/**
|
|
760
|
+
* Retrieves the components to be rendered inside the graph frame.
|
|
761
|
+
*
|
|
762
|
+
* @returns {Component[]} An array of components to be rendered.
|
|
763
|
+
*/
|
|
689
764
|
getComponents() {
|
|
690
765
|
const s = [
|
|
691
766
|
new d(this.model, this.services),
|
|
@@ -700,6 +775,11 @@ class ut extends u {
|
|
|
700
775
|
constructor(s, e) {
|
|
701
776
|
super(s, e), this.model.setOptions(a(r.lineChart, e.options)), this.init(s, e);
|
|
702
777
|
}
|
|
778
|
+
/**
|
|
779
|
+
* Retrieves the components to be rendered inside the graph frame.
|
|
780
|
+
*
|
|
781
|
+
* @returns {Component[]} An array of components to be rendered.
|
|
782
|
+
*/
|
|
703
783
|
getComponents() {
|
|
704
784
|
const s = [
|
|
705
785
|
new d(this.model, this.services),
|
|
@@ -717,6 +797,11 @@ class vt extends u {
|
|
|
717
797
|
constructor(s, e) {
|
|
718
798
|
super(s, e), this.model.setOptions(a(r.lollipopChart, e.options)), this.init(s, e);
|
|
719
799
|
}
|
|
800
|
+
/**
|
|
801
|
+
* Retrieves the components to be rendered inside the graph frame.
|
|
802
|
+
*
|
|
803
|
+
* @returns {Component[]} An array of components to be rendered.
|
|
804
|
+
*/
|
|
720
805
|
getComponents() {
|
|
721
806
|
const s = [
|
|
722
807
|
new d(this.model, this.services),
|
|
@@ -738,6 +823,11 @@ class gt extends T {
|
|
|
738
823
|
const n = (o = e.options.meter) != null && o.proportional ? V(J(r.proportionalMeterChart), e.options) : V(J(r.meterChart), e.options);
|
|
739
824
|
this.model.setOptions(n), this.init(s, e);
|
|
740
825
|
}
|
|
826
|
+
/**
|
|
827
|
+
* Retrieves the components to be rendered inside the graph frame.
|
|
828
|
+
*
|
|
829
|
+
* @returns {Component[]} An array of components to be rendered.
|
|
830
|
+
*/
|
|
741
831
|
getComponents() {
|
|
742
832
|
const e = [
|
|
743
833
|
...l(this.model.getOptions(), "meter", "showLabels") ? [
|
|
@@ -780,6 +870,11 @@ class wt extends T {
|
|
|
780
870
|
constructor(s, e) {
|
|
781
871
|
super(s, e), this.model = new Pe(this.services), this.model.setOptions(a(r.radarChart, e.options)), this.init(s, e);
|
|
782
872
|
}
|
|
873
|
+
/**
|
|
874
|
+
* Retrieves the components to be rendered inside the graph frame.
|
|
875
|
+
*
|
|
876
|
+
* @returns {Component[]} An array of components to be rendered.
|
|
877
|
+
*/
|
|
783
878
|
getComponents() {
|
|
784
879
|
const s = [new rs(this.model, this.services)];
|
|
785
880
|
return this.getChartComponents(s);
|
|
@@ -789,6 +884,11 @@ class Et extends u {
|
|
|
789
884
|
constructor(s, e) {
|
|
790
885
|
super(s, e), this.model.setOptions(a(r.scatterChart, e.options)), this.init(s, e);
|
|
791
886
|
}
|
|
887
|
+
/**
|
|
888
|
+
* Retrieves the components to be rendered inside the graph frame.
|
|
889
|
+
*
|
|
890
|
+
* @returns {Component[]} An array of components to be rendered.
|
|
891
|
+
*/
|
|
792
892
|
getComponents() {
|
|
793
893
|
const s = [
|
|
794
894
|
new d(this.model, this.services),
|
|
@@ -806,6 +906,11 @@ class Rt extends T {
|
|
|
806
906
|
constructor(s, e) {
|
|
807
907
|
super(s, e), this.model = new Me(this.services), this.model.setOptions(a(r.treeChart, e.options)), this.init(s, e);
|
|
808
908
|
}
|
|
909
|
+
/**
|
|
910
|
+
* Retrieves the components to be rendered inside the graph frame.
|
|
911
|
+
*
|
|
912
|
+
* @returns {Component[]} An array of components to be rendered.
|
|
913
|
+
*/
|
|
809
914
|
getComponents() {
|
|
810
915
|
const s = [new as(this.model, this.services)];
|
|
811
916
|
return this.getChartComponents(s, {
|
|
@@ -817,6 +922,11 @@ class Tt extends T {
|
|
|
817
922
|
constructor(s, e) {
|
|
818
923
|
super(s, e), this.model = new ke(this.services), this.model.setOptions(a(r.treemapChart, e.options)), this.init(s, e);
|
|
819
924
|
}
|
|
925
|
+
/**
|
|
926
|
+
* Retrieves the components to be rendered inside the graph frame.
|
|
927
|
+
*
|
|
928
|
+
* @returns {Component[]} An array of components to be rendered.
|
|
929
|
+
*/
|
|
820
930
|
getComponents() {
|
|
821
931
|
const s = [new hs(this.model, this.services)];
|
|
822
932
|
return this.getChartComponents(s);
|
|
@@ -826,6 +936,11 @@ class bt extends u {
|
|
|
826
936
|
constructor(s, e) {
|
|
827
937
|
super(s, e), this.model.setOptions(a(r.simpleBarChart, e.options)), this.init(s, e);
|
|
828
938
|
}
|
|
939
|
+
/**
|
|
940
|
+
* Retrieves the components to be rendered inside the graph frame.
|
|
941
|
+
*
|
|
942
|
+
* @returns {Component[]} An array of components to be rendered.
|
|
943
|
+
*/
|
|
829
944
|
getComponents() {
|
|
830
945
|
const s = [
|
|
831
946
|
new d(this.model, this.services),
|
|
@@ -843,6 +958,11 @@ class Ot extends u {
|
|
|
843
958
|
constructor(s, e) {
|
|
844
959
|
super(s, e), this.model.setOptions(a(r.stackedAreaChart, e.options)), this.init(s, e);
|
|
845
960
|
}
|
|
961
|
+
/**
|
|
962
|
+
* Retrieves the components to be rendered inside the graph frame.
|
|
963
|
+
*
|
|
964
|
+
* @returns {Component[]} An array of components to be rendered.
|
|
965
|
+
*/
|
|
846
966
|
getComponents() {
|
|
847
967
|
const s = [
|
|
848
968
|
new d(this.model, this.services),
|
|
@@ -866,6 +986,11 @@ class St extends u {
|
|
|
866
986
|
constructor(s, e) {
|
|
867
987
|
super(s, e), this.model.setOptions(a(r.stackedBarChart, e.options)), this.init(s, e);
|
|
868
988
|
}
|
|
989
|
+
/**
|
|
990
|
+
* Retrieves the components to be rendered inside the graph frame.
|
|
991
|
+
*
|
|
992
|
+
* @returns {Component[]} An array of components to be rendered.
|
|
993
|
+
*/
|
|
869
994
|
getComponents() {
|
|
870
995
|
const s = [
|
|
871
996
|
new d(this.model, this.services),
|
|
@@ -884,6 +1009,11 @@ class ft extends T {
|
|
|
884
1009
|
constructor(s, e) {
|
|
885
1010
|
super(s, e), this.model = new Be(this.services), this.model.setOptions(a(r.wordCloudChart, e.options)), this.init(s, e);
|
|
886
1011
|
}
|
|
1012
|
+
/**
|
|
1013
|
+
* Retrieves the components to be rendered inside the graph frame.
|
|
1014
|
+
*
|
|
1015
|
+
* @returns {Component[]} An array of components to be rendered.
|
|
1016
|
+
*/
|
|
887
1017
|
getComponents() {
|
|
888
1018
|
const s = [
|
|
889
1019
|
new cs(this.model, this.services),
|
|
@@ -938,6 +1068,7 @@ export {
|
|
|
938
1068
|
Oo as ChartTheme,
|
|
939
1069
|
R as ChartTypes,
|
|
940
1070
|
Ke as Choropleth,
|
|
1071
|
+
at as ChoroplethChart,
|
|
941
1072
|
fe as ChoroplethModel,
|
|
942
1073
|
Je as CirclePack,
|
|
943
1074
|
ht as CirclePackChart,
|