# SparklinePoint (@salmonui/charts/sparkline)

> The SparklinePoint interface of @salmonui/charts/sparkline.

Canonical: https://salmonui.dev/docs/reference/charts/sparkline/SparklinePoint

```ts
import type { SparklinePoint } from '@salmonui/charts/sparkline';
```

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

## Reference

Kind: interface

```ts
interface SparklinePoint {
    readonly index: number;
    readonly x: number;
    readonly y: number;
    readonly datum: unknown;
    readonly kinds: readonly SparklinePointKind[];
}
```

Members (5):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `index` | `readonly index: number;` |  |  |
| `x` | `readonly x: number;` |  | The x value (index, category position or epoch ms). |
| `y` | `readonly y: number;` |  |  |
| `datum` | `readonly datum: unknown;` |  | The record (or the number) at this index. |
| `kinds` | `readonly kinds: readonly SparklinePointKind[];` |  | Highlight kinds this point carries. |
