I'm attempting to set a bar in a chart to gradient color using the following code, but something is missing. What else do I need?
chartSeries.Type = ChartSeriesType.Bar
chartSeries.Appearance.FillStyle.MainColor = Drawing.Color.Beige
chartSeries.Appearance.FillStyle.SecondColor = Drawing.Color.Aqua
chartSeries.Appearance.FillStyle.FillType = Styles.FillType.ComplexGradient
I get the following error message...