Stacking Bar Charts

A Stacking Bar chart draws each series as a portion of a stacked bar cluster, the number of clusters being the number of points in the data. Each bar displays the nth data point in each series. Cylinder, Pyramid, and Cone Bar charts can also be stacked by setting the Stacked property to True. Using the LineStyle, the fill properties of each series can be customized. For more information, see Line and Symbol Styles for the Series.

 

Code Example

The following example creates a Stacked Bar chart. Just add the C1Chart control to your Visual Studio project, and add the following code to see a running example of the Stacked Bar chart:

      Visual Basic

      C#

The code example above produces the following chart:


Send us comments about this topic.
Copyright © GrapeCity, inc. All rights reserved.