I'm building and displaying a ZedGraph in a WinForm. When I rightclick on the graph, there is an option for "show point values". When that's enabled, hovering over a point will give the X/Y values for that point.
When your form is initialized, do something like:
var zgc = msGraphControl1.zedGraphControl1;
zgc.IsShowPointValues = true;
zgc.PointValueFormat = "0.000";
zgc.PointDateFormat = "d";
That should do it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With