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.
- package/dist/impaktapps-ui-builder.es.js +3 -38
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +11 -11
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/graph.d.ts +2 -37
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildStackBarGraph.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/graph.ts +66 -66
|
@@ -5,19 +5,7 @@ export declare const BarGraph: {
|
|
|
5
5
|
widget: string;
|
|
6
6
|
};
|
|
7
7
|
config: {
|
|
8
|
-
main: {
|
|
9
|
-
legend: {};
|
|
10
|
-
};
|
|
11
|
-
style: {
|
|
12
|
-
containerStyle: {};
|
|
13
|
-
headerStyle: {};
|
|
14
|
-
tooltipStyle: {};
|
|
15
|
-
barStyle: {};
|
|
16
|
-
legendStyle: {
|
|
17
|
-
legend: {};
|
|
18
|
-
legendTitle: {};
|
|
19
|
-
};
|
|
20
|
-
};
|
|
8
|
+
main: {};
|
|
21
9
|
};
|
|
22
10
|
};
|
|
23
11
|
export declare const PieGraph: {
|
|
@@ -103,29 +91,6 @@ export declare const HorizontalBarGraph: {
|
|
|
103
91
|
widget: string;
|
|
104
92
|
};
|
|
105
93
|
config: {
|
|
106
|
-
main: {
|
|
107
|
-
header: string;
|
|
108
|
-
type: string;
|
|
109
|
-
bottomLabel: string;
|
|
110
|
-
leftLabel: string;
|
|
111
|
-
axisLeft: boolean;
|
|
112
|
-
axisBottom: boolean;
|
|
113
|
-
hideBottomTicks: boolean;
|
|
114
|
-
hideLeftTicks: boolean;
|
|
115
|
-
hideLeftAxisLine: boolean;
|
|
116
|
-
hideBottomAxisLine: boolean;
|
|
117
|
-
bottomAxisWidth: string;
|
|
118
|
-
};
|
|
119
|
-
style: {
|
|
120
|
-
containerStyle: {
|
|
121
|
-
width: string;
|
|
122
|
-
};
|
|
123
|
-
headerStyle: {};
|
|
124
|
-
tooltipStyle: {};
|
|
125
|
-
labelStyle: {};
|
|
126
|
-
barStyle: {
|
|
127
|
-
color: string;
|
|
128
|
-
};
|
|
129
|
-
};
|
|
94
|
+
main: {};
|
|
130
95
|
};
|
|
131
96
|
};
|
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@ export const buildStackbarGraph = (config:any,componentScope:string) => {
|
|
|
8
8
|
barGraph.config.layout = createLayoutFormat(config.layout);
|
|
9
9
|
}
|
|
10
10
|
if (config.legendHide) {
|
|
11
|
-
barGraph.config.main.legendAvailable =
|
|
11
|
+
barGraph.config.main.legendAvailable = config.legendHide;
|
|
12
12
|
}
|
|
13
13
|
barGraph.config.main.type = config.graphType;
|
|
14
14
|
barGraph.config.main.header = config.heading;
|
|
@@ -18,61 +18,61 @@ export const BarGraph = {
|
|
|
18
18
|
// hideLeftAxisLine: false,
|
|
19
19
|
// hideBottomAxisLine: false,
|
|
20
20
|
// bottomAxisWidth: "10px",
|
|
21
|
-
legend: {
|
|
21
|
+
// legend: {
|
|
22
22
|
// labelColor: "green",
|
|
23
23
|
// legendTitle: "",
|
|
24
24
|
// direction: "row",
|
|
25
25
|
// align: "none",
|
|
26
26
|
|
|
27
|
+
// },
|
|
27
28
|
},
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
// height:"450",
|
|
29
|
+
// style: {
|
|
30
|
+
// containerStyle: {
|
|
31
|
+
// // width:"100%",
|
|
32
|
+
// // height:"450",
|
|
33
33
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
34
|
+
// },
|
|
35
|
+
// headerStyle: {
|
|
36
|
+
// // color:"white"
|
|
37
|
+
// },
|
|
38
|
+
// tooltipStyle: {
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
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
66
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
67
|
+
// },
|
|
68
|
+
// legendTitle: {
|
|
69
|
+
// // fontSize: "10px",
|
|
70
|
+
// // marginBottom: "10px",
|
|
71
|
+
// // fontWeight: "100",
|
|
72
72
|
|
|
73
|
-
|
|
74
|
-
},
|
|
75
|
-
},
|
|
73
|
+
// },
|
|
74
|
+
// },
|
|
75
|
+
// },
|
|
76
76
|
},
|
|
77
77
|
};
|
|
78
78
|
|
|
@@ -164,28 +164,28 @@ export const HorizontalBarGraph = {
|
|
|
164
164
|
},
|
|
165
165
|
config: {
|
|
166
166
|
main: {
|
|
167
|
-
header: " ",
|
|
168
|
-
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
|
-
},
|
|
179
|
-
style: {
|
|
180
|
-
containerStyle: {
|
|
181
|
-
width:"100%"
|
|
182
|
-
},
|
|
183
|
-
headerStyle: {},
|
|
184
|
-
tooltipStyle: {},
|
|
185
|
-
labelStyle: {},
|
|
186
|
-
barStyle: {
|
|
187
|
-
color: "#6c5efb",
|
|
188
|
-
},
|
|
167
|
+
// header: " ",
|
|
168
|
+
// 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",
|
|
189
178
|
},
|
|
179
|
+
// style: {
|
|
180
|
+
// containerStyle: {
|
|
181
|
+
// width:"100%"
|
|
182
|
+
// },
|
|
183
|
+
// headerStyle: {},
|
|
184
|
+
// tooltipStyle: {},
|
|
185
|
+
// labelStyle: {},
|
|
186
|
+
// barStyle: {
|
|
187
|
+
// color: "#6c5efb",
|
|
188
|
+
// },
|
|
189
|
+
// },
|
|
190
190
|
},
|
|
191
191
|
};
|