Series.XAxisType Proprietà
Definizione
Ottiene o imposta il tipo di asse X della serie.Gets or sets the X-axis type of the series.
public:
property System::Windows::Forms::DataVisualization::Charting::AxisType XAxisType { System::Windows::Forms::DataVisualization::Charting::AxisType get(); void set(System::Windows::Forms::DataVisualization::Charting::AxisType value); };
[System.ComponentModel.Bindable(true)]
public System.Windows.Forms.DataVisualization.Charting.AxisType XAxisType { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.XAxisType : System.Windows.Forms.DataVisualization.Charting.AxisType with get, set
Public Property XAxisType As AxisType
Valore della proprietà
Valore dell'enumerazione AxisType che determina se la serie utilizza l'asse X primario o secondario.A AxisType enumeration value that determines if the series uses the primary or secondary X-axis.
- Attributi
Commenti
Per tutti i tipi di grafico tranne i grafici orientati orizzontalmente, ad esempio i grafici a barre e a barre in pila e i grafici con forme, ad esempio grafici a torta, ad anello, a imbuto e a piramide, l'asse X primario è sempre l'asse inferiore e l'asse secondario è l'asse superiore.For all chart types except horizontally oriented charts such as bar and stacked bar charts, and shape charts such as pie, doughnut, funnel and pyramid charts, the primary X-axis is always the lower axis and the secondary axis is the upper axis. Per i grafici a barre e a barre in pila, l'asse X primario è l'asse sinistro e l'asse X secondario è l'asse destro.For bar and stacked bar charts, the primary X-axis is the left axis, and the secondary X-axis is the right axis.
Quando i dati vengono tracciati utilizzando l'asse X secondario, è necessario utilizzare la AxisX2 proprietà per impostare le proprietà dell'asse e non la AxisX Proprietà.When data is plotted using the secondary X-axis, you must use the AxisX2 property to set axis properties, and not the AxisX property.