Version

Add Effects to a Chart

link:Infragistics.webui.ultrawebchart~infragistics.ultrachart.resources.appearance.effectsappearance~effects.html[Effects]    are used to apply an overall look to the chart image; some operate on the chart image (pixel-wise), while others affect     link:Infragistics.webui.ultrawebchart~infragistics.ultrachart.core.primitives.primitive.html[Primitives]    in the SceneGraph like a custom layer.
Shows a plain 2D Column Chart on a white background..
Shows the 2D Column Chart shown above

The above images are the same chart; however the one on the right has three Effects added to its Effects collection: a GradientEffect , a ShadowEffect , and a TextureEffect . This was done using the Visual Studio .NET designer, however the code generated is very simple:

In Visual Basic:

Imports Infragistics.UltraChart.Resources.Appearance
Imports Infragistics.UltraChart.Shared.Styles
...
Dim gradientEffect1 As New GradientEffect()
Dim shadowEffect1 As New ShadowEffect()
Dim textureEffect1 As New TextureEffect()
gradientEffect1.Coloring = GradientColoringStyle.Lighten
gradientEffect1.Style = GradientStyle.ForwardDiagonal
shadowEffect1.Angle = 45
shadowEffect1.Color = System.Drawing.Color.DimGray
textureEffect1.Texture = TexturePresets.Canvas
Me.ultraChart1.Effects.Add(gradientEffect1)
Me.ultraChart1.Effects.Add(shadowEffect1)
Me.ultraChart1.Effects.Add(textureEffect1)

In C#:

using Infragistics.UltraChart.Resources.Appearance;
using Infragistics.UltraChart.Shared.Styles;
...
GradientEffect gradientEffect1 = new GradientEffect();
ShadowEffect shadowEffect1 = new ShadowEffect();
TextureEffect textureEffect1 = new TextureEffect();
gradientEffect1.Coloring = GradientColoringStyle.Lighten;
gradientEffect1.Style = GradientStyle.ForwardDiagonal;
shadowEffect1.Angle = 45;
shadowEffect1.Color = System.Drawing.Color.DimGray;
textureEffect1.Texture = TexturePresets.Canvas;
this.ultraChart1.Effects.Add(gradientEffect1);
this.ultraChart1.Effects.Add(shadowEffect1);
this.ultraChart1.Effects.Add(textureEffect1);