charton API / @chart-on/core / index / DrawingLevel
Interface: DrawingLevel
Defined in: packages/core/src/drawing/types.ts:13
One level of a level-based tool such as a Fibonacci retracement.
Properties
color?
optionalcolor?:string
Defined in: packages/core/src/drawing/types.ts:22
A CSS color, the name of a theme color ('up', 'levelGreen'; see ThemeColorKey) to follow the theme, or 'auto' for the shared level color rule (levelColor), which the built-in tools' default levels use. Unset takes the drawing's color.
value
value:
number
Defined in: packages/core/src/drawing/types.ts:15
Fraction of the measured move.
visible?
optionalvisible?:boolean
Defined in: packages/core/src/drawing/types.ts:23