SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components
It’s not possible to place the ticks inside the chart, but it is possible to change their size. See the XAML Styling example in our examples suite. Notice the AxisBase.MajorTickLineStyle and AxisBase.MinorTickLineStyle properties. Notice X2 Y2 is set. This is the ‘size’ of the line, since X1 Y1 is set to 0 0.
e.g. this style when applied to AxisBase.MajorTickLineStyle should do it
<Style TargetType="Line"> <Setter Property="Stroke" Value="GreenYellow"/> <Setter Property="StrokeThickness" Value="1"/> <Setter Property="X2" Value="8"/> <Setter Property="Y2" Value="8"/> </Style>
For further information about styling the axis, take a look at these articles:
Hope this helps!
Please login first to submit.