I am using Jfreechart to create a chart. I am displaying this on a swing. I want to save this chart and upload it onto my database. Does anyone know how to do this. If it is not possible what other library can i use for achieving this.
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.
Maybe the easiest way is to save the graph as a PNG:
and then store that byte array as a BLOB in your DB.