Axis.Enabled Propriedade

Definição

Obtém ou define um valor que indica se o eixo está habilitado.Gets or sets a value that indicates whether an axis is enabled.

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

Valor da propriedade

AxisEnabled

Um AxisEnabled valor de enumeração que indica se um eixo está habilitado.An AxisEnabled enumeration value that indicates whether an axis is enabled. O valor padrão é Auto.The default value is Auto.

Atributos

Comentários

Se um eixo não estiver habilitado, o eixo, junto com seus atributos (marcas de escala, faixas de linhas, rótulos e assim por diante), não será exibido.If an axis is not enabled, the axis, along with its attributes (tick marks, strip lines, labels, and so forth), will not be displayed.

Se um eixo estiver habilitado, o eixo, junto com todos os seus atributos (marcas de escala, faixas, rótulos e assim por diante), será exibido independentemente de estar ou não sendo usado para plotar um Series .If an axis is enabled, the axis, along with all its attributes (tick marks, strip lines, labels, and so forth), will be displayed regardless of whether or not it is being used to plot a Series.

Se um valor de Auto for usado, um eixo poderá ou não ser exibido, dependendo se ele está sendo usado para plotar um Series .If a value of Auto is used, an axis may or may not be displayed, depending on whether it is being used to plot a Series. Os eixos que são usados para plotar dados são determinados XAxisType pelas YAxisType configurações de propriedade e.The axes that are used to plot data are determined by the XAxisType and YAxisType property settings.

Observação

Se um eixo não estiver habilitado, mas um eixo adjacente estiver usando linhas de grade, uma dessas linhas de grade será exibida no lugar do eixo que não está habilitado.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. A mesma situação ocorrerá se a Enabled propriedade de um eixo for definida como Auto , mas o eixo não estiver sendo usado para plotar dados; a linha de grade de um eixo adjacente será desenhada em vez disso.The same situation will occur if the Enabled property of an axis is set to Auto, but the axis is not being used to plot data; the grid line of an adjacent axis will be drawn instead.

Aplica-se a