hi I just upgraded the jfreechart library from .20 to 21. the package naming changes were not a problem, but when I try to see one of my charts i get this exception: java.lang.NoSuchMethodError: org.jfree.text.TextUtilities.drawAlignedString(Ljava/lang/String;Ljava/awt/Graphics2D;FFLorg/jfree/ui/Tex...
First of all thank you for the reply. Now I have experimented with the application you suggested, and found the combination to produce the desired result: a vertical label positioning ItemLabelPosition lp = new ItemLabelPosition(ItemLabelAnchor.OUTSIDE12, TextAnchor.TOP_LEFT, TextAnchor.CENTER_LEFT,...
I think I'm not the only one having trouble with the way labels display (at least in the so trivial bar chart) . Sometimes they are truncated (at chart edges), other times overlapping (large numbers with thin bars) and it is really hard to get them positioned where you want them. I have managed to d...
hi i have a bar chart that displays say 100 elements(bars). the problem is that on the right and left of the chart i have some un-necessary/unoccupied space that i don't want to display. seems that for a smaller number of bars the extra-space is smaller. here is a pic that better shows what i mean s...
Hi, I have a chart that displays stacked bars. I want to display the value label for each bar and the total sum, but I do not know how to display a total. so if i have two stacked bars each having value 10, on top of them i want to show 20, and inside each bar i want to display 10. thx PS. and david...
sorry, don't know what could possibly be wrong. here's a complete copy of my code that works: BarRenderer barRenderer = new BarRenderer(); barRenderer.setLabelGenerator(new StandardCategoryLabelGenerator(StandardCategoryLabelGenerator.DEFAULT_LABEL_FORMAT_STRING, amountFormat)); barRenderer.setItemL...
well... there's no documentation on what the OUTSIDE1 - 12, INSIDE 1-12, CENTER mean... (or no free documentation)... i have tried dozens of combinations of which about half worked, the rest just don't display anything. anyway, this works for me: barRenderer.setSeriesPositiveItemLabelPosition(0,new ...
I have just updated from 0.9.10 to 0.9.20. after hours of trying to get the old code compile, trying to present charts give me this: :shock: Exception thrown from action: java.lang.NoSuchMethodError: org.jfree.util.Log.createContext(Ljava/lang/Class;)Lorg/jfree/util/LogContext; at org.jfree.chart.ti...
thanks, i was using the 0.9.10 version, no demo4 available.
i updated to 9.20, but i get like 300 errors in the code now, gotta modify a whole lotta things. i hope you have good documentation for changes