Type ChartAreaGradient

type ChartAreaGradient struct{ From, To ui.Color }

ChartAreaGradient is a vertical, baseline-relative color gradient. From is at the farthest curve edge and To is at the baseline, including below zero. Colors include alpha; ChartAreaStyle.Opacity multiplies both endpoints.