Chart Types

Bind Types

The following options are available to be used as bind types for your application charts:

XML Files

Excel Files

CSV Files

Arrays

IEnumerable objects

Dataviews

How To...

The examples and documentation are really good and to work with the new Microsoft Chart control is very straightforward. Drag and drop a chart control, set properties in design and / or runtime and it’s done!

Namespace

The namespace you are going to use is System.Web.UI.DataVisualization.Charting.

Main Properties

ChartAreas: It is the area where a chart is plotted. Your chart may contain more than one chart area, that means you may plot more than one chart by render and you may even overlap charts.

Series: It is the data you may plot on your chart area.

ChartType: The chart type property is under the Series property and defines how your data series will be displayed on a chart area.

Axes: Defines properties for the X and Y axes like appearance and titles.

Palette: Defines the colors set for your chart.

Titles: Defines text that may be used to describe a chart, an axis or any other part of the chart.

Legends: Defines the legends that will display the data series information.

Labels: Defines text that may be displayed close to axis, points and custom labels.

I keep a blog called ITTecture with daily tips related to architecture, performance and .NET coding where you will find some tips, tricks, thoughts and even concepts related to system architecture, application performance and all the cool (but sometimes not so cool) stuff that I’ve heard, read, debbuged, fixed, refactored and coded and how to avoid long overnights far away from home!!!