Version

Getting Started with Data Chart

Topic Overview

Purpose

This topic provides information on how to get started with the XamDataChart control in your application.

Required background

The following topics are prerequisites to understanding this topic:

Topic Purpose

This topic provides a general overview of the XamDataChart .

In this topic

This topic contains the following sections:

Understanding Chart

This section provides information on basic elements of the chart control that are required to plot data.

Chart Element Descrption

The XamDataChart is a control that supports various types of data visualizations which are called Series objects. The chart control can contain multiple visualizations of your data in the same chart plot area.

The Series objects provide actual visualization of your data. The chart support different types of Series and all types of series are listed in the Series Types topic. Each type of series can plot data that meets certain data requirements (such as number of data column and their types) as well as what type of axis can be used with it. Refer to the Series Requirements topic for requirements for each of the series.

The Axis objects provide context and information about range of data in a form of labels, numbers, tickmarks, gridlines, stips, and titles. The chart support different types of Axis objects which can be used only with certain types of Series. Refer to the Chart Axes topic for more information about types of axis supported by the chart control.

Selecting Chart

Based on type of your data, you need to choose which type of series you want to use in the chart control. Some types of series offer support only for certain types of axis. Therefore, you also need to select valid axes that work with selected series.

The following flow chart explains the process of selecting series and axes based on data that you wish to plot in the chart control.

DataChart Geting Started With Chart 01.png

Creating Chart

After selecting type of series and two valid axes, you can create an instance of the XamDataChart control in your application. The following topics provide instructions on how to create the Data Chart control using different methods.

Topic Purpose

This topic provides instruction how to create the XamDataChart control in code behind.

This topic provides instruction how to create the XamDataChart control in XAML code.

This topic provides instruction how to create the XamDataChart control in MS Blend designer.