horizontal

fun horizontal(colors: List<Color>, span: GradientSpan = GradientSpan.Shape): ChartGradient.Linear(source)

Returns a left-to-right gradient through colors.