I see there are ways to add tick marks to the y or x axis for the XamWebChart, but I am unable to find a way to add tick marks to the y or x axis for the XamDataChart. Is there a way to do this?
Hi Amurra,
You need to set a label for axis, where you want to have a tickmarks. Label is a DataTemplate that will be displayed instead the default label:
<ig:NumericYAxis Name="dcAxisYHourly" Style="{StaticResource NumericYAxisStyle}">
<ig:NumericYAxis.LabelSettings>
<ig:AxisLabelSettings FontSize="10" Extent="40" TextAlignment="Right" Padding="0 0 5 0" Foreground="#666666" />
</ig:NumericYAxis.LabelSettings>
<ig:NumericYAxis.Label>
<DataTemplate>
<Border Background="Yellow" Width="40" Height="3"/>
</DataTemplate>
</ig:NumericYAxis.Label>
</ig:NumericYAxis>
That got me the tick marks, but I still need to have the numeric label in there. How can I get it to have the label and a tick mark to show up?
Nevermind I got it...thanks for your help!
How have you done this? Can you show an example please?