This example demonstrates how to programmatically generate a web chart during a postback. In this example a WebChartControl is entirely created via code, after a button click.
Note that a chart isn't initialized (and its objects, such as the diagram cannot be accessed), until it's added to the form's collection of controls.
See also:
- OBSOLETE: How to resize a chart according to the actual size of a Web Browser's window;
- How to add a WebChartControl to the ASPxCallbackPanel on its callback;
- How to show custom data over WebChartControl using ASPxPopupControl;
- How to link a web chart to an ASPxPivotGrid.
Question Comments
Added By: Nikhil Mittal at: 7/11/2013 2:35:49 AM
pls explain me what is series , and if i am binding it to a pivot chart what shud i take as series
Added By: Mohamad Reza Khatami at: 12/20/2013 3:16:54 PMit was very helpful, thanks.
Added By: Alex (DevExpress Support) at: 11/19/2014 4:42:57 AM @Nikhil,Please refer to the following documentation article in this regard:
Integration with the XtraCharts Suite.