Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
LineDashStyle Property

Axis.LineDashStyle Property

.NET Framework 4.6 and 4.5

Gets or sets the line style of an axis.

Namespace:  System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

[BindableAttribute(true)]
[PersistenceModeAttribute(PersistenceMode.Attribute)]
public ChartDashStyle LineDashStyle { get; set; }

Property Value

Type: System.Web.UI.DataVisualization.Charting.ChartDashStyle
A ChartDashStyle enumeration value that represents the line style of an axis.

The LineDashStyle property determines the line style used for an axis. The line can be solid, dotted, and so forth.

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.

.NET Framework

Supported in: 4.6, 4.5, 4
Show:
© 2015 Microsoft