budibase/packages/standard-components/components.json

282 lines
4.9 KiB
JSON
Raw Normal View History

2019-08-19 22:18:23 +02:00
{
2020-07-26 12:54:55 +02:00
"bar": {
"description": "Bar Chart",
"data": true,
"props": {
"title": "string",
"datasource": "tables",
"labelColumn": "string",
"valueColumns": "string",
"height": {
2020-11-04 16:21:11 +01:00
"type": "string",
"default": "400"
},
2020-11-04 16:21:11 +01:00
"width": "string",
2020-11-03 11:11:31 +01:00
"dataLabels": "bool",
"animate": {
"type": "bool",
"default": true
},
2020-07-26 12:54:55 +02:00
"xAxisLabel": "string",
"yAxisLabel": "string",
2020-11-03 10:48:35 +01:00
"legend": "bool",
"stacked": "bool",
"yAxisUnits": {
"type": "options",
"default": "Default",
"options": [
"Default", "Thousands", "Millions"
]
2020-11-05 14:37:28 +01: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 12:54:55 +02:00
}
},
"line": {
"description": "Line Chart",
"data": true,
"props": {
"title": "string",
"datasource": "tables",
"labelColumn": "string",
"valueColumns": "string",
"height": {
2020-11-04 16:21:11 +01:00
"type": "string",
"default": "400"
},
2020-11-04 16:21:11 +01:00
"width": "string",
"dataLabels": {
2020-09-25 11:44:05 +02:00
"type": "bool",
"default": false
2020-09-25 11:44:05 +02:00
},
"animate": {
2020-09-25 11:44:05 +02:00
"type": "bool",
"default": true
},
2020-08-17 14:59:09 +02:00
"xAxisLabel": "string",
2020-08-18 16:45:44 +02:00
"yAxisLabel": "string",
"curve": {
"type": "options",
"options": [
"Smooth",
"Straight",
"Stepline"
],
"default": "Smooth"
},
2020-11-03 15:32:21 +01:00
"legend": "bool",
"yAxisUnits": {
"type": "options",
"default": "Default",
"options": [
"Default", "Thousands", "Millions"
]
2020-11-05 14:37:28 +01: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-03 15:32:21 +01:00
}
}
},
"area": {
"description": "Area Chart",
"data": true,
"props": {
"title": "string",
"datasource": "tables",
"labelColumn": "string",
"valueColumns": "string",
"height": {
2020-11-04 16:21:11 +01:00
"type": "string",
2020-11-03 15:32:21 +01:00
"default": "400"
},
2020-11-04 16:21:11 +01:00
"width": "string",
2020-11-03 15:32:21 +01: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-04 15:26:14 +01:00
"legend": "bool",
"stacked": {
2020-11-03 15:32:21 +01:00
"type": "bool",
"default": true
},
"gradient": "bool",
"yAxisUnits": {
"type": "options",
"default": "Default",
"options": [
"Default", "Thousands", "Millions"
]
2020-11-05 14:37:28 +01: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-03 15:32:21 +01:00
}
}
},
2020-11-03 12:50:55 +01:00
"pie": {
"description": "Pie Chart",
"data": true,
"props": {
2020-11-03 12:50:55 +01:00
"title": "string",
"datasource": "tables",
"labelColumn": "string",
"valueColumn": "string",
"height": {
2020-11-04 16:21:11 +01:00
"type": "string",
2020-11-03 12:50:55 +01:00
"default": "200"
},
2020-11-04 16:21:11 +01:00
"width": "string",
2020-11-03 12:50:55 +01:00
"dataLabels": "bool",
"animate": {
"type": "bool",
"default": true
},
"legend": {
"type": "bool",
"default": true
2020-11-05 14:37:28 +01: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-03 12:50:55 +01:00
}
2020-08-12 17:30:20 +02:00
}
},
2020-11-03 12:50:55 +01:00
"donut": {
"description": "Donut Chart",
"data": true,
"props": {
2020-11-03 12:50:55 +01:00
"title": "string",
"datasource": "tables",
2020-11-03 12:50:55 +01:00
"labelColumn": "string",
"valueColumn": "string",
"height": {
2020-11-04 16:21:11 +01:00
"type": "string",
2020-11-03 12:50:55 +01:00
"default": "200"
},
2020-11-04 16:21:11 +01:00
"width": "string",
2020-11-03 12:50:55 +01:00
"dataLabels": "bool",
"animate": {
"type": "bool",
"default": true
},
"legend": {
"type": "bool",
"default": true
2020-11-05 14:37:28 +01: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-03 12:50:55 +01:00
}
}
},
2020-11-04 16:21:11 +01: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"
]
}
}
},
}