Style Property (NGradientFillStyle)
Controls the gradient style.
The following example applies a black and white diagonal gradient of the right chart wall.
Dim chart As NChart = CType((NChartControl.Charts(0)), NChart)
Dim gradientFillStyle As New NGradientFillStyle
gradientFillStyle.Style = GradientStyle.DiagonalDown
gradientFillStyle.Variant = GradientVariant.Variant1
gradientFillStyle.BeginColor = Color.White
gradientFillStyle.EndColor = Color.Black
chart.Wall(ChartWallType.Back).FillStyle = gradientFillStyle
NChart chart = (NChart)(NChartControl.Charts[0]);
NGradientFillStyle gradientFillStyle = new NGradientFillStyle();
gradientFillStyle.Style = GradientStyle.DiagonalDown;
gradientFillStyle.Variant = GradientVariant.Variant1;
gradientFillStyle.BeginColor = Color.White;
gradientFillStyle.EndColor = Color.Black;
chart.Wall(ChartWallType.Back).FillStyle = gradientFillStyle
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2