impaktapps-ui-builder 0.0.97-alpha.14 → 0.0.97-alpha.16
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 +2 -20
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +8 -8
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildLineGraph.ts +1 -10
- package/src/impaktapps-ui-builder/builder/build/buildPieGraph.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildStackBarGraph.ts +0 -9
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +0 -2
|
@@ -7534,8 +7534,6 @@ const buildPropertiesSection = function(type) {
|
|
|
7534
7534
|
getSelectField("graphType", "Graph Type"),
|
|
7535
7535
|
getInputField("leftLabel", "Left Label"),
|
|
7536
7536
|
getInputField("bottomLabel", "Bottom Label"),
|
|
7537
|
-
getInputField("leftLabelMargin", "Left Label Margin"),
|
|
7538
|
-
getInputField("leftLabelOffset", "Left Label Offset"),
|
|
7539
7537
|
emptyBox$1("GraphEmpty1", { xs: 6, sm: 0, md: 0, lg: 0 }),
|
|
7540
7538
|
getRadioInputField("legendHide", "Legend Hide", ["YES", "No"]),
|
|
7541
7539
|
getInputField("yAxisValue", "Y-AxisValue"),
|
|
@@ -10439,7 +10437,7 @@ const buildPieGraph = (config, componentScope) => {
|
|
|
10439
10437
|
};
|
|
10440
10438
|
}
|
|
10441
10439
|
if (config.legendHide) {
|
|
10442
|
-
pieGraph.config.main.
|
|
10440
|
+
pieGraph.config.main.legendAvailable = config.legendHide === "YES" ? false : true;
|
|
10443
10441
|
}
|
|
10444
10442
|
pieGraph.scope = componentScope;
|
|
10445
10443
|
pieGraph.config.main.header = config.heading;
|
|
@@ -10500,14 +10498,6 @@ const buildStackbarGraph = (config, componentScope) => {
|
|
|
10500
10498
|
if (config.leftLabel) {
|
|
10501
10499
|
barGraph.config.main.leftLabel = config.leftLabel;
|
|
10502
10500
|
}
|
|
10503
|
-
if (config.leftLabelMargin) {
|
|
10504
|
-
barGraph.config.style.labelStyle.margin = {
|
|
10505
|
-
left: config.leftLabelMargin
|
|
10506
|
-
};
|
|
10507
|
-
}
|
|
10508
|
-
if (config.leftLabelOffset) {
|
|
10509
|
-
barGraph.config.style.labelStyle.leftLabelOffset = config.leftLabelOffset;
|
|
10510
|
-
}
|
|
10511
10501
|
barGraph.scope = componentScope;
|
|
10512
10502
|
return barGraph;
|
|
10513
10503
|
};
|
|
@@ -11357,7 +11347,7 @@ const buildLineGraph = (config, componentScope) => {
|
|
|
11357
11347
|
lineGraph.config.main.leftLabel = config.leftLabel;
|
|
11358
11348
|
}
|
|
11359
11349
|
if (config.legendHide) {
|
|
11360
|
-
lineGraph.config.main.
|
|
11350
|
+
lineGraph.config.main.legendAvailable = config.legendHide === "YES" ? false : true;
|
|
11361
11351
|
}
|
|
11362
11352
|
if (config.bottomAxisAngle) {
|
|
11363
11353
|
lineGraph.config.main.bottomAxisAngle = config.bottomAxisAngle === "YES" ? true : false;
|
|
@@ -11368,14 +11358,6 @@ const buildLineGraph = (config, componentScope) => {
|
|
|
11368
11358
|
if (config.pieArcColors) {
|
|
11369
11359
|
lineGraph.config.style.lineStyle.colorRange = flatObjectValueInArray(config.pieArcColors);
|
|
11370
11360
|
}
|
|
11371
|
-
if (config.leftLabelMargin) {
|
|
11372
|
-
lineGraph.config.style.labelStyle.margin = {
|
|
11373
|
-
left: config.leftLabelMargin
|
|
11374
|
-
};
|
|
11375
|
-
}
|
|
11376
|
-
if (config.leftLabelOffset) {
|
|
11377
|
-
lineGraph.config.style.labelStyle.leftLabelOffset = config.leftLabelOffset;
|
|
11378
|
-
}
|
|
11379
11361
|
lineGraph.scope = componentScope;
|
|
11380
11362
|
return lineGraph;
|
|
11381
11363
|
};
|