Hello;
I have a code for creating charts. I have added JFreechart librairies (jfreechat-1.0.13-swt.jar, jfreechart-1.0.13.jar, jcommon-1.0.16.jar) in the classpath of jdeveloper.
I have also added the import instruction: import org.jfree.chart.plot.IntervalMarker;
But, when compiling the code it displays me the following error:
Intervalmarker(double, int, java.awt.color) cannot invoke Intervalmarker(double, double)
i have the following instruction in my code that makes the error:
IntervalMarker intervaleCv1= new IntervalMarker(0, 16, new Color(214, 255, 214, 100));
Please where is the error. I cant understand what is the problem.
Thank you very much in advance.
Method not found: cannot invoke
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
Re: Method not found: cannot invoke
The error doesn't make sense. You should copy and paste the actual error text, since maybe there is something in there that would give an additional clue. The other thing to check is that you don't have multiple copies of JFreeChart on your class path - this is sometimes an issue that causes nonsense compiler messages.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program