impaktapps-ui-builder 0.0.962 → 0.0.964

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.
@@ -7534,6 +7534,8 @@ 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"),
7537
7539
  emptyBox$1("GraphEmpty1", { xs: 6, sm: 0, md: 0, lg: 0 }),
7538
7540
  getRadioInputField("legendHide", "Legend Hide", ["YES", "No"]),
7539
7541
  getInputField("yAxisValue", "Y-AxisValue"),
@@ -10220,7 +10222,7 @@ const BarGraph = {
10220
10222
  },
10221
10223
  config: {
10222
10224
  main: {},
10223
- style: { containerStyle: {} }
10225
+ style: { containerStyle: {}, labelStyle: {} }
10224
10226
  }
10225
10227
  };
10226
10228
  const PieGraph = {
@@ -10281,7 +10283,9 @@ const HorizontalBarGraph = {
10281
10283
  main: {
10282
10284
  type: "HorizontalBarGraph"
10283
10285
  },
10284
- style: {}
10286
+ style: {
10287
+ labelStyle: {}
10288
+ }
10285
10289
  }
10286
10290
  };
10287
10291
  const buildHorizontalBarGraph = (config, componentScope) => {
@@ -10315,6 +10319,14 @@ const buildHorizontalBarGraph = (config, componentScope) => {
10315
10319
  if (config.leftLabel) {
10316
10320
  horizontalBarGraph.config.main.leftLabel = config.leftLabel;
10317
10321
  }
10322
+ if (config.leftLabelMargin) {
10323
+ horizontalBarGraph.config.style.labelStyle.margin = {
10324
+ left: config.leftLabelMargin
10325
+ };
10326
+ }
10327
+ if (config.leftLabelOffset) {
10328
+ horizontalBarGraph.config.style.labelStyle.leftLabelOffset = config.leftLabelOffset;
10329
+ }
10318
10330
  return horizontalBarGraph;
10319
10331
  };
10320
10332
  var SpeedoMeter = {
@@ -10467,6 +10479,14 @@ const buildStackbarGraph = (config, componentScope) => {
10467
10479
  if (config.leftLabel) {
10468
10480
  barGraph.config.main.leftLabel = config.leftLabel;
10469
10481
  }
10482
+ if (config.leftLabelMargin) {
10483
+ barGraph.config.style.labelStyle.margin = {
10484
+ left: config.leftLabelMargin
10485
+ };
10486
+ }
10487
+ if (config.leftLabelOffset) {
10488
+ barGraph.config.style.labelStyle.leftLabelOffset = config.leftLabelOffset;
10489
+ }
10470
10490
  barGraph.scope = componentScope;
10471
10491
  return barGraph;
10472
10492
  };
@@ -11315,6 +11335,14 @@ const buildLineGraph = (config, componentScope) => {
11315
11335
  if (config.pieArcColors) {
11316
11336
  lineGraph.config.style.lineStyle.colorRange = flatObjectValueInArray(config.pieArcColors);
11317
11337
  }
11338
+ if (config.leftLabelMargin) {
11339
+ lineGraph.config.style.labelStyle.margin = {
11340
+ left: config.leftLabelMargin
11341
+ };
11342
+ }
11343
+ if (config.leftLabelOffset) {
11344
+ lineGraph.config.style.labelStyle.leftLabelOffset = config.leftLabelOffset;
11345
+ }
11318
11346
  lineGraph.scope = componentScope;
11319
11347
  return lineGraph;
11320
11348
  };