Show x, y and curve names when cursor on the graph data in ZedGraph in C# -


i try show x,y , name of curve drawn on graph when cursor comes on it. used

 zedgraphcontrol1.isshowpointvalues = true; 

but isn't enough. need curve name. when cursor on curve in graph information should shown that:

12/27/2010 12:09 am, 49.94, active_mw 

is possible?

it possible. can add event handler pointvalueevent event gets fired when mouse-over point.

something like:

this.zedgraphcontrol1.pointvalueevent += new zedgraph.zedgraphcontrol.pointvaluehandler(this.zedgraphcontrol1_pointvalueevent);  private string zedgraphcontrol1_pointvalueevent(zedgraph.zedgraphcontrol sender, zedgraph.graphpane pane, zedgraph.curveitem curve, int ipt) {    return curve.label.text + " - " + curve.points[ipt].tostring(); } 

Comments