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

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,23 +10254,7 @@ 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: {},
@@ -10286,7 +10273,8 @@ const HorizontalBarGraph = {
10286
10273
  config: {
10287
10274
  layout: { xs: 12, sm: 12, md: 12, lg: 6 },
10288
10275
  main: {
10289
- type: "HorizontalBarGraph"
10276
+ type: "HorizontalBarGraph",
10277
+ legendLabels: null
10290
10278
  },
10291
10279
  style: {
10292
10280
  labelStyle: {}
@@ -10309,7 +10297,7 @@ const buildHorizontalBarGraph = (config, componentScope) => {
10309
10297
  horizontalBarGraph.config.main.bottomAxisAngle = config.bottomAxisAngle === "YES" ? true : false;
10310
10298
  }
10311
10299
  if (config.legendLabels) {
10312
- horizontalBarGraph.config.main.tooltipDataKey = flatObjectValueInArray(config.legendLabels);
10300
+ horizontalBarGraph.config.main.legendLabels = flatObjectValueInArray(config.legendLabels);
10313
10301
  }
10314
10302
  if (config.pieArcColors) {
10315
10303
  horizontalBarGraph.config.style.lineStyle.colorRange = flatObjectValueInArray(config.pieArcColors);
@@ -10455,7 +10443,7 @@ const buildPieGraph = (config, componentScope) => {
10455
10443
  pieGraph.scope = componentScope;
10456
10444
  pieGraph.config.main.header = config.heading;
10457
10445
  if (config.legendLabels) {
10458
- pieGraph.config.main.tooltipDataKey = flatObjectValueInArray(config.legendLabels);
10446
+ pieGraph.config.main.legendLabels = flatObjectValueInArray(config.legendLabels);
10459
10447
  }
10460
10448
  if (config.xAxisValue) {
10461
10449
  pieGraph.config.main.xAxisValue = config.xAxisValue;
@@ -10484,7 +10472,7 @@ const buildStackbarGraph = (config, componentScope) => {
10484
10472
  barGraph.config.main.type = config.graphType;
10485
10473
  barGraph.config.main.header = config.heading;
10486
10474
  if (config.legendLabels) {
10487
- barGraph.config.main.tooltipDataKey = flatObjectValueInArray(config.legendLabels);
10475
+ barGraph.config.main.legendLabels = flatObjectValueInArray(config.legendLabels);
10488
10476
  }
10489
10477
  if (config.pieArcColors) {
10490
10478
  barGraph.config.style.lineStyle.colorRange = flatObjectValueInArray(config.pieArcColors);
@@ -11373,7 +11361,7 @@ const buildLineGraph = (config, componentScope) => {
11373
11361
  lineGraph.config.main.bottomAxisAngle = config.bottomAxisAngle === "YES" ? true : false;
11374
11362
  }
11375
11363
  if (config.legendLabels) {
11376
- lineGraph.config.main.tooltipDataKey = flatObjectValueInArray(config.legendLabels);
11364
+ lineGraph.config.main.legendLabels = flatObjectValueInArray(config.legendLabels);
11377
11365
  }
11378
11366
  if (config.pieArcColors) {
11379
11367
  lineGraph.config.style.lineStyle.colorRange = flatObjectValueInArray(config.pieArcColors);