impaktapps-ui-builder 0.0.382-alpha.46 → 0.0.382-alpha.48

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.
@@ -9154,19 +9154,7 @@ const BarGraph = {
9154
9154
  widget: "Graph"
9155
9155
  },
9156
9156
  config: {
9157
- main: {
9158
- legend: {}
9159
- },
9160
- style: {
9161
- containerStyle: {},
9162
- headerStyle: {},
9163
- tooltipStyle: {},
9164
- barStyle: {},
9165
- legendStyle: {
9166
- legend: {},
9167
- legendTitle: {}
9168
- }
9169
- }
9157
+ main: {}
9170
9158
  }
9171
9159
  };
9172
9160
  const PieGraph = {
@@ -9252,30 +9240,7 @@ const HorizontalBarGraph = {
9252
9240
  widget: "Graph"
9253
9241
  },
9254
9242
  config: {
9255
- main: {
9256
- header: " ",
9257
- type: "HorizontalBarGraph",
9258
- bottomLabel: " ",
9259
- leftLabel: "Value",
9260
- axisLeft: false,
9261
- axisBottom: true,
9262
- hideBottomTicks: false,
9263
- hideLeftTicks: false,
9264
- hideLeftAxisLine: true,
9265
- hideBottomAxisLine: false,
9266
- bottomAxisWidth: "10px"
9267
- },
9268
- style: {
9269
- containerStyle: {
9270
- width: "100%"
9271
- },
9272
- headerStyle: {},
9273
- tooltipStyle: {},
9274
- labelStyle: {},
9275
- barStyle: {
9276
- color: "#6c5efb"
9277
- }
9278
- }
9243
+ main: {}
9279
9244
  }
9280
9245
  };
9281
9246
  const buildHorizontalBarGraph = (config, componentScope) => {
@@ -9423,7 +9388,7 @@ const buildStackbarGraph = (config, componentScope) => {
9423
9388
  barGraph.config.layout = createLayoutFormat(config.layout);
9424
9389
  }
9425
9390
  if (config.legendHide) {
9426
- barGraph.config.main.legendAvailable = false;
9391
+ barGraph.config.main.legendAvailable = config.legendHide;
9427
9392
  }
9428
9393
  barGraph.config.main.type = config.graphType;
9429
9394
  barGraph.config.main.header = config.heading;