共用方式為


Stacked Bar Chart (Chart Controls)

The Stacked Bar chart type displays series of the same chart type as stacked bars.

Picture of the Stacked Bar chart type

Chart Characteristics

SeriesChartType value

SeriesChartType.StackedBar

Number of Y values per point

1

Number of series

One or more (multiple Series are stacked).

Supports markers

No

Cannot be combined with:

Any chart type except Bar and 100% Stacked Bar charts.

Custom attributes

BarLabelStyle, DrawingStyle, MaxPixelPointWidth, MinPixelPointWidth, PixelPointDepth, PixelPointGapDepth, PixelPointWidth, PointWidth, StackedGroupName

Remarks

Stacked series must be aligned. Otherwise, data points will be rendered incorrectly. For more information, see Aligning Data.

See Also

Reference

Chart Types
Stacked Area Chart
Stacked Column Chart
System.Windows.Forms.DataVisualization.Charting
System.Web.UI.DataVisualization.Charting