# Minor Tick Overlap

## Content



You can determine the overlap value for the minor tick mark by specifying a value range from 0 to 1 for the [MinorTickOverlap](/componentone/api/wpf/online-chart/dotnet-framework-api/C1.WPF.C1Chart.4.6.2/C1.WPF.C1Chart.Axis.MinorTickOverlap.html) property. The default value is 0 which, means there is no overlap. When the overlap is 1, the whole tick is inside the plot area.

```csharp
c1Chart1.Reset(true);
c1Chart1.Data.Children.Add(
new DataSeries() { ValuesSource = new double[] { 1, 2, 1, 2 } });
c1Chart1.ChartType = ChartType.LineSymbols;
c1Chart1.View.AxisX.MinorGridStrokeThickness = 0;
c1Chart1.View.AxisX.MinorTickThickness = 3;
c1Chart1.View.AxisX.MinorTickHeight = 10;
c1Chart1.View.AxisX.MinorTickOverlap = .5;
c1Chart1.View.AxisY.MinorGridStrokeThickness = 0;
c1Chart1.View.AxisY.MinorTickThickness = 3;
c1Chart1.View.AxisY.MinorTickHeight = 10;
c1Chart1.View.AxisY.MinorTickOverlap = 1;
```

The following image depicts a **MinorTickOverlap** set to "1":

![](https://cdn.mescius.io/document-site-files/images/9e1b6c55-78c5-4648-896a-23e777db9f27/images/graphics/minortickoverlap.png)

## See Also

[Specifying the Major and Minor Ticks in Code](/componentone/docs/wpf/online-chart/overview/ChartFeatures/Axis/TickMarksa/SpecifyingCode)