• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Cewolf with Netbeans

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi everybody

I want to create charts in JSP page by using NetBeans.
I tried the tutorial in Cewolf webpage, but still I have problems !!
Anyone have ideas about using Cewolf with NetBens ??

Thanks
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What, exactly, have you tried, and what was the result?

Forget about NetBeans for a moment - did you get the cewolfexample web app to run in your servlet container? If not, that's where you should start.
 
latifa salem
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Ulf Dittmer wrote:What, exactly, have you tried, and what was the result?

Forget about NetBeans for a moment - did you get the cewolfexample web app to run in your servlet container? If not, that's where you should start.



I tried the steps of tutorial on netBeans, and YES I get the cewolfexample web app.

First point, I couldn't find (( jfreechart-*-demo.jar)) file which is in first step of tutorial. to add into web application's /WEB-INF/lib directory.

 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

I couldn't find (( jfreechart-*-demo.jar))


Is that an actual problem? Meaning, what happened when you tried to proceed without that file? I think it's not needed.
 
latifa salem
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok on second step.. I add the code to servlet page. and find many errors



 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The cewolfexample web app comes with numerous libraries; they're all required.
 
latifa salem
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok where I can find these libraries ??
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In the cewolfexample web app.
 
latifa salem
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Ulf Dittmer wrote:In the cewolfexample web app.



Thank you very much
its work ^___^


but I have another question, how we can save the chart in database or any file in computer ???
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The org.jfree.chart.ChartUtilities class has methods to save images to disk. You could use that in a ChartPostProcessor (where you get passed an instance of a JFreeChart object).
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic