Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
60
Custom Series with Data Point Tracker
posted

Hello,

is it possible to show a data point tracker using custom series like in the code example below? Do I have to override functions from the base class Series, additionally to the functions shown in the custom series tutorial?

<ig:XamDataChart.Series>

<custom:ContourAreaSeries x:Name="customSeries"
Title="ContourAreaSeries"
ToolTip="{}{Series.Title}: {Item.Value}"
ItemsSource="{StaticResource data}"
XAxis="{Binding ElementName=xAxis}"
YAxis="{Binding ElementName=yAxis}">
</custom:ContourAreaSeries>

<ig:CategoryItemHighlightLayer x:Name="TackingLayer"
Opacity="1" MarkerTemplate="{StaticResource DataTrackerTemplate}"
UseInterpolation="True" TransitionDuration="0:00:00.1" Canvas.ZIndex="11" />

<ig:ItemToolTipLayer x:Name="ToolTipLayer"
Canvas.ZIndex="12" UseInterpolation="True" TransitionDuration="0:00:00.1" />

<ig:CrosshairLayer x:Name="CrosshairLayer"
Opacity="1" Thickness="1" Canvas.ZIndex="15"
UseInterpolation="True" TransitionDuration="0:00:00.1"/>

</ig:XamDataChart.Series>

I use a custom series with a CategoryXAxis and a NumericYAxis.

Thank you