# SparklineText (@salmonui/charts/sparkline)

> The SparklineText interface of @salmonui/charts/sparkline: Built-in text of a Sparkline (text prop; the sparkline entry of a LocaleProvider catalog).

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

```ts
import type { SparklineText } 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 SparklineText {
    readonly summary: LocaleMessage;
    readonly noData: string;
    readonly up: string;
    readonly down: string;
    readonly flat: string;
}
```

Built-in text of a Sparkline (`text` prop; the `sparkline` entry of a `LocaleProvider` catalog).

Members (5):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `summary` | `readonly summary: LocaleMessage;` |  | `{count}`, `{min}`, `{max}`, `{first}`, `{last}`, `{trend}`: the automatic summary of `count` points. |
| `noData` | `readonly noData: string;` |  | The summary without data. |
| `up` | `readonly up: string;` |  | `{trend}` of the summary. |
| `down` | `readonly down: string;` |  |  |
| `flat` | `readonly flat: string;` |  |  |
