TheV
TheV
Branch Unspecified
10 Feb 2012

JFreeCharts And NetBeans

I want to display a bar chart in my web app. I am using ' jfreechart ' but I don't know how to configure netbean to make it to write jfreechart's codes.
I want to write the chart code in servlet, but can it be written in jsp? Please give example code so that I can understand easily.
7 years ago
Check out their API Docs here: https://www.jfree.org/jfreechart/api.html
This would help you! 😀
TheV

TheV

Branch Unspecified
7 years ago
Thank you...!
Do you know How can I return the chart into the web page...and display along with the other component..?
7 years ago
Use an applet...
TheV

TheV

Branch Unspecified
7 years ago
OK...I try..n let you know.!
7 years ago
Sure, if web page, try this:
<applet code = 'className.methodName' 
        width = 300, 
        height = 300 />

Share this content on your social channels -

Only logged in users can reply.