Hallo,
Is there a way how to cancel shadow by CrosshairLineStyle ?
Thanks
Hi,
You can add the following to your Window.Resources:
<LinearGradientBrush x:Key="GenericBorder" StartPoint="0.0, 0.0" EndPoint="0.0, 1.0">
<GradientStop Color="#FFCCD3D8" Offset="0"/>
<GradientStop Color="#FF8C9194" Offset="1"/>
</LinearGradientBrush>
<Style x:Key="CrosshairLineStyle" TargetType="Line">
<Setter Property="Stroke" Value="{StaticResource GenericBorder}"/>
<Setter Property="StrokeThickness" Value="1.4"/>
</Style>
Then reference this style in your XamDataChart like this:
<ig:XamDataChart CrosshairVisibility="True" CrosshairLineStyle="{StaticResource CrosshairLineStyle}"/>
Hope this helps,
Marisa