the compiler doesnt understand;
plot.addAnnotation(new XYTextAnnotation("Hello world!", 10.0, 10.0));
^
OR
XYTextAnnotation test = new XYTextAnnotation("Hello world!", 10.0, 10.0);
^
plot.addAnnotation(test);
cannot resolve symbol XYTextAnnotation
Re: cannot resolve symbol XYTextAnnotation
Hi Frank,
You need to have:
import com.jrefinery.chart.annotations.XYTextAnnotation;
...at the top of your source file. And this is a relatively new feature, so I'm assuming you are using 0.9.4.
Regards,
Dave Gilbert
You need to have:
import com.jrefinery.chart.annotations.XYTextAnnotation;
...at the top of your source file. And this is a relatively new feature, so I'm assuming you are using 0.9.4.
Regards,
Dave Gilbert