A chart that can display non-timeseries data as bars. This type of chart supports up to 2 dimensions (not `time`). To render a bar chart of timeseries data, use a `timeseries_bar` chart instead.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/BarChart",
"title": "Bar chart",
"description": "A chart that can display non-timeseries data as bars. This type of chart supports up to 2 dimensions (not `time`).\nTo render a bar chart of timeseries data, use a `timeseries_bar` chart instead.\n",
"type": "object",
"properties": {
"chart_title": {
"description": "The title of the chart, which is displayed in the tile's header.",
"type": "string",
"nullable": false
},
"type": {
"type": "string",
"enum": [
"horizontal_bar",
"vertical_bar"
],
"x-speakeasy-unknown-values": "allow"
},
"stacked": {
"description": "Whether to stack the bars (implicitly adding them together to form a total), or leave them independent from each other.\n",
"type": "boolean",
"nullable": false
}
},
"additionalProperties": false,
"required": [
"type"
]
}
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.