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

[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.

Host-facing datafeed connection status. Carries no provider error text.

## state {#state}

```ts
readonly state: ChartDatafeedState;
```

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

## retryAttempt {#retryattempt}

```ts
readonly retryAttempt: number;
```

Consecutive failed attempts in the current `reconnecting` or `retrying` run; `0` otherwise.

## Related types

- [ChartDatafeedState](https://docs.lumencharts.com/charting-library/api/ChartDatafeedState)

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