Modifier

Partager via


ChartArea.AlignmentStyle Property

Definition

Gets or sets the alignment style of the ChartArea.

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

Property Value

An AreaAlignmentStyles enumeration value that can represent either a single value or the bitwise-OR of multiple values that define the alignment to use.

Attributes

Remarks

Use the AlignmentStyle property to align two or more chart areas horizontally, vertically or both. The alignment type is one of the following values, or a bitwise OR combination of the values below.

Member Name Description
All Chart areas are aligned using all values.
AxesView Chart areas are aligned using the view of the specified ChartArea.
None Chart areas are not automatically aligned.
Position Chart areas are aligned with the Position of the chart area specified.
InnerPlotPosition Chart areas are aligned with the InnerPlotPosition of the chart area specified.

If the AlignWithChartArea value is not set, the AlignmentStyle property will have no effect.

Applies to