Skip to main content

Interface: AreaStylePreferences

Charting Library.AreaStylePreferences

Properties​

color1​

color1: string

Top color of the gradient fill. Must be an RGBA color string (e.g., "rgba(255, 0, 0, 0.5)").


color2​

color2: string

Bottom color of the gradient fill. Must be an RGBA color string (e.g., "rgba(255, 0, 0, 0.5)").


linecolor​

linecolor: string

Line color. Must be a simple color string (e.g., "red", "#FF0000").


linestyle​

linestyle: number

Line Style LineStyle


linewidth​

linewidth: number

Line width


transparency​

transparency: number

Transparency. Range [0..100] 0 - fully opaque, 100 - fully transparent.

Note: Rather use rgba color string for setting transparency.