| Chart for WinRT > Chart Types > Bar and Column Charts > Overlapping Bars or Columns |
You can specify the overlap for the bars or columns in your chart with the BarColumnOptions.SetSeriesOverlap property by using the following code:
| C# |
Copy Code
|
|---|---|
BarColumnOptions.SetSeriesOverlap(c1Chart1, 0.25); |
|
Or, you can set the property in markup:
| XAML Markup |
Copy Code
|
|---|---|
<chart:C1Chart x:Name=”c1Chart1” chart:BarColumnOptions.SeriesOverlap="0.25" />
|
|
The code above will allow your bar or column chart to display with the bars or columns overlapped by 25%. Your chart will resemble the following image:
