P
Penn
I have a plot that is plotting correctly and I have been adding text
annotations to it successfully, but when I implement the following and
add it to my working chart... I see no image in the chart. Is there
something I should be doing additionally?
Thanks!!!
ImageIcon testStar = new ImageIcon("TestStar.png");
XYImageAnnotation testStar = new XYImageAnnotation(50, 50,
testStar.getImage());
plot.addAnnotation(testStar);
annotations to it successfully, but when I implement the following and
add it to my working chart... I see no image in the chart. Is there
something I should be doing additionally?
Thanks!!!
ImageIcon testStar = new ImageIcon("TestStar.png");
XYImageAnnotation testStar = new XYImageAnnotation(50, 50,
testStar.getImage());
plot.addAnnotation(testStar);