impaktapps-ui-builder 1.0.125-testL.11 → 1.0.125-testL.13
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 +22 -3
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +4 -4
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildHorizontalBarGraph.ts +5 -3
- package/src/impaktapps-ui-builder/builder/build/buildLineGraph.ts +6 -0
- package/src/impaktapps-ui-builder/builder/build/buildPieGraph.ts +3 -0
- package/src/impaktapps-ui-builder/builder/build/buildStackBarGraph.ts +6 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +2 -1
|
@@ -7832,10 +7832,11 @@ const buildPropertiesSection = function(type) {
|
|
|
7832
7832
|
getInputField("heading", "Heading"),
|
|
7833
7833
|
getSelectField("graphType", "Graph Type"),
|
|
7834
7834
|
getInputField("leftLabel", "Left Label"),
|
|
7835
|
+
getRadioInputField("disableLeftLable", "Disable Left Label", ["YES", "No"]),
|
|
7835
7836
|
getInputField("bottomLabel", "Bottom Label"),
|
|
7836
|
-
getRadioInputField("axisDirection", "Axis Direction", ["Left", "Right"]),
|
|
7837
7837
|
emptyBox$1("GraphEmpty1", { xs: 6, sm: 0, md: 0, lg: 0 }),
|
|
7838
7838
|
getRadioInputField("legendHide", "Legend Hide", ["YES", "No"]),
|
|
7839
|
+
getRadioInputField("legendDirection", "Legend Direction", ["Row", "Column"]),
|
|
7839
7840
|
getInputField("yAxisValue", "Y-AxisValue"),
|
|
7840
7841
|
getInputField("xAxisValue", "X-AxisValue"),
|
|
7841
7842
|
getRadioInputField("bottomAxisAngle", "Bottom Axis Angled", ["YES", "No"]),
|
|
@@ -10735,6 +10736,9 @@ const buildHorizontalBarGraph = (config2, componentScope2) => {
|
|
|
10735
10736
|
if (config2.legendLabels) {
|
|
10736
10737
|
horizontalBarGraph.config.main.legendLabels = flatObjectValueInArray(config2.legendLabels);
|
|
10737
10738
|
}
|
|
10739
|
+
if (config2.legendDirection) {
|
|
10740
|
+
horizontalBarGraph.config.main.legendDirection = config2.legendDirection === "Row" ? "row" : "column";
|
|
10741
|
+
}
|
|
10738
10742
|
if (config2.pieArcColors) {
|
|
10739
10743
|
horizontalBarGraph.config.style.barStyle.colorRange = flatObjectValueInArray(config2.pieArcColors);
|
|
10740
10744
|
}
|
|
@@ -10755,8 +10759,8 @@ const buildHorizontalBarGraph = (config2, componentScope2) => {
|
|
|
10755
10759
|
if (config2.leftLabel) {
|
|
10756
10760
|
horizontalBarGraph.config.main.leftLabel = config2.leftLabel;
|
|
10757
10761
|
}
|
|
10758
|
-
if (config2.
|
|
10759
|
-
horizontalBarGraph.config.main.
|
|
10762
|
+
if (config2.disableLeftLabel) {
|
|
10763
|
+
horizontalBarGraph.config.main.disableLeftLabel = config2.disableLeftLabel === "YES" ? true : false;
|
|
10760
10764
|
}
|
|
10761
10765
|
return horizontalBarGraph;
|
|
10762
10766
|
};
|
|
@@ -10864,6 +10868,9 @@ const buildPieGraph = (config2, componentScope2) => {
|
|
|
10864
10868
|
if (config2.legendHide) {
|
|
10865
10869
|
pieGraph.config.main.legendAvailable = config2.legendHide === "YES" ? false : true;
|
|
10866
10870
|
}
|
|
10871
|
+
if (config2.legendDirection) {
|
|
10872
|
+
pieGraph.config.main.legendDirection = config2.legendDirection === "Row" ? "row" : "column";
|
|
10873
|
+
}
|
|
10867
10874
|
pieGraph.scope = componentScope2;
|
|
10868
10875
|
pieGraph.config.main.header = config2.heading;
|
|
10869
10876
|
if (config2.legendLabels) {
|
|
@@ -10887,6 +10894,9 @@ const buildStackbarGraph = (config2, componentScope2) => {
|
|
|
10887
10894
|
barGraph.config.main.legendAvailable = config2.legendHide;
|
|
10888
10895
|
barGraph.config.main.legendAvailable = config2.legendHide === "YES" ? false : true;
|
|
10889
10896
|
}
|
|
10897
|
+
if (config2.legendDirection) {
|
|
10898
|
+
barGraph.config.main.legendDirection = config2.legendDirection === "Row" ? "row" : "column";
|
|
10899
|
+
}
|
|
10890
10900
|
if (config2.bottomAxisAngle) {
|
|
10891
10901
|
barGraph.config.main.bottomAxisAngle = config2.bottomAxisAngle === "YES" ? true : false;
|
|
10892
10902
|
}
|
|
@@ -10915,6 +10925,9 @@ const buildStackbarGraph = (config2, componentScope2) => {
|
|
|
10915
10925
|
if (config2.leftLabel) {
|
|
10916
10926
|
barGraph.config.main.leftLabel = config2.leftLabel;
|
|
10917
10927
|
}
|
|
10928
|
+
if (config2.disableLeftLabel) {
|
|
10929
|
+
barGraph.config.main.disableLeftLabel = config2.disableLeftLabel === "YES" ? true : false;
|
|
10930
|
+
}
|
|
10918
10931
|
barGraph.scope = componentScope2;
|
|
10919
10932
|
return barGraph;
|
|
10920
10933
|
};
|
|
@@ -11869,9 +11882,15 @@ const buildLineGraph = (config2, componentScope2) => {
|
|
|
11869
11882
|
if (config2.leftLabel) {
|
|
11870
11883
|
lineGraph.config.main.leftLabel = config2.leftLabel;
|
|
11871
11884
|
}
|
|
11885
|
+
if (config2.disableLeftLabel) {
|
|
11886
|
+
lineGraph.config.main.disableLeftLabel = config2.disableLeftLabel === "YES" ? true : false;
|
|
11887
|
+
}
|
|
11872
11888
|
if (config2.legendHide) {
|
|
11873
11889
|
lineGraph.config.main.legendAvailable = config2.legendHide === "YES" ? false : true;
|
|
11874
11890
|
}
|
|
11891
|
+
if (config2.legendDirection) {
|
|
11892
|
+
lineGraph.config.main.legendDirection = config2.legendDirection === "Row" ? "row" : "column";
|
|
11893
|
+
}
|
|
11875
11894
|
if (config2.bottomAxisAngle) {
|
|
11876
11895
|
lineGraph.config.main.bottomAxisAngle = config2.bottomAxisAngle === "YES" ? true : false;
|
|
11877
11896
|
}
|