This is a common problem, with several possible solutions. The "correct" answer is the one that integrates most easily with your exisitng solution.
What strategy have you chosen for serving dynamic content? That is, excluding graphics, how do you post the results of a query to your clients? This can be done with Oracle Application Server, Java Servlets, JSP, ASP, PHP, Cold Fusion and doubtless a few more. Many of these technologies have graphics libraries either built-in by default or available, and you can always code your own.
For example, I'm partial to using servlets for dynamic content . Since java doesn't have a built-in business graphics package, I wrote a number of classes to build attractive graphs and save them as gif or jpg images, which are delivered to the client as part of the response. This is clean, fast and I'm happy. BUT, if I were using Cold Fusion as my primary solution, trying to call a bunch of server-side java to add a graphic would be a poor solution.
If you can provide a bit more information on the rest of your process, you'll get more specific help.