This documentation is archived and is not being maintained.
Axis::LineColor Property
Visual Studio 2010
Gets or sets the line color of an axis.
Assembly: System.Web.DataVisualization (in System.Web.DataVisualization.dll)
[BindableAttribute(true)] [PersistenceModeAttribute(PersistenceMode::Attribute)] [TypeConverterAttribute(typeof(ColorConverter))] public: property Color LineColor { Color get (); void set (Color value); }
Property Value
Type: System.Drawing::ColorA Color object that represents the line color used to draw the axis. The default is Black.
Use the LineColor property to specify the line color of an axis.
Note If an axis is not enabled but an adjacent axis is using grid lines, one of those grid lines will be displayed in place of the axis that is not enabled. The same situation will occur if the Enabled property of an axis is set to Auto. In this case, the axis is not being used to plot data, and the grid line of an adjacent axis will be drawn instead.
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
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: