✅ You are viewing documentation for the latest version of Compose SDK.
Version:
# Type alias LineOptions
LineOptions:
object
Configuration options for styling lines in charts.
This type is used to customize the visual appearance of lines in various chart types including Line charts, Area charts, and AreaRange charts.
# Type declaration
# dashStyle
dashStyle?: DashStyle
Dash pattern for the line.
Defines the visual pattern of the line.
# endCap
endCap?: EndCapType
Style of the line end caps.
Controls how the ends of lines are rendered:
'Round'
: Rounded ends for a softer appearance'Square'
: Sharp, flat ends for a crisp appearance
# shadow
shadow?: boolean
Whether to apply a shadow effect to the line.
When enabled, adds a subtle shadow behind the line for enhanced.
# width
width?: number
Width of the line in pixels.