# StockEvent (@salmonui/charts/stock-chart)

> The StockEvent interface of @salmonui/charts/stock-chart.

Canonical: https://salmonui.dev/docs/reference/charts/stock-chart/StockEvent

```ts
import type { StockEvent } from '@salmonui/charts/stock-chart';
```

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

## Reference

Kind: interface

```ts
interface StockEvent {
    readonly date: number | string | Date;
    readonly label: string;
    readonly description?: string | undefined;
    readonly shape?: 'circle' | 'square' | 'flag' | 'pin' | 'triangle' | 'invertedTriangle' | 'triangleRight' | 'triangleLeft' | 'arrowUp' | 'arrowDown' | 'arrowLeft' | 'arrowRight' | 'text' | undefined;
    readonly seriesIds?: readonly string[] | undefined;
}
```

Members (5):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `date` | `readonly date: number \| string \| Date;` |  |  |
| `label` | `readonly label: string;` |  |  |
| `description` | `readonly description?: string \| undefined;` | optional |  |
| `shape` | `readonly shape?: 'circle' \| 'square' \| 'flag' \| 'pin' \| 'triangle' \| 'invertedTriangle' \| 'triangleRight' \| 'triangleLeft' \| 'arrowUp' \| 'arrowDown' \| 'arrowLeft' \| 'arrowRight' \| 'text' \| undefined;` | optional |  |
| `seriesIds` | `readonly seriesIds?: readonly string[] \| undefined;` | optional | Series the event marks (default `['price']`; `'volume'` places it on the volume bars). |
