<!-- Public documentation export; not library implementation source. -->
# ChartDataStatus

[Integration guide](https://docs.lumencharts.com/charting-library/reference/compatibility) · [Reference index](https://docs.lumencharts.com/charting-library/api/)

Public contract reference. This declaration describes types and callback shapes; availability is constrained by the linked integration guide and the runtime capability. Legacy product-specific fields are not a promise of implementation.

Main-series data availability reported by [IChartWidgetApi.dataStatus](https://docs.lumencharts.com/charting-library/api/IChartWidgetApi#datastatus).

## state {#state}

```ts
readonly state: "loading" | "ready" | "empty" | "error";
```

Use the type signature above and the integration guide for the owning capability.

## message {#message}

```ts
readonly message: string | null;
```

Plain-language reason when `state` is `error`; otherwise `null`.

---
Documentation page: https://docs.lumencharts.com/charting-library/api/ChartDataStatus
