AckdbDashboardSqlCategoryViz

Render SQL rows as horizontal bars or a pie. `labelKey` names any declared column; `valueKey` must name a number/currency column. topN defaults to all returned rows; `othersBucket` combines the remainder.

Properties

typestringrequired
"bar""pie"
labelKeystringrequired
valueKeystringrequired
topNintegermin 1 · max 50
othersBucketbooleandefault false

Example

AckdbDashboardSqlCategoryViz example
{
  "type": "bar",
  "labelKey": "string",
  "valueKey": "string",
  "topN": 0,
  "othersBucket": false
}