impaktapps-ui-builder 1.0.125-testL.10 → 1.0.125-testL.12

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impaktapps-ui-builder",
3
- "version": "1.0.125-testL.10",
3
+ "version": "1.0.125-testL.12",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -42,6 +42,10 @@ const buildHorizontalBarGraph = (config:any,componentScope:string) => {
42
42
  if (config.leftLabel) {
43
43
  horizontalBarGraph.config.main.leftLabel = config.leftLabel;
44
44
  }
45
+ if(config.axisDirection){
46
+ // horizontalBarGraph.config.main.axisDirection = config.axisDirection;
47
+ horizontalBarGraph.config.main.axisDirection = config.axisDirection === "Right"? "right": "left";
48
+ }
45
49
  return horizontalBarGraph
46
50
  }
47
51
 
@@ -433,6 +433,7 @@ export const buildPropertiesSection = function (type: String) {
433
433
  ]),
434
434
  getInputField("leftLabel", "Left Label"),
435
435
  getInputField("bottomLabel", "Bottom Label"),
436
+ getRadioInputField("axisDirection", "Axis Direction", ["Left", "Right"]),
436
437
  emptyBox("GraphEmpty1", { xs: 6, sm: 0, md: 0, lg: 0 }),
437
438
  getRadioInputField("legendHide", "Legend Hide", ["YES", "No"]),
438
439
  getInputField("yAxisValue", "Y-AxisValue"),