# SparklineTooltipOptions (@salmonui/charts/sparkline)

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

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

```ts
import type { SparklineTooltipOptions } 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 SparklineTooltipOptions {
    readonly format?: ((point: SparklinePoint) => string) | undefined;
    readonly render?: ((point: SparklinePoint) => ReactNode) | undefined;
    readonly trackLine?: boolean | undefined;
}
```

Members (3):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `format` | `readonly format?: ((point: SparklinePoint) => string) \| undefined;` | optional |  |
| `render` | `readonly render?: ((point: SparklinePoint) => ReactNode) \| undefined;` | optional |  |
| `trackLine` | `readonly trackLine?: boolean \| undefined;` | optional | Vertical track line at the hovered point. Default true. |
