1
0
Fork 0
mirror of synced 2024-09-12 23:43:09 +12:00
budibase/packages/standard-components/components.json

282 lines
4.9 KiB
JSON
Raw Normal View History

2019-08-20 08:18:23 +12:00
{
2020-07-26 22:54:55 +12:00
"bar": {
"description": "Bar Chart",
"data": true,
"props": {
"title": "string",
"datasource": "tables",
"labelColumn": "string",
"valueColumns": "string",
"height": {
2020-11-05 04:21:11 +13:00
"type": "string",
"default": "400"
},
2020-11-05 04:21:11 +13:00
"width": "string",
2020-11-03 23:11:31 +13:00
"dataLabels": "bool",
"animate": {
"type": "bool",
"default": true
},
2020-07-26 22:54:55 +12:00
"xAxisLabel": "string",
"yAxisLabel": "string",
2020-11-03 22:48:35 +13:00
"legend": "bool",
"stacked": "bool",
"yAxisUnits": {
"type": "options",
"default": "Default",
"options": [
"Default", "Thousands", "Millions"
]
2020-11-06 02:37:28 +13:00
},
"palette": {
"type": "options",
"default": "Palette 1",
"options": [
"Palette 1",
"Palette 2",
"Palette 3",
"Palette 4",
"Palette 5",
"Palette 6",
"Palette 7",
"Palette 8",
"Palette 9",
"Palette 10"
]
}
2020-07-26 22:54:55 +12:00
}
},
"line": {
"description": "Line Chart",
"data": true,
"props": {
"title": "string",
"datasource": "tables",
"labelColumn": "string",
"valueColumns": "string",
"height": {
2020-11-05 04:21:11 +13:00
"type": "string",
"default": "400"
},
2020-11-05 04:21:11 +13:00
"width": "string",
"dataLabels": {
2020-09-25 21:44:05 +12:00
"type": "bool",
"default": false
2020-09-25 21:44:05 +12:00
},
"animate": {
2020-09-25 21:44:05 +12:00
"type": "bool",
"default": true
},
2020-08-18 00:59:09 +12:00
"xAxisLabel": "string",
2020-08-19 02:45:44 +12:00
"yAxisLabel": "string",
"curve": {
"type": "options",
"options": [
"Smooth",
"Straight",
"Stepline"
],
"default": "Smooth"
},
2020-11-04 03:32:21 +13:00
"legend": "bool",
"yAxisUnits": {
"type": "options",
"default": "Default",
"options": [
"Default", "Thousands", "Millions"
]
2020-11-06 02:37:28 +13:00
},
"palette": {
"type": "options",
"default": "Palette 1",
"options": [
"Palette 1",
"Palette 2",
"Palette 3",
"Palette 4",
"Palette 5",
"Palette 6",
"Palette 7",
"Palette 8",
"Palette 9",
"Palette 10"
]
2020-11-04 03:32:21 +13:00
}
}
},
"area": {
"description": "Area Chart",
"data": true,
"props": {
"title": "string",
"datasource": "tables",
"labelColumn": "string",
"valueColumns": "string",
"height": {
2020-11-05 04:21:11 +13:00
"type": "string",
2020-11-04 03:32:21 +13:00
"default": "400"
},
2020-11-05 04:21:11 +13:00
"width": "string",
2020-11-04 03:32:21 +13:00
"dataLabels": {
"type": "bool",
"default": false
},
"animate": {
"type": "bool",
"default": true
},
"xAxisLabel": "string",
"yAxisLabel": "string",
"curve": {
"type": "options",
"options": [
"Smooth",
"Straight",
"Stepline"
],
"default": "Smooth"
},
2020-11-05 03:26:14 +13:00
"legend": "bool",
"stacked": {
2020-11-04 03:32:21 +13:00
"type": "bool",
"default": true
},
"gradient": "bool",
"yAxisUnits": {
"type": "options",
"default": "Default",
"options": [
"Default", "Thousands", "Millions"
]
2020-11-06 02:37:28 +13:00
},
"palette": {
"type": "options",
"default": "Palette 1",
"options": [
"Palette 1",
"Palette 2",
"Palette 3",
"Palette 4",
"Palette 5",
"Palette 6",
"Palette 7",
"Palette 8",
"Palette 9",
"Palette 10"
]
2020-11-04 03:32:21 +13:00
}
}
},
2020-11-04 00:50:55 +13:00
"pie": {
"description": "Pie Chart",
"data": true,
"props": {
2020-11-04 00:50:55 +13:00
"title": "string",
"datasource": "tables",
"labelColumn": "string",
"valueColumn": "string",
"height": {
2020-11-05 04:21:11 +13:00
"type": "string",
2020-11-04 00:50:55 +13:00
"default": "200"
},
2020-11-05 04:21:11 +13:00
"width": "string",
2020-11-04 00:50:55 +13:00
"dataLabels": "bool",
"animate": {
"type": "bool",
"default": true
},
"legend": {
"type": "bool",
"default": true
2020-11-06 02:37:28 +13:00
},
"palette": {
"type": "options",
"default": "Palette 1",
"options": [
"Palette 1",
"Palette 2",
"Palette 3",
"Palette 4",
"Palette 5",
"Palette 6",
"Palette 7",
"Palette 8",
"Palette 9",
"Palette 10"
]
2020-11-04 00:50:55 +13:00
}
2020-08-13 03:30:20 +12:00
}
},
2020-11-04 00:50:55 +13:00
"donut": {
"description": "Donut Chart",
"data": true,
"props": {
2020-11-04 00:50:55 +13:00
"title": "string",
"datasource": "tables",
2020-11-04 00:50:55 +13:00
"labelColumn": "string",
"valueColumn": "string",
"height": {
2020-11-05 04:21:11 +13:00
"type": "string",
2020-11-04 00:50:55 +13:00
"default": "200"
},
2020-11-05 04:21:11 +13:00
"width": "string",
2020-11-04 00:50:55 +13:00
"dataLabels": "bool",
"animate": {
"type": "bool",
"default": true
},
"legend": {
"type": "bool",
"default": true
2020-11-06 02:37:28 +13:00
},
"palette": {
"type": "options",
"default": "Palette 1",
"options": [
"Palette 1",
"Palette 2",
"Palette 3",
"Palette 4",
"Palette 5",
"Palette 6",
"Palette 7",
"Palette 8",
"Palette 9",
"Palette 10"
]
2020-11-04 00:50:55 +13:00
}
}
},
2020-11-05 04:21:11 +13:00
"candlestick": {
"description": "Candlestick Chart",
"data": true,
"props": {
"title": "string",
"datasource": "tables",
"dateColumn": "string",
"openColumn": "string",
"closeColumn": "string",
"highColumn": "string",
"lowColumn": "string",
"height": {
"type": "string",
"default": "400"
},
"width": "string",
"animate": {
"type": "bool",
"default": true
},
"xAxisLabel": "string",
"yAxisLabel": "string",
"yAxisUnits": {
"type": "options",
"default": "Default",
"options": [
"Default", "Thousands", "Millions"
]
}
}
},
}