Search found 565 matches

by Taqua
Fri Dec 19, 2008 2:50 pm
Forum: JCommon
Topic: In Maven, could you remove the gnujaxp dependency of JCommon
Replies: 6
Views: 157930

I've replaced the dependency on GNu-Jaxp with a dependency on "xml-apis", as we dont require any GnuJaxp classes. All we need are the classes in "javax.xml.*" <dependency> <groupId>xml-apis</groupId> <artifactId>xml-apis</artifactId> <version>1.3.02</version> <jar>xml-apis-1.3.02.jar</jar> <url>http...
by Taqua
Thu Dec 18, 2008 6:40 pm
Forum: JFreeChart
Topic: Draw chart uder Windows and Linux without X Server
Replies: 7
Views: 5684

Actually, the JDK never made a claim that a certain default anti-aliasing setting is required. The defaults changed in the past and in most cases, they are purely platform dependent. If you tell your Windows-System (or Linux, does not matter) to not perform any aliasing on graphics and fonts, you pr...
by Taqua
Mon Dec 08, 2008 4:58 pm
Forum: JFreeChart
Topic: JFreeChart Stackoverflow
Replies: 2
Views: 3412

Your problem is that each call to your event listener triggers a new event. This created a recursive infinite loop. So "DateScrollTickBar.adjustmentValueChanged" computes something, ends up in "DateScrollTickBar.axisChanged", which then causes "DateScrollTickBar.adjustmentValueChanged". Try to check...
by Taqua
Sun Dec 07, 2008 6:04 pm
Forum: JFreeChart
Topic: jfreechart is not displaying in my production server
Replies: 6
Views: 11364

Hi, but the problem is java is platform independent right? the article guided me to use headless Awt toolkit. Java-applications are platform independent by running inside a Java-Virtual Machine, which is platform dependent. Please, read the ReadMe file of your JDK and look for explanations of what ...
by Taqua
Wed Dec 03, 2008 6:34 pm
Forum: JFreeChart
Topic: Radar / SpiderWebChart / JasperReports / iReports
Replies: 3
Views: 4224

by Taqua
Fri Nov 28, 2008 7:23 pm
Forum: JFreeChart
Topic: Can I get it B&W(1-bit color) PNG ?
Replies: 4
Views: 4359

You have to render the chart into a buffered-image. For that, create the image, grab the Graphics2D for the image and then call "JFreeChart#draw(..)" with the graphics2d and a rectangle that fits your image's size. JFreeChart itself does not offer a helper method for that, and as this is standard Ja...
by Taqua
Thu Nov 27, 2008 6:56 pm
Forum: JFreeChart
Topic: gwt portlet refresh flashing
Replies: 2
Views: 2851

Set a minimum-height on the box that contains the image. This makes sure that no matter how large the image is (and during the reload, the image's size is computed to zero) that the specified space is reserved. http://www.w3.org/TR/CSS21/visudet.html#propdef-min-height Displaying the old and new ima...
by Taqua
Thu Nov 27, 2008 6:51 pm
Forum: JFreeChart
Topic: Can I get it B&W(1-bit color) PNG ?
Replies: 4
Views: 4359

Sure, assuming that you carefully tweak the chart's various paints to be TexturePaints with black-and-white images as textures.

If you use the default color configuration of a chart to render a black-and-white image you won't like the result.
by Taqua
Wed Nov 26, 2008 9:03 pm
Forum: JFreeChart
Topic: Offscreen Imaging: X11, DISPLAY, BufferedImage
Replies: 46
Views: 1544669

So why are you using a ApplicationFrame? A JFrame cannot be created in a headless environment.
by Taqua
Thu Nov 20, 2008 8:58 pm
Forum: JFreeChart
Topic: can Jfreechart draw organization chart type of grap
Replies: 3
Views: 4329

Use JGraph (www.jgraph.org) instead.
by Taqua
Wed Nov 12, 2008 1:10 pm
Forum: JFreeChart
Topic: JFreeChart on Linux without Window Manager
Replies: 2
Views: 3073

... or read the FAQ, the well known always repeated yet still never read item 11. Activate the headless mode.

Or simply study the README file of your JDK.
by Taqua
Tue Nov 04, 2008 12:20 am
Forum: JFreeChart
Topic: JfreeChart 0.6 and IBM Power P520 Expres
Replies: 9
Views: 6726

"Psychic mode" activated Scanning poster's mind. ... connecting ... ... connected! ... downloading After the migration, the chart is now rendered with aliasing enabled. Therefore lines and text appears blurred. Scanning Dave. ... scanning ... ... scan complete. ... posting results: Define the aliasi...
by Taqua
Wed Oct 15, 2008 1:02 pm
Forum: JFreeChart
Topic: Can you identify this type of plot? And does JFree have it?
Replies: 2
Views: 3138

Its a SpiderWeb-Chart and yes, it is available.

In the demo you'll find it under "Miscellaneous/SpiderwebChartDemo1.java"
by Taqua
Thu Oct 02, 2008 10:21 am
Forum: JFreeChart
Topic: Occasional error loading Java Applet with JFreeChart
Replies: 2
Views: 3634

Sounds like a JDK error to me. Your code is definitely not involved in providing the standard UI for buttons. But: You create the button before you set the lookandfeel (static variables are initialized when the class is loaded). There should be no sane reason why your button is held in a static vari...
by Taqua
Mon Sep 29, 2008 11:06 pm
Forum: JFreeChart
Topic: Crude scaling benchmarks of JFreeChart - YMMV
Replies: 2
Views: 3161

You should also notice: Within JFreeReport when exporting PDFs, we do not generate buffered images (as this is ugly for printing); we generate Vector-images instead. AFAIK, JasperReports does the same. Chart-Generating in reporting servers is triggered by the reporting engine, and so if 1000 users r...