# SparklineBand (@salmonui/charts/sparkline)

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

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

```ts
import type { SparklineBand } 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 SparklineBand {
    readonly from: number;
    readonly to: number;
    readonly color?: string | undefined;
}
```

Members (3):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `from` | `readonly from: number;` |  |  |
| `to` | `readonly to: number;` |  |  |
| `color` | `readonly color?: string \| undefined;` | optional | Data color; default the neutral band color. |
