Lumen ChartsLumen Charts
Api

IPriceScaleApi

Download Markdown

Integration guide · Reference index

Public contract reference. This declaration describes types and callback shapes; availability is constrained by the linked integration guide and the runtime capability. Legacy product-specific fields are not a promise of implementation.

getMode

getMode(): PriceScaleMode;

Use the type signature above and the integration guide for the owning capability.

setMode

setMode(newMode: PriceScaleMode): void;

Use the type signature above and the integration guide for the owning capability.

ParameterTypeRequired
newModePriceScaleModeYes

isInverted

isInverted(): boolean;

Use the type signature above and the integration guide for the owning capability.

setInverted

setInverted(isInverted: boolean): void;

Use the type signature above and the integration guide for the owning capability.

ParameterTypeRequired
isInvertedbooleanYes

isLocked

isLocked(): boolean;

Use the type signature above and the integration guide for the owning capability.

setLocked

setLocked(isLocked: boolean): void;

Use the type signature above and the integration guide for the owning capability.

ParameterTypeRequired
isLockedbooleanYes

isAutoScale

isAutoScale(): boolean;

Use the type signature above and the integration guide for the owning capability.

setAutoScale

setAutoScale(isAutoScale: boolean): void;

Use the type signature above and the integration guide for the owning capability.

ParameterTypeRequired
isAutoScalebooleanYes

getVisiblePriceRange

getVisiblePriceRange(): VisiblePriceRange | null;

Use the type signature above and the integration guide for the owning capability.

setVisiblePriceRange

setVisiblePriceRange(range: VisiblePriceRange): void;

Use the type signature above and the integration guide for the owning capability.

ParameterTypeRequired
rangeVisiblePriceRangeYes

hasMainSeries

hasMainSeries(): boolean;

Use the type signature above and the integration guide for the owning capability.

getStudies

getStudies(): EntityId[];

Use the type signature above and the integration guide for the owning capability.

currency

currency(): CurrencyInfo | null;

Use the type signature above and the integration guide for the owning capability.

setCurrency

setCurrency(currency: string | null): void;

Use the type signature above and the integration guide for the owning capability.

ParameterTypeRequired
currencystring | nullYes

unit

unit(): UnitInfo | null;

Use the type signature above and the integration guide for the owning capability.

setUnit

setUnit(unit: string | null): void;

Use the type signature above and the integration guide for the owning capability.

ParameterTypeRequired
unitstring | nullYes

On this page