Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ChartDesigner Class

The class representing the Chart Designer used to design a chart at runtime.

Namespace: DevExpress.XtraCharts.Designer

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

NuGet Package: DevExpress.Win.Charts

#Declaration

public class ChartDesigner

#Example

To show the Chart Designer to end-users, create an instance of the ChartDesigner class using the constructor that receives an ChartControl object as a parameter. Then, call the ChartDesigner.ShowDialog method.

using DevExpress.XtraCharts.Designer;
using System.Windows.Forms;

namespace ChartDesignerRuntime {
    public partial class Form1 : DevExpress.XtraBars.Ribbon.RibbonForm {
        public Form1() {
            InitializeComponent();
            // This line of code is generated by Data Source Configuration Wizard
            productsTableAdapter1.Fill(nwindDataSet1.Products);
        }

        private void btnRunDesigner_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) {
            ChartDesigner designer = new ChartDesigner(chartControl1);
            designer.ShowDialog();
        }
    }
}

#Inheritance

Object
ChartDesigner
See Also