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

> The StockChartText interface of @salmonui/charts/stock-chart: Built-in text of a StockChart (stockText prop; the stockChart entry of a LocaleProvider catalog). The series type keys (candle, default the type itself) are the series type menu items, the indicator keys (sma: "SMA") the indicator menu items and series names.

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

```ts
import type { StockChartText } 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 StockChartText extends Readonly<Record<StockSeriesType | IndicatorKind, string>> {
    readonly seriesType: string;
    readonly indicators: string;
    readonly trendlines: string;
    readonly export: string;
    readonly toolbar: string;
    readonly reset: string;
    readonly customRange: string;
    readonly print: string;
    readonly period: string;
    readonly month1: string;
    readonly month3: string;
    readonly month6: string;
    readonly yearToDate: string;
    readonly year1: string;
    readonly allPeriod: string;
    readonly events: string;
    readonly price: string;
    readonly volume: string;
    readonly indicatorPeriod: string;
    readonly bollingerBand: string;
    readonly bollingerMiddle: string;
    readonly macdHistogram: string;
    readonly macdSignal: string;
    readonly stochasticK: string;
    readonly stochasticD: string;
}
```

Built-in text of a StockChart (`stockText` prop; the `stockChart` entry of a `LocaleProvider`
catalog). The series type keys (`candle`, default the type itself) are the series type menu
items, the indicator keys (`sma`: `"SMA"`) the indicator menu items and series names.

Members (41):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `seriesType` | `readonly seriesType: string;` |  | Toolbar menus and names. |
| `indicators` | `readonly indicators: string;` |  |  |
| `trendlines` | `readonly trendlines: string;` |  |  |
| `export` | `readonly export: string;` |  |  |
| `toolbar` | `readonly toolbar: string;` |  |  |
| `reset` | `readonly reset: string;` |  |  |
| `customRange` | `readonly customRange: string;` |  |  |
| `print` | `readonly print: string;` |  | The print item of the export menu (the others are format names). |
| `period` | `readonly period: string;` |  | Name and default buttons of the period selector. |
| `month1` | `readonly month1: string;` |  |  |
| `month3` | `readonly month3: string;` |  |  |
| `month6` | `readonly month6: string;` |  |  |
| `yearToDate` | `readonly yearToDate: string;` |  |  |
| `year1` | `readonly year1: string;` |  |  |
| `allPeriod` | `readonly allPeriod: string;` |  |  |
| `events` | `readonly events: string;` |  |  |
| `price` | `readonly price: string;` |  | Names of the price series (without `name`) and of the volume series. |
| `volume` | `readonly volume: string;` |  |  |
| `indicatorPeriod` | `readonly indicatorPeriod: string;` |  | `{name}`, `{period}`: name of an indicator series with a period. Default `"{name} {period}"`. |
| `bollingerBand` | `readonly bollingerBand: string;` |  | Names of the other indicator series. |
| `bollingerMiddle` | `readonly bollingerMiddle: string;` |  |  |
| `macdHistogram` | `readonly macdHistogram: string;` |  |  |
| `macdSignal` | `readonly macdSignal: string;` |  |  |
| `stochasticK` | `readonly stochasticK: string;` |  |  |
| `stochasticD` | `readonly stochasticD: string;` |  |  |
| `accumulationDistribution` | `accumulationDistribution: string;` | inherited |  |
| `area` | `area: string;` | inherited |  |
| `atr` | `atr: string;` | inherited |  |
| `bollinger` | `bollinger: string;` | inherited |  |
| `candle` | `candle: string;` | inherited |  |
| `column` | `column: string;` | inherited |  |
| `ema` | `ema: string;` | inherited |  |
| `hilo` | `hilo: string;` | inherited |  |
| `line` | `line: string;` | inherited |  |
| `macd` | `macd: string;` | inherited |  |
| `momentum` | `momentum: string;` | inherited |  |
| `ohlc` | `ohlc: string;` | inherited |  |
| `rsi` | `rsi: string;` | inherited |  |
| `sma` | `sma: string;` | inherited |  |
| `stochastic` | `stochastic: string;` | inherited |  |
| `tma` | `tma: string;` | inherited |  |
