@undp/data-viz 2.4.1 → 2.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (271) hide show
  1. package/dist/AreaChart.cjs +1 -1
  2. package/dist/AreaChart.cjs.map +1 -1
  3. package/dist/AreaChart.d.ts +11 -9
  4. package/dist/AreaChart.js +320 -322
  5. package/dist/AreaChart.js.map +1 -1
  6. package/dist/BarGraph.cjs +1 -1
  7. package/dist/BarGraph.cjs.map +1 -1
  8. package/dist/BarGraph.d.ts +15 -25
  9. package/dist/BarGraph.js +1694 -1694
  10. package/dist/BarGraph.js.map +1 -1
  11. package/dist/BasicStatCard.cjs +1 -1
  12. package/dist/BasicStatCard.cjs.map +1 -1
  13. package/dist/BasicStatCard.d.ts +13 -9
  14. package/dist/BasicStatCard.js +79 -81
  15. package/dist/BasicStatCard.js.map +1 -1
  16. package/dist/BeeSwarmChart.cjs +1 -1
  17. package/dist/BeeSwarmChart.cjs.map +1 -1
  18. package/dist/BeeSwarmChart.d.ts +11 -9
  19. package/dist/BeeSwarmChart.js +335 -336
  20. package/dist/BeeSwarmChart.js.map +1 -1
  21. package/dist/BiVariateChoroplethMap.cjs +1 -1
  22. package/dist/BiVariateChoroplethMap.cjs.map +1 -1
  23. package/dist/BiVariateChoroplethMap.d.ts +13 -3
  24. package/dist/BiVariateChoroplethMap.js +309 -304
  25. package/dist/BiVariateChoroplethMap.js.map +1 -1
  26. package/dist/BulletChart.cjs +1 -1
  27. package/dist/BulletChart.cjs.map +1 -1
  28. package/dist/BulletChart.d.ts +11 -5
  29. package/dist/BulletChart.js +560 -559
  30. package/dist/BulletChart.js.map +1 -1
  31. package/dist/ButterflyChart.cjs +1 -1
  32. package/dist/ButterflyChart.cjs.map +1 -1
  33. package/dist/ButterflyChart.d.ts +11 -9
  34. package/dist/ButterflyChart.js +348 -350
  35. package/dist/ButterflyChart.js.map +1 -1
  36. package/dist/ChoroplethMap.cjs +1 -1
  37. package/dist/ChoroplethMap.cjs.map +1 -1
  38. package/dist/ChoroplethMap.d.ts +11 -3
  39. package/dist/ChoroplethMap.js +314 -311
  40. package/dist/ChoroplethMap.js.map +1 -1
  41. package/dist/CirclePackingGraph.cjs +1 -1
  42. package/dist/CirclePackingGraph.d.ts +11 -9
  43. package/dist/CirclePackingGraph.js +1 -1
  44. package/dist/DataCards.cjs +1 -1
  45. package/dist/DataCards.d.ts +1 -1
  46. package/dist/DataCards.js +1 -1
  47. package/dist/DataTable.cjs +1 -1
  48. package/dist/DataTable.cjs.map +1 -1
  49. package/dist/DataTable.d.ts +4 -5
  50. package/dist/DataTable.js +114 -116
  51. package/dist/DataTable.js.map +1 -1
  52. package/dist/{DetailsModal-jmmKRMRM.cjs → DetailsModal-Du8Fr1QD.cjs} +2 -2
  53. package/dist/{DetailsModal-jmmKRMRM.cjs.map → DetailsModal-Du8Fr1QD.cjs.map} +1 -1
  54. package/dist/{DetailsModal-B2XBWR7w.js → DetailsModal-GqEbGHY2.js} +2 -2
  55. package/dist/{DetailsModal-B2XBWR7w.js.map → DetailsModal-GqEbGHY2.js.map} +1 -1
  56. package/dist/DifferenceLineChart.cjs +1 -1
  57. package/dist/DifferenceLineChart.cjs.map +1 -1
  58. package/dist/DifferenceLineChart.d.ts +11 -9
  59. package/dist/DifferenceLineChart.js +502 -504
  60. package/dist/DifferenceLineChart.js.map +1 -1
  61. package/dist/DonutChart.cjs +1 -1
  62. package/dist/DonutChart.cjs.map +1 -1
  63. package/dist/DonutChart.d.ts +14 -9
  64. package/dist/DonutChart.js +174 -179
  65. package/dist/DonutChart.js.map +1 -1
  66. package/dist/DotDensityMap.cjs +1 -1
  67. package/dist/DotDensityMap.cjs.map +1 -1
  68. package/dist/DotDensityMap.d.ts +1 -1
  69. package/dist/DotDensityMap.js +270 -267
  70. package/dist/DotDensityMap.js.map +1 -1
  71. package/dist/DualAxisLineChart.cjs +1 -1
  72. package/dist/DualAxisLineChart.cjs.map +1 -1
  73. package/dist/DualAxisLineChart.d.ts +13 -9
  74. package/dist/DualAxisLineChart.js +341 -351
  75. package/dist/DualAxisLineChart.js.map +1 -1
  76. package/dist/DumbbellChart.cjs +1 -1
  77. package/dist/DumbbellChart.cjs.map +1 -1
  78. package/dist/DumbbellChart.d.ts +11 -9
  79. package/dist/DumbbellChart.js +592 -593
  80. package/dist/DumbbellChart.js.map +1 -1
  81. package/dist/GeoHubCompareMaps.cjs +1 -1
  82. package/dist/GeoHubCompareMaps.d.ts +1 -1
  83. package/dist/GeoHubCompareMaps.js +1 -1
  84. package/dist/GeoHubMap.cjs +1 -1
  85. package/dist/GeoHubMap.d.ts +1 -1
  86. package/dist/GeoHubMap.js +1 -1
  87. package/dist/GeoHubMapWithLayerSelection.cjs +1 -1
  88. package/dist/GeoHubMapWithLayerSelection.d.ts +1 -1
  89. package/dist/GeoHubMapWithLayerSelection.js +1 -1
  90. package/dist/GraphEl-BgkDbq50.cjs +2 -0
  91. package/dist/GraphEl-BgkDbq50.cjs.map +1 -0
  92. package/dist/GraphEl-Ch0uAeZw.js +1830 -0
  93. package/dist/GraphEl-Ch0uAeZw.js.map +1 -0
  94. package/dist/GriddedGraphs.cjs +1 -1
  95. package/dist/GriddedGraphs.d.ts +29 -16
  96. package/dist/GriddedGraphs.js +1 -1
  97. package/dist/GriddedGraphsFromConfig.d.ts +29 -16
  98. package/dist/HeatMap.cjs +1 -1
  99. package/dist/HeatMap.cjs.map +1 -1
  100. package/dist/HeatMap.d.ts +11 -9
  101. package/dist/HeatMap.js +203 -205
  102. package/dist/HeatMap.js.map +1 -1
  103. package/dist/Histogram.cjs +1 -1
  104. package/dist/Histogram.cjs.map +1 -1
  105. package/dist/Histogram.d.ts +11 -5
  106. package/dist/Histogram.js +88 -89
  107. package/dist/Histogram.js.map +1 -1
  108. package/dist/HybridMap.cjs +1 -1
  109. package/dist/HybridMap.cjs.map +1 -1
  110. package/dist/HybridMap.d.ts +11 -3
  111. package/dist/HybridMap.js +339 -336
  112. package/dist/HybridMap.js.map +1 -1
  113. package/dist/ImageDownloadButton.cjs +1 -1
  114. package/dist/ImageDownloadButton.js +1 -1
  115. package/dist/LineChartWithConfidenceInterval.cjs +1 -1
  116. package/dist/LineChartWithConfidenceInterval.cjs.map +1 -1
  117. package/dist/LineChartWithConfidenceInterval.d.ts +11 -9
  118. package/dist/LineChartWithConfidenceInterval.js +393 -395
  119. package/dist/LineChartWithConfidenceInterval.js.map +1 -1
  120. package/dist/LinearColorLegend.cjs +1 -1
  121. package/dist/LinearColorLegend.js +1 -1
  122. package/dist/MultiGraphDashboard.d.ts +29 -16
  123. package/dist/MultiGraphDashboardFromConfig.d.ts +29 -16
  124. package/dist/MultiGraphDashboardWideToLongFormat.d.ts +1 -1
  125. package/dist/MultiGraphDashboardWideToLongFormatFromConfig.d.ts +1 -1
  126. package/dist/MultiLineAltChart.cjs +1 -1
  127. package/dist/MultiLineAltChart.cjs.map +1 -1
  128. package/dist/MultiLineAltChart.d.ts +11 -9
  129. package/dist/MultiLineAltChart.js +411 -413
  130. package/dist/MultiLineAltChart.js.map +1 -1
  131. package/dist/MultiLineChart.cjs +1 -1
  132. package/dist/MultiLineChart.cjs.map +1 -1
  133. package/dist/MultiLineChart.d.ts +11 -9
  134. package/dist/MultiLineChart.js +438 -440
  135. package/dist/MultiLineChart.js.map +1 -1
  136. package/dist/ParetoChart.cjs +1 -1
  137. package/dist/ParetoChart.cjs.map +1 -1
  138. package/dist/ParetoChart.d.ts +13 -13
  139. package/dist/ParetoChart.js +347 -355
  140. package/dist/ParetoChart.js.map +1 -1
  141. package/dist/PerformanceIntensiveMultiGraphDashboard.d.ts +29 -16
  142. package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.d.ts +29 -16
  143. package/dist/PerformanceIntensiveScrollStory.d.ts +29 -16
  144. package/dist/RadarChart.cjs +1 -1
  145. package/dist/RadarChart.cjs.map +1 -1
  146. package/dist/RadarChart.d.ts +11 -5
  147. package/dist/RadarChart.js +213 -213
  148. package/dist/RadarChart.js.map +1 -1
  149. package/dist/SankeyChart.cjs +1 -1
  150. package/dist/SankeyChart.cjs.map +1 -1
  151. package/dist/SankeyChart.d.ts +11 -9
  152. package/dist/SankeyChart.js +448 -450
  153. package/dist/SankeyChart.js.map +1 -1
  154. package/dist/ScatterPlot.cjs +1 -1
  155. package/dist/ScatterPlot.cjs.map +1 -1
  156. package/dist/ScatterPlot.d.ts +15 -13
  157. package/dist/ScatterPlot.js +477 -483
  158. package/dist/ScatterPlot.js.map +1 -1
  159. package/dist/ScrollStory.d.ts +29 -16
  160. package/dist/SimpleLineChart.cjs +1 -1
  161. package/dist/SimpleLineChart.cjs.map +1 -1
  162. package/dist/SimpleLineChart.d.ts +11 -9
  163. package/dist/SimpleLineChart.js +362 -364
  164. package/dist/SimpleLineChart.js.map +1 -1
  165. package/dist/SingleGraphDashboard.cjs +1 -1
  166. package/dist/SingleGraphDashboard.d.ts +29 -16
  167. package/dist/SingleGraphDashboard.js +1 -1
  168. package/dist/SingleGraphDashboardFromConfig.d.ts +29 -16
  169. package/dist/SingleGraphDashboardGeoHubMaps.d.ts +29 -16
  170. package/dist/SingleGraphDashboardGeoHubMapsFromConfig.d.ts +29 -16
  171. package/dist/SingleGraphDashboardThreeDGraphs.cjs +1 -1
  172. package/dist/SingleGraphDashboardThreeDGraphs.cjs.map +1 -1
  173. package/dist/SingleGraphDashboardThreeDGraphs.d.ts +29 -16
  174. package/dist/SingleGraphDashboardThreeDGraphs.js +40 -39
  175. package/dist/SingleGraphDashboardThreeDGraphs.js.map +1 -1
  176. package/dist/SingleGraphDashboardThreeDGraphsFromConfig.d.ts +29 -16
  177. package/dist/SlopeChart.cjs +1 -1
  178. package/dist/SlopeChart.d.ts +1 -1
  179. package/dist/SlopeChart.js +2 -2
  180. package/dist/SparkLine.cjs +1 -1
  181. package/dist/SparkLine.d.ts +1 -1
  182. package/dist/SparkLine.js +1 -1
  183. package/dist/StatCardFromData.cjs +1 -1
  184. package/dist/StatCardFromData.cjs.map +1 -1
  185. package/dist/StatCardFromData.d.ts +11 -9
  186. package/dist/StatCardFromData.js +113 -116
  187. package/dist/StatCardFromData.js.map +1 -1
  188. package/dist/StripChart.cjs +1 -1
  189. package/dist/StripChart.cjs.map +1 -1
  190. package/dist/StripChart.d.ts +11 -9
  191. package/dist/StripChart.js +434 -435
  192. package/dist/StripChart.js.map +1 -1
  193. package/dist/ThreeDGlobe.cjs +1 -1
  194. package/dist/ThreeDGlobe.cjs.map +1 -1
  195. package/dist/ThreeDGlobe.d.ts +11 -3
  196. package/dist/ThreeDGlobe.js +143 -143
  197. package/dist/ThreeDGlobe.js.map +1 -1
  198. package/dist/ThresholdColorLegendWithMouseOver.cjs +1 -1
  199. package/dist/ThresholdColorLegendWithMouseOver.js +1 -1
  200. package/dist/{Tooltip-Bj-s__cI.js → Tooltip-3EYDVa3w.js} +2 -2
  201. package/dist/{Tooltip-Bj-s__cI.js.map → Tooltip-3EYDVa3w.js.map} +1 -1
  202. package/dist/{Tooltip-Hr46paWP.cjs → Tooltip-C9F3uYG0.cjs} +2 -2
  203. package/dist/{Tooltip-Hr46paWP.cjs.map → Tooltip-C9F3uYG0.cjs.map} +1 -1
  204. package/dist/TreeMapGraph.cjs +1 -1
  205. package/dist/TreeMapGraph.cjs.map +1 -1
  206. package/dist/TreeMapGraph.d.ts +11 -9
  207. package/dist/TreeMapGraph.js +369 -371
  208. package/dist/TreeMapGraph.js.map +1 -1
  209. package/dist/Types.d.ts +29 -16
  210. package/dist/UnitChart.cjs +1 -1
  211. package/dist/UnitChart.cjs.map +1 -1
  212. package/dist/UnitChart.d.ts +11 -5
  213. package/dist/UnitChart.js +118 -119
  214. package/dist/UnitChart.js.map +1 -1
  215. package/dist/WaterfallChart.cjs +1 -1
  216. package/dist/WaterfallChart.cjs.map +1 -1
  217. package/dist/WaterfallChart.d.ts +11 -9
  218. package/dist/WaterfallChart.js +306 -308
  219. package/dist/WaterfallChart.js.map +1 -1
  220. package/dist/XTicksAndGridLines-B4UhDVyU.cjs +2 -0
  221. package/dist/XTicksAndGridLines-B4UhDVyU.cjs.map +1 -0
  222. package/dist/XTicksAndGridLines-CkYwVshF.js +40 -0
  223. package/dist/XTicksAndGridLines-CkYwVshF.js.map +1 -0
  224. package/dist/YTicksAndGridLines-BbujwxOB.js +40 -0
  225. package/dist/YTicksAndGridLines-BbujwxOB.js.map +1 -0
  226. package/dist/YTicksAndGridLines-sT3zdCs6.cjs +2 -0
  227. package/dist/YTicksAndGridLines-sT3zdCs6.cjs.map +1 -0
  228. package/dist/{imageDownload-Diofs_vY.js → imageDownload-BYsNEtMS.js} +11 -11
  229. package/dist/{imageDownload-Diofs_vY.js.map → imageDownload-BYsNEtMS.js.map} +1 -1
  230. package/dist/{imageDownload-61q6jyJW.cjs → imageDownload-CkMwA7Cw.cjs} +4 -4
  231. package/dist/{imageDownload-61q6jyJW.cjs.map → imageDownload-CkMwA7Cw.cjs.map} +1 -1
  232. package/dist/index-BPyj_6hG.js +375 -0
  233. package/dist/index-BPyj_6hG.js.map +1 -0
  234. package/dist/index-DuLvdHo2.cjs +2 -0
  235. package/dist/index-DuLvdHo2.cjs.map +1 -0
  236. package/dist/index.cjs +1 -1
  237. package/dist/index.d.ts +108 -245
  238. package/dist/index.js +3 -3
  239. package/dist/numberFormattingFunction-BUUV_luR.js +28 -0
  240. package/dist/numberFormattingFunction-BUUV_luR.js.map +1 -0
  241. package/dist/numberFormattingFunction-u2iNHL_c.cjs +2 -0
  242. package/dist/numberFormattingFunction-u2iNHL_c.cjs.map +1 -0
  243. package/dist/{string2HTML-ZoGd08P_.cjs → string2HTML-30nfIm8R.cjs} +2 -2
  244. package/dist/{string2HTML-ZoGd08P_.cjs.map → string2HTML-30nfIm8R.cjs.map} +1 -1
  245. package/dist/{string2HTML-BrFperRM.js → string2HTML-DL-pInUB.js} +2 -2
  246. package/dist/{string2HTML-BrFperRM.js.map → string2HTML-DL-pInUB.js.map} +1 -1
  247. package/dist/style.css +1 -1
  248. package/dist/utils.cjs +1 -1
  249. package/dist/utils.d.ts +1 -1
  250. package/dist/utils.js +2 -2
  251. package/package.json +2 -2
  252. package/dist/GraphEl-B73N4RIA.js +0 -1906
  253. package/dist/GraphEl-B73N4RIA.js.map +0 -1
  254. package/dist/GraphEl-Lt1og0C-.cjs +0 -2
  255. package/dist/GraphEl-Lt1og0C-.cjs.map +0 -1
  256. package/dist/XTicksAndGridLines-C5DuC5oY.cjs +0 -2
  257. package/dist/XTicksAndGridLines-C5DuC5oY.cjs.map +0 -1
  258. package/dist/XTicksAndGridLines-gdbGX2rm.js +0 -39
  259. package/dist/XTicksAndGridLines-gdbGX2rm.js.map +0 -1
  260. package/dist/YTicksAndGridLines-CsNSq9W9.js +0 -39
  261. package/dist/YTicksAndGridLines-CsNSq9W9.js.map +0 -1
  262. package/dist/YTicksAndGridLines-DFjm8RCc.cjs +0 -2
  263. package/dist/YTicksAndGridLines-DFjm8RCc.cjs.map +0 -1
  264. package/dist/index-B0Awa_de.js +0 -377
  265. package/dist/index-B0Awa_de.js.map +0 -1
  266. package/dist/index-CP8cmNzt.cjs +0 -2
  267. package/dist/index-CP8cmNzt.cjs.map +0 -1
  268. package/dist/numberFormattingFunction-Cn9R7CM9.cjs +0 -2
  269. package/dist/numberFormattingFunction-Cn9R7CM9.cjs.map +0 -1
  270. package/dist/numberFormattingFunction-DqMf_v1m.js +0 -28
  271. package/dist/numberFormattingFunction-DqMf_v1m.js.map +0 -1
@@ -0,0 +1,1830 @@
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
+ defaultColor: a?.defaultColor,
1079
+ xNumberDisplayOptions: a?.xNumberDisplayOptions,
1080
+ yNumberDisplayOptions: a?.yNumberDisplayOptions,
1081
+ timeline: a?.timeline,
1082
+ customLayers: a?.customLayers,
1083
+ theme: a?.theme,
1084
+ showVoronoiTesselation: a?.showVoronoiTesselation,
1085
+ useVoronoiInteraction: a?.useVoronoiInteraction,
1086
+ dimmedOpacity: a?.dimmedOpacity,
1087
+ resetSelectionOnDoubleClick: a?.resetSelectionOnDoubleClick,
1088
+ data: o,
1089
+ graphTitle: a?.graphTitle,
1090
+ graphDescription: a?.graphDescription,
1091
+ footNote: a?.footNote,
1092
+ width: a?.width,
1093
+ height: a?.height,
1094
+ sources: a?.sources,
1095
+ showLabels: a?.showLabels,
1096
+ colors: a?.colors,
1097
+ colorDomain: a?.colorDomain,
1098
+ colorLegendTitle: Object.keys(a || {}).indexOf("colorLegendTitle") !== -1 ? a?.colorLegendTitle : r("color", t || [], i || []),
1099
+ radius: a?.radius,
1100
+ xAxisTitle: Object.keys(a || {}).indexOf("xAxisTitle") !== -1 ? a?.xAxisTitle : r("x", t || [], i || []),
1101
+ yAxisTitle: Object.keys(a || {}).indexOf("yAxisTitle") !== -1 ? a?.yAxisTitle : r("y", t || [], i || []),
1102
+ backgroundColor: a?.backgroundColor,
1103
+ padding: a?.padding,
1104
+ leftMargin: a?.leftMargin,
1105
+ rightMargin: a?.rightMargin,
1106
+ topMargin: a?.topMargin,
1107
+ bottomMargin: a?.bottomMargin,
1108
+ relativeHeight: a?.relativeHeight,
1109
+ tooltip: a?.tooltip,
1110
+ refXValues: a?.refXValues,
1111
+ refYValues: a?.refYValues,
1112
+ highlightedDataPoints: a?.highlightedDataPoints,
1113
+ highlightAreaSettings: a?.highlightAreaSettings,
1114
+ showColorScale: a?.showColorScale,
1115
+ graphID: a?.graphID,
1116
+ maxRadiusValue: a?.maxRadiusValue,
1117
+ maxXValue: a?.maxXValue,
1118
+ minXValue: a?.minXValue,
1119
+ maxYValue: a?.maxYValue,
1120
+ minYValue: a?.minYValue,
1121
+ graphDownload: a?.graphDownload,
1122
+ dataDownload: a?.dataDownload,
1123
+ language: a?.language,
1124
+ minHeight: a?.minHeight,
1125
+ showNAColor: a?.showNAColor,
1126
+ customHighlightAreaSettings: a?.customHighlightAreaSettings,
1127
+ annotations: a?.annotations,
1128
+ regressionLine: a?.regressionLine,
1129
+ ariaLabel: a?.ariaLabel,
1130
+ detailsOnClick: a?.detailsOnClick,
1131
+ noOfXTicks: a?.noOfXTicks,
1132
+ noOfYTicks: a?.noOfYTicks,
1133
+ labelColor: a?.labelColor,
1134
+ styles: a?.styles,
1135
+ classNames: a?.classNames,
1136
+ animate: a?.animate
1137
+ };
1138
+ case "dumbbellChart":
1139
+ return {
1140
+ numberDisplayOptions: a?.numberDisplayOptions,
1141
+ timeline: a?.timeline,
1142
+ customLayers: a?.customLayers,
1143
+ theme: a?.theme,
1144
+ orientation: a?.orientation,
1145
+ refValues: a?.refValues,
1146
+ resetSelectionOnDoubleClick: a?.resetSelectionOnDoubleClick,
1147
+ data: o,
1148
+ colors: a?.colors,
1149
+ graphTitle: a?.graphTitle,
1150
+ graphDescription: a?.graphDescription,
1151
+ footNote: a?.footNote,
1152
+ width: a?.width,
1153
+ height: a?.height,
1154
+ sources: a?.sources,
1155
+ barPadding: a?.barPadding,
1156
+ showTicks: a?.showTicks,
1157
+ leftMargin: a?.leftMargin,
1158
+ rightMargin: a?.rightMargin,
1159
+ topMargin: a?.topMargin,
1160
+ bottomMargin: a?.bottomMargin,
1161
+ truncateBy: a?.truncateBy,
1162
+ labelOrder: a?.labelOrder,
1163
+ showColorScale: a?.showColorScale,
1164
+ colorDomain: a?.colorDomain || r("x", t || [], i || []),
1165
+ colorLegendTitle: a?.colorLegendTitle,
1166
+ backgroundColor: a?.backgroundColor,
1167
+ padding: a?.padding,
1168
+ radius: a?.radius,
1169
+ relativeHeight: a?.relativeHeight,
1170
+ showValues: a?.showValues,
1171
+ showLabels: a?.showLabels,
1172
+ tooltip: a?.tooltip,
1173
+ graphID: a?.graphID,
1174
+ maxValue: a?.maxValue,
1175
+ minValue: a?.minValue,
1176
+ graphDownload: a?.graphDownload,
1177
+ dataDownload: a?.dataDownload,
1178
+ language: a?.language,
1179
+ minHeight: a?.minHeight,
1180
+ sortParameter: a?.sortParameter,
1181
+ sortData: a?.sortData,
1182
+ arrowConnector: a?.arrowConnector,
1183
+ connectorStrokeWidth: a?.connectorStrokeWidth,
1184
+ maxBarThickness: a?.maxBarThickness,
1185
+ minBarThickness: a?.minBarThickness,
1186
+ maxNumberOfBars: a?.maxNumberOfBars,
1187
+ ariaLabel: a?.ariaLabel,
1188
+ detailsOnClick: a?.detailsOnClick,
1189
+ axisTitle: a?.axisTitle,
1190
+ noOfTicks: a?.noOfTicks,
1191
+ valueColor: a?.valueColor,
1192
+ styles: a?.styles,
1193
+ classNames: a?.classNames,
1194
+ animate: a?.animate,
1195
+ highlightedDataPoints: a?.highlightedDataPoints,
1196
+ dimmedOpacity: a?.dimmedOpacity,
1197
+ hideAxisLine: a?.hideAxisLine
1198
+ };
1199
+ case "treeMap":
1200
+ return {
1201
+ numberDisplayOptions: a?.numberDisplayOptions,
1202
+ theme: a?.theme,
1203
+ dimmedOpacity: a?.dimmedOpacity,
1204
+ resetSelectionOnDoubleClick: a?.resetSelectionOnDoubleClick,
1205
+ data: o,
1206
+ colors: a?.colors,
1207
+ graphTitle: a?.graphTitle,
1208
+ graphDescription: a?.graphDescription,
1209
+ footNote: a?.footNote,
1210
+ width: a?.width,
1211
+ height: a?.height,
1212
+ sources: a?.sources,
1213
+ leftMargin: a?.leftMargin,
1214
+ rightMargin: a?.rightMargin,
1215
+ colorDomain: a?.colorDomain,
1216
+ colorLegendTitle: Object.keys(a || {}).indexOf("colorLegendTitle") !== -1 ? a?.colorLegendTitle : r("color", t || [], i || []),
1217
+ backgroundColor: a?.backgroundColor,
1218
+ padding: a?.padding,
1219
+ topMargin: a?.topMargin,
1220
+ bottomMargin: a?.bottomMargin,
1221
+ relativeHeight: a?.relativeHeight,
1222
+ showLabels: a?.showLabels,
1223
+ tooltip: a?.tooltip,
1224
+ showColorScale: a?.showColorScale,
1225
+ showValues: a?.showValues,
1226
+ graphID: a?.graphID,
1227
+ highlightedDataPoints: a?.highlightedDataPoints,
1228
+ graphDownload: a?.graphDownload,
1229
+ dataDownload: a?.dataDownload,
1230
+ language: a?.language,
1231
+ minHeight: a?.minHeight,
1232
+ showNAColor: a?.showNAColor,
1233
+ ariaLabel: a?.ariaLabel,
1234
+ onSeriesMouseClick: (l) => {
1235
+ s?.(l.label);
1236
+ },
1237
+ detailsOnClick: a?.detailsOnClick,
1238
+ styles: a?.styles,
1239
+ classNames: a?.classNames,
1240
+ animate: a?.animate
1241
+ };
1242
+ case "circlePacking":
1243
+ return {
1244
+ numberDisplayOptions: a?.numberDisplayOptions,
1245
+ theme: a?.theme,
1246
+ dimmedOpacity: a?.dimmedOpacity,
1247
+ resetSelectionOnDoubleClick: a?.resetSelectionOnDoubleClick,
1248
+ data: o,
1249
+ colors: a?.colors,
1250
+ graphTitle: a?.graphTitle,
1251
+ graphDescription: a?.graphDescription,
1252
+ footNote: a?.footNote,
1253
+ width: a?.width,
1254
+ height: a?.height,
1255
+ sources: a?.sources,
1256
+ leftMargin: a?.leftMargin,
1257
+ rightMargin: a?.rightMargin,
1258
+ colorDomain: a?.colorDomain,
1259
+ circularBoundary: a?.circularBoundary,
1260
+ colorLegendTitle: Object.keys(a || {}).indexOf("colorLegendTitle") !== -1 ? a?.colorLegendTitle : r("color", t || [], i || []),
1261
+ backgroundColor: a?.backgroundColor,
1262
+ padding: a?.padding,
1263
+ topMargin: a?.topMargin,
1264
+ bottomMargin: a?.bottomMargin,
1265
+ relativeHeight: a?.relativeHeight,
1266
+ showLabels: a?.showLabels,
1267
+ tooltip: a?.tooltip,
1268
+ showColorScale: a?.showColorScale,
1269
+ showValues: a?.showValues,
1270
+ graphID: a?.graphID,
1271
+ highlightedDataPoints: a?.highlightedDataPoints,
1272
+ graphDownload: a?.graphDownload,
1273
+ dataDownload: a?.dataDownload,
1274
+ language: a?.language,
1275
+ minHeight: a?.minHeight,
1276
+ showNAColor: a?.showNAColor,
1277
+ ariaLabel: a?.ariaLabel,
1278
+ radius: a?.radius,
1279
+ maxRadiusValue: a?.maxRadiusValue,
1280
+ onSeriesMouseClick: (l) => {
1281
+ s?.(l.label);
1282
+ },
1283
+ detailsOnClick: a?.detailsOnClick,
1284
+ styles: a?.styles,
1285
+ classNames: a?.classNames,
1286
+ animate: a?.animate
1287
+ };
1288
+ case "heatMap":
1289
+ return {
1290
+ naLabel: a?.naLabel,
1291
+ numberDisplayOptions: a?.numberDisplayOptions,
1292
+ theme: a?.theme,
1293
+ resetSelectionOnDoubleClick: a?.resetSelectionOnDoubleClick,
1294
+ data: o,
1295
+ colors: a?.colors,
1296
+ graphTitle: a?.graphTitle,
1297
+ graphDescription: a?.graphDescription,
1298
+ footNote: a?.footNote,
1299
+ width: a?.width,
1300
+ height: a?.height,
1301
+ sources: a?.sources,
1302
+ scaleType: a?.scaleType,
1303
+ colorDomain: a?.colorDomain,
1304
+ showColumnLabels: a?.showColumnLabels,
1305
+ leftMargin: a?.leftMargin,
1306
+ rightMargin: a?.rightMargin,
1307
+ truncateBy: a?.truncateBy,
1308
+ colorLegendTitle: Object.keys(a || {}).indexOf("colorLegendTitle") !== -1 ? a?.colorLegendTitle : r("color", t || [], i || []),
1309
+ backgroundColor: a?.backgroundColor,
1310
+ padding: a?.padding,
1311
+ topMargin: a?.topMargin,
1312
+ bottomMargin: a?.bottomMargin,
1313
+ showValues: a?.showValues,
1314
+ showRowLabels: a?.showRowLabels,
1315
+ relativeHeight: a?.relativeHeight,
1316
+ tooltip: a?.tooltip,
1317
+ graphID: a?.graphID,
1318
+ noDataColor: a?.noDataColor,
1319
+ showColorScale: a?.showColorScale,
1320
+ graphDownload: a?.graphDownload,
1321
+ dataDownload: a?.dataDownload,
1322
+ fillContainer: a?.fillContainer,
1323
+ language: a?.language,
1324
+ minHeight: a?.minHeight,
1325
+ showNAColor: a?.showNAColor,
1326
+ ariaLabel: a?.ariaLabel,
1327
+ detailsOnClick: a?.detailsOnClick,
1328
+ styles: a?.styles,
1329
+ classNames: a?.classNames,
1330
+ animate: a?.animate
1331
+ };
1332
+ case "stripChart":
1333
+ return {
1334
+ numberDisplayOptions: a?.numberDisplayOptions,
1335
+ showDataMinMax: a?.showDataMinMax,
1336
+ customLayers: a?.customLayers,
1337
+ theme: a?.theme,
1338
+ dimmedOpacity: a?.dimmedOpacity,
1339
+ orientation: a?.orientation,
1340
+ resetSelectionOnDoubleClick: a?.resetSelectionOnDoubleClick,
1341
+ data: o,
1342
+ graphTitle: a?.graphTitle,
1343
+ graphDescription: a?.graphDescription,
1344
+ footNote: a?.footNote,
1345
+ width: a?.width,
1346
+ height: a?.height,
1347
+ sources: a?.sources,
1348
+ colors: a?.colors,
1349
+ colorDomain: a?.colorDomain,
1350
+ colorLegendTitle: Object.keys(a || {}).indexOf("colorLegendTitle") !== -1 ? a?.colorLegendTitle : r("color", t || [], i || []),
1351
+ radius: a?.radius,
1352
+ backgroundColor: a?.backgroundColor,
1353
+ padding: a?.padding,
1354
+ leftMargin: a?.leftMargin,
1355
+ rightMargin: a?.rightMargin,
1356
+ topMargin: a?.topMargin,
1357
+ bottomMargin: a?.bottomMargin,
1358
+ relativeHeight: a?.relativeHeight,
1359
+ tooltip: a?.tooltip,
1360
+ highlightedDataPoints: a?.highlightedDataPoints,
1361
+ showColorScale: a?.showColorScale,
1362
+ graphID: a?.graphID,
1363
+ maxValue: a?.maxValue,
1364
+ minValue: a?.minValue,
1365
+ noOfTicks: a?.noOfTicks,
1366
+ graphDownload: a?.graphDownload,
1367
+ dataDownload: a?.dataDownload,
1368
+ stripType: a?.stripType,
1369
+ valueColor: a?.valueColor,
1370
+ language: a?.language,
1371
+ minHeight: a?.minHeight,
1372
+ highlightColor: a?.highlightColor,
1373
+ dotOpacity: a?.dotOpacity,
1374
+ showNAColor: a?.showNAColor,
1375
+ ariaLabel: a?.ariaLabel,
1376
+ detailsOnClick: a?.detailsOnClick,
1377
+ styles: a?.styles,
1378
+ classNames: a?.classNames,
1379
+ animate: a?.animate
1380
+ };
1381
+ case "beeSwarmChart":
1382
+ return {
1383
+ customLayers: a?.customLayers,
1384
+ theme: a?.theme,
1385
+ dimmedOpacity: a?.dimmedOpacity,
1386
+ resetSelectionOnDoubleClick: a?.resetSelectionOnDoubleClick,
1387
+ data: o,
1388
+ colors: a?.colors,
1389
+ graphTitle: a?.graphTitle,
1390
+ graphDescription: a?.graphDescription,
1391
+ footNote: a?.footNote,
1392
+ width: a?.width,
1393
+ height: a?.height,
1394
+ sources: a?.sources,
1395
+ showTicks: a?.showTicks,
1396
+ leftMargin: a?.leftMargin,
1397
+ rightMargin: a?.rightMargin,
1398
+ colorDomain: a?.colorDomain,
1399
+ colorLegendTitle: Object.keys(a || {}).indexOf("colorLegendTitle") !== -1 ? a?.colorLegendTitle : r("color", t || [], i || []),
1400
+ backgroundColor: a?.backgroundColor,
1401
+ padding: a?.padding,
1402
+ topMargin: a?.topMargin,
1403
+ bottomMargin: a?.bottomMargin,
1404
+ relativeHeight: a?.relativeHeight,
1405
+ showLabels: a?.showLabels,
1406
+ showColorScale: a?.showColorScale,
1407
+ tooltip: a?.tooltip,
1408
+ refValues: a?.refValues,
1409
+ graphID: a?.graphID,
1410
+ radius: a?.radius,
1411
+ maxRadiusValue: a?.maxRadiusValue,
1412
+ maxValue: a?.maxValue,
1413
+ minValue: a?.minValue,
1414
+ highlightedDataPoints: a?.highlightedDataPoints,
1415
+ graphDownload: a?.graphDownload,
1416
+ dataDownload: a?.dataDownload,
1417
+ language: a?.language,
1418
+ minHeight: a?.minHeight,
1419
+ showNAColor: a?.showNAColor,
1420
+ ariaLabel: a?.ariaLabel,
1421
+ detailsOnClick: a?.detailsOnClick,
1422
+ orientation: a?.orientation,
1423
+ styles: a?.styles,
1424
+ classNames: a?.classNames,
1425
+ animate: a?.animate,
1426
+ hideAxisLine: a?.hideAxisLine,
1427
+ numberDisplayOptions: a?.numberDisplayOptions
1428
+ };
1429
+ case "butterflyChart":
1430
+ return {
1431
+ numberDisplayOptions: a?.numberDisplayOptions,
1432
+ naLabel: a?.naLabel,
1433
+ timeline: a?.timeline,
1434
+ customLayers: a?.customLayers,
1435
+ theme: a?.theme,
1436
+ resetSelectionOnDoubleClick: a?.resetSelectionOnDoubleClick,
1437
+ data: o,
1438
+ graphTitle: a?.graphTitle,
1439
+ graphDescription: a?.graphDescription,
1440
+ leftBarTitle: Object.keys(a || {}).indexOf("leftBarTitle") !== -1 ? a?.leftBarTitle : r("leftBar", t || [], i || []),
1441
+ rightBarTitle: Object.keys(a || {}).indexOf("rightBarTitle") !== -1 ? a?.rightBarTitle : r("rightBar", t || [], i || []),
1442
+ footNote: a?.footNote,
1443
+ width: a?.width,
1444
+ height: a?.height,
1445
+ sources: a?.sources,
1446
+ backgroundColor: a?.backgroundColor,
1447
+ padding: a?.padding,
1448
+ leftMargin: a?.leftMargin,
1449
+ rightMargin: a?.rightMargin,
1450
+ topMargin: a?.topMargin,
1451
+ bottomMargin: a?.bottomMargin,
1452
+ barColors: a?.barColors,
1453
+ relativeHeight: a?.relativeHeight,
1454
+ tooltip: a?.tooltip,
1455
+ graphID: a?.graphID,
1456
+ graphDownload: a?.graphDownload,
1457
+ dataDownload: a?.dataDownload,
1458
+ barPadding: a?.barPadding,
1459
+ truncateBy: a?.truncateBy,
1460
+ showTicks: a?.showTicks,
1461
+ showValues: a?.showValues,
1462
+ centerGap: a?.centerGap,
1463
+ maxValue: a?.maxValue,
1464
+ minValue: a?.minValue,
1465
+ showColorScale: a?.showColorScale,
1466
+ refValues: a?.refValues,
1467
+ language: a?.language,
1468
+ minHeight: a?.minHeight,
1469
+ ariaLabel: a?.ariaLabel,
1470
+ detailsOnClick: a?.detailsOnClick,
1471
+ styles: a?.styles,
1472
+ classNames: a?.classNames,
1473
+ animate: a?.animate,
1474
+ hideAxisLine: a?.hideAxisLine
1475
+ };
1476
+ case "histogram":
1477
+ return {
1478
+ numberDisplayOptions: a?.numberDisplayOptions,
1479
+ theme: a?.theme,
1480
+ data: o,
1481
+ colors: a?.colors,
1482
+ graphTitle: a?.graphTitle,
1483
+ graphDescription: a?.graphDescription,
1484
+ footNote: a?.footNote,
1485
+ width: a?.width,
1486
+ height: a?.height,
1487
+ sources: a?.sources,
1488
+ barPadding: a?.barPadding,
1489
+ showValues: a?.showValues,
1490
+ showTicks: a?.showTicks,
1491
+ leftMargin: a?.leftMargin,
1492
+ rightMargin: a?.rightMargin,
1493
+ backgroundColor: a?.backgroundColor,
1494
+ padding: a?.padding,
1495
+ topMargin: a?.topMargin,
1496
+ bottomMargin: a?.bottomMargin,
1497
+ relativeHeight: a?.relativeHeight,
1498
+ showLabels: a?.showLabels,
1499
+ maxValue: a?.maxValue,
1500
+ tooltip: a?.tooltip,
1501
+ refValues: a?.refValues,
1502
+ graphID: a?.graphID,
1503
+ graphDownload: a?.graphDownload,
1504
+ dataDownload: a?.dataDownload,
1505
+ numberOfBins: a?.numberOfBins,
1506
+ truncateBy: a?.truncateBy,
1507
+ donutStrokeWidth: a?.donutStrokeWidth,
1508
+ sortData: a?.sortData,
1509
+ barGraphLayout: a?.barGraphLayout,
1510
+ graphType: a?.graphType,
1511
+ language: a?.language,
1512
+ minHeight: a?.minHeight,
1513
+ maxBarThickness: a?.maxBarThickness,
1514
+ ariaLabel: a?.ariaLabel,
1515
+ detailsOnClick: a?.detailsOnClick,
1516
+ styles: a?.styles,
1517
+ classNames: a?.classNames,
1518
+ hideAxisLine: a?.hideAxisLine
1519
+ };
1520
+ case "sparkLine":
1521
+ return {
1522
+ customLayers: a?.customLayers,
1523
+ theme: a?.theme,
1524
+ data: o,
1525
+ curveType: a?.curveType,
1526
+ lineColor: a?.lineColor,
1527
+ graphTitle: a?.graphTitle,
1528
+ graphDescription: a?.graphDescription,
1529
+ footNote: a?.footNote,
1530
+ width: a?.width,
1531
+ height: a?.height,
1532
+ sources: a?.sources,
1533
+ dateFormat: a?.dateFormat,
1534
+ area: a?.area,
1535
+ backgroundColor: a?.backgroundColor,
1536
+ padding: a?.padding,
1537
+ leftMargin: a?.leftMargin,
1538
+ rightMargin: a?.rightMargin,
1539
+ topMargin: a?.topMargin,
1540
+ bottomMargin: a?.bottomMargin,
1541
+ relativeHeight: a?.relativeHeight,
1542
+ tooltip: a?.tooltip,
1543
+ graphID: a?.graphID,
1544
+ maxValue: a?.maxValue,
1545
+ minValue: a?.minValue,
1546
+ graphDownload: a?.graphDownload,
1547
+ dataDownload: a?.dataDownload,
1548
+ language: a?.language,
1549
+ minHeight: a?.minHeight,
1550
+ ariaLabel: a?.ariaLabel,
1551
+ styles: a?.styles,
1552
+ classNames: a?.classNames
1553
+ };
1554
+ case "paretoChart":
1555
+ return {
1556
+ barNumberDisplayOptions: a?.barNumberDisplayOptions,
1557
+ lineNumberDisplayOptions: a?.lineNumberDisplayOptions,
1558
+ showAxisLabels: a?.showAxisLabels,
1559
+ showColorScale: a?.showColorScale,
1560
+ naLabel: a?.naLabel,
1561
+ customLayers: a?.customLayers,
1562
+ theme: a?.theme,
1563
+ resetSelectionOnDoubleClick: a?.resetSelectionOnDoubleClick,
1564
+ data: o,
1565
+ showValues: a?.showValues,
1566
+ graphTitle: a?.graphTitle,
1567
+ graphDescription: a?.graphDescription,
1568
+ barTitle: Object.keys(a || {}).indexOf("barTitle") !== -1 ? a?.barTitle : r("barTitle", t || [], i || []),
1569
+ lineTitle: Object.keys(a || {}).indexOf("lineTitle") !== -1 ? a?.lineTitle : r("lineTitle", t || [], i || []),
1570
+ footNote: a?.footNote,
1571
+ width: a?.width,
1572
+ height: a?.height,
1573
+ sources: a?.sources,
1574
+ backgroundColor: a?.backgroundColor,
1575
+ padding: a?.padding,
1576
+ leftMargin: a?.leftMargin,
1577
+ rightMargin: a?.rightMargin,
1578
+ topMargin: a?.topMargin,
1579
+ bottomMargin: a?.bottomMargin,
1580
+ barColor: a?.barColor,
1581
+ curveType: a?.curveType,
1582
+ lineColor: a?.lineColor,
1583
+ sameAxes: a?.sameAxes,
1584
+ relativeHeight: a?.relativeHeight,
1585
+ tooltip: a?.tooltip,
1586
+ graphID: a?.graphID,
1587
+ graphDownload: a?.graphDownload,
1588
+ dataDownload: a?.dataDownload,
1589
+ barPadding: a?.barPadding,
1590
+ truncateBy: a?.truncateBy,
1591
+ showLabels: a?.showLabels,
1592
+ language: a?.language,
1593
+ minHeight: a?.minHeight,
1594
+ ariaLabel: a?.ariaLabel,
1595
+ detailsOnClick: a?.detailsOnClick,
1596
+ noOfTicks: a?.noOfTicks,
1597
+ barAxisTitle: a?.barAxisTitle,
1598
+ lineAxisTitle: a?.lineAxisTitle,
1599
+ styles: a?.styles,
1600
+ classNames: a?.classNames,
1601
+ animate: a?.animate
1602
+ };
1603
+ case "dataTable":
1604
+ return {
1605
+ naLabel: a?.naLabel,
1606
+ theme: a?.theme,
1607
+ resetSelectionOnDoubleClick: a?.resetSelectionOnDoubleClick,
1608
+ graphTitle: a?.graphTitle,
1609
+ sources: a?.sources,
1610
+ graphDescription: a?.graphDescription,
1611
+ footNote: a?.footNote,
1612
+ graphID: a?.graphID,
1613
+ width: a?.width,
1614
+ height: a?.height,
1615
+ columnData: a?.columnData || [],
1616
+ data: o,
1617
+ language: a?.language,
1618
+ ariaLabel: a?.ariaLabel,
1619
+ minWidth: a?.minWidth,
1620
+ backgroundColor: a?.backgroundColor,
1621
+ padding: a?.padding,
1622
+ styles: a?.styles,
1623
+ classNames: a?.classNames
1624
+ };
1625
+ case "statCard":
1626
+ return {
1627
+ naLabel: a?.naLabel,
1628
+ numberDisplayOptions: a?.numberDisplayOptions,
1629
+ theme: a?.theme,
1630
+ year: a?.year,
1631
+ data: o,
1632
+ graphTitle: a?.graphTitle || "",
1633
+ graphDescription: a?.graphDescription,
1634
+ sources: a?.sources || [],
1635
+ footNote: a?.footNote,
1636
+ backgroundColor: a?.backgroundColor,
1637
+ padding: a?.padding,
1638
+ graphID: a?.graphID,
1639
+ aggregationMethod: a?.aggregationMethod,
1640
+ language: a?.language,
1641
+ minHeight: a?.minHeight,
1642
+ countOnly: a?.countOnly,
1643
+ ariaLabel: a?.ariaLabel,
1644
+ textBackground: a?.textBackground,
1645
+ headingFontSize: a?.headingFontSize,
1646
+ centerAlign: a?.centerAlign,
1647
+ verticalAlign: a?.verticalAlign,
1648
+ styles: a?.styles,
1649
+ classNames: a?.classNames,
1650
+ layout: a?.layout
1651
+ };
1652
+ case "unitChart":
1653
+ return {
1654
+ naLabel: a?.naLabel,
1655
+ numberDisplayOptions: a?.numberDisplayOptions,
1656
+ theme: a?.theme,
1657
+ totalNoOfDots: a?.totalNoOfDots,
1658
+ gridSize: a?.gridSize,
1659
+ unitPadding: a?.unitPadding,
1660
+ size: a?.size,
1661
+ graphTitle: a?.graphTitle,
1662
+ sources: a?.sources,
1663
+ colors: a?.colors,
1664
+ graphDescription: a?.graphDescription,
1665
+ footNote: a?.footNote,
1666
+ backgroundColor: a?.backgroundColor,
1667
+ padding: a?.padding,
1668
+ graphID: a?.graphID,
1669
+ graphDownload: a?.graphDownload,
1670
+ dataDownload: a?.dataDownload,
1671
+ language: a?.language,
1672
+ showColorScale: a?.showColorScale,
1673
+ showStrokeForWhiteDots: a?.showStrokeForWhiteDots,
1674
+ note: a?.note,
1675
+ data: o,
1676
+ width: a?.width,
1677
+ height: a?.height,
1678
+ minHeight: a?.minHeight,
1679
+ relativeHeight: a?.relativeHeight,
1680
+ ariaLabel: a?.ariaLabel,
1681
+ styles: a?.styles,
1682
+ classNames: a?.classNames,
1683
+ animate: a?.animate
1684
+ };
1685
+ case "sankeyChart":
1686
+ return {
1687
+ numberDisplayOptions: a?.numberDisplayOptions,
1688
+ customLayers: a?.customLayers,
1689
+ theme: a?.theme,
1690
+ resetSelectionOnDoubleClick: a?.resetSelectionOnDoubleClick,
1691
+ data: o,
1692
+ graphTitle: a?.graphTitle,
1693
+ graphDescription: a?.graphDescription,
1694
+ footNote: a?.footNote,
1695
+ width: a?.width,
1696
+ height: a?.height,
1697
+ sources: a?.sources,
1698
+ showLabels: a?.showLabels,
1699
+ leftMargin: a?.leftMargin,
1700
+ rightMargin: a?.rightMargin,
1701
+ topMargin: a?.topMargin,
1702
+ bottomMargin: a?.bottomMargin,
1703
+ truncateBy: a?.truncateBy,
1704
+ padding: a?.padding,
1705
+ backgroundColor: a?.backgroundColor,
1706
+ tooltip: a?.tooltip,
1707
+ relativeHeight: a?.relativeHeight,
1708
+ showValues: a?.showValues,
1709
+ graphID: a?.graphID,
1710
+ graphDownload: a?.graphDownload,
1711
+ dataDownload: a?.dataDownload,
1712
+ fillContainer: a?.fillContainer,
1713
+ language: a?.language,
1714
+ minHeight: a?.minHeight,
1715
+ ariaLabel: a?.ariaLabel,
1716
+ sourceColors: a?.sourceColors,
1717
+ targetColors: a?.targetColors,
1718
+ sourceColorDomain: a?.sourceColorDomain,
1719
+ targetColorDomain: a?.targetColorDomain,
1720
+ nodePadding: a?.nodePadding,
1721
+ nodeWidth: a?.nodeWidth,
1722
+ highlightedSourceDataPoints: a?.highlightedSourceDataPoints,
1723
+ highlightedTargetDataPoints: a?.highlightedTargetDataPoints,
1724
+ defaultLinkOpacity: a?.defaultLinkOpacity,
1725
+ sourceTitle: a?.sourceTitle,
1726
+ targetTitle: a?.targetTitle,
1727
+ sortNodes: a?.sortNodes,
1728
+ detailsOnClick: a?.detailsOnClick,
1729
+ styles: a?.styles,
1730
+ classNames: a?.classNames,
1731
+ animate: a?.animate
1732
+ };
1733
+ case "dataCards":
1734
+ return {
1735
+ theme: a?.theme,
1736
+ graphTitle: a?.graphTitle,
1737
+ sources: a?.sources,
1738
+ graphDescription: a?.graphDescription,
1739
+ footNote: a?.footNote,
1740
+ graphID: a?.graphID,
1741
+ width: a?.width,
1742
+ height: a?.height,
1743
+ columnData: a?.columnData || [],
1744
+ data: o,
1745
+ language: a?.language,
1746
+ ariaLabel: a?.ariaLabel,
1747
+ cardTemplate: a?.cardTemplate,
1748
+ cardBackgroundColor: a?.cardBackgroundColor,
1749
+ cardFilters: a?.cardFilters || [],
1750
+ cardSortingOptions: a?.cardSortingOptions,
1751
+ cardSearchColumns: a?.cardSearchColumns,
1752
+ cardMinWidth: a?.cardMinWidth,
1753
+ backgroundColor: a?.backgroundColor,
1754
+ padding: a?.padding,
1755
+ detailsOnClick: a?.detailsOnClick,
1756
+ allowDataDownloadOnDetail: a?.allowDataDownloadOnDetail,
1757
+ noOfItemsInAPage: a?.noOfItemsInAPage,
1758
+ uiMode: a?.uiMode,
1759
+ styles: a?.styles,
1760
+ classNames: a?.classNames
1761
+ };
1762
+ case "radarChart":
1763
+ return {
1764
+ numberDisplayOptions: a?.numberDisplayOptions,
1765
+ customLayers: a?.customLayers,
1766
+ graphTitle: a?.graphTitle,
1767
+ dimmedOpacity: a?.dimmedOpacity,
1768
+ graphDescription: a?.graphDescription,
1769
+ footNote: a?.footNote,
1770
+ sources: a?.sources,
1771
+ ariaLabel: a?.ariaLabel,
1772
+ colors: a?.colors,
1773
+ colorDomain: a?.colorDomain,
1774
+ colorLegendTitle: a?.colorLegendTitle,
1775
+ backgroundColor: a?.backgroundColor,
1776
+ styles: a?.styles,
1777
+ classNames: a?.classNames,
1778
+ width: a?.width,
1779
+ height: a?.height,
1780
+ minHeight: a?.minHeight,
1781
+ relativeHeight: a?.relativeHeight,
1782
+ padding: a?.padding,
1783
+ radius: a?.radius,
1784
+ leftMargin: a?.leftMargin,
1785
+ rightMargin: a?.rightMargin,
1786
+ topMargin: a?.topMargin,
1787
+ bottomMargin: a?.bottomMargin,
1788
+ maxValue: a?.maxValue,
1789
+ minValue: a?.minValue,
1790
+ showValues: a?.showValues,
1791
+ showDots: a?.showDots,
1792
+ strokeWidth: a?.strokeWidth,
1793
+ fillShape: a?.fillShape,
1794
+ noOfTicks: a?.noOfTicks,
1795
+ showColorScale: a?.showColorScale,
1796
+ showNAColor: a?.showNAColor,
1797
+ highlightedLines: a?.highlightedLines,
1798
+ axisLabels: a?.axisLabels,
1799
+ curveType: a?.curveType,
1800
+ resetSelectionOnDoubleClick: a?.resetSelectionOnDoubleClick,
1801
+ graphDownload: a?.graphDownload,
1802
+ dataDownload: a?.dataDownload,
1803
+ tooltip: a?.tooltip,
1804
+ detailsOnClick: a?.detailsOnClick,
1805
+ language: a?.language,
1806
+ theme: a?.theme,
1807
+ graphID: a?.graphID,
1808
+ animate: a?.animate
1809
+ };
1810
+ default:
1811
+ return {};
1812
+ }
1813
+ }, e[7] = o, e[8] = t, e[9] = i, e[10] = a, e[11] = s, e[12] = p) : p = e[12];
1814
+ const y = p, u = M[n];
1815
+ let D;
1816
+ e[13] !== y || e[14] !== n ? (D = y(n), e[13] = y, e[14] = n, e[15] = D) : D = e[15];
1817
+ 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"}`;
1818
+ let b;
1819
+ e[16] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (b = {
1820
+ minHeight: "inherit"
1821
+ }, e[16] = b) : b = e[16];
1822
+ let g;
1823
+ 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];
1824
+ let C;
1825
+ 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;
1826
+ }
1827
+ export {
1828
+ Ga as G
1829
+ };
1830
+ //# sourceMappingURL=GraphEl-Ch0uAeZw.js.map