Is it possible to cast an image/BufferedImage to JFreeChart?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Casting an image to JFree is not possbile. To create an image from JFreechart you can do the following:
This creates the byte[] .
Now you need to create the image from byte[]. The following does this.
The image gets created at the place where your project is created(local drive).