impaktapps-ui-builder 0.0.95 → 0.0.96
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 +29 -1
- 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 +10 -0
- package/src/impaktapps-ui-builder/builder/build/buildLineGraph.ts +10 -0
- package/src/impaktapps-ui-builder/builder/build/buildStackBarGraph.ts +10 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +2 -1
|
@@ -7538,7 +7538,8 @@ const buildPropertiesSection = function(type) {
|
|
|
7538
7538
|
getInputField("yAxisValue", "Y-AxisValue"),
|
|
7539
7539
|
getInputField("xAxisValue", "X-AxisValue"),
|
|
7540
7540
|
getRadioInputField("bottomAxisAngle", "Bottom Axis Angled", ["YES", "No"]),
|
|
7541
|
-
|
|
7541
|
+
getInputField("leftMargin", "Left Margin"),
|
|
7542
|
+
emptyBox$1("GraphEmpty1", { xs: 6, sm: 0, md: 8, lg: 8 }),
|
|
7542
7543
|
getArrayControl("legendLabels", "label"),
|
|
7543
7544
|
getArrayControl("pieArcColors", "color")
|
|
7544
7545
|
];
|
|
@@ -10319,6 +10320,15 @@ const buildHorizontalBarGraph = (config, componentScope) => {
|
|
|
10319
10320
|
}
|
|
10320
10321
|
};
|
|
10321
10322
|
}
|
|
10323
|
+
if (config.leftMargin) {
|
|
10324
|
+
horizontalBarGraph.config.style = {
|
|
10325
|
+
labelStyle: {
|
|
10326
|
+
margin: {
|
|
10327
|
+
left: config.leftMargin
|
|
10328
|
+
}
|
|
10329
|
+
}
|
|
10330
|
+
};
|
|
10331
|
+
}
|
|
10322
10332
|
if (config.bottomLabel) {
|
|
10323
10333
|
horizontalBarGraph.config.main.bottomLabel = config.bottomLabel;
|
|
10324
10334
|
}
|
|
@@ -10475,6 +10485,15 @@ const buildStackbarGraph = (config, componentScope) => {
|
|
|
10475
10485
|
if (config.height) {
|
|
10476
10486
|
barGraph.config.style.containerStyle.height = config.height;
|
|
10477
10487
|
}
|
|
10488
|
+
if (config.leftMargin) {
|
|
10489
|
+
barGraph.config.style = {
|
|
10490
|
+
labelStyle: {
|
|
10491
|
+
margin: {
|
|
10492
|
+
left: config.leftMargin
|
|
10493
|
+
}
|
|
10494
|
+
}
|
|
10495
|
+
};
|
|
10496
|
+
}
|
|
10478
10497
|
if (config.bottomLabel) {
|
|
10479
10498
|
barGraph.config.main.bottomLabel = config.bottomLabel;
|
|
10480
10499
|
}
|
|
@@ -11302,6 +11321,15 @@ const buildLineGraph = (config, componentScope) => {
|
|
|
11302
11321
|
if (config.height) {
|
|
11303
11322
|
lineGraph.config.style.containerStyle.height = config.height;
|
|
11304
11323
|
}
|
|
11324
|
+
if (config.leftMargin) {
|
|
11325
|
+
lineGraph.config.style = {
|
|
11326
|
+
labelStyle: {
|
|
11327
|
+
margin: {
|
|
11328
|
+
left: config.leftMargin
|
|
11329
|
+
}
|
|
11330
|
+
}
|
|
11331
|
+
};
|
|
11332
|
+
}
|
|
11305
11333
|
if (config.bottomLabel) {
|
|
11306
11334
|
lineGraph.config.main.bottomLabel = config.bottomLabel;
|
|
11307
11335
|
}
|