通过


Axis.LineWidth 属性

定义

获取或设置轴的线条宽度(以像素为单位)。

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

属性值

一个 integer 表示轴线宽度的值。 默认值为一个 (1) 像素。

属性

注解

LineWidth 属性获取或设置轴线的宽度(以像素为单位)。 如果宽度设置为零(0),则不会显示线条。

注意 如果未启用轴,但相邻轴正在使用网格线,则会显示其中一条网格线来代替未启用的轴。 如果 Enabled 轴的属性设置为 Auto,则会出现相同的情况。在这种情况下,轴不用于绘制数据,而相邻轴的网格线将改为绘制。

适用于