How to configure the Click Event

Aug 21, 2013 at 6:56 PM
Hello people,
I'm using OxyPlot in a Windows 8 Metro App. When you click, for example in an area chart or a line chart, it appears a label with the values of the chart. The point is, can I change the event when I click by simply passing the mouse over?

Thank you. ^^
Aug 21, 2013 at 8:00 PM
That is not supported by the library right now.
Aug 22, 2013 at 9:04 AM
Edited Aug 22, 2013 at 9:09 AM
There is no way to modify de code and make it? :_(
What is the name of the label?
Aug 22, 2013 at 9:30 AM
Edited Aug 22, 2013 at 9:34 AM
It should be possible to set the DefaultTrackerTemplate property to null.
I will submit a fix that hopefully corrects this, will be available at nuget/download later today.
The same behaviour should be implemented on WPF/SL.
Aug 22, 2013 at 9:52 AM
Thank you very much!!
Please could you explain how to do it then? ^^
Aug 22, 2013 at 7:42 PM
I checked that this also work on WPF/SL.
Try to set DefaultTrackerTemplate={x:Null} on your Plot control.
Aug 23, 2013 at 9:10 AM
Edited Aug 23, 2013 at 9:11 AM
Hi Objo,
I downloaded the update and I set the Plot control like this:
<oxy:Plot Model="{Binding PlotModel}" DefaultTrackerTemplate="{x:Null}" Margin="10" BorderBrush="Transparent" Background="{x:Null}" />
But it doesn't work. The label doesn't appear clicking or moving the mouse.
Any idea?

Thanks ^^
Aug 23, 2013 at 11:26 AM
I think that disables the Tracker...
Aug 26, 2013 at 8:47 AM
So what do I do? My boss will kill me XD
Aug 26, 2013 at 10:14 AM
Redzar: not sure about what you are asking for, I guess I misunderstood - yes, setting the tracker template to null disables the tracker.

See also if you need to subscribe to the 'tracker changed' event
Aug 26, 2013 at 10:20 AM
I just want that when you pass the mouse over the chart, the Tracker is displayed automatically, without having to click.
Aug 26, 2013 at 10:46 AM
Edited Aug 26, 2013 at 12:18 PM
This is a feature request - see issue 9963

Issue 9802 is similar
Aug 26, 2013 at 10:50 AM
Sorry, I don't understand that post.
Aug 26, 2013 at 12:21 PM
Sorry, I don't think it is possible to show the tracker on mouse-over in the current version.
Aug 26, 2013 at 12:24 PM
Objo, you know where could be the part of the code that would make it possible to try to do it myself? ^^