@undp/data-viz 2.4.1 → 2.5.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.
- package/dist/AreaChart.cjs +1 -1
- package/dist/AreaChart.cjs.map +1 -1
- package/dist/AreaChart.d.ts +11 -9
- package/dist/AreaChart.js +320 -322
- package/dist/AreaChart.js.map +1 -1
- package/dist/BarGraph.cjs +1 -1
- package/dist/BarGraph.cjs.map +1 -1
- package/dist/BarGraph.d.ts +15 -25
- package/dist/BarGraph.js +1694 -1694
- package/dist/BarGraph.js.map +1 -1
- package/dist/BasicStatCard.cjs +1 -1
- package/dist/BasicStatCard.cjs.map +1 -1
- package/dist/BasicStatCard.d.ts +13 -9
- package/dist/BasicStatCard.js +79 -81
- package/dist/BasicStatCard.js.map +1 -1
- package/dist/BeeSwarmChart.cjs +1 -1
- package/dist/BeeSwarmChart.cjs.map +1 -1
- package/dist/BeeSwarmChart.d.ts +11 -9
- package/dist/BeeSwarmChart.js +335 -336
- package/dist/BeeSwarmChart.js.map +1 -1
- package/dist/BiVariateChoroplethMap.cjs +1 -1
- package/dist/BiVariateChoroplethMap.cjs.map +1 -1
- package/dist/BiVariateChoroplethMap.d.ts +13 -3
- package/dist/BiVariateChoroplethMap.js +247 -245
- package/dist/BiVariateChoroplethMap.js.map +1 -1
- package/dist/BulletChart.cjs +1 -1
- package/dist/BulletChart.cjs.map +1 -1
- package/dist/BulletChart.d.ts +11 -5
- package/dist/BulletChart.js +560 -559
- package/dist/BulletChart.js.map +1 -1
- package/dist/ButterflyChart.cjs +1 -1
- package/dist/ButterflyChart.cjs.map +1 -1
- package/dist/ButterflyChart.d.ts +11 -9
- package/dist/ButterflyChart.js +348 -350
- package/dist/ButterflyChart.js.map +1 -1
- package/dist/ChoroplethMap.cjs +1 -1
- package/dist/ChoroplethMap.cjs.map +1 -1
- package/dist/ChoroplethMap.d.ts +11 -3
- package/dist/ChoroplethMap.js +213 -213
- package/dist/ChoroplethMap.js.map +1 -1
- package/dist/CirclePackingGraph.cjs +1 -1
- package/dist/CirclePackingGraph.d.ts +11 -9
- package/dist/CirclePackingGraph.js +1 -1
- package/dist/DataCards.cjs +1 -1
- package/dist/DataCards.d.ts +1 -1
- package/dist/DataCards.js +1 -1
- package/dist/DataTable.cjs +1 -1
- package/dist/DataTable.cjs.map +1 -1
- package/dist/DataTable.d.ts +4 -5
- package/dist/DataTable.js +114 -116
- package/dist/DataTable.js.map +1 -1
- package/dist/{DetailsModal-jmmKRMRM.cjs → DetailsModal-Du8Fr1QD.cjs} +2 -2
- package/dist/{DetailsModal-jmmKRMRM.cjs.map → DetailsModal-Du8Fr1QD.cjs.map} +1 -1
- package/dist/{DetailsModal-B2XBWR7w.js → DetailsModal-GqEbGHY2.js} +2 -2
- package/dist/{DetailsModal-B2XBWR7w.js.map → DetailsModal-GqEbGHY2.js.map} +1 -1
- package/dist/DifferenceLineChart.cjs +1 -1
- package/dist/DifferenceLineChart.cjs.map +1 -1
- package/dist/DifferenceLineChart.d.ts +11 -9
- package/dist/DifferenceLineChart.js +502 -504
- package/dist/DifferenceLineChart.js.map +1 -1
- package/dist/DonutChart.cjs +1 -1
- package/dist/DonutChart.cjs.map +1 -1
- package/dist/DonutChart.d.ts +14 -9
- package/dist/DonutChart.js +174 -179
- package/dist/DonutChart.js.map +1 -1
- package/dist/DotDensityMap.cjs +1 -1
- package/dist/DotDensityMap.d.ts +1 -1
- package/dist/DotDensityMap.js +2 -2
- package/dist/DualAxisLineChart.cjs +1 -1
- package/dist/DualAxisLineChart.cjs.map +1 -1
- package/dist/DualAxisLineChart.d.ts +13 -9
- package/dist/DualAxisLineChart.js +341 -351
- package/dist/DualAxisLineChart.js.map +1 -1
- package/dist/DumbbellChart.cjs +1 -1
- package/dist/DumbbellChart.cjs.map +1 -1
- package/dist/DumbbellChart.d.ts +11 -9
- package/dist/DumbbellChart.js +592 -593
- package/dist/DumbbellChart.js.map +1 -1
- package/dist/GeoHubCompareMaps.cjs +1 -1
- package/dist/GeoHubCompareMaps.d.ts +1 -1
- package/dist/GeoHubCompareMaps.js +1 -1
- package/dist/GeoHubMap.cjs +1 -1
- package/dist/GeoHubMap.d.ts +1 -1
- package/dist/GeoHubMap.js +1 -1
- package/dist/GeoHubMapWithLayerSelection.cjs +1 -1
- package/dist/GeoHubMapWithLayerSelection.d.ts +1 -1
- package/dist/GeoHubMapWithLayerSelection.js +1 -1
- package/dist/GraphEl-B7x5ku_y.cjs +2 -0
- package/dist/GraphEl-B7x5ku_y.cjs.map +1 -0
- package/dist/GraphEl-B8tGXqWk.js +1829 -0
- package/dist/GraphEl-B8tGXqWk.js.map +1 -0
- package/dist/GriddedGraphs.cjs +1 -1
- package/dist/GriddedGraphs.d.ts +28 -16
- package/dist/GriddedGraphs.js +1 -1
- package/dist/GriddedGraphsFromConfig.d.ts +28 -16
- package/dist/HeatMap.cjs +1 -1
- package/dist/HeatMap.cjs.map +1 -1
- package/dist/HeatMap.d.ts +11 -9
- package/dist/HeatMap.js +203 -205
- package/dist/HeatMap.js.map +1 -1
- package/dist/Histogram.cjs +1 -1
- package/dist/Histogram.cjs.map +1 -1
- package/dist/Histogram.d.ts +11 -5
- package/dist/Histogram.js +88 -89
- package/dist/Histogram.js.map +1 -1
- package/dist/HybridMap.cjs +1 -1
- package/dist/HybridMap.cjs.map +1 -1
- package/dist/HybridMap.d.ts +11 -3
- package/dist/HybridMap.js +279 -279
- package/dist/HybridMap.js.map +1 -1
- package/dist/LineChartWithConfidenceInterval.cjs +1 -1
- package/dist/LineChartWithConfidenceInterval.cjs.map +1 -1
- package/dist/LineChartWithConfidenceInterval.d.ts +11 -9
- package/dist/LineChartWithConfidenceInterval.js +393 -395
- package/dist/LineChartWithConfidenceInterval.js.map +1 -1
- package/dist/LinearColorLegend.cjs +1 -1
- package/dist/LinearColorLegend.js +1 -1
- package/dist/MultiGraphDashboard.d.ts +28 -16
- package/dist/MultiGraphDashboardFromConfig.d.ts +28 -16
- package/dist/MultiGraphDashboardWideToLongFormat.d.ts +1 -1
- package/dist/MultiGraphDashboardWideToLongFormatFromConfig.d.ts +1 -1
- package/dist/MultiLineAltChart.cjs +1 -1
- package/dist/MultiLineAltChart.cjs.map +1 -1
- package/dist/MultiLineAltChart.d.ts +11 -9
- package/dist/MultiLineAltChart.js +411 -413
- package/dist/MultiLineAltChart.js.map +1 -1
- package/dist/MultiLineChart.cjs +1 -1
- package/dist/MultiLineChart.cjs.map +1 -1
- package/dist/MultiLineChart.d.ts +11 -9
- package/dist/MultiLineChart.js +438 -440
- package/dist/MultiLineChart.js.map +1 -1
- package/dist/ParetoChart.cjs +1 -1
- package/dist/ParetoChart.cjs.map +1 -1
- package/dist/ParetoChart.d.ts +13 -13
- package/dist/ParetoChart.js +347 -355
- package/dist/ParetoChart.js.map +1 -1
- package/dist/PerformanceIntensiveMultiGraphDashboard.d.ts +28 -16
- package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.d.ts +28 -16
- package/dist/PerformanceIntensiveScrollStory.d.ts +28 -16
- package/dist/RadarChart.cjs +1 -1
- package/dist/RadarChart.cjs.map +1 -1
- package/dist/RadarChart.d.ts +11 -5
- package/dist/RadarChart.js +213 -213
- package/dist/RadarChart.js.map +1 -1
- package/dist/SankeyChart.cjs +1 -1
- package/dist/SankeyChart.cjs.map +1 -1
- package/dist/SankeyChart.d.ts +11 -9
- package/dist/SankeyChart.js +448 -450
- package/dist/SankeyChart.js.map +1 -1
- package/dist/ScatterPlot.cjs +1 -1
- package/dist/ScatterPlot.cjs.map +1 -1
- package/dist/ScatterPlot.d.ts +13 -13
- package/dist/ScatterPlot.js +490 -498
- package/dist/ScatterPlot.js.map +1 -1
- package/dist/ScrollStory.d.ts +28 -16
- package/dist/SimpleLineChart.cjs +1 -1
- package/dist/SimpleLineChart.cjs.map +1 -1
- package/dist/SimpleLineChart.d.ts +11 -9
- package/dist/SimpleLineChart.js +362 -364
- package/dist/SimpleLineChart.js.map +1 -1
- package/dist/SingleGraphDashboard.cjs +1 -1
- package/dist/SingleGraphDashboard.d.ts +28 -16
- package/dist/SingleGraphDashboard.js +1 -1
- package/dist/SingleGraphDashboardFromConfig.d.ts +28 -16
- package/dist/SingleGraphDashboardGeoHubMaps.d.ts +28 -16
- package/dist/SingleGraphDashboardGeoHubMapsFromConfig.d.ts +28 -16
- package/dist/SingleGraphDashboardThreeDGraphs.cjs +1 -1
- package/dist/SingleGraphDashboardThreeDGraphs.cjs.map +1 -1
- package/dist/SingleGraphDashboardThreeDGraphs.d.ts +28 -16
- package/dist/SingleGraphDashboardThreeDGraphs.js +40 -39
- package/dist/SingleGraphDashboardThreeDGraphs.js.map +1 -1
- package/dist/SingleGraphDashboardThreeDGraphsFromConfig.d.ts +28 -16
- package/dist/SlopeChart.cjs +1 -1
- package/dist/SlopeChart.d.ts +1 -1
- package/dist/SlopeChart.js +2 -2
- package/dist/SparkLine.cjs +1 -1
- package/dist/SparkLine.d.ts +1 -1
- package/dist/SparkLine.js +1 -1
- package/dist/StatCardFromData.cjs +1 -1
- package/dist/StatCardFromData.cjs.map +1 -1
- package/dist/StatCardFromData.d.ts +11 -9
- package/dist/StatCardFromData.js +113 -116
- package/dist/StatCardFromData.js.map +1 -1
- package/dist/StripChart.cjs +1 -1
- package/dist/StripChart.cjs.map +1 -1
- package/dist/StripChart.d.ts +11 -9
- package/dist/StripChart.js +434 -435
- package/dist/StripChart.js.map +1 -1
- package/dist/ThreeDGlobe.cjs +1 -1
- package/dist/ThreeDGlobe.cjs.map +1 -1
- package/dist/ThreeDGlobe.d.ts +11 -3
- package/dist/ThreeDGlobe.js +143 -143
- package/dist/ThreeDGlobe.js.map +1 -1
- package/dist/ThresholdColorLegendWithMouseOver.cjs +1 -1
- package/dist/ThresholdColorLegendWithMouseOver.js +1 -1
- package/dist/{Tooltip-Bj-s__cI.js → Tooltip-3EYDVa3w.js} +2 -2
- package/dist/{Tooltip-Bj-s__cI.js.map → Tooltip-3EYDVa3w.js.map} +1 -1
- package/dist/{Tooltip-Hr46paWP.cjs → Tooltip-C9F3uYG0.cjs} +2 -2
- package/dist/{Tooltip-Hr46paWP.cjs.map → Tooltip-C9F3uYG0.cjs.map} +1 -1
- package/dist/TreeMapGraph.cjs +1 -1
- package/dist/TreeMapGraph.cjs.map +1 -1
- package/dist/TreeMapGraph.d.ts +11 -9
- package/dist/TreeMapGraph.js +369 -371
- package/dist/TreeMapGraph.js.map +1 -1
- package/dist/Types.d.ts +28 -16
- package/dist/UnitChart.cjs +1 -1
- package/dist/UnitChart.cjs.map +1 -1
- package/dist/UnitChart.d.ts +11 -5
- package/dist/UnitChart.js +118 -119
- package/dist/UnitChart.js.map +1 -1
- package/dist/WaterfallChart.cjs +1 -1
- package/dist/WaterfallChart.cjs.map +1 -1
- package/dist/WaterfallChart.d.ts +11 -9
- package/dist/WaterfallChart.js +306 -308
- package/dist/WaterfallChart.js.map +1 -1
- package/dist/XTicksAndGridLines-B4UhDVyU.cjs +2 -0
- package/dist/XTicksAndGridLines-B4UhDVyU.cjs.map +1 -0
- package/dist/XTicksAndGridLines-CkYwVshF.js +40 -0
- package/dist/XTicksAndGridLines-CkYwVshF.js.map +1 -0
- package/dist/YTicksAndGridLines-BbujwxOB.js +40 -0
- package/dist/YTicksAndGridLines-BbujwxOB.js.map +1 -0
- package/dist/YTicksAndGridLines-sT3zdCs6.cjs +2 -0
- package/dist/YTicksAndGridLines-sT3zdCs6.cjs.map +1 -0
- package/dist/index-BPyj_6hG.js +375 -0
- package/dist/index-BPyj_6hG.js.map +1 -0
- package/dist/index-DuLvdHo2.cjs +2 -0
- package/dist/index-DuLvdHo2.cjs.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +105 -245
- package/dist/index.js +2 -2
- package/dist/numberFormattingFunction-BUUV_luR.js +28 -0
- package/dist/numberFormattingFunction-BUUV_luR.js.map +1 -0
- package/dist/numberFormattingFunction-u2iNHL_c.cjs +2 -0
- package/dist/numberFormattingFunction-u2iNHL_c.cjs.map +1 -0
- package/dist/{string2HTML-ZoGd08P_.cjs → string2HTML-30nfIm8R.cjs} +2 -2
- package/dist/{string2HTML-ZoGd08P_.cjs.map → string2HTML-30nfIm8R.cjs.map} +1 -1
- package/dist/{string2HTML-BrFperRM.js → string2HTML-DL-pInUB.js} +2 -2
- package/dist/{string2HTML-BrFperRM.js.map → string2HTML-DL-pInUB.js.map} +1 -1
- package/dist/utils.cjs +1 -1
- package/dist/utils.d.ts +1 -1
- package/dist/utils.js +1 -1
- package/package.json +2 -2
- package/dist/GraphEl-B73N4RIA.js +0 -1906
- package/dist/GraphEl-B73N4RIA.js.map +0 -1
- package/dist/GraphEl-Lt1og0C-.cjs +0 -2
- package/dist/GraphEl-Lt1og0C-.cjs.map +0 -1
- package/dist/XTicksAndGridLines-C5DuC5oY.cjs +0 -2
- package/dist/XTicksAndGridLines-C5DuC5oY.cjs.map +0 -1
- package/dist/XTicksAndGridLines-gdbGX2rm.js +0 -39
- package/dist/XTicksAndGridLines-gdbGX2rm.js.map +0 -1
- package/dist/YTicksAndGridLines-CsNSq9W9.js +0 -39
- package/dist/YTicksAndGridLines-CsNSq9W9.js.map +0 -1
- package/dist/YTicksAndGridLines-DFjm8RCc.cjs +0 -2
- package/dist/YTicksAndGridLines-DFjm8RCc.cjs.map +0 -1
- package/dist/index-B0Awa_de.js +0 -377
- package/dist/index-B0Awa_de.js.map +0 -1
- package/dist/index-CP8cmNzt.cjs +0 -2
- package/dist/index-CP8cmNzt.cjs.map +0 -1
- package/dist/numberFormattingFunction-Cn9R7CM9.cjs +0 -2
- package/dist/numberFormattingFunction-Cn9R7CM9.cjs.map +0 -1
- package/dist/numberFormattingFunction-DqMf_v1m.js +0 -28
- package/dist/numberFormattingFunction-DqMf_v1m.js.map +0 -1
|
@@ -0,0 +1,1829 @@
|
|
|
1
|
+
import { c as x, j as d } from "./index-CHPV5EwG-BzibaIRc.js";
|
|
2
|
+
import { _ as k } from "./Typography-BO0gQDIT.js";
|
|
3
|
+
import { ButterflyChart as N } from "./ButterflyChart.js";
|
|
4
|
+
import { C as S } from "./index-BPyj_6hG.js";
|
|
5
|
+
import { DataTable as V } from "./DataTable.js";
|
|
6
|
+
import { DonutChart as H } from "./DonutChart.js";
|
|
7
|
+
import { HeatMap as A } from "./HeatMap.js";
|
|
8
|
+
import { Histogram as v } from "./Histogram.js";
|
|
9
|
+
import { DualAxisLineChart as B } from "./DualAxisLineChart.js";
|
|
10
|
+
import { SimpleLineChart as I } from "./SimpleLineChart.js";
|
|
11
|
+
import { MultiLineChart as P } from "./MultiLineChart.js";
|
|
12
|
+
import { MultiLineAltChart as W } from "./MultiLineAltChart.js";
|
|
13
|
+
import { SparkLine as j } from "./SparkLine.js";
|
|
14
|
+
import { BiVariateChoroplethMap as z } from "./BiVariateChoroplethMap.js";
|
|
15
|
+
import { ChoroplethMap as F } from "./ChoroplethMap.js";
|
|
16
|
+
import { DotDensityMap as R } from "./DotDensityMap.js";
|
|
17
|
+
import { ParetoChart as X } from "./ParetoChart.js";
|
|
18
|
+
import { ScatterPlot as Y } from "./ScatterPlot.js";
|
|
19
|
+
import { SlopeChart as E } from "./SlopeChart.js";
|
|
20
|
+
import { AreaChart as G } from "./AreaChart.js";
|
|
21
|
+
import { StatCardFromData as _ } from "./StatCardFromData.js";
|
|
22
|
+
import { TreeMapGraph as $ } from "./TreeMapGraph.js";
|
|
23
|
+
import { UnitChart as q } from "./UnitChart.js";
|
|
24
|
+
import { DifferenceLineChart as U } from "./DifferenceLineChart.js";
|
|
25
|
+
import { SankeyChart as J } from "./SankeyChart.js";
|
|
26
|
+
import { LineChartWithConfidenceInterval as K } from "./LineChartWithConfidenceInterval.js";
|
|
27
|
+
import { DataCards as Q } from "./DataCards.js";
|
|
28
|
+
import { StackedBarGraph as Z, GroupedBarGraph as aa, SimpleBarGraph as ea } from "./BarGraph.js";
|
|
29
|
+
import { DumbbellChart as oa } from "./DumbbellChart.js";
|
|
30
|
+
import { StripChart as ta } from "./StripChart.js";
|
|
31
|
+
import { BeeSwarmChart as ia } from "./BeeSwarmChart.js";
|
|
32
|
+
import { RadarChart as ra } from "./RadarChart.js";
|
|
33
|
+
import { BulletChart as la } from "./BulletChart.js";
|
|
34
|
+
import { HybridMap as na } from "./HybridMap.js";
|
|
35
|
+
import { WaterfallChart as sa } from "./WaterfallChart.js";
|
|
36
|
+
import { g as r } from "./checkIfMultiple-Dpyy6BUP.js";
|
|
37
|
+
function Ga(L) {
|
|
38
|
+
const e = x.c(24), {
|
|
39
|
+
settings: a,
|
|
40
|
+
graph: n,
|
|
41
|
+
graphData: o,
|
|
42
|
+
debugMode: O,
|
|
43
|
+
graphDataConfiguration: t,
|
|
44
|
+
readableHeader: i,
|
|
45
|
+
updateFilters: s
|
|
46
|
+
} = L;
|
|
47
|
+
if (O && (console.log(`Graph: ${n}`), console.log("Transformed data:", o), console.log("Settings:", a)), typeof o == "string") {
|
|
48
|
+
const c = `flex my-0 mx-auto grow flex-col justify-center ${a?.width ? "w-fit" : "w-full"}`;
|
|
49
|
+
let l;
|
|
50
|
+
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (l = {
|
|
51
|
+
height: "inherit"
|
|
52
|
+
}, e[0] = l) : l = e[0];
|
|
53
|
+
let h;
|
|
54
|
+
e[1] !== o ? (h = /* @__PURE__ */ d.jsx(k, { size: "sm", marginBottom: "none", className: "p-2 text-center text-accent-dark-red dark:text-accent-red", children: o }), e[1] = o, e[2] = h) : h = e[2];
|
|
55
|
+
let w;
|
|
56
|
+
return e[3] !== c || e[4] !== h ? (w = /* @__PURE__ */ d.jsx("div", { className: c, style: l, children: h }), e[3] = c, e[4] = h, e[5] = w) : w = e[5], w;
|
|
57
|
+
}
|
|
58
|
+
let m;
|
|
59
|
+
e[6] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (m = {
|
|
60
|
+
barChart: ea,
|
|
61
|
+
bulletChart: la,
|
|
62
|
+
groupedBarChart: aa,
|
|
63
|
+
stackedBarChart: Z,
|
|
64
|
+
lineChart: I,
|
|
65
|
+
dualAxisLineChart: B,
|
|
66
|
+
multiLineChart: P,
|
|
67
|
+
multiLineAltChart: W,
|
|
68
|
+
stackedAreaChart: G,
|
|
69
|
+
choroplethMap: F,
|
|
70
|
+
biVariateChoroplethMap: z,
|
|
71
|
+
dotDensityMap: R,
|
|
72
|
+
donutChart: H,
|
|
73
|
+
slopeChart: E,
|
|
74
|
+
scatterPlot: Y,
|
|
75
|
+
dumbbellChart: oa,
|
|
76
|
+
treeMap: $,
|
|
77
|
+
circlePacking: S,
|
|
78
|
+
heatMap: A,
|
|
79
|
+
stripChart: ta,
|
|
80
|
+
beeSwarmChart: ia,
|
|
81
|
+
butterflyChart: N,
|
|
82
|
+
histogram: v,
|
|
83
|
+
sparkLine: j,
|
|
84
|
+
paretoChart: X,
|
|
85
|
+
dataTable: V,
|
|
86
|
+
statCard: _,
|
|
87
|
+
unitChart: q,
|
|
88
|
+
differenceLineChart: U,
|
|
89
|
+
sankeyChart: J,
|
|
90
|
+
lineChartWithConfidenceInterval: K,
|
|
91
|
+
dataCards: Q,
|
|
92
|
+
radarChart: ra,
|
|
93
|
+
hybridMap: na,
|
|
94
|
+
waterfallChart: sa
|
|
95
|
+
}, e[6] = m) : m = e[6];
|
|
96
|
+
const M = m;
|
|
97
|
+
let p;
|
|
98
|
+
e[7] !== o || e[8] !== t || e[9] !== i || e[10] !== a || e[11] !== s ? (p = (c) => {
|
|
99
|
+
switch (c) {
|
|
100
|
+
case "barChart":
|
|
101
|
+
return {
|
|
102
|
+
numberDisplayOptions: a?.numberDisplayOptions,
|
|
103
|
+
timeline: a?.timeline,
|
|
104
|
+
trackColor: a?.trackColor,
|
|
105
|
+
customLayers: a?.customLayers,
|
|
106
|
+
theme: a?.theme,
|
|
107
|
+
dimmedOpacity: a?.dimmedOpacity,
|
|
108
|
+
orientation: a?.orientation,
|
|
109
|
+
data: o,
|
|
110
|
+
colors: a?.colors,
|
|
111
|
+
graphTitle: a?.graphTitle,
|
|
112
|
+
graphDescription: a?.graphDescription,
|
|
113
|
+
footNote: a?.footNote,
|
|
114
|
+
height: a?.height,
|
|
115
|
+
width: a?.width,
|
|
116
|
+
sources: a?.sources,
|
|
117
|
+
barPadding: a?.barPadding,
|
|
118
|
+
showValues: a?.showValues,
|
|
119
|
+
showTicks: a?.showTicks,
|
|
120
|
+
leftMargin: a?.leftMargin,
|
|
121
|
+
rightMargin: a?.rightMargin,
|
|
122
|
+
truncateBy: a?.truncateBy,
|
|
123
|
+
colorDomain: a?.colorDomain,
|
|
124
|
+
colorLegendTitle: Object.keys(a || {}).indexOf("colorLegendTitle") !== -1 ? a?.colorLegendTitle : r("color", t || [], i || []),
|
|
125
|
+
backgroundColor: a?.backgroundColor,
|
|
126
|
+
padding: a?.padding,
|
|
127
|
+
topMargin: a?.topMargin,
|
|
128
|
+
bottomMargin: a?.bottomMargin,
|
|
129
|
+
relativeHeight: a?.relativeHeight,
|
|
130
|
+
showLabels: a?.showLabels,
|
|
131
|
+
showColorScale: a?.showColorScale,
|
|
132
|
+
maxValue: a?.maxValue,
|
|
133
|
+
minValue: a?.minValue,
|
|
134
|
+
labelOrder: a?.labelOrder,
|
|
135
|
+
tooltip: a?.tooltip,
|
|
136
|
+
refValues: a?.refValues,
|
|
137
|
+
graphID: a?.graphID,
|
|
138
|
+
highlightedDataPoints: a?.highlightedDataPoints,
|
|
139
|
+
graphDownload: a?.graphDownload,
|
|
140
|
+
dataDownload: a?.dataDownload,
|
|
141
|
+
sortData: a?.sortData,
|
|
142
|
+
language: a?.language,
|
|
143
|
+
minHeight: a?.minHeight,
|
|
144
|
+
showNAColor: a?.showNAColor,
|
|
145
|
+
maxBarThickness: a?.maxBarThickness,
|
|
146
|
+
minBarThickness: a?.minBarThickness,
|
|
147
|
+
maxNumberOfBars: a?.maxNumberOfBars,
|
|
148
|
+
ariaLabel: a?.ariaLabel,
|
|
149
|
+
onSeriesMouseClick: (l) => {
|
|
150
|
+
s?.(l.label);
|
|
151
|
+
},
|
|
152
|
+
resetSelectionOnDoubleClick: a?.resetSelectionOnDoubleClick,
|
|
153
|
+
detailsOnClick: a?.detailsOnClick,
|
|
154
|
+
barAxisTitle: a?.barAxisTitle,
|
|
155
|
+
noOfTicks: a?.noOfTicks,
|
|
156
|
+
valueColor: a?.valueColor,
|
|
157
|
+
styles: a?.styles,
|
|
158
|
+
classNames: a?.classNames,
|
|
159
|
+
filterNA: a?.filterNA,
|
|
160
|
+
animate: a?.animate,
|
|
161
|
+
naLabel: a?.naLabel,
|
|
162
|
+
hideAxisLine: a?.hideAxisLine
|
|
163
|
+
};
|
|
164
|
+
case "waterfallChart":
|
|
165
|
+
return {
|
|
166
|
+
naLabel: a?.naLabel,
|
|
167
|
+
numberDisplayOptions: a?.numberDisplayOptions,
|
|
168
|
+
customLayers: a?.customLayers,
|
|
169
|
+
theme: a?.theme,
|
|
170
|
+
dimmedOpacity: a?.dimmedOpacity,
|
|
171
|
+
data: o,
|
|
172
|
+
colors: a?.colors,
|
|
173
|
+
graphTitle: a?.graphTitle,
|
|
174
|
+
graphDescription: a?.graphDescription,
|
|
175
|
+
footNote: a?.footNote,
|
|
176
|
+
height: a?.height,
|
|
177
|
+
width: a?.width,
|
|
178
|
+
sources: a?.sources,
|
|
179
|
+
barPadding: a?.barPadding,
|
|
180
|
+
showValues: a?.showValues,
|
|
181
|
+
showTicks: a?.showTicks,
|
|
182
|
+
leftMargin: a?.leftMargin,
|
|
183
|
+
rightMargin: a?.rightMargin,
|
|
184
|
+
truncateBy: a?.truncateBy,
|
|
185
|
+
colorDomain: a?.colorDomain,
|
|
186
|
+
colorLegendTitle: Object.keys(a || {}).indexOf("colorLegendTitle") !== -1 ? a?.colorLegendTitle : r("color", t || [], i || []),
|
|
187
|
+
backgroundColor: a?.backgroundColor,
|
|
188
|
+
padding: a?.padding,
|
|
189
|
+
topMargin: a?.topMargin,
|
|
190
|
+
bottomMargin: a?.bottomMargin,
|
|
191
|
+
relativeHeight: a?.relativeHeight,
|
|
192
|
+
showLabels: a?.showLabels,
|
|
193
|
+
showColorScale: a?.showColorScale,
|
|
194
|
+
maxValue: a?.maxValue,
|
|
195
|
+
minValue: a?.minValue,
|
|
196
|
+
labelOrder: a?.labelOrder,
|
|
197
|
+
tooltip: a?.tooltip,
|
|
198
|
+
refValues: a?.refValues,
|
|
199
|
+
graphID: a?.graphID,
|
|
200
|
+
highlightedDataPoints: a?.highlightedDataPoints,
|
|
201
|
+
graphDownload: a?.graphDownload,
|
|
202
|
+
dataDownload: a?.dataDownload,
|
|
203
|
+
language: a?.language,
|
|
204
|
+
minHeight: a?.minHeight,
|
|
205
|
+
showNAColor: a?.showNAColor,
|
|
206
|
+
maxBarThickness: a?.maxBarThickness,
|
|
207
|
+
minBarThickness: a?.minBarThickness,
|
|
208
|
+
maxNumberOfBars: a?.maxNumberOfBars,
|
|
209
|
+
ariaLabel: a?.ariaLabel,
|
|
210
|
+
onSeriesMouseClick: (l) => {
|
|
211
|
+
s?.(l.label);
|
|
212
|
+
},
|
|
213
|
+
detailsOnClick: a?.detailsOnClick,
|
|
214
|
+
barAxisTitle: a?.barAxisTitle,
|
|
215
|
+
noOfTicks: a?.noOfTicks,
|
|
216
|
+
styles: a?.styles,
|
|
217
|
+
classNames: a?.classNames,
|
|
218
|
+
filterNA: a?.filterNA,
|
|
219
|
+
animate: a?.animate,
|
|
220
|
+
hideAxisLine: a?.hideAxisLine
|
|
221
|
+
};
|
|
222
|
+
case "groupedBarChart":
|
|
223
|
+
return {
|
|
224
|
+
timeline: a?.timeline,
|
|
225
|
+
customLayers: a?.customLayers,
|
|
226
|
+
theme: a?.theme,
|
|
227
|
+
orientation: a?.orientation,
|
|
228
|
+
sortParameter: a?.sortParameter,
|
|
229
|
+
sortData: a?.sortData,
|
|
230
|
+
data: o,
|
|
231
|
+
colors: a?.colors,
|
|
232
|
+
graphTitle: a?.graphTitle,
|
|
233
|
+
graphDescription: a?.graphDescription,
|
|
234
|
+
footNote: a?.footNote,
|
|
235
|
+
width: a?.width,
|
|
236
|
+
height: a?.height,
|
|
237
|
+
showColorScale: a?.showColorScale,
|
|
238
|
+
sources: a?.sources,
|
|
239
|
+
barPadding: a?.barPadding,
|
|
240
|
+
showTicks: a?.showTicks,
|
|
241
|
+
truncateBy: a?.truncateBy,
|
|
242
|
+
colorDomain: a?.colorDomain || r("size", t || [], i || []),
|
|
243
|
+
colorLegendTitle: a?.colorLegendTitle,
|
|
244
|
+
showValues: a?.showValues,
|
|
245
|
+
backgroundColor: a?.backgroundColor,
|
|
246
|
+
padding: a?.padding,
|
|
247
|
+
leftMargin: a?.leftMargin,
|
|
248
|
+
rightMargin: a?.rightMargin,
|
|
249
|
+
topMargin: a?.topMargin,
|
|
250
|
+
showLabels: a?.showLabels,
|
|
251
|
+
bottomMargin: a?.bottomMargin,
|
|
252
|
+
relativeHeight: a?.relativeHeight,
|
|
253
|
+
tooltip: a?.tooltip,
|
|
254
|
+
refValues: a?.refValues,
|
|
255
|
+
graphID: a?.graphID,
|
|
256
|
+
labelOrder: a?.labelOrder,
|
|
257
|
+
maxValue: a?.maxValue,
|
|
258
|
+
minValue: a?.minValue,
|
|
259
|
+
graphDownload: a?.graphDownload,
|
|
260
|
+
dataDownload: a?.dataDownload,
|
|
261
|
+
language: a?.language,
|
|
262
|
+
minHeight: a?.minHeight,
|
|
263
|
+
maxBarThickness: a?.maxBarThickness,
|
|
264
|
+
ariaLabel: a?.ariaLabel,
|
|
265
|
+
resetSelectionOnDoubleClick: a?.resetSelectionOnDoubleClick,
|
|
266
|
+
detailsOnClick: a?.detailsOnClick,
|
|
267
|
+
barAxisTitle: a?.barAxisTitle,
|
|
268
|
+
noOfTicks: a?.noOfTicks,
|
|
269
|
+
valueColor: a?.valueColor,
|
|
270
|
+
styles: a?.styles,
|
|
271
|
+
classNames: a?.classNames,
|
|
272
|
+
animate: a?.animate,
|
|
273
|
+
naLabel: a?.naLabel,
|
|
274
|
+
hideAxisLine: a?.hideAxisLine,
|
|
275
|
+
numberDisplayOptions: a?.numberDisplayOptions
|
|
276
|
+
};
|
|
277
|
+
case "stackedBarChart":
|
|
278
|
+
return {
|
|
279
|
+
numberDisplayOptions: a?.numberDisplayOptions,
|
|
280
|
+
timeline: a?.timeline,
|
|
281
|
+
customLayers: a?.customLayers,
|
|
282
|
+
theme: a?.theme,
|
|
283
|
+
orientation: a?.orientation,
|
|
284
|
+
resetSelectionOnDoubleClick: a?.resetSelectionOnDoubleClick,
|
|
285
|
+
data: o,
|
|
286
|
+
colors: a?.colors,
|
|
287
|
+
graphTitle: a?.graphTitle,
|
|
288
|
+
graphDescription: a?.graphDescription,
|
|
289
|
+
footNote: a?.footNote,
|
|
290
|
+
showColorScale: a?.showColorScale,
|
|
291
|
+
width: a?.width,
|
|
292
|
+
height: a?.height,
|
|
293
|
+
sources: a?.sources,
|
|
294
|
+
barPadding: a?.barPadding,
|
|
295
|
+
showTicks: a?.showTicks,
|
|
296
|
+
leftMargin: a?.leftMargin,
|
|
297
|
+
rightMargin: a?.rightMargin,
|
|
298
|
+
truncateBy: a?.truncateBy,
|
|
299
|
+
colorDomain: a?.colorDomain || r("size", t || [], i || []),
|
|
300
|
+
colorLegendTitle: a?.colorLegendTitle,
|
|
301
|
+
backgroundColor: a?.backgroundColor,
|
|
302
|
+
padding: a?.padding,
|
|
303
|
+
topMargin: a?.topMargin,
|
|
304
|
+
bottomMargin: a?.bottomMargin,
|
|
305
|
+
labelOrder: a?.labelOrder,
|
|
306
|
+
showValues: a?.showValues,
|
|
307
|
+
showLabels: a?.showLabels,
|
|
308
|
+
relativeHeight: a?.relativeHeight,
|
|
309
|
+
tooltip: a?.tooltip,
|
|
310
|
+
refValues: a?.refValues,
|
|
311
|
+
graphID: a?.graphID,
|
|
312
|
+
maxValue: a?.maxValue,
|
|
313
|
+
graphDownload: a?.graphDownload,
|
|
314
|
+
dataDownload: a?.dataDownload,
|
|
315
|
+
language: a?.language,
|
|
316
|
+
minHeight: a?.minHeight,
|
|
317
|
+
maxBarThickness: a?.maxBarThickness,
|
|
318
|
+
minBarThickness: a?.minBarThickness,
|
|
319
|
+
maxNumberOfBars: a?.maxNumberOfBars,
|
|
320
|
+
sortParameter: a?.sortParameter,
|
|
321
|
+
sortData: a?.sortData,
|
|
322
|
+
ariaLabel: a?.ariaLabel,
|
|
323
|
+
detailsOnClick: a?.detailsOnClick,
|
|
324
|
+
barAxisTitle: a?.barAxisTitle,
|
|
325
|
+
noOfTicks: a?.noOfTicks,
|
|
326
|
+
valueColor: a?.valueColor,
|
|
327
|
+
styles: a?.styles,
|
|
328
|
+
classNames: a?.classNames,
|
|
329
|
+
animate: a?.animate,
|
|
330
|
+
naLabel: a?.naLabel,
|
|
331
|
+
hideAxisLine: a?.hideAxisLine
|
|
332
|
+
};
|
|
333
|
+
case "bulletChart":
|
|
334
|
+
return {
|
|
335
|
+
numberDisplayOptions: a?.numberDisplayOptions,
|
|
336
|
+
timeline: a?.timeline,
|
|
337
|
+
customLayers: a?.customLayers,
|
|
338
|
+
theme: a?.theme,
|
|
339
|
+
dimmedOpacity: a?.dimmedOpacity,
|
|
340
|
+
orientation: a?.orientation,
|
|
341
|
+
data: o,
|
|
342
|
+
barColor: a?.colors,
|
|
343
|
+
graphTitle: a?.graphTitle,
|
|
344
|
+
graphDescription: a?.graphDescription,
|
|
345
|
+
footNote: a?.footNote,
|
|
346
|
+
height: a?.height,
|
|
347
|
+
width: a?.width,
|
|
348
|
+
sources: a?.sources,
|
|
349
|
+
barPadding: a?.barPadding,
|
|
350
|
+
showValues: a?.showValues,
|
|
351
|
+
showTicks: a?.showTicks,
|
|
352
|
+
leftMargin: a?.leftMargin,
|
|
353
|
+
rightMargin: a?.rightMargin,
|
|
354
|
+
truncateBy: a?.truncateBy,
|
|
355
|
+
colorDomain: a?.colorDomain,
|
|
356
|
+
colorLegendTitle: Object.keys(a || {}).indexOf("colorLegendTitle") !== -1 ? a?.colorLegendTitle : r("color", t || [], i || []),
|
|
357
|
+
backgroundColor: a?.backgroundColor,
|
|
358
|
+
padding: a?.padding,
|
|
359
|
+
topMargin: a?.topMargin,
|
|
360
|
+
bottomMargin: a?.bottomMargin,
|
|
361
|
+
relativeHeight: a?.relativeHeight,
|
|
362
|
+
showLabels: a?.showLabels,
|
|
363
|
+
showColorScale: a?.showColorScale,
|
|
364
|
+
maxValue: a?.maxValue,
|
|
365
|
+
minValue: a?.minValue,
|
|
366
|
+
labelOrder: a?.labelOrder,
|
|
367
|
+
tooltip: a?.tooltip,
|
|
368
|
+
refValues: a?.refValues,
|
|
369
|
+
graphID: a?.graphID,
|
|
370
|
+
highlightedDataPoints: a?.highlightedDataPoints,
|
|
371
|
+
graphDownload: a?.graphDownload,
|
|
372
|
+
dataDownload: a?.dataDownload,
|
|
373
|
+
sortData: a?.sortData,
|
|
374
|
+
language: a?.language,
|
|
375
|
+
minHeight: a?.minHeight,
|
|
376
|
+
showNAColor: a?.showNAColor,
|
|
377
|
+
maxBarThickness: a?.maxBarThickness,
|
|
378
|
+
minBarThickness: a?.minBarThickness,
|
|
379
|
+
maxNumberOfBars: a?.maxNumberOfBars,
|
|
380
|
+
ariaLabel: a?.ariaLabel,
|
|
381
|
+
onSeriesMouseClick: (l) => {
|
|
382
|
+
s?.(l.label);
|
|
383
|
+
},
|
|
384
|
+
resetSelectionOnDoubleClick: a?.resetSelectionOnDoubleClick,
|
|
385
|
+
detailsOnClick: a?.detailsOnClick,
|
|
386
|
+
barAxisTitle: a?.barAxisTitle,
|
|
387
|
+
noOfTicks: a?.noOfTicks,
|
|
388
|
+
valueColor: a?.valueColor,
|
|
389
|
+
styles: a?.styles,
|
|
390
|
+
classNames: a?.classNames,
|
|
391
|
+
filterNA: a?.filterNA,
|
|
392
|
+
qualitativeRangeColors: a?.qualitativeRangeColors,
|
|
393
|
+
targetStyle: a?.targetStyle,
|
|
394
|
+
targetColor: a?.targetColor,
|
|
395
|
+
measureBarWidthFactor: a?.measureBarWidthFactor,
|
|
396
|
+
animate: a?.animate,
|
|
397
|
+
naLabel: a?.naLabel,
|
|
398
|
+
hideAxisLine: a?.hideAxisLine
|
|
399
|
+
};
|
|
400
|
+
case "lineChart":
|
|
401
|
+
return {
|
|
402
|
+
numberDisplayOptions: a?.numberDisplayOptions,
|
|
403
|
+
customLayers: a?.customLayers,
|
|
404
|
+
theme: a?.theme,
|
|
405
|
+
curveType: a?.curveType,
|
|
406
|
+
data: o,
|
|
407
|
+
graphID: a?.graphID,
|
|
408
|
+
lineColor: a?.lineColor,
|
|
409
|
+
graphTitle: a?.graphTitle,
|
|
410
|
+
graphDescription: a?.graphDescription,
|
|
411
|
+
footNote: a?.footNote,
|
|
412
|
+
width: a?.width,
|
|
413
|
+
height: a?.height,
|
|
414
|
+
sources: a?.sources,
|
|
415
|
+
noOfXTicks: a?.noOfXTicks,
|
|
416
|
+
dateFormat: a?.dateFormat,
|
|
417
|
+
showValues: a?.showValues,
|
|
418
|
+
backgroundColor: a?.backgroundColor,
|
|
419
|
+
padding: a?.padding,
|
|
420
|
+
leftMargin: a?.leftMargin,
|
|
421
|
+
rightMargin: a?.rightMargin,
|
|
422
|
+
topMargin: a?.topMargin,
|
|
423
|
+
bottomMargin: a?.bottomMargin,
|
|
424
|
+
relativeHeight: a?.relativeHeight,
|
|
425
|
+
tooltip: a?.tooltip,
|
|
426
|
+
refValues: a?.refValues,
|
|
427
|
+
highlightAreaSettings: a?.highlightAreaSettings,
|
|
428
|
+
maxValue: a?.maxValue,
|
|
429
|
+
minValue: a?.minValue,
|
|
430
|
+
graphDownload: a?.graphDownload,
|
|
431
|
+
dataDownload: a?.dataDownload,
|
|
432
|
+
language: a?.language,
|
|
433
|
+
minHeight: a?.minHeight,
|
|
434
|
+
animate: a?.animate,
|
|
435
|
+
strokeWidth: a?.strokeWidth,
|
|
436
|
+
showDots: a?.showDots,
|
|
437
|
+
customHighlightAreaSettings: a?.customHighlightAreaSettings,
|
|
438
|
+
annotations: a?.annotations,
|
|
439
|
+
regressionLine: a?.regressionLine,
|
|
440
|
+
ariaLabel: a?.ariaLabel,
|
|
441
|
+
yAxisTitle: a?.yAxisTitle,
|
|
442
|
+
noOfYTicks: a?.noOfYTicks,
|
|
443
|
+
minDate: a?.minDate,
|
|
444
|
+
maxDate: a?.maxDate,
|
|
445
|
+
styles: a?.styles,
|
|
446
|
+
classNames: a?.classNames
|
|
447
|
+
};
|
|
448
|
+
case "lineChartWithConfidenceInterval":
|
|
449
|
+
return {
|
|
450
|
+
numberDisplayOptions: a?.numberDisplayOptions,
|
|
451
|
+
customLayers: a?.customLayers,
|
|
452
|
+
theme: a?.theme,
|
|
453
|
+
data: o,
|
|
454
|
+
curveType: a?.curveType,
|
|
455
|
+
graphID: a?.graphID,
|
|
456
|
+
lineColor: a?.lineColor,
|
|
457
|
+
graphTitle: a?.graphTitle,
|
|
458
|
+
graphDescription: a?.graphDescription,
|
|
459
|
+
footNote: a?.footNote,
|
|
460
|
+
width: a?.width,
|
|
461
|
+
height: a?.height,
|
|
462
|
+
sources: a?.sources,
|
|
463
|
+
noOfXTicks: a?.noOfXTicks,
|
|
464
|
+
dateFormat: a?.dateFormat,
|
|
465
|
+
showValues: a?.showValues,
|
|
466
|
+
backgroundColor: a?.backgroundColor,
|
|
467
|
+
padding: a?.padding,
|
|
468
|
+
leftMargin: a?.leftMargin,
|
|
469
|
+
rightMargin: a?.rightMargin,
|
|
470
|
+
topMargin: a?.topMargin,
|
|
471
|
+
bottomMargin: a?.bottomMargin,
|
|
472
|
+
relativeHeight: a?.relativeHeight,
|
|
473
|
+
tooltip: a?.tooltip,
|
|
474
|
+
refValues: a?.refValues,
|
|
475
|
+
highlightAreaSettings: a?.highlightAreaSettings,
|
|
476
|
+
maxValue: a?.maxValue,
|
|
477
|
+
minValue: a?.minValue,
|
|
478
|
+
graphDownload: a?.graphDownload,
|
|
479
|
+
dataDownload: a?.dataDownload,
|
|
480
|
+
language: a?.language,
|
|
481
|
+
minHeight: a?.minHeight,
|
|
482
|
+
animate: a?.animate,
|
|
483
|
+
strokeWidth: a?.strokeWidth,
|
|
484
|
+
showDots: a?.showDots,
|
|
485
|
+
customHighlightAreaSettings: a?.customHighlightAreaSettings,
|
|
486
|
+
annotations: a?.annotations,
|
|
487
|
+
regressionLine: a?.regressionLine,
|
|
488
|
+
ariaLabel: a?.ariaLabel,
|
|
489
|
+
showIntervalDots: a?.showIntervalDots,
|
|
490
|
+
showIntervalValues: a?.showIntervalValues,
|
|
491
|
+
intervalLineStrokeWidth: a?.intervalLineStrokeWidth,
|
|
492
|
+
intervalLineColors: a?.intervalLineColors,
|
|
493
|
+
intervalAreaColor: a?.intervalAreaColor,
|
|
494
|
+
intervalAreaOpacity: a?.intervalAreaOpacity,
|
|
495
|
+
yAxisTitle: a?.yAxisTitle,
|
|
496
|
+
noOfYTicks: a?.noOfYTicks,
|
|
497
|
+
minDate: a?.minDate,
|
|
498
|
+
maxDate: a?.maxDate,
|
|
499
|
+
colorLegendTitle: a?.colorLegendTitle,
|
|
500
|
+
colorLegendColors: a?.colorLegendColors,
|
|
501
|
+
colorLegendDomain: a?.colorLegendDomain,
|
|
502
|
+
styles: a?.styles,
|
|
503
|
+
classNames: a?.classNames
|
|
504
|
+
};
|
|
505
|
+
case "dualAxisLineChart":
|
|
506
|
+
return {
|
|
507
|
+
naLabel: a?.naLabel,
|
|
508
|
+
showAxisLabels: a?.showAxisLabels,
|
|
509
|
+
showColorScale: a?.showColorScale,
|
|
510
|
+
customLayers: a?.customLayers,
|
|
511
|
+
theme: a?.theme,
|
|
512
|
+
data: o,
|
|
513
|
+
curveType: a?.curveType,
|
|
514
|
+
graphTitle: a?.graphTitle,
|
|
515
|
+
graphDescription: a?.graphDescription,
|
|
516
|
+
labels: a?.labels || [r("y1", t || [], i || []), r("y2", t || [], i || [])],
|
|
517
|
+
footNote: a?.footNote,
|
|
518
|
+
width: a?.width,
|
|
519
|
+
height: a?.height,
|
|
520
|
+
sources: a?.sources,
|
|
521
|
+
noOfXTicks: a?.noOfXTicks,
|
|
522
|
+
dateFormat: a?.dateFormat,
|
|
523
|
+
showValues: a?.showValues,
|
|
524
|
+
backgroundColor: a?.backgroundColor,
|
|
525
|
+
padding: a?.padding,
|
|
526
|
+
leftMargin: a?.leftMargin,
|
|
527
|
+
rightMargin: a?.rightMargin,
|
|
528
|
+
topMargin: a?.topMargin,
|
|
529
|
+
bottomMargin: a?.bottomMargin,
|
|
530
|
+
lineColors: a?.lineColors,
|
|
531
|
+
sameAxes: a?.sameAxes,
|
|
532
|
+
relativeHeight: a?.relativeHeight,
|
|
533
|
+
tooltip: a?.tooltip,
|
|
534
|
+
highlightAreaSettings: a?.highlightAreaSettings,
|
|
535
|
+
graphID: a?.graphID,
|
|
536
|
+
graphDownload: a?.graphDownload,
|
|
537
|
+
dataDownload: a?.dataDownload,
|
|
538
|
+
language: a?.language,
|
|
539
|
+
minHeight: a?.minHeight,
|
|
540
|
+
animate: a?.animate,
|
|
541
|
+
strokeWidth: a?.strokeWidth,
|
|
542
|
+
showDots: a?.showDots,
|
|
543
|
+
colorLegendTitle: a?.colorLegendTitle,
|
|
544
|
+
ariaLabel: a?.ariaLabel,
|
|
545
|
+
noOfYTicks: a?.noOfYTicks,
|
|
546
|
+
minDate: a?.minDate,
|
|
547
|
+
maxDate: a?.maxDate,
|
|
548
|
+
styles: a?.styles,
|
|
549
|
+
classNames: a?.classNames,
|
|
550
|
+
leftLineNumberDisplayOptions: a?.leftLineNumberDisplayOptions,
|
|
551
|
+
rightLineNumberDisplayOptions: a?.rightLineNumberDisplayOptions
|
|
552
|
+
};
|
|
553
|
+
case "multiLineChart":
|
|
554
|
+
return {
|
|
555
|
+
naLabel: a?.naLabel,
|
|
556
|
+
numberDisplayOptions: a?.numberDisplayOptions,
|
|
557
|
+
customLayers: a?.customLayers,
|
|
558
|
+
theme: a?.theme,
|
|
559
|
+
dimmedOpacity: a?.dimmedOpacity,
|
|
560
|
+
data: o,
|
|
561
|
+
curveType: a?.curveType,
|
|
562
|
+
lineColors: a?.lineColors,
|
|
563
|
+
graphTitle: a?.graphTitle,
|
|
564
|
+
graphDescription: a?.graphDescription,
|
|
565
|
+
footNote: a?.footNote,
|
|
566
|
+
width: a?.width,
|
|
567
|
+
height: a?.height,
|
|
568
|
+
sources: a?.sources,
|
|
569
|
+
noOfXTicks: a?.noOfXTicks,
|
|
570
|
+
dateFormat: a?.dateFormat,
|
|
571
|
+
showColorScale: a?.showColorScale,
|
|
572
|
+
labels: a?.labels || r("y", t || [], i || []),
|
|
573
|
+
backgroundColor: a?.backgroundColor,
|
|
574
|
+
padding: a?.padding,
|
|
575
|
+
leftMargin: a?.leftMargin,
|
|
576
|
+
rightMargin: a?.rightMargin,
|
|
577
|
+
topMargin: a?.topMargin,
|
|
578
|
+
bottomMargin: a?.bottomMargin,
|
|
579
|
+
showValues: a?.showValues,
|
|
580
|
+
relativeHeight: a?.relativeHeight,
|
|
581
|
+
showColorLegendAtTop: a?.showColorLegendAtTop,
|
|
582
|
+
tooltip: a?.tooltip,
|
|
583
|
+
refValues: a?.refValues,
|
|
584
|
+
highlightAreaSettings: a?.highlightAreaSettings,
|
|
585
|
+
graphID: a?.graphID,
|
|
586
|
+
maxValue: a?.maxValue,
|
|
587
|
+
minValue: a?.minValue,
|
|
588
|
+
highlightedLines: a?.highlightedLines,
|
|
589
|
+
graphDownload: a?.graphDownload,
|
|
590
|
+
dataDownload: a?.dataDownload,
|
|
591
|
+
language: a?.language,
|
|
592
|
+
minHeight: a?.minHeight,
|
|
593
|
+
animate: a?.animate,
|
|
594
|
+
strokeWidth: a?.strokeWidth,
|
|
595
|
+
showDots: a?.showDots,
|
|
596
|
+
colorLegendTitle: a?.colorLegendTitle,
|
|
597
|
+
customHighlightAreaSettings: a?.customHighlightAreaSettings,
|
|
598
|
+
annotations: a?.annotations,
|
|
599
|
+
ariaLabel: a?.ariaLabel,
|
|
600
|
+
yAxisTitle: a?.yAxisTitle,
|
|
601
|
+
noOfYTicks: a?.noOfYTicks,
|
|
602
|
+
minDate: a?.minDate,
|
|
603
|
+
maxDate: a?.maxDate,
|
|
604
|
+
styles: a?.styles,
|
|
605
|
+
classNames: a?.classNames,
|
|
606
|
+
dashedLines: a?.dashedLines,
|
|
607
|
+
dashSettings: a?.dashSettings,
|
|
608
|
+
labelsToBeHidden: a?.labelsToBeHidden
|
|
609
|
+
};
|
|
610
|
+
case "multiLineAltChart":
|
|
611
|
+
return {
|
|
612
|
+
numberDisplayOptions: a?.numberDisplayOptions,
|
|
613
|
+
naLabel: a?.naLabel,
|
|
614
|
+
customLayers: a?.customLayers,
|
|
615
|
+
theme: a?.theme,
|
|
616
|
+
data: o,
|
|
617
|
+
dimmedOpacity: a?.dimmedOpacity,
|
|
618
|
+
curveType: a?.curveType,
|
|
619
|
+
colors: a?.colors,
|
|
620
|
+
graphTitle: a?.graphTitle,
|
|
621
|
+
graphDescription: a?.graphDescription,
|
|
622
|
+
footNote: a?.footNote,
|
|
623
|
+
width: a?.width,
|
|
624
|
+
height: a?.height,
|
|
625
|
+
sources: a?.sources,
|
|
626
|
+
noOfXTicks: a?.noOfXTicks,
|
|
627
|
+
dateFormat: a?.dateFormat,
|
|
628
|
+
backgroundColor: a?.backgroundColor,
|
|
629
|
+
padding: a?.padding,
|
|
630
|
+
leftMargin: a?.leftMargin,
|
|
631
|
+
rightMargin: a?.rightMargin,
|
|
632
|
+
topMargin: a?.topMargin,
|
|
633
|
+
bottomMargin: a?.bottomMargin,
|
|
634
|
+
relativeHeight: a?.relativeHeight,
|
|
635
|
+
tooltip: a?.tooltip,
|
|
636
|
+
refValues: a?.refValues,
|
|
637
|
+
showLabels: a?.showLabels,
|
|
638
|
+
highlightAreaSettings: a?.highlightAreaSettings,
|
|
639
|
+
graphID: a?.graphID,
|
|
640
|
+
maxValue: a?.maxValue,
|
|
641
|
+
minValue: a?.minValue,
|
|
642
|
+
highlightedLines: a?.highlightedLines,
|
|
643
|
+
graphDownload: a?.graphDownload,
|
|
644
|
+
dataDownload: a?.dataDownload,
|
|
645
|
+
language: a?.language,
|
|
646
|
+
minHeight: a?.minHeight,
|
|
647
|
+
animate: a?.animate,
|
|
648
|
+
strokeWidth: a?.strokeWidth,
|
|
649
|
+
showDots: a?.showDots,
|
|
650
|
+
colorLegendTitle: a?.colorLegendTitle,
|
|
651
|
+
customHighlightAreaSettings: a?.customHighlightAreaSettings,
|
|
652
|
+
annotations: a?.annotations,
|
|
653
|
+
ariaLabel: a?.ariaLabel,
|
|
654
|
+
yAxisTitle: a?.yAxisTitle,
|
|
655
|
+
noOfYTicks: a?.noOfYTicks,
|
|
656
|
+
minDate: a?.minDate,
|
|
657
|
+
maxDate: a?.maxDate,
|
|
658
|
+
styles: a?.styles,
|
|
659
|
+
classNames: a?.classNames,
|
|
660
|
+
colorDomain: a?.colorDomain,
|
|
661
|
+
showNAColor: a?.showNAColor
|
|
662
|
+
};
|
|
663
|
+
case "differenceLineChart":
|
|
664
|
+
return {
|
|
665
|
+
numberDisplayOptions: a?.numberDisplayOptions,
|
|
666
|
+
naLabel: a?.naLabel,
|
|
667
|
+
customLayers: a?.customLayers,
|
|
668
|
+
theme: a?.theme,
|
|
669
|
+
data: o,
|
|
670
|
+
curveType: a?.curveType,
|
|
671
|
+
lineColors: a?.lineColors,
|
|
672
|
+
diffAreaColors: a?.diffAreaColors,
|
|
673
|
+
graphTitle: a?.graphTitle,
|
|
674
|
+
graphDescription: a?.graphDescription,
|
|
675
|
+
footNote: a?.footNote,
|
|
676
|
+
width: a?.width,
|
|
677
|
+
height: a?.height,
|
|
678
|
+
sources: a?.sources,
|
|
679
|
+
noOfXTicks: a?.noOfXTicks,
|
|
680
|
+
dateFormat: a?.dateFormat,
|
|
681
|
+
labels: a?.labels || [r("y1", t || [], i || []), r("y2", t || [], i || [])],
|
|
682
|
+
backgroundColor: a?.backgroundColor,
|
|
683
|
+
padding: a?.padding,
|
|
684
|
+
leftMargin: a?.leftMargin,
|
|
685
|
+
rightMargin: a?.rightMargin,
|
|
686
|
+
topMargin: a?.topMargin,
|
|
687
|
+
bottomMargin: a?.bottomMargin,
|
|
688
|
+
showValues: a?.showValues,
|
|
689
|
+
relativeHeight: a?.relativeHeight,
|
|
690
|
+
showColorLegendAtTop: a?.showColorLegendAtTop,
|
|
691
|
+
tooltip: a?.tooltip,
|
|
692
|
+
refValues: a?.refValues,
|
|
693
|
+
highlightAreaSettings: a?.highlightAreaSettings,
|
|
694
|
+
graphID: a?.graphID,
|
|
695
|
+
maxValue: a?.maxValue,
|
|
696
|
+
minValue: a?.minValue,
|
|
697
|
+
graphDownload: a?.graphDownload,
|
|
698
|
+
dataDownload: a?.dataDownload,
|
|
699
|
+
language: a?.language,
|
|
700
|
+
minHeight: a?.minHeight,
|
|
701
|
+
animate: a?.animate,
|
|
702
|
+
strokeWidth: a?.strokeWidth,
|
|
703
|
+
showDots: a?.showDots,
|
|
704
|
+
colorLegendTitle: a?.colorLegendTitle,
|
|
705
|
+
customHighlightAreaSettings: a?.customHighlightAreaSettings,
|
|
706
|
+
annotations: a?.annotations,
|
|
707
|
+
ariaLabel: a?.ariaLabel,
|
|
708
|
+
yAxisTitle: a?.yAxisTitle,
|
|
709
|
+
noOfYTicks: a?.noOfYTicks,
|
|
710
|
+
minDate: a?.minDate,
|
|
711
|
+
maxDate: a?.maxDate,
|
|
712
|
+
styles: a?.styles,
|
|
713
|
+
classNames: a?.classNames
|
|
714
|
+
};
|
|
715
|
+
case "stackedAreaChart":
|
|
716
|
+
return {
|
|
717
|
+
numberDisplayOptions: a?.numberDisplayOptions,
|
|
718
|
+
customLayers: a?.customLayers,
|
|
719
|
+
theme: a?.theme,
|
|
720
|
+
data: o,
|
|
721
|
+
curveType: a?.curveType,
|
|
722
|
+
colors: a?.colors,
|
|
723
|
+
graphTitle: a?.graphTitle,
|
|
724
|
+
graphDescription: a?.graphDescription,
|
|
725
|
+
footNote: a?.footNote,
|
|
726
|
+
width: a?.width,
|
|
727
|
+
height: a?.height,
|
|
728
|
+
sources: a?.sources,
|
|
729
|
+
noOfXTicks: a?.noOfXTicks,
|
|
730
|
+
dateFormat: a?.dateFormat,
|
|
731
|
+
colorDomain: a?.colorDomain || r("y", t || [], i || []),
|
|
732
|
+
backgroundColor: a?.backgroundColor,
|
|
733
|
+
padding: a?.padding,
|
|
734
|
+
colorLegendTitle: a?.colorLegendTitle,
|
|
735
|
+
leftMargin: a?.leftMargin,
|
|
736
|
+
rightMargin: a?.rightMargin,
|
|
737
|
+
topMargin: a?.topMargin,
|
|
738
|
+
relativeHeight: a?.relativeHeight,
|
|
739
|
+
bottomMargin: a?.bottomMargin,
|
|
740
|
+
tooltip: a?.tooltip,
|
|
741
|
+
refValues: a?.refValues,
|
|
742
|
+
highlightAreaSettings: a?.highlightAreaSettings,
|
|
743
|
+
graphID: a?.graphID,
|
|
744
|
+
maxValue: a?.maxValue,
|
|
745
|
+
minValue: a?.minValue,
|
|
746
|
+
graphDownload: a?.graphDownload,
|
|
747
|
+
dataDownload: a?.dataDownload,
|
|
748
|
+
showColorScale: a?.showColorScale,
|
|
749
|
+
language: a?.language,
|
|
750
|
+
minHeight: a?.minHeight,
|
|
751
|
+
customHighlightAreaSettings: a?.customHighlightAreaSettings,
|
|
752
|
+
annotations: a?.annotations,
|
|
753
|
+
ariaLabel: a?.ariaLabel,
|
|
754
|
+
yAxisTitle: a?.yAxisTitle,
|
|
755
|
+
noOfYTicks: a?.noOfYTicks,
|
|
756
|
+
styles: a?.styles,
|
|
757
|
+
classNames: a?.classNames
|
|
758
|
+
};
|
|
759
|
+
case "choroplethMap":
|
|
760
|
+
return {
|
|
761
|
+
numberDisplayOptions: a?.numberDisplayOptions,
|
|
762
|
+
timeline: a?.timeline,
|
|
763
|
+
customLayers: a?.customLayers,
|
|
764
|
+
theme: a?.theme,
|
|
765
|
+
dimmedOpacity: a?.dimmedOpacity,
|
|
766
|
+
collapseColorScaleByDefault: a?.collapseColorScaleByDefault,
|
|
767
|
+
resetSelectionOnDoubleClick: a?.resetSelectionOnDoubleClick,
|
|
768
|
+
graphTitle: a?.graphTitle,
|
|
769
|
+
mapData: a?.mapData,
|
|
770
|
+
mapProjection: a?.mapProjection,
|
|
771
|
+
graphDescription: a?.graphDescription,
|
|
772
|
+
footNote: a?.footNote,
|
|
773
|
+
width: a?.width,
|
|
774
|
+
height: a?.height,
|
|
775
|
+
sources: a?.sources,
|
|
776
|
+
colorDomain: a?.colorDomain,
|
|
777
|
+
colors: a?.colors,
|
|
778
|
+
colorLegendTitle: Object.keys(a || {}).indexOf("colorLegendTitle") !== -1 ? a?.colorLegendTitle : r("x", t || [], i || []),
|
|
779
|
+
scaleType: a?.scaleType,
|
|
780
|
+
data: o,
|
|
781
|
+
scale: a?.scale,
|
|
782
|
+
centerPoint: a?.centerPoint,
|
|
783
|
+
backgroundColor: a?.backgroundColor,
|
|
784
|
+
mapBorderWidth: a?.mapBorderWidth,
|
|
785
|
+
mapNoDataColor: a?.mapNoDataColor,
|
|
786
|
+
mapBorderColor: a?.mapBorderColor,
|
|
787
|
+
relativeHeight: a?.relativeHeight,
|
|
788
|
+
padding: a?.padding,
|
|
789
|
+
isWorldMap: a?.isWorldMap,
|
|
790
|
+
mapOverlay: a?.mapOverlay,
|
|
791
|
+
tooltip: a?.tooltip,
|
|
792
|
+
showColorScale: a?.showColorScale,
|
|
793
|
+
zoomScaleExtend: a?.zoomScaleExtend,
|
|
794
|
+
zoomTranslateExtend: a?.zoomTranslateExtend,
|
|
795
|
+
graphID: a?.graphID,
|
|
796
|
+
highlightedIds: a?.highlightedIds,
|
|
797
|
+
graphDownload: a?.graphDownload,
|
|
798
|
+
dataDownload: a?.dataDownload,
|
|
799
|
+
mapProperty: a?.mapProperty,
|
|
800
|
+
showAntarctica: a?.showAntarctica,
|
|
801
|
+
language: a?.language,
|
|
802
|
+
minHeight: a?.minHeight,
|
|
803
|
+
ariaLabel: a?.ariaLabel,
|
|
804
|
+
onSeriesMouseClick: (l) => {
|
|
805
|
+
s?.(l.id);
|
|
806
|
+
},
|
|
807
|
+
detailsOnClick: a?.detailsOnClick,
|
|
808
|
+
styles: a?.styles,
|
|
809
|
+
classNames: a?.classNames,
|
|
810
|
+
zoomInteraction: a?.zoomInteraction,
|
|
811
|
+
animate: a?.animate,
|
|
812
|
+
zoomAndCenterByHighlightedIds: a?.zoomAndCenterByHighlightedIds,
|
|
813
|
+
projectionRotate: a?.projectionRotate,
|
|
814
|
+
rewindCoordinatesInMapData: a?.rewindCoordinatesInMapData
|
|
815
|
+
};
|
|
816
|
+
case "biVariateChoroplethMap":
|
|
817
|
+
return {
|
|
818
|
+
xNumberDisplayOptions: a?.xNumberDisplayOptions,
|
|
819
|
+
yNumberDisplayOptions: a?.yNumberDisplayOptions,
|
|
820
|
+
timeline: a?.timeline,
|
|
821
|
+
customLayers: a?.customLayers,
|
|
822
|
+
theme: a?.theme,
|
|
823
|
+
dimmedOpacity: a?.dimmedOpacity,
|
|
824
|
+
collapseColorScaleByDefault: a?.collapseColorScaleByDefault,
|
|
825
|
+
resetSelectionOnDoubleClick: a?.resetSelectionOnDoubleClick,
|
|
826
|
+
data: o,
|
|
827
|
+
mapData: a?.mapData,
|
|
828
|
+
mapProjection: a?.mapProjection,
|
|
829
|
+
graphTitle: a?.graphTitle,
|
|
830
|
+
graphDescription: a?.graphDescription,
|
|
831
|
+
footNote: a?.footNote,
|
|
832
|
+
width: a?.width,
|
|
833
|
+
height: a?.height,
|
|
834
|
+
sources: a?.sources,
|
|
835
|
+
mapOverlay: a?.mapOverlay,
|
|
836
|
+
xColorLegendTitle: Object.keys(a || {}).indexOf("xColorLegendTitle") !== -1 ? a?.xColorLegendTitle : r("x", t || [], i || []),
|
|
837
|
+
yColorLegendTitle: Object.keys(a || {}).indexOf("yColorLegendTitle") !== -1 ? a?.yColorLegendTitle : r("y", t || [], i || []),
|
|
838
|
+
xDomain: a?.xDomain,
|
|
839
|
+
yDomain: a?.yDomain,
|
|
840
|
+
colors: a?.colors,
|
|
841
|
+
scale: a?.scale,
|
|
842
|
+
centerPoint: a?.centerPoint,
|
|
843
|
+
backgroundColor: a?.backgroundColor,
|
|
844
|
+
mapBorderWidth: a?.mapBorderWidth,
|
|
845
|
+
mapNoDataColor: a?.mapNoDataColor,
|
|
846
|
+
padding: a?.padding,
|
|
847
|
+
mapBorderColor: a?.mapBorderColor,
|
|
848
|
+
relativeHeight: a?.relativeHeight,
|
|
849
|
+
tooltip: a?.tooltip,
|
|
850
|
+
isWorldMap: a?.isWorldMap,
|
|
851
|
+
zoomScaleExtend: a?.zoomScaleExtend,
|
|
852
|
+
zoomTranslateExtend: a?.zoomTranslateExtend,
|
|
853
|
+
graphID: a?.graphID,
|
|
854
|
+
highlightedIds: a?.highlightedIds,
|
|
855
|
+
mapProperty: a?.mapProperty,
|
|
856
|
+
graphDownload: a?.graphDownload,
|
|
857
|
+
dataDownload: a?.dataDownload,
|
|
858
|
+
showAntarctica: a?.showAntarctica,
|
|
859
|
+
language: a?.language,
|
|
860
|
+
minHeight: a?.minHeight,
|
|
861
|
+
ariaLabel: a?.ariaLabel,
|
|
862
|
+
onSeriesMouseClick: (l) => {
|
|
863
|
+
s?.(l.id);
|
|
864
|
+
},
|
|
865
|
+
detailsOnClick: a?.detailsOnClick,
|
|
866
|
+
styles: a?.styles,
|
|
867
|
+
classNames: a?.classNames,
|
|
868
|
+
zoomInteraction: a?.zoomInteraction,
|
|
869
|
+
animate: a?.animate,
|
|
870
|
+
zoomAndCenterByHighlightedIds: a?.zoomAndCenterByHighlightedIds,
|
|
871
|
+
projectionRotate: a?.projectionRotate,
|
|
872
|
+
rewindCoordinatesInMapData: a?.rewindCoordinatesInMapData
|
|
873
|
+
};
|
|
874
|
+
case "dotDensityMap":
|
|
875
|
+
return {
|
|
876
|
+
timeline: a?.timeline,
|
|
877
|
+
customLayers: a?.customLayers,
|
|
878
|
+
theme: a?.theme,
|
|
879
|
+
mapOverlay: a?.mapOverlay,
|
|
880
|
+
dimmedOpacity: a?.dimmedOpacity,
|
|
881
|
+
collapseColorScaleByDefault: a?.collapseColorScaleByDefault,
|
|
882
|
+
resetSelectionOnDoubleClick: a?.resetSelectionOnDoubleClick,
|
|
883
|
+
graphTitle: a?.graphTitle,
|
|
884
|
+
mapData: a?.mapData,
|
|
885
|
+
mapProjection: a?.mapProjection,
|
|
886
|
+
graphDescription: a?.graphDescription,
|
|
887
|
+
footNote: a?.footNote,
|
|
888
|
+
maxRadiusValue: a?.maxRadiusValue,
|
|
889
|
+
width: a?.width,
|
|
890
|
+
height: a?.height,
|
|
891
|
+
radius: a?.radius,
|
|
892
|
+
sources: a?.sources,
|
|
893
|
+
colors: a?.colors,
|
|
894
|
+
colorDomain: a?.colorDomain,
|
|
895
|
+
colorLegendTitle: Object.keys(a || {}).indexOf("colorLegendTitle") !== -1 ? a?.colorLegendTitle : r("color", t || [], i || []),
|
|
896
|
+
data: o,
|
|
897
|
+
scale: a?.scale,
|
|
898
|
+
centerPoint: a?.centerPoint,
|
|
899
|
+
backgroundColor: a?.backgroundColor,
|
|
900
|
+
mapBorderWidth: a?.mapBorderWidth,
|
|
901
|
+
mapNoDataColor: a?.mapNoDataColor,
|
|
902
|
+
mapBorderColor: a?.mapBorderColor,
|
|
903
|
+
padding: a?.padding,
|
|
904
|
+
showLabels: a?.showLabels,
|
|
905
|
+
relativeHeight: a?.relativeHeight,
|
|
906
|
+
isWorldMap: a?.isWorldMap,
|
|
907
|
+
tooltip: a?.tooltip,
|
|
908
|
+
showColorScale: a?.showColorScale,
|
|
909
|
+
zoomScaleExtend: a?.zoomScaleExtend,
|
|
910
|
+
zoomTranslateExtend: a?.zoomTranslateExtend,
|
|
911
|
+
graphID: a?.graphID,
|
|
912
|
+
highlightedDataPoints: a?.highlightedDataPoints,
|
|
913
|
+
graphDownload: a?.graphDownload,
|
|
914
|
+
dataDownload: a?.dataDownload,
|
|
915
|
+
showAntarctica: a?.showAntarctica,
|
|
916
|
+
language: a?.language,
|
|
917
|
+
minHeight: a?.minHeight,
|
|
918
|
+
ariaLabel: a?.ariaLabel,
|
|
919
|
+
detailsOnClick: a?.detailsOnClick,
|
|
920
|
+
styles: a?.styles,
|
|
921
|
+
classNames: a?.classNames,
|
|
922
|
+
zoomInteraction: a?.zoomInteraction,
|
|
923
|
+
animate: a?.animate,
|
|
924
|
+
projectionRotate: a?.projectionRotate,
|
|
925
|
+
rewindCoordinatesInMapData: a?.rewindCoordinatesInMapData
|
|
926
|
+
};
|
|
927
|
+
case "hybridMap":
|
|
928
|
+
return {
|
|
929
|
+
numberDisplayOptions: a?.numberDisplayOptions,
|
|
930
|
+
timeline: a?.timeline,
|
|
931
|
+
customLayers: a?.customLayers,
|
|
932
|
+
theme: a?.theme,
|
|
933
|
+
mapOverlay: a?.mapOverlay,
|
|
934
|
+
dimmedOpacity: a?.dimmedOpacity,
|
|
935
|
+
collapseColorScaleByDefault: a?.collapseColorScaleByDefault,
|
|
936
|
+
resetSelectionOnDoubleClick: a?.resetSelectionOnDoubleClick,
|
|
937
|
+
graphTitle: a?.graphTitle,
|
|
938
|
+
mapData: a?.mapData,
|
|
939
|
+
mapProjection: a?.mapProjection,
|
|
940
|
+
graphDescription: a?.graphDescription,
|
|
941
|
+
footNote: a?.footNote,
|
|
942
|
+
width: a?.width,
|
|
943
|
+
height: a?.height,
|
|
944
|
+
sources: a?.sources,
|
|
945
|
+
colorDomain: a?.colorDomain,
|
|
946
|
+
colors: a?.colors,
|
|
947
|
+
mapColorLegendTitle: Object.keys(a || {}).indexOf("mapColorLegendTitle") !== -1 ? a?.mapColorLegendTitle : r("x", t || [], i || []),
|
|
948
|
+
choroplethScaleType: a?.choroplethScaleType,
|
|
949
|
+
data: o,
|
|
950
|
+
scale: a?.scale,
|
|
951
|
+
centerPoint: a?.centerPoint,
|
|
952
|
+
backgroundColor: a?.backgroundColor,
|
|
953
|
+
mapBorderWidth: a?.mapBorderWidth,
|
|
954
|
+
mapNoDataColor: a?.mapNoDataColor,
|
|
955
|
+
mapBorderColor: a?.mapBorderColor,
|
|
956
|
+
relativeHeight: a?.relativeHeight,
|
|
957
|
+
padding: a?.padding,
|
|
958
|
+
isWorldMap: a?.isWorldMap,
|
|
959
|
+
tooltip: a?.tooltip,
|
|
960
|
+
showColorScale: a?.showColorScale,
|
|
961
|
+
zoomScaleExtend: a?.zoomScaleExtend,
|
|
962
|
+
zoomTranslateExtend: a?.zoomTranslateExtend,
|
|
963
|
+
graphID: a?.graphID,
|
|
964
|
+
highlightedIds: a?.highlightedIds,
|
|
965
|
+
graphDownload: a?.graphDownload,
|
|
966
|
+
dataDownload: a?.dataDownload,
|
|
967
|
+
mapProperty: a?.mapProperty,
|
|
968
|
+
showAntarctica: a?.showAntarctica,
|
|
969
|
+
language: a?.language,
|
|
970
|
+
minHeight: a?.minHeight,
|
|
971
|
+
ariaLabel: a?.ariaLabel,
|
|
972
|
+
onSeriesMouseClick: (l) => {
|
|
973
|
+
s?.(l.id);
|
|
974
|
+
},
|
|
975
|
+
detailsOnClick: a?.detailsOnClick,
|
|
976
|
+
styles: a?.styles,
|
|
977
|
+
classNames: a?.classNames,
|
|
978
|
+
zoomInteraction: a?.zoomInteraction,
|
|
979
|
+
animate: a?.animate,
|
|
980
|
+
maxRadiusValue: a?.maxRadiusValue,
|
|
981
|
+
radius: a?.radius,
|
|
982
|
+
showLabels: a?.showLabels,
|
|
983
|
+
highlightedDataPoints: a?.highlightedDataPoints,
|
|
984
|
+
dotLegendTitle: a?.dotLegendTitle,
|
|
985
|
+
dotColor: a?.dotColor,
|
|
986
|
+
dotBorderColor: a?.dotBorderColor,
|
|
987
|
+
labelColor: a?.labelColor,
|
|
988
|
+
projectionRotate: a?.projectionRotate,
|
|
989
|
+
rewindCoordinatesInMapData: a?.rewindCoordinatesInMapData
|
|
990
|
+
};
|
|
991
|
+
case "donutChart":
|
|
992
|
+
return {
|
|
993
|
+
numberDisplayOptions: a?.numberDisplayOptions,
|
|
994
|
+
naLabel: a?.naLabel,
|
|
995
|
+
trackColor: a?.trackColor,
|
|
996
|
+
theme: a?.theme,
|
|
997
|
+
resetSelectionOnDoubleClick: a?.resetSelectionOnDoubleClick,
|
|
998
|
+
mainText: a?.mainText,
|
|
999
|
+
data: o,
|
|
1000
|
+
colors: a?.colors,
|
|
1001
|
+
graphTitle: a?.graphTitle,
|
|
1002
|
+
sources: a?.sources,
|
|
1003
|
+
graphDescription: a?.graphDescription,
|
|
1004
|
+
subNote: a?.subNote,
|
|
1005
|
+
footNote: a?.footNote,
|
|
1006
|
+
radius: a?.radius,
|
|
1007
|
+
strokeWidth: a?.strokeWidth,
|
|
1008
|
+
showColorScale: a?.showColorScale,
|
|
1009
|
+
backgroundColor: a?.backgroundColor,
|
|
1010
|
+
padding: a?.padding,
|
|
1011
|
+
tooltip: a?.tooltip,
|
|
1012
|
+
graphID: a?.graphID,
|
|
1013
|
+
graphDownload: a?.graphDownload,
|
|
1014
|
+
dataDownload: a?.dataDownload,
|
|
1015
|
+
colorDomain: a?.colorDomain,
|
|
1016
|
+
sortData: a?.sortData,
|
|
1017
|
+
language: a?.language,
|
|
1018
|
+
width: a?.width,
|
|
1019
|
+
height: a?.height,
|
|
1020
|
+
minHeight: a?.minHeight,
|
|
1021
|
+
relativeHeight: a?.relativeHeight,
|
|
1022
|
+
ariaLabel: a?.ariaLabel,
|
|
1023
|
+
legendMaxWidth: a?.legendMaxWidth,
|
|
1024
|
+
onSeriesMouseClick: (l) => {
|
|
1025
|
+
s?.(l.label);
|
|
1026
|
+
},
|
|
1027
|
+
detailsOnClick: a?.detailsOnClick,
|
|
1028
|
+
styles: a?.styles,
|
|
1029
|
+
classNames: a?.classNames,
|
|
1030
|
+
colorScaleMaxWidth: a?.colorScaleMaxWidth,
|
|
1031
|
+
animate: a?.animate
|
|
1032
|
+
};
|
|
1033
|
+
case "slopeChart":
|
|
1034
|
+
return {
|
|
1035
|
+
customLayers: a?.customLayers,
|
|
1036
|
+
theme: a?.theme,
|
|
1037
|
+
dimmedOpacity: a?.dimmedOpacity,
|
|
1038
|
+
resetSelectionOnDoubleClick: a?.resetSelectionOnDoubleClick,
|
|
1039
|
+
data: o,
|
|
1040
|
+
graphTitle: a?.graphTitle,
|
|
1041
|
+
graphDescription: a?.graphDescription,
|
|
1042
|
+
footNote: a?.footNote,
|
|
1043
|
+
width: a?.width,
|
|
1044
|
+
height: a?.height,
|
|
1045
|
+
sources: a?.sources,
|
|
1046
|
+
showLabels: a?.showLabels,
|
|
1047
|
+
colors: a?.colors,
|
|
1048
|
+
colorDomain: a?.colorDomain,
|
|
1049
|
+
colorLegendTitle: Object.keys(a || {}).indexOf("colorLegendTitle") !== -1 ? a?.colorLegendTitle : r("color", t || [], i || []),
|
|
1050
|
+
radius: a?.radius,
|
|
1051
|
+
axisTitles: a?.axisTitles,
|
|
1052
|
+
backgroundColor: a?.backgroundColor,
|
|
1053
|
+
padding: a?.padding,
|
|
1054
|
+
leftMargin: a?.leftMargin,
|
|
1055
|
+
rightMargin: a?.rightMargin,
|
|
1056
|
+
topMargin: a?.topMargin,
|
|
1057
|
+
bottomMargin: a?.bottomMargin,
|
|
1058
|
+
relativeHeight: a?.relativeHeight,
|
|
1059
|
+
tooltip: a?.tooltip,
|
|
1060
|
+
highlightedDataPoints: a?.highlightedDataPoints,
|
|
1061
|
+
showColorScale: a?.showColorScale,
|
|
1062
|
+
graphID: a?.graphID,
|
|
1063
|
+
maxValue: a?.maxValue,
|
|
1064
|
+
minValue: a?.minValue,
|
|
1065
|
+
graphDownload: a?.graphDownload,
|
|
1066
|
+
dataDownload: a?.dataDownload,
|
|
1067
|
+
fillContainer: a?.fillContainer,
|
|
1068
|
+
language: a?.language,
|
|
1069
|
+
minHeight: a?.minHeight,
|
|
1070
|
+
ariaLabel: a?.ariaLabel,
|
|
1071
|
+
detailsOnClick: a?.detailsOnClick,
|
|
1072
|
+
styles: a?.styles,
|
|
1073
|
+
classNames: a?.classNames,
|
|
1074
|
+
animate: a?.animate
|
|
1075
|
+
};
|
|
1076
|
+
case "scatterPlot":
|
|
1077
|
+
return {
|
|
1078
|
+
xNumberDisplayOptions: a?.xNumberDisplayOptions,
|
|
1079
|
+
yNumberDisplayOptions: a?.yNumberDisplayOptions,
|
|
1080
|
+
timeline: a?.timeline,
|
|
1081
|
+
customLayers: a?.customLayers,
|
|
1082
|
+
theme: a?.theme,
|
|
1083
|
+
showVoronoiTesselation: a?.showVoronoiTesselation,
|
|
1084
|
+
useVoronoiInteraction: a?.useVoronoiInteraction,
|
|
1085
|
+
dimmedOpacity: a?.dimmedOpacity,
|
|
1086
|
+
resetSelectionOnDoubleClick: a?.resetSelectionOnDoubleClick,
|
|
1087
|
+
data: o,
|
|
1088
|
+
graphTitle: a?.graphTitle,
|
|
1089
|
+
graphDescription: a?.graphDescription,
|
|
1090
|
+
footNote: a?.footNote,
|
|
1091
|
+
width: a?.width,
|
|
1092
|
+
height: a?.height,
|
|
1093
|
+
sources: a?.sources,
|
|
1094
|
+
showLabels: a?.showLabels,
|
|
1095
|
+
colors: a?.colors,
|
|
1096
|
+
colorDomain: a?.colorDomain,
|
|
1097
|
+
colorLegendTitle: Object.keys(a || {}).indexOf("colorLegendTitle") !== -1 ? a?.colorLegendTitle : r("color", t || [], i || []),
|
|
1098
|
+
radius: a?.radius,
|
|
1099
|
+
xAxisTitle: Object.keys(a || {}).indexOf("xAxisTitle") !== -1 ? a?.xAxisTitle : r("x", t || [], i || []),
|
|
1100
|
+
yAxisTitle: Object.keys(a || {}).indexOf("yAxisTitle") !== -1 ? a?.yAxisTitle : r("y", t || [], i || []),
|
|
1101
|
+
backgroundColor: a?.backgroundColor,
|
|
1102
|
+
padding: a?.padding,
|
|
1103
|
+
leftMargin: a?.leftMargin,
|
|
1104
|
+
rightMargin: a?.rightMargin,
|
|
1105
|
+
topMargin: a?.topMargin,
|
|
1106
|
+
bottomMargin: a?.bottomMargin,
|
|
1107
|
+
relativeHeight: a?.relativeHeight,
|
|
1108
|
+
tooltip: a?.tooltip,
|
|
1109
|
+
refXValues: a?.refXValues,
|
|
1110
|
+
refYValues: a?.refYValues,
|
|
1111
|
+
highlightedDataPoints: a?.highlightedDataPoints,
|
|
1112
|
+
highlightAreaSettings: a?.highlightAreaSettings,
|
|
1113
|
+
showColorScale: a?.showColorScale,
|
|
1114
|
+
graphID: a?.graphID,
|
|
1115
|
+
maxRadiusValue: a?.maxRadiusValue,
|
|
1116
|
+
maxXValue: a?.maxXValue,
|
|
1117
|
+
minXValue: a?.minXValue,
|
|
1118
|
+
maxYValue: a?.maxYValue,
|
|
1119
|
+
minYValue: a?.minYValue,
|
|
1120
|
+
graphDownload: a?.graphDownload,
|
|
1121
|
+
dataDownload: a?.dataDownload,
|
|
1122
|
+
language: a?.language,
|
|
1123
|
+
minHeight: a?.minHeight,
|
|
1124
|
+
showNAColor: a?.showNAColor,
|
|
1125
|
+
customHighlightAreaSettings: a?.customHighlightAreaSettings,
|
|
1126
|
+
annotations: a?.annotations,
|
|
1127
|
+
regressionLine: a?.regressionLine,
|
|
1128
|
+
ariaLabel: a?.ariaLabel,
|
|
1129
|
+
detailsOnClick: a?.detailsOnClick,
|
|
1130
|
+
noOfXTicks: a?.noOfXTicks,
|
|
1131
|
+
noOfYTicks: a?.noOfYTicks,
|
|
1132
|
+
labelColor: a?.labelColor,
|
|
1133
|
+
styles: a?.styles,
|
|
1134
|
+
classNames: a?.classNames,
|
|
1135
|
+
animate: a?.animate
|
|
1136
|
+
};
|
|
1137
|
+
case "dumbbellChart":
|
|
1138
|
+
return {
|
|
1139
|
+
numberDisplayOptions: a?.numberDisplayOptions,
|
|
1140
|
+
timeline: a?.timeline,
|
|
1141
|
+
customLayers: a?.customLayers,
|
|
1142
|
+
theme: a?.theme,
|
|
1143
|
+
orientation: a?.orientation,
|
|
1144
|
+
refValues: a?.refValues,
|
|
1145
|
+
resetSelectionOnDoubleClick: a?.resetSelectionOnDoubleClick,
|
|
1146
|
+
data: o,
|
|
1147
|
+
colors: a?.colors,
|
|
1148
|
+
graphTitle: a?.graphTitle,
|
|
1149
|
+
graphDescription: a?.graphDescription,
|
|
1150
|
+
footNote: a?.footNote,
|
|
1151
|
+
width: a?.width,
|
|
1152
|
+
height: a?.height,
|
|
1153
|
+
sources: a?.sources,
|
|
1154
|
+
barPadding: a?.barPadding,
|
|
1155
|
+
showTicks: a?.showTicks,
|
|
1156
|
+
leftMargin: a?.leftMargin,
|
|
1157
|
+
rightMargin: a?.rightMargin,
|
|
1158
|
+
topMargin: a?.topMargin,
|
|
1159
|
+
bottomMargin: a?.bottomMargin,
|
|
1160
|
+
truncateBy: a?.truncateBy,
|
|
1161
|
+
labelOrder: a?.labelOrder,
|
|
1162
|
+
showColorScale: a?.showColorScale,
|
|
1163
|
+
colorDomain: a?.colorDomain || r("x", t || [], i || []),
|
|
1164
|
+
colorLegendTitle: a?.colorLegendTitle,
|
|
1165
|
+
backgroundColor: a?.backgroundColor,
|
|
1166
|
+
padding: a?.padding,
|
|
1167
|
+
radius: a?.radius,
|
|
1168
|
+
relativeHeight: a?.relativeHeight,
|
|
1169
|
+
showValues: a?.showValues,
|
|
1170
|
+
showLabels: a?.showLabels,
|
|
1171
|
+
tooltip: a?.tooltip,
|
|
1172
|
+
graphID: a?.graphID,
|
|
1173
|
+
maxValue: a?.maxValue,
|
|
1174
|
+
minValue: a?.minValue,
|
|
1175
|
+
graphDownload: a?.graphDownload,
|
|
1176
|
+
dataDownload: a?.dataDownload,
|
|
1177
|
+
language: a?.language,
|
|
1178
|
+
minHeight: a?.minHeight,
|
|
1179
|
+
sortParameter: a?.sortParameter,
|
|
1180
|
+
sortData: a?.sortData,
|
|
1181
|
+
arrowConnector: a?.arrowConnector,
|
|
1182
|
+
connectorStrokeWidth: a?.connectorStrokeWidth,
|
|
1183
|
+
maxBarThickness: a?.maxBarThickness,
|
|
1184
|
+
minBarThickness: a?.minBarThickness,
|
|
1185
|
+
maxNumberOfBars: a?.maxNumberOfBars,
|
|
1186
|
+
ariaLabel: a?.ariaLabel,
|
|
1187
|
+
detailsOnClick: a?.detailsOnClick,
|
|
1188
|
+
axisTitle: a?.axisTitle,
|
|
1189
|
+
noOfTicks: a?.noOfTicks,
|
|
1190
|
+
valueColor: a?.valueColor,
|
|
1191
|
+
styles: a?.styles,
|
|
1192
|
+
classNames: a?.classNames,
|
|
1193
|
+
animate: a?.animate,
|
|
1194
|
+
highlightedDataPoints: a?.highlightedDataPoints,
|
|
1195
|
+
dimmedOpacity: a?.dimmedOpacity,
|
|
1196
|
+
hideAxisLine: a?.hideAxisLine
|
|
1197
|
+
};
|
|
1198
|
+
case "treeMap":
|
|
1199
|
+
return {
|
|
1200
|
+
numberDisplayOptions: a?.numberDisplayOptions,
|
|
1201
|
+
theme: a?.theme,
|
|
1202
|
+
dimmedOpacity: a?.dimmedOpacity,
|
|
1203
|
+
resetSelectionOnDoubleClick: a?.resetSelectionOnDoubleClick,
|
|
1204
|
+
data: o,
|
|
1205
|
+
colors: a?.colors,
|
|
1206
|
+
graphTitle: a?.graphTitle,
|
|
1207
|
+
graphDescription: a?.graphDescription,
|
|
1208
|
+
footNote: a?.footNote,
|
|
1209
|
+
width: a?.width,
|
|
1210
|
+
height: a?.height,
|
|
1211
|
+
sources: a?.sources,
|
|
1212
|
+
leftMargin: a?.leftMargin,
|
|
1213
|
+
rightMargin: a?.rightMargin,
|
|
1214
|
+
colorDomain: a?.colorDomain,
|
|
1215
|
+
colorLegendTitle: Object.keys(a || {}).indexOf("colorLegendTitle") !== -1 ? a?.colorLegendTitle : r("color", t || [], i || []),
|
|
1216
|
+
backgroundColor: a?.backgroundColor,
|
|
1217
|
+
padding: a?.padding,
|
|
1218
|
+
topMargin: a?.topMargin,
|
|
1219
|
+
bottomMargin: a?.bottomMargin,
|
|
1220
|
+
relativeHeight: a?.relativeHeight,
|
|
1221
|
+
showLabels: a?.showLabels,
|
|
1222
|
+
tooltip: a?.tooltip,
|
|
1223
|
+
showColorScale: a?.showColorScale,
|
|
1224
|
+
showValues: a?.showValues,
|
|
1225
|
+
graphID: a?.graphID,
|
|
1226
|
+
highlightedDataPoints: a?.highlightedDataPoints,
|
|
1227
|
+
graphDownload: a?.graphDownload,
|
|
1228
|
+
dataDownload: a?.dataDownload,
|
|
1229
|
+
language: a?.language,
|
|
1230
|
+
minHeight: a?.minHeight,
|
|
1231
|
+
showNAColor: a?.showNAColor,
|
|
1232
|
+
ariaLabel: a?.ariaLabel,
|
|
1233
|
+
onSeriesMouseClick: (l) => {
|
|
1234
|
+
s?.(l.label);
|
|
1235
|
+
},
|
|
1236
|
+
detailsOnClick: a?.detailsOnClick,
|
|
1237
|
+
styles: a?.styles,
|
|
1238
|
+
classNames: a?.classNames,
|
|
1239
|
+
animate: a?.animate
|
|
1240
|
+
};
|
|
1241
|
+
case "circlePacking":
|
|
1242
|
+
return {
|
|
1243
|
+
numberDisplayOptions: a?.numberDisplayOptions,
|
|
1244
|
+
theme: a?.theme,
|
|
1245
|
+
dimmedOpacity: a?.dimmedOpacity,
|
|
1246
|
+
resetSelectionOnDoubleClick: a?.resetSelectionOnDoubleClick,
|
|
1247
|
+
data: o,
|
|
1248
|
+
colors: a?.colors,
|
|
1249
|
+
graphTitle: a?.graphTitle,
|
|
1250
|
+
graphDescription: a?.graphDescription,
|
|
1251
|
+
footNote: a?.footNote,
|
|
1252
|
+
width: a?.width,
|
|
1253
|
+
height: a?.height,
|
|
1254
|
+
sources: a?.sources,
|
|
1255
|
+
leftMargin: a?.leftMargin,
|
|
1256
|
+
rightMargin: a?.rightMargin,
|
|
1257
|
+
colorDomain: a?.colorDomain,
|
|
1258
|
+
circularBoundary: a?.circularBoundary,
|
|
1259
|
+
colorLegendTitle: Object.keys(a || {}).indexOf("colorLegendTitle") !== -1 ? a?.colorLegendTitle : r("color", t || [], i || []),
|
|
1260
|
+
backgroundColor: a?.backgroundColor,
|
|
1261
|
+
padding: a?.padding,
|
|
1262
|
+
topMargin: a?.topMargin,
|
|
1263
|
+
bottomMargin: a?.bottomMargin,
|
|
1264
|
+
relativeHeight: a?.relativeHeight,
|
|
1265
|
+
showLabels: a?.showLabels,
|
|
1266
|
+
tooltip: a?.tooltip,
|
|
1267
|
+
showColorScale: a?.showColorScale,
|
|
1268
|
+
showValues: a?.showValues,
|
|
1269
|
+
graphID: a?.graphID,
|
|
1270
|
+
highlightedDataPoints: a?.highlightedDataPoints,
|
|
1271
|
+
graphDownload: a?.graphDownload,
|
|
1272
|
+
dataDownload: a?.dataDownload,
|
|
1273
|
+
language: a?.language,
|
|
1274
|
+
minHeight: a?.minHeight,
|
|
1275
|
+
showNAColor: a?.showNAColor,
|
|
1276
|
+
ariaLabel: a?.ariaLabel,
|
|
1277
|
+
radius: a?.radius,
|
|
1278
|
+
maxRadiusValue: a?.maxRadiusValue,
|
|
1279
|
+
onSeriesMouseClick: (l) => {
|
|
1280
|
+
s?.(l.label);
|
|
1281
|
+
},
|
|
1282
|
+
detailsOnClick: a?.detailsOnClick,
|
|
1283
|
+
styles: a?.styles,
|
|
1284
|
+
classNames: a?.classNames,
|
|
1285
|
+
animate: a?.animate
|
|
1286
|
+
};
|
|
1287
|
+
case "heatMap":
|
|
1288
|
+
return {
|
|
1289
|
+
naLabel: a?.naLabel,
|
|
1290
|
+
numberDisplayOptions: a?.numberDisplayOptions,
|
|
1291
|
+
theme: a?.theme,
|
|
1292
|
+
resetSelectionOnDoubleClick: a?.resetSelectionOnDoubleClick,
|
|
1293
|
+
data: o,
|
|
1294
|
+
colors: a?.colors,
|
|
1295
|
+
graphTitle: a?.graphTitle,
|
|
1296
|
+
graphDescription: a?.graphDescription,
|
|
1297
|
+
footNote: a?.footNote,
|
|
1298
|
+
width: a?.width,
|
|
1299
|
+
height: a?.height,
|
|
1300
|
+
sources: a?.sources,
|
|
1301
|
+
scaleType: a?.scaleType,
|
|
1302
|
+
colorDomain: a?.colorDomain,
|
|
1303
|
+
showColumnLabels: a?.showColumnLabels,
|
|
1304
|
+
leftMargin: a?.leftMargin,
|
|
1305
|
+
rightMargin: a?.rightMargin,
|
|
1306
|
+
truncateBy: a?.truncateBy,
|
|
1307
|
+
colorLegendTitle: Object.keys(a || {}).indexOf("colorLegendTitle") !== -1 ? a?.colorLegendTitle : r("color", t || [], i || []),
|
|
1308
|
+
backgroundColor: a?.backgroundColor,
|
|
1309
|
+
padding: a?.padding,
|
|
1310
|
+
topMargin: a?.topMargin,
|
|
1311
|
+
bottomMargin: a?.bottomMargin,
|
|
1312
|
+
showValues: a?.showValues,
|
|
1313
|
+
showRowLabels: a?.showRowLabels,
|
|
1314
|
+
relativeHeight: a?.relativeHeight,
|
|
1315
|
+
tooltip: a?.tooltip,
|
|
1316
|
+
graphID: a?.graphID,
|
|
1317
|
+
noDataColor: a?.noDataColor,
|
|
1318
|
+
showColorScale: a?.showColorScale,
|
|
1319
|
+
graphDownload: a?.graphDownload,
|
|
1320
|
+
dataDownload: a?.dataDownload,
|
|
1321
|
+
fillContainer: a?.fillContainer,
|
|
1322
|
+
language: a?.language,
|
|
1323
|
+
minHeight: a?.minHeight,
|
|
1324
|
+
showNAColor: a?.showNAColor,
|
|
1325
|
+
ariaLabel: a?.ariaLabel,
|
|
1326
|
+
detailsOnClick: a?.detailsOnClick,
|
|
1327
|
+
styles: a?.styles,
|
|
1328
|
+
classNames: a?.classNames,
|
|
1329
|
+
animate: a?.animate
|
|
1330
|
+
};
|
|
1331
|
+
case "stripChart":
|
|
1332
|
+
return {
|
|
1333
|
+
numberDisplayOptions: a?.numberDisplayOptions,
|
|
1334
|
+
showDataMinMax: a?.showDataMinMax,
|
|
1335
|
+
customLayers: a?.customLayers,
|
|
1336
|
+
theme: a?.theme,
|
|
1337
|
+
dimmedOpacity: a?.dimmedOpacity,
|
|
1338
|
+
orientation: a?.orientation,
|
|
1339
|
+
resetSelectionOnDoubleClick: a?.resetSelectionOnDoubleClick,
|
|
1340
|
+
data: o,
|
|
1341
|
+
graphTitle: a?.graphTitle,
|
|
1342
|
+
graphDescription: a?.graphDescription,
|
|
1343
|
+
footNote: a?.footNote,
|
|
1344
|
+
width: a?.width,
|
|
1345
|
+
height: a?.height,
|
|
1346
|
+
sources: a?.sources,
|
|
1347
|
+
colors: a?.colors,
|
|
1348
|
+
colorDomain: a?.colorDomain,
|
|
1349
|
+
colorLegendTitle: Object.keys(a || {}).indexOf("colorLegendTitle") !== -1 ? a?.colorLegendTitle : r("color", t || [], i || []),
|
|
1350
|
+
radius: a?.radius,
|
|
1351
|
+
backgroundColor: a?.backgroundColor,
|
|
1352
|
+
padding: a?.padding,
|
|
1353
|
+
leftMargin: a?.leftMargin,
|
|
1354
|
+
rightMargin: a?.rightMargin,
|
|
1355
|
+
topMargin: a?.topMargin,
|
|
1356
|
+
bottomMargin: a?.bottomMargin,
|
|
1357
|
+
relativeHeight: a?.relativeHeight,
|
|
1358
|
+
tooltip: a?.tooltip,
|
|
1359
|
+
highlightedDataPoints: a?.highlightedDataPoints,
|
|
1360
|
+
showColorScale: a?.showColorScale,
|
|
1361
|
+
graphID: a?.graphID,
|
|
1362
|
+
maxValue: a?.maxValue,
|
|
1363
|
+
minValue: a?.minValue,
|
|
1364
|
+
noOfTicks: a?.noOfTicks,
|
|
1365
|
+
graphDownload: a?.graphDownload,
|
|
1366
|
+
dataDownload: a?.dataDownload,
|
|
1367
|
+
stripType: a?.stripType,
|
|
1368
|
+
valueColor: a?.valueColor,
|
|
1369
|
+
language: a?.language,
|
|
1370
|
+
minHeight: a?.minHeight,
|
|
1371
|
+
highlightColor: a?.highlightColor,
|
|
1372
|
+
dotOpacity: a?.dotOpacity,
|
|
1373
|
+
showNAColor: a?.showNAColor,
|
|
1374
|
+
ariaLabel: a?.ariaLabel,
|
|
1375
|
+
detailsOnClick: a?.detailsOnClick,
|
|
1376
|
+
styles: a?.styles,
|
|
1377
|
+
classNames: a?.classNames,
|
|
1378
|
+
animate: a?.animate
|
|
1379
|
+
};
|
|
1380
|
+
case "beeSwarmChart":
|
|
1381
|
+
return {
|
|
1382
|
+
customLayers: a?.customLayers,
|
|
1383
|
+
theme: a?.theme,
|
|
1384
|
+
dimmedOpacity: a?.dimmedOpacity,
|
|
1385
|
+
resetSelectionOnDoubleClick: a?.resetSelectionOnDoubleClick,
|
|
1386
|
+
data: o,
|
|
1387
|
+
colors: a?.colors,
|
|
1388
|
+
graphTitle: a?.graphTitle,
|
|
1389
|
+
graphDescription: a?.graphDescription,
|
|
1390
|
+
footNote: a?.footNote,
|
|
1391
|
+
width: a?.width,
|
|
1392
|
+
height: a?.height,
|
|
1393
|
+
sources: a?.sources,
|
|
1394
|
+
showTicks: a?.showTicks,
|
|
1395
|
+
leftMargin: a?.leftMargin,
|
|
1396
|
+
rightMargin: a?.rightMargin,
|
|
1397
|
+
colorDomain: a?.colorDomain,
|
|
1398
|
+
colorLegendTitle: Object.keys(a || {}).indexOf("colorLegendTitle") !== -1 ? a?.colorLegendTitle : r("color", t || [], i || []),
|
|
1399
|
+
backgroundColor: a?.backgroundColor,
|
|
1400
|
+
padding: a?.padding,
|
|
1401
|
+
topMargin: a?.topMargin,
|
|
1402
|
+
bottomMargin: a?.bottomMargin,
|
|
1403
|
+
relativeHeight: a?.relativeHeight,
|
|
1404
|
+
showLabels: a?.showLabels,
|
|
1405
|
+
showColorScale: a?.showColorScale,
|
|
1406
|
+
tooltip: a?.tooltip,
|
|
1407
|
+
refValues: a?.refValues,
|
|
1408
|
+
graphID: a?.graphID,
|
|
1409
|
+
radius: a?.radius,
|
|
1410
|
+
maxRadiusValue: a?.maxRadiusValue,
|
|
1411
|
+
maxValue: a?.maxValue,
|
|
1412
|
+
minValue: a?.minValue,
|
|
1413
|
+
highlightedDataPoints: a?.highlightedDataPoints,
|
|
1414
|
+
graphDownload: a?.graphDownload,
|
|
1415
|
+
dataDownload: a?.dataDownload,
|
|
1416
|
+
language: a?.language,
|
|
1417
|
+
minHeight: a?.minHeight,
|
|
1418
|
+
showNAColor: a?.showNAColor,
|
|
1419
|
+
ariaLabel: a?.ariaLabel,
|
|
1420
|
+
detailsOnClick: a?.detailsOnClick,
|
|
1421
|
+
orientation: a?.orientation,
|
|
1422
|
+
styles: a?.styles,
|
|
1423
|
+
classNames: a?.classNames,
|
|
1424
|
+
animate: a?.animate,
|
|
1425
|
+
hideAxisLine: a?.hideAxisLine,
|
|
1426
|
+
numberDisplayOptions: a?.numberDisplayOptions
|
|
1427
|
+
};
|
|
1428
|
+
case "butterflyChart":
|
|
1429
|
+
return {
|
|
1430
|
+
numberDisplayOptions: a?.numberDisplayOptions,
|
|
1431
|
+
naLabel: a?.naLabel,
|
|
1432
|
+
timeline: a?.timeline,
|
|
1433
|
+
customLayers: a?.customLayers,
|
|
1434
|
+
theme: a?.theme,
|
|
1435
|
+
resetSelectionOnDoubleClick: a?.resetSelectionOnDoubleClick,
|
|
1436
|
+
data: o,
|
|
1437
|
+
graphTitle: a?.graphTitle,
|
|
1438
|
+
graphDescription: a?.graphDescription,
|
|
1439
|
+
leftBarTitle: Object.keys(a || {}).indexOf("leftBarTitle") !== -1 ? a?.leftBarTitle : r("leftBar", t || [], i || []),
|
|
1440
|
+
rightBarTitle: Object.keys(a || {}).indexOf("rightBarTitle") !== -1 ? a?.rightBarTitle : r("rightBar", t || [], i || []),
|
|
1441
|
+
footNote: a?.footNote,
|
|
1442
|
+
width: a?.width,
|
|
1443
|
+
height: a?.height,
|
|
1444
|
+
sources: a?.sources,
|
|
1445
|
+
backgroundColor: a?.backgroundColor,
|
|
1446
|
+
padding: a?.padding,
|
|
1447
|
+
leftMargin: a?.leftMargin,
|
|
1448
|
+
rightMargin: a?.rightMargin,
|
|
1449
|
+
topMargin: a?.topMargin,
|
|
1450
|
+
bottomMargin: a?.bottomMargin,
|
|
1451
|
+
barColors: a?.barColors,
|
|
1452
|
+
relativeHeight: a?.relativeHeight,
|
|
1453
|
+
tooltip: a?.tooltip,
|
|
1454
|
+
graphID: a?.graphID,
|
|
1455
|
+
graphDownload: a?.graphDownload,
|
|
1456
|
+
dataDownload: a?.dataDownload,
|
|
1457
|
+
barPadding: a?.barPadding,
|
|
1458
|
+
truncateBy: a?.truncateBy,
|
|
1459
|
+
showTicks: a?.showTicks,
|
|
1460
|
+
showValues: a?.showValues,
|
|
1461
|
+
centerGap: a?.centerGap,
|
|
1462
|
+
maxValue: a?.maxValue,
|
|
1463
|
+
minValue: a?.minValue,
|
|
1464
|
+
showColorScale: a?.showColorScale,
|
|
1465
|
+
refValues: a?.refValues,
|
|
1466
|
+
language: a?.language,
|
|
1467
|
+
minHeight: a?.minHeight,
|
|
1468
|
+
ariaLabel: a?.ariaLabel,
|
|
1469
|
+
detailsOnClick: a?.detailsOnClick,
|
|
1470
|
+
styles: a?.styles,
|
|
1471
|
+
classNames: a?.classNames,
|
|
1472
|
+
animate: a?.animate,
|
|
1473
|
+
hideAxisLine: a?.hideAxisLine
|
|
1474
|
+
};
|
|
1475
|
+
case "histogram":
|
|
1476
|
+
return {
|
|
1477
|
+
numberDisplayOptions: a?.numberDisplayOptions,
|
|
1478
|
+
theme: a?.theme,
|
|
1479
|
+
data: o,
|
|
1480
|
+
colors: a?.colors,
|
|
1481
|
+
graphTitle: a?.graphTitle,
|
|
1482
|
+
graphDescription: a?.graphDescription,
|
|
1483
|
+
footNote: a?.footNote,
|
|
1484
|
+
width: a?.width,
|
|
1485
|
+
height: a?.height,
|
|
1486
|
+
sources: a?.sources,
|
|
1487
|
+
barPadding: a?.barPadding,
|
|
1488
|
+
showValues: a?.showValues,
|
|
1489
|
+
showTicks: a?.showTicks,
|
|
1490
|
+
leftMargin: a?.leftMargin,
|
|
1491
|
+
rightMargin: a?.rightMargin,
|
|
1492
|
+
backgroundColor: a?.backgroundColor,
|
|
1493
|
+
padding: a?.padding,
|
|
1494
|
+
topMargin: a?.topMargin,
|
|
1495
|
+
bottomMargin: a?.bottomMargin,
|
|
1496
|
+
relativeHeight: a?.relativeHeight,
|
|
1497
|
+
showLabels: a?.showLabels,
|
|
1498
|
+
maxValue: a?.maxValue,
|
|
1499
|
+
tooltip: a?.tooltip,
|
|
1500
|
+
refValues: a?.refValues,
|
|
1501
|
+
graphID: a?.graphID,
|
|
1502
|
+
graphDownload: a?.graphDownload,
|
|
1503
|
+
dataDownload: a?.dataDownload,
|
|
1504
|
+
numberOfBins: a?.numberOfBins,
|
|
1505
|
+
truncateBy: a?.truncateBy,
|
|
1506
|
+
donutStrokeWidth: a?.donutStrokeWidth,
|
|
1507
|
+
sortData: a?.sortData,
|
|
1508
|
+
barGraphLayout: a?.barGraphLayout,
|
|
1509
|
+
graphType: a?.graphType,
|
|
1510
|
+
language: a?.language,
|
|
1511
|
+
minHeight: a?.minHeight,
|
|
1512
|
+
maxBarThickness: a?.maxBarThickness,
|
|
1513
|
+
ariaLabel: a?.ariaLabel,
|
|
1514
|
+
detailsOnClick: a?.detailsOnClick,
|
|
1515
|
+
styles: a?.styles,
|
|
1516
|
+
classNames: a?.classNames,
|
|
1517
|
+
hideAxisLine: a?.hideAxisLine
|
|
1518
|
+
};
|
|
1519
|
+
case "sparkLine":
|
|
1520
|
+
return {
|
|
1521
|
+
customLayers: a?.customLayers,
|
|
1522
|
+
theme: a?.theme,
|
|
1523
|
+
data: o,
|
|
1524
|
+
curveType: a?.curveType,
|
|
1525
|
+
lineColor: a?.lineColor,
|
|
1526
|
+
graphTitle: a?.graphTitle,
|
|
1527
|
+
graphDescription: a?.graphDescription,
|
|
1528
|
+
footNote: a?.footNote,
|
|
1529
|
+
width: a?.width,
|
|
1530
|
+
height: a?.height,
|
|
1531
|
+
sources: a?.sources,
|
|
1532
|
+
dateFormat: a?.dateFormat,
|
|
1533
|
+
area: a?.area,
|
|
1534
|
+
backgroundColor: a?.backgroundColor,
|
|
1535
|
+
padding: a?.padding,
|
|
1536
|
+
leftMargin: a?.leftMargin,
|
|
1537
|
+
rightMargin: a?.rightMargin,
|
|
1538
|
+
topMargin: a?.topMargin,
|
|
1539
|
+
bottomMargin: a?.bottomMargin,
|
|
1540
|
+
relativeHeight: a?.relativeHeight,
|
|
1541
|
+
tooltip: a?.tooltip,
|
|
1542
|
+
graphID: a?.graphID,
|
|
1543
|
+
maxValue: a?.maxValue,
|
|
1544
|
+
minValue: a?.minValue,
|
|
1545
|
+
graphDownload: a?.graphDownload,
|
|
1546
|
+
dataDownload: a?.dataDownload,
|
|
1547
|
+
language: a?.language,
|
|
1548
|
+
minHeight: a?.minHeight,
|
|
1549
|
+
ariaLabel: a?.ariaLabel,
|
|
1550
|
+
styles: a?.styles,
|
|
1551
|
+
classNames: a?.classNames
|
|
1552
|
+
};
|
|
1553
|
+
case "paretoChart":
|
|
1554
|
+
return {
|
|
1555
|
+
barNumberDisplayOptions: a?.barNumberDisplayOptions,
|
|
1556
|
+
lineNumberDisplayOptions: a?.lineNumberDisplayOptions,
|
|
1557
|
+
showAxisLabels: a?.showAxisLabels,
|
|
1558
|
+
showColorScale: a?.showColorScale,
|
|
1559
|
+
naLabel: a?.naLabel,
|
|
1560
|
+
customLayers: a?.customLayers,
|
|
1561
|
+
theme: a?.theme,
|
|
1562
|
+
resetSelectionOnDoubleClick: a?.resetSelectionOnDoubleClick,
|
|
1563
|
+
data: o,
|
|
1564
|
+
showValues: a?.showValues,
|
|
1565
|
+
graphTitle: a?.graphTitle,
|
|
1566
|
+
graphDescription: a?.graphDescription,
|
|
1567
|
+
barTitle: Object.keys(a || {}).indexOf("barTitle") !== -1 ? a?.barTitle : r("barTitle", t || [], i || []),
|
|
1568
|
+
lineTitle: Object.keys(a || {}).indexOf("lineTitle") !== -1 ? a?.lineTitle : r("lineTitle", t || [], i || []),
|
|
1569
|
+
footNote: a?.footNote,
|
|
1570
|
+
width: a?.width,
|
|
1571
|
+
height: a?.height,
|
|
1572
|
+
sources: a?.sources,
|
|
1573
|
+
backgroundColor: a?.backgroundColor,
|
|
1574
|
+
padding: a?.padding,
|
|
1575
|
+
leftMargin: a?.leftMargin,
|
|
1576
|
+
rightMargin: a?.rightMargin,
|
|
1577
|
+
topMargin: a?.topMargin,
|
|
1578
|
+
bottomMargin: a?.bottomMargin,
|
|
1579
|
+
barColor: a?.barColor,
|
|
1580
|
+
curveType: a?.curveType,
|
|
1581
|
+
lineColor: a?.lineColor,
|
|
1582
|
+
sameAxes: a?.sameAxes,
|
|
1583
|
+
relativeHeight: a?.relativeHeight,
|
|
1584
|
+
tooltip: a?.tooltip,
|
|
1585
|
+
graphID: a?.graphID,
|
|
1586
|
+
graphDownload: a?.graphDownload,
|
|
1587
|
+
dataDownload: a?.dataDownload,
|
|
1588
|
+
barPadding: a?.barPadding,
|
|
1589
|
+
truncateBy: a?.truncateBy,
|
|
1590
|
+
showLabels: a?.showLabels,
|
|
1591
|
+
language: a?.language,
|
|
1592
|
+
minHeight: a?.minHeight,
|
|
1593
|
+
ariaLabel: a?.ariaLabel,
|
|
1594
|
+
detailsOnClick: a?.detailsOnClick,
|
|
1595
|
+
noOfTicks: a?.noOfTicks,
|
|
1596
|
+
barAxisTitle: a?.barAxisTitle,
|
|
1597
|
+
lineAxisTitle: a?.lineAxisTitle,
|
|
1598
|
+
styles: a?.styles,
|
|
1599
|
+
classNames: a?.classNames,
|
|
1600
|
+
animate: a?.animate
|
|
1601
|
+
};
|
|
1602
|
+
case "dataTable":
|
|
1603
|
+
return {
|
|
1604
|
+
naLabel: a?.naLabel,
|
|
1605
|
+
theme: a?.theme,
|
|
1606
|
+
resetSelectionOnDoubleClick: a?.resetSelectionOnDoubleClick,
|
|
1607
|
+
graphTitle: a?.graphTitle,
|
|
1608
|
+
sources: a?.sources,
|
|
1609
|
+
graphDescription: a?.graphDescription,
|
|
1610
|
+
footNote: a?.footNote,
|
|
1611
|
+
graphID: a?.graphID,
|
|
1612
|
+
width: a?.width,
|
|
1613
|
+
height: a?.height,
|
|
1614
|
+
columnData: a?.columnData || [],
|
|
1615
|
+
data: o,
|
|
1616
|
+
language: a?.language,
|
|
1617
|
+
ariaLabel: a?.ariaLabel,
|
|
1618
|
+
minWidth: a?.minWidth,
|
|
1619
|
+
backgroundColor: a?.backgroundColor,
|
|
1620
|
+
padding: a?.padding,
|
|
1621
|
+
styles: a?.styles,
|
|
1622
|
+
classNames: a?.classNames
|
|
1623
|
+
};
|
|
1624
|
+
case "statCard":
|
|
1625
|
+
return {
|
|
1626
|
+
naLabel: a?.naLabel,
|
|
1627
|
+
numberDisplayOptions: a?.numberDisplayOptions,
|
|
1628
|
+
theme: a?.theme,
|
|
1629
|
+
year: a?.year,
|
|
1630
|
+
data: o,
|
|
1631
|
+
graphTitle: a?.graphTitle || "",
|
|
1632
|
+
graphDescription: a?.graphDescription,
|
|
1633
|
+
sources: a?.sources || [],
|
|
1634
|
+
footNote: a?.footNote,
|
|
1635
|
+
backgroundColor: a?.backgroundColor,
|
|
1636
|
+
padding: a?.padding,
|
|
1637
|
+
graphID: a?.graphID,
|
|
1638
|
+
aggregationMethod: a?.aggregationMethod,
|
|
1639
|
+
language: a?.language,
|
|
1640
|
+
minHeight: a?.minHeight,
|
|
1641
|
+
countOnly: a?.countOnly,
|
|
1642
|
+
ariaLabel: a?.ariaLabel,
|
|
1643
|
+
textBackground: a?.textBackground,
|
|
1644
|
+
headingFontSize: a?.headingFontSize,
|
|
1645
|
+
centerAlign: a?.centerAlign,
|
|
1646
|
+
verticalAlign: a?.verticalAlign,
|
|
1647
|
+
styles: a?.styles,
|
|
1648
|
+
classNames: a?.classNames,
|
|
1649
|
+
layout: a?.layout
|
|
1650
|
+
};
|
|
1651
|
+
case "unitChart":
|
|
1652
|
+
return {
|
|
1653
|
+
naLabel: a?.naLabel,
|
|
1654
|
+
numberDisplayOptions: a?.numberDisplayOptions,
|
|
1655
|
+
theme: a?.theme,
|
|
1656
|
+
totalNoOfDots: a?.totalNoOfDots,
|
|
1657
|
+
gridSize: a?.gridSize,
|
|
1658
|
+
unitPadding: a?.unitPadding,
|
|
1659
|
+
size: a?.size,
|
|
1660
|
+
graphTitle: a?.graphTitle,
|
|
1661
|
+
sources: a?.sources,
|
|
1662
|
+
colors: a?.colors,
|
|
1663
|
+
graphDescription: a?.graphDescription,
|
|
1664
|
+
footNote: a?.footNote,
|
|
1665
|
+
backgroundColor: a?.backgroundColor,
|
|
1666
|
+
padding: a?.padding,
|
|
1667
|
+
graphID: a?.graphID,
|
|
1668
|
+
graphDownload: a?.graphDownload,
|
|
1669
|
+
dataDownload: a?.dataDownload,
|
|
1670
|
+
language: a?.language,
|
|
1671
|
+
showColorScale: a?.showColorScale,
|
|
1672
|
+
showStrokeForWhiteDots: a?.showStrokeForWhiteDots,
|
|
1673
|
+
note: a?.note,
|
|
1674
|
+
data: o,
|
|
1675
|
+
width: a?.width,
|
|
1676
|
+
height: a?.height,
|
|
1677
|
+
minHeight: a?.minHeight,
|
|
1678
|
+
relativeHeight: a?.relativeHeight,
|
|
1679
|
+
ariaLabel: a?.ariaLabel,
|
|
1680
|
+
styles: a?.styles,
|
|
1681
|
+
classNames: a?.classNames,
|
|
1682
|
+
animate: a?.animate
|
|
1683
|
+
};
|
|
1684
|
+
case "sankeyChart":
|
|
1685
|
+
return {
|
|
1686
|
+
numberDisplayOptions: a?.numberDisplayOptions,
|
|
1687
|
+
customLayers: a?.customLayers,
|
|
1688
|
+
theme: a?.theme,
|
|
1689
|
+
resetSelectionOnDoubleClick: a?.resetSelectionOnDoubleClick,
|
|
1690
|
+
data: o,
|
|
1691
|
+
graphTitle: a?.graphTitle,
|
|
1692
|
+
graphDescription: a?.graphDescription,
|
|
1693
|
+
footNote: a?.footNote,
|
|
1694
|
+
width: a?.width,
|
|
1695
|
+
height: a?.height,
|
|
1696
|
+
sources: a?.sources,
|
|
1697
|
+
showLabels: a?.showLabels,
|
|
1698
|
+
leftMargin: a?.leftMargin,
|
|
1699
|
+
rightMargin: a?.rightMargin,
|
|
1700
|
+
topMargin: a?.topMargin,
|
|
1701
|
+
bottomMargin: a?.bottomMargin,
|
|
1702
|
+
truncateBy: a?.truncateBy,
|
|
1703
|
+
padding: a?.padding,
|
|
1704
|
+
backgroundColor: a?.backgroundColor,
|
|
1705
|
+
tooltip: a?.tooltip,
|
|
1706
|
+
relativeHeight: a?.relativeHeight,
|
|
1707
|
+
showValues: a?.showValues,
|
|
1708
|
+
graphID: a?.graphID,
|
|
1709
|
+
graphDownload: a?.graphDownload,
|
|
1710
|
+
dataDownload: a?.dataDownload,
|
|
1711
|
+
fillContainer: a?.fillContainer,
|
|
1712
|
+
language: a?.language,
|
|
1713
|
+
minHeight: a?.minHeight,
|
|
1714
|
+
ariaLabel: a?.ariaLabel,
|
|
1715
|
+
sourceColors: a?.sourceColors,
|
|
1716
|
+
targetColors: a?.targetColors,
|
|
1717
|
+
sourceColorDomain: a?.sourceColorDomain,
|
|
1718
|
+
targetColorDomain: a?.targetColorDomain,
|
|
1719
|
+
nodePadding: a?.nodePadding,
|
|
1720
|
+
nodeWidth: a?.nodeWidth,
|
|
1721
|
+
highlightedSourceDataPoints: a?.highlightedSourceDataPoints,
|
|
1722
|
+
highlightedTargetDataPoints: a?.highlightedTargetDataPoints,
|
|
1723
|
+
defaultLinkOpacity: a?.defaultLinkOpacity,
|
|
1724
|
+
sourceTitle: a?.sourceTitle,
|
|
1725
|
+
targetTitle: a?.targetTitle,
|
|
1726
|
+
sortNodes: a?.sortNodes,
|
|
1727
|
+
detailsOnClick: a?.detailsOnClick,
|
|
1728
|
+
styles: a?.styles,
|
|
1729
|
+
classNames: a?.classNames,
|
|
1730
|
+
animate: a?.animate
|
|
1731
|
+
};
|
|
1732
|
+
case "dataCards":
|
|
1733
|
+
return {
|
|
1734
|
+
theme: a?.theme,
|
|
1735
|
+
graphTitle: a?.graphTitle,
|
|
1736
|
+
sources: a?.sources,
|
|
1737
|
+
graphDescription: a?.graphDescription,
|
|
1738
|
+
footNote: a?.footNote,
|
|
1739
|
+
graphID: a?.graphID,
|
|
1740
|
+
width: a?.width,
|
|
1741
|
+
height: a?.height,
|
|
1742
|
+
columnData: a?.columnData || [],
|
|
1743
|
+
data: o,
|
|
1744
|
+
language: a?.language,
|
|
1745
|
+
ariaLabel: a?.ariaLabel,
|
|
1746
|
+
cardTemplate: a?.cardTemplate,
|
|
1747
|
+
cardBackgroundColor: a?.cardBackgroundColor,
|
|
1748
|
+
cardFilters: a?.cardFilters || [],
|
|
1749
|
+
cardSortingOptions: a?.cardSortingOptions,
|
|
1750
|
+
cardSearchColumns: a?.cardSearchColumns,
|
|
1751
|
+
cardMinWidth: a?.cardMinWidth,
|
|
1752
|
+
backgroundColor: a?.backgroundColor,
|
|
1753
|
+
padding: a?.padding,
|
|
1754
|
+
detailsOnClick: a?.detailsOnClick,
|
|
1755
|
+
allowDataDownloadOnDetail: a?.allowDataDownloadOnDetail,
|
|
1756
|
+
noOfItemsInAPage: a?.noOfItemsInAPage,
|
|
1757
|
+
uiMode: a?.uiMode,
|
|
1758
|
+
styles: a?.styles,
|
|
1759
|
+
classNames: a?.classNames
|
|
1760
|
+
};
|
|
1761
|
+
case "radarChart":
|
|
1762
|
+
return {
|
|
1763
|
+
numberDisplayOptions: a?.numberDisplayOptions,
|
|
1764
|
+
customLayers: a?.customLayers,
|
|
1765
|
+
graphTitle: a?.graphTitle,
|
|
1766
|
+
dimmedOpacity: a?.dimmedOpacity,
|
|
1767
|
+
graphDescription: a?.graphDescription,
|
|
1768
|
+
footNote: a?.footNote,
|
|
1769
|
+
sources: a?.sources,
|
|
1770
|
+
ariaLabel: a?.ariaLabel,
|
|
1771
|
+
colors: a?.colors,
|
|
1772
|
+
colorDomain: a?.colorDomain,
|
|
1773
|
+
colorLegendTitle: a?.colorLegendTitle,
|
|
1774
|
+
backgroundColor: a?.backgroundColor,
|
|
1775
|
+
styles: a?.styles,
|
|
1776
|
+
classNames: a?.classNames,
|
|
1777
|
+
width: a?.width,
|
|
1778
|
+
height: a?.height,
|
|
1779
|
+
minHeight: a?.minHeight,
|
|
1780
|
+
relativeHeight: a?.relativeHeight,
|
|
1781
|
+
padding: a?.padding,
|
|
1782
|
+
radius: a?.radius,
|
|
1783
|
+
leftMargin: a?.leftMargin,
|
|
1784
|
+
rightMargin: a?.rightMargin,
|
|
1785
|
+
topMargin: a?.topMargin,
|
|
1786
|
+
bottomMargin: a?.bottomMargin,
|
|
1787
|
+
maxValue: a?.maxValue,
|
|
1788
|
+
minValue: a?.minValue,
|
|
1789
|
+
showValues: a?.showValues,
|
|
1790
|
+
showDots: a?.showDots,
|
|
1791
|
+
strokeWidth: a?.strokeWidth,
|
|
1792
|
+
fillShape: a?.fillShape,
|
|
1793
|
+
noOfTicks: a?.noOfTicks,
|
|
1794
|
+
showColorScale: a?.showColorScale,
|
|
1795
|
+
showNAColor: a?.showNAColor,
|
|
1796
|
+
highlightedLines: a?.highlightedLines,
|
|
1797
|
+
axisLabels: a?.axisLabels,
|
|
1798
|
+
curveType: a?.curveType,
|
|
1799
|
+
resetSelectionOnDoubleClick: a?.resetSelectionOnDoubleClick,
|
|
1800
|
+
graphDownload: a?.graphDownload,
|
|
1801
|
+
dataDownload: a?.dataDownload,
|
|
1802
|
+
tooltip: a?.tooltip,
|
|
1803
|
+
detailsOnClick: a?.detailsOnClick,
|
|
1804
|
+
language: a?.language,
|
|
1805
|
+
theme: a?.theme,
|
|
1806
|
+
graphID: a?.graphID,
|
|
1807
|
+
animate: a?.animate
|
|
1808
|
+
};
|
|
1809
|
+
default:
|
|
1810
|
+
return {};
|
|
1811
|
+
}
|
|
1812
|
+
}, e[7] = o, e[8] = t, e[9] = i, e[10] = a, e[11] = s, e[12] = p) : p = e[12];
|
|
1813
|
+
const y = p, u = M[n];
|
|
1814
|
+
let D;
|
|
1815
|
+
e[13] !== y || e[14] !== n ? (D = y(n), e[13] = y, e[14] = n, e[15] = D) : D = e[15];
|
|
1816
|
+
const f = D, T = `grow my-0 ${n !== "statCard" ? "mx-auto" : "mx-0"} flex flex-col w-full ${n !== "unitChart" && n !== "statCard" ? "justify-center" : "justify-start"} ${a?.theme || "light"}`;
|
|
1817
|
+
let b;
|
|
1818
|
+
e[16] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (b = {
|
|
1819
|
+
minHeight: "inherit"
|
|
1820
|
+
}, e[16] = b) : b = e[16];
|
|
1821
|
+
let g;
|
|
1822
|
+
e[17] !== u || e[18] !== n || e[19] !== f ? (g = u ? /* @__PURE__ */ d.jsx(u, { ...f }) : /* @__PURE__ */ d.jsx(k, { size: "sm", marginBottom: "none", className: "p-2 text-center text-accent-dark-red dark:text-accent-red", children: `Invalid chart type: ${n}` }), e[17] = u, e[18] = n, e[19] = f, e[20] = g) : g = e[20];
|
|
1823
|
+
let C;
|
|
1824
|
+
return e[21] !== T || e[22] !== g ? (C = /* @__PURE__ */ d.jsx("div", { className: T, style: b, children: g }), e[21] = T, e[22] = g, e[23] = C) : C = e[23], C;
|
|
1825
|
+
}
|
|
1826
|
+
export {
|
|
1827
|
+
Ga as G
|
|
1828
|
+
};
|
|
1829
|
+
//# sourceMappingURL=GraphEl-B8tGXqWk.js.map
|