-
Notifications
You must be signed in to change notification settings - Fork 1
/
schema.json
151 lines (151 loc) · 3.92 KB
/
schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
{
"type": "component",
"metadata": {},
"schema": {
"name": "budibase-bubble-chart",
"friendlyName": "budibase-bubble-chart",
"description": "Component to display a bubble chart",
"icon": "GraphBubble",
"settings": [
{
"section": true,
"name": "Data Mapping",
"settings": [
{
"type": "dataProvider",
"label": "Data Provider",
"key": "dataProvider",
"required": true
},
{
"type": "field",
"label": "Serie category column",
"key": "serieField",
"info": "If left null, there will be only one DEFAULT category"
},
{
"type": "field",
"label": "x axis field",
"key": "xAxisField",
"required": true
},
{
"type": "field",
"label": "y axis field",
"key": "yAxisField",
"required": true
},
{
"type": "field",
"label": "Bubble Size field",
"key": "bubbleSizeField",
"required": true
}
]
},
{
"section": true,
"name": "General options",
"settings": [
{
"type": "number",
"label": "Chart height",
"key": "chartHeight",
"required": true,
"defaultValue": 300
},
{
"type": "number",
"label": "Chart width",
"key": "chartWidth",
"info": "If left null, width will be 100%"
},
{
"type": "text",
"label": "Chart title",
"key": "chartTitle"
}
]
},
{
"section": true,
"name": "X axis definition",
"settings": [
{
"type": "number",
"label": "Minimum value of X axis",
"key": "minXAxis"
},
{
"type": "number",
"label": "Maximum value of X axis",
"key": "maxXAxis"
},
{
"type": "number",
"label": "Number of ticks of X axis",
"key": "xAxisTickAmount"
}
]
},
{
"section": true,
"name": "Y axis definition",
"settings": [
{
"type": "number",
"label": "Minimum value of Y axis",
"key": "minYAxis"
},
{
"type": "number",
"label": "Maximum value of Y axis",
"key": "maxYAxis"
},
{
"type": "number",
"label": "Number of ticks of Y axis",
"key": "yAxisTickAmount"
},
{
"type": "text",
"label": "Title of Y axis",
"key": "yAxisTitle"
}
]
},
{
"section": true,
"name": "Advanced options",
"settings": [
{
"type": "boolean",
"label": "Display of bubble values",
"key": "displayValues",
"defaultValue": false
},
{
"type": "number",
"label": "Opacity of bubbles (percentage from 0 to 100)",
"key": "bubbleOpacity",
"defaultValue": 80
},
{
"type": "text",
"label": "Advanced chart options",
"key": "advancedChartOptions",
"info": "Must be Javascript valid object (cf. https://apexcharts.com/docs/options)"
},
{
"type": "select",
"label": "Color palette",
"key": "colorPalette",
"required": true,
"default": "1",
"options": ["palette1","palette2","palette3","palette4","palette5","palette6","palette7","palette8","palette9","palette10"]
}
]
}
]
}
}