类型 ChartAreaGradient

API 文档由 Go 源码生成,内容为英文。

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.