impaktapps-ui-builder 0.0.97-alpha.7 → 0.0.97-alpha.8

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.
@@ -10224,7 +10224,9 @@ const BarGraph = {
10224
10224
  },
10225
10225
  config: {
10226
10226
  layout: { xs: 12, sm: 12, md: 12, lg: 6 },
10227
- main: {},
10227
+ main: {
10228
+ legendLabels: null
10229
+ },
10228
10230
  style: { containerStyle: {}, labelStyle: {} }
10229
10231
  }
10230
10232
  };
@@ -10237,7 +10239,8 @@ const PieGraph = {
10237
10239
  config: {
10238
10240
  layout: { xs: 12, sm: 12, md: 12, lg: 6 },
10239
10241
  main: {
10240
- type: "PieGraph"
10242
+ type: "PieGraph",
10243
+ legendLabels: null
10241
10244
  },
10242
10245
  style: {}
10243
10246
  }
@@ -10251,29 +10254,11 @@ const LineGraph = {
10251
10254
  config: {
10252
10255
  layout: { xs: 12, sm: 12, md: 12, lg: 6 },
10253
10256
  main: {
10254
- type: "LineGraph",
10255
- header: "Quartely Incentive in Thousand",
10256
- bottomLabel: "Years",
10257
- leftLabel: "Incentive",
10258
- gridHidden: true,
10259
- numHidden: false,
10260
- tooltipDataKey: ["MAMA New Project", "Second", "Third"],
10261
- axisLeft: true,
10262
- axisBottom: true,
10263
- hideLeftAxisLine: false,
10264
- hideBottomAxisLine: false,
10265
- legend: {
10266
- labelColor: "green",
10267
- direction: "row",
10268
- align: "right",
10269
- colorRectWidth: 20
10270
- }
10257
+ legendLabels: null
10271
10258
  },
10272
10259
  style: {
10273
10260
  containerStyle: {},
10274
- headerStyle: {},
10275
- labelStyle: {},
10276
- lineStyle: {}
10261
+ labelStyle: {}
10277
10262
  }
10278
10263
  }
10279
10264
  };
@@ -10286,7 +10271,8 @@ const HorizontalBarGraph = {
10286
10271
  config: {
10287
10272
  layout: { xs: 12, sm: 12, md: 12, lg: 6 },
10288
10273
  main: {
10289
- type: "HorizontalBarGraph"
10274
+ type: "HorizontalBarGraph",
10275
+ legendLabels: null
10290
10276
  },
10291
10277
  style: {
10292
10278
  labelStyle: {}
@@ -10309,7 +10295,7 @@ const buildHorizontalBarGraph = (config, componentScope) => {
10309
10295
  horizontalBarGraph.config.main.bottomAxisAngle = config.bottomAxisAngle === "YES" ? true : false;
10310
10296
  }
10311
10297
  if (config.legendLabels) {
10312
- horizontalBarGraph.config.main.tooltipDataKey = flatObjectValueInArray(config.legendLabels);
10298
+ horizontalBarGraph.config.main.legendLabels = flatObjectValueInArray(config.legendLabels);
10313
10299
  }
10314
10300
  if (config.pieArcColors) {
10315
10301
  horizontalBarGraph.config.style.lineStyle.colorRange = flatObjectValueInArray(config.pieArcColors);
@@ -10455,7 +10441,7 @@ const buildPieGraph = (config, componentScope) => {
10455
10441
  pieGraph.scope = componentScope;
10456
10442
  pieGraph.config.main.header = config.heading;
10457
10443
  if (config.legendLabels) {
10458
- pieGraph.config.main.tooltipDataKey = flatObjectValueInArray(config.legendLabels);
10444
+ pieGraph.config.main.legendLabels = flatObjectValueInArray(config.legendLabels);
10459
10445
  }
10460
10446
  if (config.xAxisValue) {
10461
10447
  pieGraph.config.main.xAxisValue = config.xAxisValue;
@@ -10484,7 +10470,7 @@ const buildStackbarGraph = (config, componentScope) => {
10484
10470
  barGraph.config.main.type = config.graphType;
10485
10471
  barGraph.config.main.header = config.heading;
10486
10472
  if (config.legendLabels) {
10487
- barGraph.config.main.tooltipDataKey = flatObjectValueInArray(config.legendLabels);
10473
+ barGraph.config.main.legendLabels = flatObjectValueInArray(config.legendLabels);
10488
10474
  }
10489
10475
  if (config.pieArcColors) {
10490
10476
  barGraph.config.style.lineStyle.colorRange = flatObjectValueInArray(config.pieArcColors);
@@ -11373,7 +11359,7 @@ const buildLineGraph = (config, componentScope) => {
11373
11359
  lineGraph.config.main.bottomAxisAngle = config.bottomAxisAngle === "YES" ? true : false;
11374
11360
  }
11375
11361
  if (config.legendLabels) {
11376
- lineGraph.config.main.tooltipDataKey = flatObjectValueInArray(config.legendLabels);
11362
+ lineGraph.config.main.legendLabels = flatObjectValueInArray(config.legendLabels);
11377
11363
  }
11378
11364
  if (config.pieArcColors) {
11379
11365
  lineGraph.config.style.lineStyle.colorRange = flatObjectValueInArray(config.pieArcColors);