Skip to main content

Interface: StudyBandPreferences

Charting Library.StudyBandPreferences

Study band style preferences.

Hierarchy

Properties

color

color: string

Color.

Example

'#ffffff'.

Inherited from

StudyBandStyle.color


id

Optional Readonly id: string

Band ID. Used in StudyFilledAreaInfo.objAId and StudyFilledAreaInfo.objBId.

See

StudyFilledAreaInfo

Inherited from

StudyBandInfo.id


isHidden

Optional Readonly isHidden: boolean

Band style inputs visibility flag. Used to hide the band from the style tab of study properties dialogs.

Inherited from

StudyBandInfo.isHidden


linestyle

linestyle: number

Line style.

Example

2 // Dotted line.

Inherited from

StudyBandStyle.linestyle


linewidth

linewidth: number

Line width.

Inherited from

StudyBandStyle.linewidth


name

Readonly name: string

Band name.

Inherited from

StudyBandInfo.name


value

value: number

Value at which the band will be drawn.

Example

75 // Drawn at price = 75.

Inherited from

StudyBandStyle.value


visible

visible: boolean

Band visibility flag.

Inherited from

StudyBandStyle.visible


zorder

Optional Readonly zorder: number

Band z-order.

Inherited from

StudyBandInfo.zorder