Search code examples
c#winformsgradientmschart

BackGradientStyle from bottom to top in MSChart?


Is it possible to set BackGradientStyle from bottom to top using MSChart?
I found:

BackGradientStyle.TopBottom      

but I want the reverse of this...


Solution

  • Solution:

    chart.BackColor = Color.White;
    chart.BackSecondaryColor = Color.Red;
    chart.BackGradientStyle = GradientStyle.TopBottom;