ZedGraph has a really good support for extending it, and it's well documented in the code if you want to try to do it.
Today, I've just created a new object called AnnotationObj (the Obj postfix is due to ZedGraph conventions). To use it, you just have to include this .cs file in you source: http://tinyurl.com/cqgwcc
After that, you can add your own notes this way:
var annotationObj = new AnnotationObj(MyGraph, position, "this will be the tooltip");
MyGraph.GraphPane.GraphObjList.Add(annotationObj);
This is how it will look:
Comments
Post a Comment