Skip to main content

Interface: StudyLinePlotPreferences

Charting Library.StudyLinePlotPreferences

Study line plot style preferences.

Hierarchy​

Properties​

color​

• color: string

Line color.


display​

• display: StudyPlotDisplayMode

Display mode. See StudyPlotDisplayMode.

Example

StudyPlotDisplayTarget.None // Do not display the plot.

Inherited from​

StudyPlotBasePreferences.display


linestyle​

• linestyle: LineStyle

Line style.


linewidth​

• linewidth: number

Line width.


plottype​

• plottype: LineStudyPlotStyle

Plot style.


showLast​

• Optional Readonly showLast: number

If defined, defines the number of bars to plot on chart.


trackPrice​

• trackPrice: boolean

Price line visibility flag.


transparency​

• transparency: number

Transparency. A number between 1 and 100.

Example

80

Inherited from​

StudyPlotBasePreferences.transparency


visible​

• Optional visible: boolean

Visibility

Inherited from​

StudyPlotBasePreferences.visible