Search found 4 matches

by harrisx
Fri Jul 06, 2007 6:17 pm
Forum: JFreeChart
Topic: Font Mapping with iText problem
Replies: 1
Views: 3665

Font Mapping with iText problem

Hi, I'm trying to create charts with a custom font given as ttf-file and then put them in an itext pdf-document using a DefaultFontMapper. The code looks like this: imports .... public class ITextFontTest { public static void main(String[] args) { Document document = new Document(PageSize.A4.rotate(...
by harrisx
Fri Jun 22, 2007 12:59 pm
Forum: JFreeChart
Topic: Number of ticks on NumberAxis
Replies: 1
Views: 2848

Number of ticks on NumberAxis

Hi, is there a way to specify the (maximal) number of ticks, that appears on a NumberAxis? Setting a NumberTickUnit seems not a clever choise, because the AxisRange can change a lot. In the docs I found: "selectAutoTickUnit: Selects an appropriate tick value for the axis. The strategy is to display ...
by harrisx
Wed Apr 04, 2007 3:57 pm
Forum: JFreeChart
Topic: BarChart & GradientPaintTransformType.CENTER_HORIZONTAL
Replies: 9
Views: 9152

Thank you for your answer! Finally I managed to find out where the problem lies: As I foud out using a cyclic GradientPaint doesn't help at all. The Center - Gradient Paint transformer should choose a cyclic Gradient for you ( and not only in theory as you will see in the next para.). After Dave sta...
by harrisx
Fri Mar 30, 2007 5:55 pm
Forum: JFreeChart
Topic: BarChart & GradientPaintTransformType.CENTER_HORIZONTAL
Replies: 9
Views: 9152

BarChart & GradientPaintTransformType.CENTER_HORIZONTAL

Hi! I am trying to get a horizontal gradient Fill for my Bars in the Barchart that goes from color to white to color again in the same bar. I tried the following: final BarRenderer renderer = new BarRenderer(); final CategoryPlot myPlot = new CategoryPlot(); myPlot.setRenderer(renderer); myPlot.setD...