@fusedashlabs/ui9000-workspace
Version:
UI9000 workspace MCP. One tool, show_workspace, draws a chart from your table. Set TYPESAFE_API_KEY to let Jev choose the chart.
8 lines (7 loc) • 393 B
TypeScript
/**
* Bar object the chart element can plot.
* Single series: category × metric, no groupBy.
* Grouped: a second category column, never the same field as the axes.
* Many categories flip to horizontal so the labels stay readable.
*/
export declare function barChartPayload(_chartType: string | undefined, fields: Record<string, string>, rows: Record<string, unknown>[]): unknown | null;