共用方式為


Range Chart (Chart Controls)

The Range chart type displays a range of data by plotting two Y values per data point, with each Y value being drawn as a line chart. The range between the Y values can then be filled with color, or an image.

This chart is similar to the Spline Range chart type, except that the line tension cannot be adjusted in this chart.

Picture of the Range chart type

Chart Characteristics

SeriesChartType value

SeriesChartType.Range

Number of Y values per point

2 (see table below).

Number of series

One or more.

Supports markers

No

Cannot be combined with:

Doughnut, Pie, Bar, Stacked Bar, Polar, Radar, Pyramid, or Funnel charts.

Custom attributes

EmptyPointValue, LabelStyle, PixelPointDepth, PixelPointGapDepth, ShowMarkerLines

A Range series uses 2 Y values a high value and a low value.

Y Values Index Description

0

High value.

1

Low value.

Remarks

Each data point must consist of two Y values. Otherwise, an exception is thrown.

See Also

Reference

Chart Types
Spline Range Chart
System.Windows.Forms.DataVisualization.Charting
System.Web.UI.DataVisualization.Charting