Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to create a web chart at runtime

$
0
0

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 PM    

it 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.

Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>