Modifica

Condividi tramite


Axis.LineDashStyle Property

Definition

Gets or sets the line style of an axis.

public:
 property System::Windows::Forms::DataVisualization::Charting::ChartDashStyle LineDashStyle { System::Windows::Forms::DataVisualization::Charting::ChartDashStyle get(); void set(System::Windows::Forms::DataVisualization::Charting::ChartDashStyle value); };
[System.ComponentModel.Bindable(true)]
public System.Windows.Forms.DataVisualization.Charting.ChartDashStyle LineDashStyle { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.LineDashStyle : System.Windows.Forms.DataVisualization.Charting.ChartDashStyle with get, set
Public Property LineDashStyle As ChartDashStyle

Property Value

A ChartDashStyle enumeration value.

Attributes

Remarks

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.

Applies to