Home > Net >  Oxyplot WPF graph showing a certain point logo information
Oxyplot WPF graph showing a certain point logo information

Time:11-05

Oxyplot WPF open source controls to implement real-time graph,
Currently have a requirement is to obtain the maximum on the graph and flagged,
When using this control, found by pressing the left mouse button on the mouse moved to the graph, displays the current point mark information,

In obtaining the maximum value of time, I also want to through this way shows the maximum,
Because for the first time with Oxyplot controls, to find a lot of data is not found, how to use the code to find out a point, and then show its corresponding annotation information,

Thank you all!

CodePudding user response:

The effect of the picture is the mouse moves to the curve, press the mouse left key result,

CodePudding user response:

CodePudding user response:

Seems the Tracker does not provide the method on the active display to view, you can look at the document,
https://oxyplot.readthedocs.io/en/latest/views/tracker.html

CodePudding user response:

reference 3 floor morning to evening reply:
as the Tracker does not provide the method on the active display to view, you can look at its documentation,
https://oxyplot.readthedocs.io/en/latest/views/tracker.html

Thank you, looking for his information for a long time didn't find it,

CodePudding user response:


People such as

CodePudding user response:

If the WPF, the idea should be data driven UI.
Should be defined in the viewmodel notify the MaxValue attribute, after loading the curve data to obtain the maximum, assigned to MaxValue, the viewer to binding the MaxValue.
May need to control the extension (if there is no other interface), increase the MaxValue corresponding dependency property, for display.
  •  Tags:  
  • C#
  • Related