次の方法で共有


Axis.LabelStyle プロパティ

定義

軸の LabelStyle プロパティを取得または設定します。

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

プロパティ値

軸ラベル スタイルを定義する LabelStyle オブジェクト。

属性

注釈

軸ラベルのスタイル、書式などを指定するには、このプロパティを使用します。

IsLabelAutoFit プロパティがtrue場合、フォント サイズ、フォント角度、オフセット ラベルの使用が自動的に決定されます。 LabelStyle.Font.Size プロパティ、 Angle プロパティ、または IsStaggered プロパティのいずれかを設定した場合、 IsLabelAutoFit プロパティは false に設定されます。

時刻のない日付で構成される形式をラベルに使用し、使用する DateTime データ ポイントの値で時刻を指定する場合、時刻は、ラベルの書式設定のために表示されない場合でも、データ ポイントの位置に影響します。

適用対象