This property is used to get or set the line style of an axis.
Axis Line Dash Style
Visual Basic (Declaration) | |
---|---|
Public Property LineStyle As ChartDashStyle |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public ChartDashStyle LineStyle {get; set;} |
Return Value
A ChartDashStyle enumeration value.
This property determines the line style used for an axis. The line can be solid, dotted, etc.
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 (then an adjacent axis' grid line will be drawn instead).
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