asGradientChartColor

Extension function to convert a list of Colors to a Gradient ChartColor.

Return

A Gradient ChartColor with the given list of colors.