Question

I have to show the name and length of the curves not just by hovering in a ZedGraph. I saw a solution here to show the label and the points of a curve but I do not know how to make it show without hovering.

My program is to compute first the MST of the graphs and remove the long legs. And I want to show to the user the step by step process. I have finished the code but I want it to be more user-friendly so that he/she will not hover to the points anymore just to show the length, the points and the label of the curve.

Was it helpful?

Solution

Here is an example of how to attach text labels to each point:

http://zedgraph.dariowiz.com/index9769.html?title=Point_Label_Demo

Depending on how you implement it it can be convenient to set the Tag property of each PairPoint and then just print that Tag like in the example.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top