vertical

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

Returns a top-to-bottom gradient through colors. With GradientSpan.Shape, that is from each shape's top edge to its bottom edge. Bars below the baseline mirror it vertically.