Hello,
I am trying to use this tutorial: http://www.java2s.com/Code/Java/Chart/J ... rDemo1.htm
The code references a class called CircleDrawer. I cannot get this to work. Is it part of JFreeChart, JCommon, or Java? Or maybe this is something people are writing themselves? I see this class mentioned in a ton of the annotation code out there. I have included all of the same import statements in my code that are used in this tutorial.
I did also find this code: http://kickjava.com/src/org/jfree/chart ... r.java.htm that looks like it was written by David Gilbert for this class. How can I use it? Maybe my eclipse is on the fritz? Eclipse has no idea what this is.
Or do I just copy paste this into my own code? That doesn't seem right.
What is a CircleDrawer? Where can I find it?
-
- Posts: 1634
- Joined: Sat Feb 17, 2007 1:51 pm
Re: What is a CircleDrawer? Where can I find it?
Just copy-paste the code into your project. As mentioned in the thread that you have linked, the CircelDrawer is nothing more than a simple implementation of the Drawable interface and was written to have a simple example for the XYDrawableAnnotation.