mirror of
https://github.com/apache/superset.git
synced 2026-08-04 21:12:44 +00:00
35 lines
1.2 KiB
JSON
35 lines
1.2 KiB
JSON
{
|
|
"schema": {
|
|
"properties": {
|
|
"groupby": {
|
|
"items": {
|
|
"description": "Columns by which to group the query.",
|
|
"type": "string"
|
|
},
|
|
"nullable": true,
|
|
"type": "array"
|
|
},
|
|
"metrics": {
|
|
"description": "Aggregate expressions. Metrics can be passed as both references to datasource metrics (strings), or ad-hoc metricswhich are defined only within the query object. See `ChartDataAdhocMetricSchema` for the structure of ad-hoc metrics. When metrics is undefined or null, the query is executed without a groupby. However, when metrics is an array (length >= 0), a groupby clause is added to the query.",
|
|
"items": {},
|
|
"nullable": true,
|
|
"type": "array"
|
|
},
|
|
"percentiles": {
|
|
"description": "Upper and lower percentiles for percentile whisker type.",
|
|
"example": [1, 99]
|
|
},
|
|
"whisker_type": {
|
|
"description": "Whisker type. Any numpy function will work.",
|
|
"enum": ["tukey", "min/max", "percentile"],
|
|
"example": "tukey",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["whisker_type"],
|
|
"type": "object",
|
|
"title": "ChartDataBoxplotOptionsSchema"
|
|
},
|
|
"schemaType": "response"
|
|
}
|