Search found 29 matches

by mickish
Mon Oct 17, 2011 6:08 pm
Forum: JFreeChart
Topic: Winding fill between two series?
Replies: 1
Views: 2926

Winding fill between two series?

How can I fill between two series lines, as in

https://lh4.googleusercontent.com/-XwWi ... 0/E300.png

Thanks,

--Andy
by mickish
Sun Oct 16, 2011 8:50 pm
Forum: JFreeChart
Topic: Job opening for JFreeChart developer
Replies: 0
Views: 3096

Job opening for JFreeChart developer

Ned Davis Research in Venice, Florida has an opening for a Senior Programmer Analyst. http://www.ndr.com/invest/public/jobs/sr-prog-analyst.pdf We use JFreeChart internally, and it would be great to find a developer with relevant experience. Thanks, --Andrew Mickish Senior Software Engineer Ned Davi...
by mickish
Sun Jul 26, 2009 6:37 pm
Forum: JFreeChart
Topic: Font style : can JFreeChart display underlined font ?
Replies: 9
Views: 14503

Re: Font style : can JFreeChart display underlined font ?

I have been using this patch continuously for a year and a half, and it seems solid.

It would be a big help to commit this patch to the main trunk and to the 1.0.x branch!
by mickish
Wed Nov 12, 2008 10:14 pm
Forum: JFreeChart
Topic: Fonts changed from 1.0.10 to 1.0.11
Replies: 4
Views: 4842

SOLVED

The problem was the change in the ChartPanel drawing dimensions from from 1.0.10: /** The default limit below which chart scaling kicks in. */ public static final int DEFAULT_MAXIMUM_DRAW_WIDTH = 800; /** The default limit below which chart scaling kicks in. */ public static final int DEFAULT_MAXIMU...
by mickish
Tue Nov 11, 2008 10:17 pm
Forum: JFreeChart
Topic: Fonts changed from 1.0.10 to 1.0.11
Replies: 4
Views: 4842

Restoring the legacy theme was the first thing I tried, but it does not make a difference. I am specifically setting the TextTitle fonts, the axis fonts, and pretty much every font in the chart to particular font objects, passing new Font("Times", Font.BOLD, 8) as an argument in the TextTitle constr...
by mickish
Tue Nov 11, 2008 8:28 pm
Forum: JFreeChart
Topic: Fonts changed from 1.0.10 to 1.0.11
Replies: 4
Views: 4842

Fonts changed from 1.0.10 to 1.0.11

Here is a picture of my chart rendered in a ChartPanel using JFreeChart 1.0.10 on the left, and 1.0.11 on the right. The two charts were drawn using exactly the same code, only with different JFreeChart jar files. All of the 1.0.11 fonts (right) are smaller than they were using 1.0.10 (left). For e...
by mickish
Mon May 05, 2008 6:05 pm
Forum: JFreeChart
Topic: Hierarchical data visualization
Replies: 1
Views: 2259

Hierarchical data visualization

I have been browsing some novel ways to present hierarchical data, like Treemaps and Radial Pie Charts: http://www.nytimes.com/interactive/2008/05/03/business/20080403_SPENDING_GRAPHIC.html http://www.smartmoney.com/marketmap/ http://www.infovis-wiki.net/index.php?title=Radial_Hierarchical_Visualiza...
by mickish
Mon Apr 07, 2008 6:05 pm
Forum: JFreeChart
Topic: Logarithmic trend line
Replies: 0
Views: 4000

Logarithmic trend line

I thought you might be interested in a modification to XYLineAnnotation.draw() that plots a proper logarithmic curve between two points on the LogAxis, instead of the default straight line (which does not accurately follow the data). You can see the story in these three pictures: A simple arithmetic...
by mickish
Thu Apr 03, 2008 4:44 pm
Forum: JFreeChart
Topic: problem generating PDF with iText - I get all Fonts bold...?
Replies: 6
Views: 9312

This reminds me of my first experience printing charts to PDF: I had copied a JFreeChart example that set the PDF page size to the width and height of the example chart, which was way too small for my chart. So technically it wasn't the fonts that were too big. I was asking to draw the correct size ...
by mickish
Thu Mar 27, 2008 4:49 pm
Forum: JFreeChart
Topic: XYDrawableAnnotation with JEditorPane to render HTML
Replies: 4
Views: 6316

Thanks, that is very helpful!

As a workaround, I now set AlphaComposite.SRC in my Drawable's draw() method, which means "overwrite the destination with the source, regardless of alpha":

Code: Select all

g2.setComposite(AlphaComposite.getInstance(AlphaComposite.SRC, 1.0f));
by mickish
Wed Mar 26, 2008 8:53 pm
Forum: JFreeChart
Topic: XY Annotations and their Chart Entities
Replies: 2
Views: 3584

Given an XYAnnotationEntity, I want to explicitly invoke the draw() method on the XYDrawableAnnotation that it was created for, to write it into my PDF file. How do I get a reference to the original XYDrawableAnnotation from the XYAnnotationEntity? (Please let me know if there is an easier way to do...
by mickish
Wed Mar 26, 2008 7:21 pm
Forum: JFreeChart
Topic: XY Annotations and their Chart Entities
Replies: 2
Views: 3584

XY Annotations and their Chart Entities

As a workaround to my main problem , I am post-processing my annotations, explicitly drawing them directly to the PDF file after drawing the chart. I rely on the entities accummulated in the ChartRenderingInfo during the regular chart drawing as a source of annotations to draw. However, I see that a...
by mickish
Tue Mar 25, 2008 9:21 pm
Forum: JFreeChart
Topic: XYDrawableAnnotation with JEditorPane to render HTML
Replies: 4
Views: 6316

import java.awt.BasicStroke; import java.awt.Color; import java.awt.Dimension; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.geom.AffineTransform; import java.awt.geom.Rectangle2D; import java.io.BufferedOutputStream; import java.io.File; import java.io.FileOutputStream; imp...
by mickish
Tue Mar 25, 2008 9:17 pm
Forum: JFreeChart
Topic: XYDrawableAnnotation with JEditorPane to render HTML
Replies: 4
Views: 6316

XYDrawableAnnotation with JEditorPane to render HTML

My HTML-formatted annotations look great when they are displayed in a Java window, but do not appear in my chart's PDF output. I have stepped through a lot of code to try to understand the difference between these situtations, and wrote a small example that illustrates my problem. The program below ...
by mickish
Thu Feb 21, 2008 5:24 am
Forum: JFreeChart
Topic: Unevenly spaced tick marks on LogAxis
Replies: 0
Views: 2796

Unevenly spaced tick marks on LogAxis

Sometimes I would like to see tick marks on the log axis getting denser toward the top of the chart, like in this picture I selected from a google image search: http://www.umd.umich.edu/casl/natsci/slc/slconline/SEMI/Image178.gif If I understand LogAxis correctly, its 'tick unit' parameter is the ch...