New to Telerik Reporting? Download free 30-day trial

Range Charts

A Range chart displays sets of data points, each of which is defined by multiple values for the same category, and emphasizes the distance between the two values.

The category labels are displayed on the category axis. The plain Range chart fills in the area between the top and the bottom value for each data point.

The following image displays a plain Range chart with one Range Area series:

A basic Range Area chart type

Types

  • Column range—The Column Range chart uses columns to represent the range.
  • Bar range—The Bar Range chart uses bars to represent the range.
  • Smooth range—A Smooth Range chart uses curved lines to connect data points rather than straight ones.

Creating Range Charts

In this section, you will create a Range Area chart.

1. Add the Graph

To add a new Graph report item to the report, refer to the article getting started with the Graph report item.

2. Set the SeriesGroups Hierarchy

Now you can set the SeriesGropus hierarchy of the Range Area chart:

  1. Open the SeriesGroups collection editor and click Add. By default, this will add a new static group (group without grouping).
  2. Set the Name to seriesGroup1.

3. Set the CategoryGroups Hierarchy

Next, you will have to define the CategoryGroups hierarchy of the Range Area chart:

  1. Open the CategoryGroups collection editor and click Add.
  2. Set the Groupings to =Fields.Name.
  3. Set the Sortings to =Fields.Name.
  4. Set the Name to categoryGroup1.

4. Configure the Coordinate System

Here you will specify the coordinate system details:

  1. Open the CoordinateSystems collection editor and Add a new CartesianCoordinateSystem.
  2. Leave the Name to cartesianCoordinateSystem1.
  3. Set the XAxis to New Axis with Category Scale.
  4. Set the YAxis to New Axis with Numerical Scale.

5. Configure the Series

In this step, you will configure the series of the chart:

  1. Open the Series collection editor and Add new AreaSeries.
  2. Set the CategoryGroup to categoryGroup1.
  3. Set the SeriesGroup to seriesGroup1.
  4. Set the CoordinateSystem to cartesianCoordinateSystem1.
  5. Set the Y value to =Sum(IIF(Fields.OrderDate.Year=2002, Fields.TotalDue, 0)).
  6. Set the Y0 value to =Sum(IIF(Fields.OrderDate.Year=2003, Fields.TotalDue, 0)).

6. Style the Appearance

To set the color palette, format the labels, define the values of the legend, and elaborate on any other styling options, refer to the section on formatting the Graph.

Design Considerations

  • Range charts require two values per data point. These values represent a high value and a low value that define the range for each data point.
  • If only one value is specified, the Range chart will display as if it were a regular Area, Bar, or Column chart with a single value per data point.
  • Range charts are often used to graph data that contains minimum and maximum values for each category group in the dataset.
  • It is not recommended to display markers on each data point in a Range chart.
  • Like the Area chart, in a plain Range chart, if the values in multiple series are similar, the series will overlap. In this scenario, you may want to use a Column Range or Bar Range chart instead of a plain Range chart.
  • You can create Gantt charts by using a Range Bar chart.

See Also

In this article