Dundas Chart for ASP.NET
Enabled Property
See Also  Send comments on this topic.
Dundas.Charting.WebControl Namespace > AxisScale Class : Enabled Property


Gets or sets a value indicating if an axis is enabled.


Enables or disables the axis.

Syntax

Visual Basic (Declaration)  
Public Property Enabled As AxisEnabled
Visual Basic (Usage) Copy Code
Dim instance As AxisScale
Dim value As AxisEnabled
 
instance.Enabled = value
 
value = instance.Enabled
C#  
public AxisEnabled Enabled {get; set;}

Return Value

An AxisEnabled enumeration value. Defaults to "Auto".

Remarks

If an axis is disabled then the axis, along with its attributes (tick marks, strip lines, labels, etc.), will not be displayed.

If an axis is enabled then the axis, along with all its attributes (tick marks, strip lines, labels, etc.), will be displayed regardless of whether or not it is being used to plot a Series.

If a value of "Auto" is used then an axis may or may not be displayed, depending on whether it is being used to plot aSeries (the axes that are used to plot data are determined by the Series.XAxisType and Series.YAxisType property settings).

NOTE: If an axis is disabled but an adjacent axis is using grid lines then one of those grid lines will be displayed in place of the disabled axis. The same situation will occur if an axis' Enabled property is set to "Auto" and is not being used to plot data (i.e. then an adjacent axis' grid line will be drawn instead).

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.