#linearx0::Number=0#How far from left (start) first color startsy0::Number=0#How far from top (start) first color startsx2::Number=0#How far from right (end) second color startsy2::Number=1#How far from bottom (end) second color starts#radialx::Number=0.5#x% offset to center of gradient (0-left 1-right)y::Number=0.5#y% offset to center of gradient (0-top 1-bottom)r::Number=0.5#radius of gradient
Examples
lineargradient - Default
x=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"]y=[11,11,15,13,12,13,10]ar=area(x,y,color=lineargradient("purple","cyan"))smooth!(ar)xaxis!(ar,name="Day of Week")yaxis!(ar,name="Daily High Temperature °C")