Search found 14 matches

by lucas luky
Wed Sep 19, 2007 8:16 pm
Forum: JFreeChart
Topic: Bad quality when printing chart... [URGENT]
Replies: 8
Views: 15761

by lucas luky
Wed Sep 19, 2007 8:13 pm
Forum: JFreeChart
Topic: image quality
Replies: 11
Views: 23853

hi tza,

thanks for your reply, i finally got the solution.

http://www.jfree.org/phpBB2/viewtopic.php?t=616
by lucas luky
Wed Sep 19, 2007 8:11 pm
Forum: JFreeChart
Topic: Export to PDF...
Replies: 5
Views: 18264

found solution.

jwenting,

i think i found a better solution:

Code: Select all

JRAbstractRenderer jfcRenderer = new JFreeChartRenderer(chart);
it renders the graphic as a vector image. now my graphics looks pretty on pdf :D

thanks for your reply.
by lucas luky
Tue Sep 18, 2007 9:37 pm
Forum: JFreeChart
Topic: image quality
Replies: 11
Views: 23853

what if i want to put the image inside a pdf??? i tried the "saveChartToPDF" solution: /** * Save chart as PDF file. Requires iText library. * * @param chart JFreeChart to save. * @param fileName Name of file to save chart in. * @param width Width of chart graphic. * @param height Height of chart gr...
by lucas luky
Tue Sep 18, 2007 8:57 pm
Forum: JFreeChart
Topic: Export to PDF...
Replies: 5
Views: 18264

ok, but what if i already have a .jasper template and just want to insert the image inside it with HIGH resolution?
by lucas luky
Tue Sep 18, 2007 6:44 pm
Forum: JFreeChart
Topic: Changing the size of shapes that are drawn
Replies: 6
Views: 9175

worked for me too...

but if ure reading this and using JF1.0.6, DONT try to use the "setBaseShape" method. it simply doesnt work.
by lucas luky
Tue Sep 18, 2007 6:26 pm
Forum: JFreeChart
Topic: Bad quality when printing chart... [URGENT]
Replies: 8
Views: 15761

ilustration...

http://img110.imageshack.us/img110/590/problemafontenz9.th.png im not sure if its clear in the screenshot, but what i want to show is: 1- the image on PDF is bigger than the one generated directly via "ChartUtilities.saveChartAsJPEG" 2- the subtitles on image are more readable than on PDF OBS: to g...
by lucas luky
Mon Sep 17, 2007 11:46 pm
Forum: JFreeChart
Topic: Legend Title Problem
Replies: 4
Views: 5472

Code: Select all

XYItemRenderer shapeRenderer = plot.getRenderer();
shapeRenderer.setShape(new Rectangle(-3,-3,20,20));

if u're working with XYSeries which have many lines, you can play with:
renderer.setSeriesShape(numberOfTheSerie, yourShape)
by lucas luky
Mon Sep 17, 2007 10:47 pm
Forum: JFreeChart
Topic: JFreeChart 1.0.6
Replies: 3
Views: 8434

possible bug in setBaseShape

i was reading this topic (http://www.jfree.org/phpBB2/viewtopic.php?t=21866&highlight=size+line) and followed the instructions of potterd64: XYItemRenderer renderer = new StandardXYItemRenderer(StandardXYItemRenderer.SHAPES_AND_LINES); plot.setRenderer(0,renderer); renderer.setShape(new Rectangle(-3...
by lucas luky
Mon Sep 17, 2007 6:53 pm
Forum: JFreeChart
Topic: Alignment of legend text
Replies: 4
Views: 7932

same problem. no solution yet. :(
by lucas luky
Fri Sep 14, 2007 8:19 pm
Forum: JFreeChart
Topic: Hide Secondary Axis and Legend Key
Replies: 1
Views: 2963

since you're playing with axis, could u gimme a hand?

http://www.jfree.org/phpBB2/viewtopic.php?t=7981

thanks.
by lucas luky
Fri Sep 14, 2007 7:28 pm
Forum: JFreeChart
Topic: MULTIPLE AXIS LINE CHART
Replies: 1
Views: 4265

similar problem

i have a similar problem.

i wonder if theres a way to set the distance between the axis line and the tick labels.

Image


as you can see in the above image, the tick labels are overlapping the X axis.
by lucas luky
Wed Sep 12, 2007 10:29 pm
Forum: JFreeChart
Topic: FREQUENTLY ASKED QUESTIONS
Replies: 12
Views: 91189

font quality / blur

i think the font quality issue is a recurrent problem: [www].jfree.org/phpBB2/viewtopic.php?t=2703 [www].jfree.org/phpBB2/viewtopic.php?t=16804&start=0&postdays=0&postorder=asc&highlight=&sid=2472da759434c4c4d671a33d5c86d94a I'm passing through that right now, found others with the same trouble and ...
by lucas luky
Wed Sep 12, 2007 7:43 pm
Forum: JFreeChart
Topic: Bad quality when printing chart... [URGENT]
Replies: 8
Views: 15761

i'm having the same problem.

the only difference is that I'm creating a graph and passing the BufferedImage to JasperReports... the legends and title looks ugly and bluried. :(

done some search on this forum but couldnt get a solution...