charton API / @chart-on/core / index / PlotStyle
Interface: PlotStyle
Defined in: packages/core/src/indicators/types.ts:235
A plot's style as the user set it, over what the definition declares. Each member is optional: a missing one keeps the definition's value.
Properties
lineStyle?
optionallineStyle?:LineStyle
Defined in: packages/core/src/indicators/types.ts:239
Solid, dashed or dotted stroke, for line plots.
lineWidth?
optionallineWidth?:number
Defined in: packages/core/src/indicators/types.ts:237
Stroke width in css px, for line plots; positive.
visible?
optionalvisible?:boolean
Defined in: packages/core/src/indicators/types.ts:244
False hides the plot: it draws nothing, leaves the legend, the price-axis labels and autoscale, and fills next to it are hidden too. Default true.