Skip to content

Interface: UseChartDataResult

data: ChartData | null

The fetched data (Arrow Table or JSON array)


error: string | null

Error message if any


isArrow: boolean

Whether the data is in Arrow format


isEmpty: boolean

Whether the data is empty


loading: boolean

Loading state


warehouseStatus: WarehouseStatus | null

Latest warehouse readiness status from SSE. Retains the last value (including RUNNING) until the next start(); null only before the first event. Use with loading to distinguish warehouse warm-up from in-flight SQL fetch.