ChartArea.AlignWithChartArea Propriedade

Definição

Obtém ou define o nome do objeto ChartArea ao qual essa área do gráfico deve ser alinhada.Gets or sets the name of the ChartArea object to which this chart area should be aligned.

public:
 property System::String ^ AlignWithChartArea { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Bindable(true)]
[System.ComponentModel.TypeConverter(typeof(System.Web.UI.DataVisualization.Charting.LegendAreaNameConverter))]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)]
public string AlignWithChartArea { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.ComponentModel.TypeConverter(typeof(System.Web.UI.DataVisualization.Charting.LegendAreaNameConverter))>]
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)>]
member this.AlignWithChartArea : string with get, set
Public Property AlignWithChartArea As String

Valor da propriedade

String

Um string valor que representa o nome de um objeto ChartArea ao qual essa área do gráfico deve ser alinhada.A string value that represents the name of a ChartArea object to which this chart area should be aligned. O padrão é a cadeia de caracteres vazia.The default is the empty string.

Atributos

Comentários

Com o uso das AlignWithChartArea AlignmentOrientation Propriedades e, AlignmentStyle é possível alinhar ou sincronizar duas ou mais áreas de gráfico horizontalmente, verticalmente ou ambas.Through the use of the AlignWithChartArea, AlignmentOrientation and AlignmentStyle properties, it is possible to align or synchronize two or more chart areas horizontally, vertically or both.

Primeiro, defina a AlignWithChartArea propriedade como o nome de um ChartArea objeto.First, set the AlignWithChartArea property to the name of a ChartArea object. Essa área do gráfico será então alinhada, com base na AlignmentStyle configuração, que define o alinhamento a ser usado e a AlignmentOrientation configuração, que define os elementos da área do gráfico que devem ser usados para definir o alinhamento.This chart area will then be aligned, based on the AlignmentStyle setting, which defines the alignment to use, and the AlignmentOrientation setting, which defines the elements of the chart area that should be used to set the alignment.

Se a AlignWithChartArea propriedade não for definida, a área do gráfico não será alinhada, independentemente das AlignmentStyle AlignmentOrientation configurações e.If the AlignWithChartArea property is not set, the chart area will not be aligned, regardless of the AlignmentStyle and AlignmentOrientation settings.

Aplica-se a