impaktapps-ui-builder 0.0.412-mtreemap.21 → 0.0.412-mtreemap.23
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/dist/impaktapps-ui-builder.es.js +2 -2
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +1 -1
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildStackBarGraph.ts +1 -5
- package/src/impaktapps-ui-builder/builder/build/uischema/graph.ts +0 -117
- package/src/impaktapps-ui-builder/runtime/services/events.ts +0 -1
package/package.json
CHANGED
|
@@ -15,10 +15,6 @@ export const buildStackbarGraph = (config:any,componentScope:string) => {
|
|
|
15
15
|
if (config.barColor) {
|
|
16
16
|
barGraph.config.barStyle.color = config.barColor;
|
|
17
17
|
}
|
|
18
|
-
// if (config.containerBackground) {
|
|
19
|
-
// barGraph.config.containerStyle.background =
|
|
20
|
-
// config.containerBackground;
|
|
21
|
-
// }
|
|
22
18
|
if (config.height) {
|
|
23
19
|
barGraph.config.style.containerStyle.height = config.height;
|
|
24
20
|
}
|
|
@@ -28,6 +24,6 @@ export const buildStackbarGraph = (config:any,componentScope:string) => {
|
|
|
28
24
|
if (config.leftLabel) {
|
|
29
25
|
barGraph.config.main.leftLabel = config.leftLabel;
|
|
30
26
|
}
|
|
31
|
-
|
|
27
|
+
barGraph.scope = componentScope;
|
|
32
28
|
return barGraph;
|
|
33
29
|
}
|
|
@@ -7,72 +7,7 @@ export const BarGraph = {
|
|
|
7
7
|
|
|
8
8
|
config: {
|
|
9
9
|
main: {
|
|
10
|
-
// header: "Bar Graph",
|
|
11
|
-
// bottomLabel: "Name of Employe",
|
|
12
|
-
// numTicks: 6,
|
|
13
|
-
// leftLabel: "Value in lakhs",
|
|
14
|
-
// axisLeft: true,
|
|
15
|
-
// axisBottom: true,
|
|
16
|
-
|
|
17
|
-
// hideTicks: false,
|
|
18
|
-
// hideLeftAxisLine: false,
|
|
19
|
-
// hideBottomAxisLine: false,
|
|
20
|
-
// bottomAxisWidth: "10px",
|
|
21
|
-
// legend: {
|
|
22
|
-
// labelColor: "green",
|
|
23
|
-
// legendTitle: "",
|
|
24
|
-
// direction: "row",
|
|
25
|
-
// align: "none",
|
|
26
|
-
|
|
27
|
-
// },
|
|
28
10
|
},
|
|
29
|
-
// style: {
|
|
30
|
-
// containerStyle: {
|
|
31
|
-
// // width:"100%",
|
|
32
|
-
// // height:"450",
|
|
33
|
-
|
|
34
|
-
// },
|
|
35
|
-
// headerStyle: {
|
|
36
|
-
// // color:"white"
|
|
37
|
-
// },
|
|
38
|
-
// tooltipStyle: {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
// },
|
|
42
|
-
// // labelStyle: { margin:{left:80,bottom:20},
|
|
43
|
-
// // leftLabelOffset: 50,
|
|
44
|
-
// // bottomLabelOffset:10
|
|
45
|
-
// // },
|
|
46
|
-
// barStyle: {
|
|
47
|
-
// // color:{
|
|
48
|
-
// // firstBarColor:"#6c5efb",
|
|
49
|
-
// // secondBarColor:"#3f51b5"
|
|
50
|
-
// // "#6c5efb"#3f51b5
|
|
51
|
-
// // secondColor:"#3e50b3"
|
|
52
|
-
// // }
|
|
53
|
-
// },
|
|
54
|
-
// legendStyle: {
|
|
55
|
-
// legend: {
|
|
56
|
-
// // lineHeight: "0.9em",
|
|
57
|
-
// // fontSize: "8px",
|
|
58
|
-
// // fontFamily: "arial",
|
|
59
|
-
// // padding: "10px 10px",
|
|
60
|
-
// // width:"30%",
|
|
61
|
-
// // display:"flex",
|
|
62
|
-
// // justifyContent:"center",
|
|
63
|
-
// // border: "1px solid rgba(255, 255, 255, 0.3)",
|
|
64
|
-
// // borderRadius: " 8px",
|
|
65
|
-
// // marginRight: "auto",
|
|
66
|
-
|
|
67
|
-
// },
|
|
68
|
-
// legendTitle: {
|
|
69
|
-
// // fontSize: "10px",
|
|
70
|
-
// // marginBottom: "10px",
|
|
71
|
-
// // fontWeight: "100",
|
|
72
|
-
|
|
73
|
-
// },
|
|
74
|
-
// },
|
|
75
|
-
// },
|
|
76
11
|
},
|
|
77
12
|
};
|
|
78
13
|
|
|
@@ -84,39 +19,8 @@ export const PieGraph = {
|
|
|
84
19
|
},
|
|
85
20
|
config: {
|
|
86
21
|
main: {
|
|
87
|
-
// header: "Incentive Branch category wise",
|
|
88
22
|
type: "PieGraph",
|
|
89
|
-
// bottomLabel: "Name of Employe",
|
|
90
|
-
// leftLabel: "Value",
|
|
91
|
-
// tooltipDataKey: ["HDFC", "SBI", "Kotak","Sbi"],
|
|
92
|
-
// axisLeft: true,
|
|
93
|
-
// axisBottom: true,
|
|
94
|
-
// legendAvailable: true,
|
|
95
|
-
// legend: {
|
|
96
|
-
// labelColor: "green",
|
|
97
|
-
// legendTitle: "Branches",
|
|
98
|
-
// direction: "row",
|
|
99
|
-
// align: "right",
|
|
100
|
-
// },
|
|
101
23
|
},
|
|
102
|
-
|
|
103
|
-
// style: {
|
|
104
|
-
// containerStyle: {
|
|
105
|
-
// height:"340"
|
|
106
|
-
// },
|
|
107
|
-
// headerStyle: {},
|
|
108
|
-
// tooltipStyle: {
|
|
109
|
-
// // width: "100%",
|
|
110
|
-
// backgroundColor:"black",
|
|
111
|
-
// width:"80px"
|
|
112
|
-
// },
|
|
113
|
-
// labelStyle: {},
|
|
114
|
-
// legendStyle: {
|
|
115
|
-
// legend: {},
|
|
116
|
-
// legendTitle: {},
|
|
117
|
-
// },
|
|
118
|
-
// pieStyle: {},
|
|
119
|
-
// },
|
|
120
24
|
},
|
|
121
25
|
};
|
|
122
26
|
export const LineGraph = {
|
|
@@ -164,28 +68,7 @@ export const HorizontalBarGraph = {
|
|
|
164
68
|
},
|
|
165
69
|
config: {
|
|
166
70
|
main: {
|
|
167
|
-
// header: " ",
|
|
168
71
|
type: "HorizontalBarGraph",
|
|
169
|
-
// bottomLabel: " ",
|
|
170
|
-
// leftLabel: "Value",
|
|
171
|
-
// axisLeft: false,
|
|
172
|
-
// axisBottom: true,
|
|
173
|
-
// hideBottomTicks: false,
|
|
174
|
-
// hideLeftTicks: false,
|
|
175
|
-
// hideLeftAxisLine: true,
|
|
176
|
-
// hideBottomAxisLine: false,
|
|
177
|
-
// bottomAxisWidth: "10px",
|
|
178
72
|
},
|
|
179
|
-
// style: {
|
|
180
|
-
// containerStyle: {
|
|
181
|
-
// width:"100%"
|
|
182
|
-
// },
|
|
183
|
-
// headerStyle: {},
|
|
184
|
-
// tooltipStyle: {},
|
|
185
|
-
// labelStyle: {},
|
|
186
|
-
// barStyle: {
|
|
187
|
-
// color: "#6c5efb",
|
|
188
|
-
// },
|
|
189
|
-
// },
|
|
190
73
|
},
|
|
191
74
|
};
|