共用方式為


Stock Chart (Chart Controls)

A Stock chart is typically used to illustrate significant stock price points including a stock's open, close, high, and low price points. However, this type of chart can also be used to analyze scientific data, because each series of data displays high, low, open, and close values, which are typically lines or triangles. The opening values are shown by the markers on the left, and the closing values are shown by the markers on the right.

The open and close markers can be specified using the ShowOpenClose custom attribute.

Picture of the Stock chart type

Chart Characteristics

SeriesChartType value

SeriesChartType.Stock

Number of Y values per point

4 (High, Low, Open, Close, respectively)

Number of series

One or more.

Supports markers

Yes

Cannot be combined with:

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

Custom attributes

LabelValueType, MaxPixelPointWidth, MinPixelPointWidth, OpenCloseStyle, PixelPointDepth, PixelPointGapDepth, PixelPointWidth, PointWidth, ShowOpenClose

See Also

Reference

Chart Types
Candlestick Chart
System.Windows.Forms.DataVisualization.Charting
System.Web.UI.DataVisualization.Charting