Search found 7 matches

by wwwclaes
Tue Aug 09, 2005 8:37 am
Forum: JFreeChart
Topic: private versus protected
Replies: 6
Views: 7307

Agreed. As it is now, I have changed a lot of private variables and methods to protected to be able to extend them - and these changes need to be reapplied each time I upgrade JFreeChart.
by wwwclaes
Wed Jul 27, 2005 12:32 pm
Forum: JFreeChart
Topic: Blurred printouts
Replies: 1
Views: 3193

Blurred printouts

Hi, we've been using JFreeChart for quite some time and recently come up with this peculiar problem. In a nutshell: when printing from some of the customer's PCs the JFreeChart-part of the JFrame that is being printed is blurred, the rest of the frame is crystal clear as always. The white background...
by wwwclaes
Mon Feb 23, 2004 6:05 pm
Forum: JFreeChart
Topic: translateValueToJava2D() does not consider scaling?
Replies: 1
Views: 2424

translateValueToJava2D() does not consider scaling?

Hi! I ran into a problem with a set of "rulers" I've implemented. They malfunction when the chart window is resized past DEFAULT_MAXIMUM_DRAW_WIDTH. It seems that the cause of the problem is that translateValueToJava2D() does not consider scaling. Can you confirm this? As for now, I have circumvente...
by wwwclaes
Thu Feb 12, 2004 1:17 pm
Forum: JFreeChart
Topic: Vert. rulers, subrange, zoom & protected
Replies: 6
Views: 6098

With the BarRenderer class I got three compile time errors which were easily resolved by replacing the direct reference to the private field with the corresponding getXXX() method. I've checked the drawItem() method for all renderers and updated (most of) them to make this kind of cut-and-paste ove...
by wwwclaes
Thu Feb 12, 2004 10:31 am
Forum: JFreeChart
Topic: Vert. rulers, subrange, zoom & protected
Replies: 6
Views: 6098

Re: Vert. rulers, subrange, zoom & protected

For instance, I override draw(...) and drawItem(...) to implement the rulers. I want to keep original behaviour but add some additional in the middle of it so it's a copy'n paste with slight modifications. But I can't implement those in my subclass unless I change all member variables (and methods)...
by wwwclaes
Mon Feb 09, 2004 7:25 pm
Forum: JFreeChart
Topic: Vert. rulers, subrange, zoom & protected
Replies: 6
Views: 6098

Re: Vert. rulers, subrange, zoom & protected

1. What do you think about changing several of your private class member vars to protected? Sometimes functionality needs to be added to your classes and I think inheritance is a good means not to mess with your core. Right now, I have extended eg JFreeChart, ChartPanel, XYPlot and StandardXYItemRe...
by wwwclaes
Mon Feb 09, 2004 4:34 pm
Forum: JFreeChart
Topic: Vert. rulers, subrange, zoom & protected
Replies: 6
Views: 6098

Vert. rulers, subrange, zoom & protected

Hi, I have been using JFreeChart for a couple of weeks now and I must say it´s a GREAT implementation! Now on to a couple of questions... 1. What do you think about changing several of your private class member vars to protected? Sometimes functionality needs to be added to your classes and I think ...