Axis.LabelStyle Propriedade
Definição
Obtém ou define as propriedades LabelStyle de um eixo.Gets or sets the LabelStyle properties of an axis.
public:
property System::Web::UI::DataVisualization::Charting::LabelStyle ^ LabelStyle { System::Web::UI::DataVisualization::Charting::LabelStyle ^ get(); void set(System::Web::UI::DataVisualization::Charting::LabelStyle ^ value); };
[System.ComponentModel.Bindable(true)]
[System.ComponentModel.TypeConverter(typeof(System.Web.UI.DataVisualization.Charting.NoNameExpandableObjectConverter))]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)]
public System.Web.UI.DataVisualization.Charting.LabelStyle LabelStyle { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.ComponentModel.TypeConverter(typeof(System.Web.UI.DataVisualization.Charting.NoNameExpandableObjectConverter))>]
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)>]
member this.LabelStyle : System.Web.UI.DataVisualization.Charting.LabelStyle with get, set
Public Property LabelStyle As LabelStyle
Valor da propriedade
Um objeto LabelStyle, que define o estilo do rótulo de eixo.A LabelStyle object, which defines the axis label style.
- Atributos
Comentários
Use essa propriedade para especificar o estilo, a formatação e assim por diante, dos rótulos de eixo.Use this property to specify the style, formatting, and so forth, of axis labels.
Se a IsLabelAutoFit propriedade for true , o tamanho da fonte, o ângulo da fonte e o uso dos rótulos de deslocamento serão determinados automaticamente.If the IsLabelAutoFit property is true, the font size, font angle and the use of offset labels are determined automatically. Se você definir qualquer uma das propriedades LabelStyle. Font. Size Angle ou IsStaggered , a IsLabelAutoFit propriedade será definida como false .If you set any one of the LabelStyle.Font.Size, Angle or IsStaggered properties, the IsLabelAutoFit property will be set to false.
Observe que, se um formato que consiste em uma data sem hora for usado para rótulos e os DateTime valores de ponto de dados usados especificarem horas, os horários afetarão as posições dos pontos de dados, mesmo que não sejam exibidos devido à formatação do rótulo.Note that if a format that consists of a date without a time is used for labels, and the DateTime data point values that are used specify times, the times will affect the positions of the data points, even though they are not displayed due to the label formatting.