Skip to main content
Version: Next

ChartDataBoxplotOptionsSchema

density_bandwidthnumber

Multiplier on the automatically chosen density bandwidth. Defaults to 1.0 and is used only when density_points is supplied.

Possible values: >= 0.1 and <= 5

Example: 1
density_pointsintegernullable

Number of density curve points per group and metric. Omit or use null to keep ordinary boxplot output. Violin chart requests use 100 points.

Possible values: >= 20 and <= 500

Example: 100
groupbystring[]nullable
metrics[]nullable

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.

percentiles

Upper and lower percentiles for percentile whisker type.

Example: [1,99]
whisker_typestringrequired

Whisker type. Any numpy function will work.

Possible values: [tukey, min/max, percentile]

Example: tukey
ChartDataBoxplotOptionsSchema
{
"density_bandwidth": 1,
"density_points": 100,
"groupby": [
"string"
],
"metrics": [
null
],
"percentiles": [
1,
99
],
"whisker_type": "tukey"
}