Multiple Panes Axis chart

Oct 15, 2012 at 10:24 AM
Edited Oct 15, 2012 at 10:58 AM


I like OxyPlot a lot and I love exploring it. thank you very much for your effort!

I am using Multiple Panes Axis chart in my project.

I have few queries on the same

1. If tracker lines color can be changed ? if yes, how ?

2. whenever I select a point on a lineseries, it shows vertical and Horizontal tracker lines. Is is possible to get trackerformatstring(in tooltip) for other lineseries where the tracker lines intersect them ? if yes, please let me know how we can do it ?

I apologise, if I have asked very basic question, as I am new to WPF itself

Thanks in Advance



Oct 16, 2012 at 10:38 PM

1. It should be possible to set the "DefaultTrackerTemplate" property of the Plot control. The default value is

          <local:TrackerControl Position="{Binding Position}" LineExtents="{Binding PlotModel.PlotArea}">
              <TextBlock Text="{Binding}" Margin="7" />

See Source\Examples\WPF\WpfExamples\Examples\CustomTrackerDemo

The TrackerControl has properties for "LineStroke", "HorizontalLineVisibility" and "VerticalLineVisibility".

2. It is only tracking one series (finds the nearest when you click down, then follows this series), if you want values from other series you must calculate these yourself (oxyplot has few restrictions on the series and axes => it could be any number of intersections...)

Oct 17, 2012 at 8:08 AM

Thanks for your help :)