Kong · Schema

Bar chart

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.

API GatewayAI GatewayAI ConnectivityAgent GatewayEvent GatewayMCP RegistryService MeshLLMKafkaKonnectOpen Source

Properties

Name Type Description
chart_title string The title of the chart, which is displayed in the tile's header.
type string
stacked boolean Whether to stack the bars (implicitly adding them together to form a total), or leave them independent from each other.
View JSON Schema on GitHub

JSON Schema

kong-barchart-schema.json Raw ↑
{
  "$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"
  ]
}