interface LinkMemberOptions {
    appearance?: LinkAppearanceAdapter;
    chartType?: string;
    drawings?: LinkDrawingsAdapter;
    interval?: string;
    onChartType?: (chartType: string, chart: LinkChart) => boolean | void;
    onInterval?: (interval: string, chart: LinkChart) => boolean | void;
    onSymbol?: (symbol: string, chart: LinkChart) => void;
    symbol?: string;
}

Properties

Visual settings only; no instrument, timeframe, study or trading state is copied.

chartType?: string

The chart type this chart is showing (a registered chart type id), if the host tracks one.

This chart's side of drawing sharing. Without one it never shares drawings.

interval?: string

The interval this chart is showing, if the host tracks one.

onChartType?: (chartType: string, chart: LinkChart) => boolean | void

Show chartType on this chart. Return false to refuse one it cannot draw, which leaves the member on its own type and asks again on the next change. Omit to keep this chart's type out of the group's reach.

onInterval?: (interval: string, chart: LinkChart) => boolean | void

Apply the interval synchronously; return false to refuse an unsupported token.

onSymbol?: (symbol: string, chart: LinkChart) => void

Load symbol into this chart. The group calls it; the host does the work (fetch bars, series.setData). Omit to make the member symbol-read-only: it still broadcasts its own changes, it just never follows anyone else's.

symbol?: string

The instrument this chart is showing right now, if the host tracks one.