impaktapps-ui-builder 0.0.97-alpha.5 → 0.0.97-alpha.7
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/impaktapps-ui-builder.es.js +10 -4
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +6 -6
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildHorizontalBarGraph.ts +6 -3
- package/src/impaktapps-ui-builder/builder/build/buildStackBarGraph.ts +6 -3
|
@@ -10308,8 +10308,11 @@ const buildHorizontalBarGraph = (config, componentScope) => {
|
|
|
10308
10308
|
if (config.bottomAxisAngle) {
|
|
10309
10309
|
horizontalBarGraph.config.main.bottomAxisAngle = config.bottomAxisAngle === "YES" ? true : false;
|
|
10310
10310
|
}
|
|
10311
|
-
if (config.
|
|
10312
|
-
horizontalBarGraph.config.
|
|
10311
|
+
if (config.legendLabels) {
|
|
10312
|
+
horizontalBarGraph.config.main.tooltipDataKey = flatObjectValueInArray(config.legendLabels);
|
|
10313
|
+
}
|
|
10314
|
+
if (config.pieArcColors) {
|
|
10315
|
+
horizontalBarGraph.config.style.lineStyle.colorRange = flatObjectValueInArray(config.pieArcColors);
|
|
10313
10316
|
}
|
|
10314
10317
|
if (config.xAxisValue) {
|
|
10315
10318
|
horizontalBarGraph.config.main.xAxisValue = config.xAxisValue;
|
|
@@ -10480,8 +10483,11 @@ const buildStackbarGraph = (config, componentScope) => {
|
|
|
10480
10483
|
}
|
|
10481
10484
|
barGraph.config.main.type = config.graphType;
|
|
10482
10485
|
barGraph.config.main.header = config.heading;
|
|
10483
|
-
if (config.
|
|
10484
|
-
barGraph.config.
|
|
10486
|
+
if (config.legendLabels) {
|
|
10487
|
+
barGraph.config.main.tooltipDataKey = flatObjectValueInArray(config.legendLabels);
|
|
10488
|
+
}
|
|
10489
|
+
if (config.pieArcColors) {
|
|
10490
|
+
barGraph.config.style.lineStyle.colorRange = flatObjectValueInArray(config.pieArcColors);
|
|
10485
10491
|
}
|
|
10486
10492
|
if (config.xAxisValue) {
|
|
10487
10493
|
barGraph.config.main.xAxisValue = config.xAxisValue;
|