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
Hello Thomas,
In your XAML example, you show the ContourAreaSeries which comes from our "Creating a Custom Series" documentation. This series is based on a scatter series so it doesn't really work with CategoryXAxis. But you said your custom series uses CategoryXAxis. Does your data source have items with a single numeric value or two numeric values? Basically I need to know if your data is treated as a Category Series or a Scatter Series.
Hello Rob,
I want to use the DataChart to plot elevation profiles. So the data has a single numeric height value. Right now I use the index of the value in the binded list to interpolate the x value. Either a CategoryXAxis or a NumericXAxis would be applicable for me. However, based on the task, a NumericXAxis might be the one to prefer.
I also have problems using the Overview Pane. No data from the chart will be rendered within the preview.
Thank you for your help.