ITimeScaleApi
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.
coordinateToTime
coordinateToTime(x: number): number | null;Use the type signature above and the integration guide for the owning capability.
| Parameter | Type | Required |
|---|---|---|
x | number | Yes |
barSpacingChanged
barSpacingChanged(): ISubscription<(newBarSpacing: number) => void>;Use the type signature above and the integration guide for the owning capability.
rightOffsetChanged
rightOffsetChanged(): ISubscription<(rightOffset: number) => void>;Use the type signature above and the integration guide for the owning capability.
setRightOffset
setRightOffset(offset: number): void;Use the type signature above and the integration guide for the owning capability.
| Parameter | Type | Required |
|---|---|---|
offset | number | Yes |
setBarSpacing
setBarSpacing(newBarSpacing: number): void;Use the type signature above and the integration guide for the owning capability.
| Parameter | Type | Required |
|---|---|---|
newBarSpacing | number | Yes |
barSpacing
barSpacing(): number;Use the type signature above and the integration guide for the owning capability.
rightOffset
rightOffset(): number;Use the type signature above and the integration guide for the owning capability.
width
width(): number;Use the type signature above and the integration guide for the owning capability.
defaultRightOffset
defaultRightOffset(): IWatchedValue<number>;Use the type signature above and the integration guide for the owning capability.
defaultRightOffsetPercentage
defaultRightOffsetPercentage(): IWatchedValue<number>;Use the type signature above and the integration guide for the owning capability.
usePercentageRightOffset
usePercentageRightOffset(): IWatchedValue<boolean>;Use the type signature above and the integration guide for the owning capability.