# ChartPointContext (@salmonui/charts/chart)

> The ChartPointContext interface of @salmonui/charts/chart.

Canonical: https://salmonui.dev/docs/reference/charts/chart/ChartPointContext

```ts
import type { ChartPointContext } from '@salmonui/charts/chart';
```

Entry index: https://salmonui.dev/docs/reference/charts/chart (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/charts/chart.md).

## Reference

Kind: interface

```ts
interface ChartPointContext {
    readonly seriesId: string;
    readonly seriesName: string;
    readonly index: number;
    readonly datum: ChartDatum;
    readonly x: unknown;
    readonly y: number;
    readonly xText: string;
    readonly yText: string;
    readonly color: string;
}
```

Members (9):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `seriesId` | `readonly seriesId: string;` |  |  |
| `seriesName` | `readonly seriesName: string;` |  |  |
| `index` | `readonly index: number;` |  |  |
| `datum` | `readonly datum: ChartDatum;` |  |  |
| `x` | `readonly x: unknown;` |  |  |
| `y` | `readonly y: number;` |  |  |
| `xText` | `readonly xText: string;` |  | Formatted x and y as shown in tooltips and the table. |
| `yText` | `readonly yText: string;` |  |  |
| `color` | `readonly color: string;` |  |  |
