Bearbeiten

Freigeben über


Axis.LineWidth Property

Definition

Gets or sets the line width of an axis, in pixels.

public:
 property int LineWidth { int get(); void set(int value); };
[System.ComponentModel.Bindable(true)]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)]
public int LineWidth { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)>]
member this.LineWidth : int with get, set
Public Property LineWidth As Integer

Property Value

An integer value that represents the width of an axis line. The default value is one (1) pixel.

Attributes

Remarks

The LineWidth property gets or sets the width of an axis line, in pixels. If the width is set to zero (0), the line will not be displayed.

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