Files
superset2/docs/developer_docs_versioned_docs/version-6.1.0/api/schemas/chartdataboxplotoptionsschema.Schema.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"
}