Search found 5 matches

by shehriih
Wed Jan 23, 2008 9:38 am
Forum: JFreeChart
Topic: JFreeChart print job size.
Replies: 8
Views: 13017

i am having the same problem !

it only happen when i print to a PDF writer

if i print to the normal printer it is ok and the printout is so clear

but to PDF it is not as clear as the printout and has some broken lines

can u help on that
by shehriih
Sat Jan 12, 2008 6:54 pm
Forum: JFreeChart
Topic: Draw in axis region
Replies: 1
Views: 3090

i have done some thing similar ( i am using gantt chart) i have subclassed TextTitle class and made my own in the subclass , you can override the draw method to draw whatever you want then , make an object of that class and pass it to the setTitle method of the jfreechart another way , you said "dra...
by shehriih
Sat Jan 12, 2008 6:46 pm
Forum: JFreeChart
Topic: Problem in extending DateAxis
Replies: 5
Views: 6307

thanks all :)

of course , you can not assign DateAxis to MyDateAxis


i have just checked the code

sorry..
by shehriih
Wed Jan 09, 2008 12:04 pm
Forum: JFreeChart
Topic: Problem in extending DateAxis
Replies: 5
Views: 6307

sorry,

but it works if you cast it to DateAxis

Code: Select all

DateAxis da = (DateAxis)categoryplot.getRangeAxis(); 
by shehriih
Wed Jan 09, 2008 9:32 am
Forum: JFreeChart
Topic: Problem in extending DateAxis
Replies: 5
Views: 6307

Problem in extending DateAxis

Hi all i am trying to extends DateAxis to cutomize draw method public class MyDateAxis extends DateAxis and when creating JfreeChart JFreeChart jfreechart = ChartFactory.createGanttChart("Gantt Chart Demo", "Task", "Date", intervalcategorydataset, true, true, false); CategoryPlot categoryplot = (Cat...