Skip to main content

WizardDiagramPage Class

OBSOLETE

The ChartWizard is obsolete now. Use the ChartDesigner instead.

Represents a Chart Wizard page which enables customization of the diagram appearance, background, padding, add secondary axes.

Namespace: DevExpress.XtraCharts.Wizard

Assembly: DevExpress.XtraCharts.v24.1.Wizard.dll

NuGet Package: DevExpress.Win.Charts

Declaration

[Obsolete("The ChartWizard is obsolete now. Use the ChartDesigner instead.")]
public class WizardDiagramPage :
    WizardPage

The following members return WizardDiagramPage objects:

Remarks

ChartWizard-DiagramPage

Example

The following example demonstrates how to change the order of pages in the Chart Wizard. It shifts the Appearance page to the last position within the Construction group, and may be practical for some users.

using System.Collections.Generic;
using DevExpress.XtraCharts.Wizard;
// ...

ChartWizard wizard = new ChartWizard(this.chartControl1);

// Create a typed list for a manipulation with Wizard pages.
List<WizardPage> pages = new List<WizardPage>(wizard.Groups[0].Pages);

// Remove the first page.
WizardPage appearancePage = pages[1];
pages.Remove(appearancePage);

// Append it to the list to become the last page.
pages.Add(appearancePage);

// Order the pages.
wizard.Groups[0].Pages = pages.ToArray();

wizard.ShowDialog();

Inheritance

Object
WizardPage
WizardDiagramPage
See Also