Documentation Index
Fetch the complete documentation index at: https://docs.darvas.app/llms.txt
Use this file to discover all available pages before exploring further.
Signature
LineFill shades the region between two existing Line entity handles. The source lines are specified at creation time and cannot be changed afterwards - to retarget, delete the fill and create a new one.
Quick example
Options
Unique slot key for this fill.
Handle returned by the first
Line() call.Handle returned by the second
Line() call.Fill color as
#RRGGBBAA. Use low alpha (e.g. #22c55e30) for zone shading.Source line immutability
forceOverlay constraint
Both source lines must have the sameforceOverlay value. Mixing forceOverlay: true and forceOverlay: false lines in a single LineFill raises an error at construction time.
The
forceOverlay constraint is checked when the LineFill is constructed, not when it is rendered. If the source lines have mismatched forceOverlay settings, the LineFill will fail silently (not rendered) and log a warning.Handle methods
Bollinger Bands fill example
Related pages
Line
Line entity - both source lines for LineFill must be Line handles.
fill() primitive
fill() shades between two plot series (not Line entities).
Bollinger Bands example
Full working BB with LineFill shading.