Dundas Chart for ASP.NET
FadingAnimation Class
Members  See Also  Send comments on this topic.
Dundas.Charting.WebControl Namespace : FadingAnimation Class


 Fading animations are used to create color-related animations.


Fading animation type.

Object Model


Syntax

Visual Basic (Declaration)  
Public Class FadingAnimation 
   Inherits AnimationBase
Visual Basic (Usage) Copy Code
Dim instance As FadingAnimation
C#  
public class FadingAnimation : AnimationBase 

Remarks

By default, fading effects start with the color transparent but it is possible to set any color to be the start color. For all chart elements, there are 5 colors that can be set: Fill, Border, Gradient, Text and Shadow. Some elements do not have a fill or gradient color (axis and grid lines for example), therefore these properties will have no effect. The end color of the chart element will always be the color of the chart element.

Chart elements that can be animated with the fading effect are:

  • Data points.
  • Data point labels.
  • Markers.
  • Axes.
  • Grid lines.
  • Tick marks.
  • Strip lines.
  • Axis labels.
  • Legends.
  • Plotting areas.
  • Titles.

Svg and Flash rendering engines

Animation is supported by two rendering engines: Svg and Flash. Setting to either of these formats is done through the ImageType property. These two formats animate basic shapes on two different ways but result animation is almost identical for both formats. This is the list of differences between Flash and Svg Animation:

  1. Svg rendering engine does not support animation with gradient colors. StartGradientColor property is not used for SVG animation and is ignored.
  2. Svg rendering engine does not support hatch styles.
  3. Flash rendering engine does not support intersection of animation intervals for fading or growing/moving animations.
  4. Svg and Flash rendering engine may have a different behavior if two animation styles are used on the same chart element.

Inheritance Hierarchy

System.Object
   Dundas.Charting.WebControl.AnimationBase
      Dundas.Charting.WebControl.FadingAnimation

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.