Search found 9 matches

by mjs483
Wed Sep 23, 2009 2:39 pm
Forum: JFreeChart
Topic: java2DToValue inaccurate on inverted axis!
Replies: 3
Views: 3976

Re: java2DToValue inaccurate on inverted axis!

Thanks for the reply David. I'll have to try doing it the way you suggested.
by mjs483
Sun Sep 20, 2009 7:29 pm
Forum: JFreeChart
Topic: java2DToValue inaccurate on inverted axis!
Replies: 3
Views: 3976

Re: java2DToValue inaccurate on inverted axis!

I should have elaborated a little bit on how exactly to see the problem. If you hover your mouse over Y = 75 (according to where the tick mark on the axis is) the value provided by java2DToValue() (printed to stdout) is 74.2 or something like that. If my mouse is exactly lined up with the tick mark ...
by mjs483
Fri Sep 18, 2009 9:43 pm
Forum: JFreeChart
Topic: java2DToValue inaccurate on inverted axis!
Replies: 3
Views: 3976

java2DToValue inaccurate on inverted axis!

Hi, I'm playing around with JFreeChart v1.0.13 trying to see if I could possibly use NumberAxis as the axis of something other than a JFreeChart. I've setup a simple example and I'm noticing that when the I invert the axis with setInverted(true) the values I get from calls to java2DToValue() are sli...
by mjs483
Wed Jun 03, 2009 3:18 pm
Forum: JFreeChart
Topic: Make NumberAxis values "wrap around"
Replies: 2
Views: 3163

Re: Make NumberAxis values "wrap around"

Great. Thanks for the reply. I ended up doing something similar (but probably uglier) by extending the NumberAxis and overriding the refreshTicks() method to change the text of the ticks to what I wanted.
by mjs483
Thu May 28, 2009 1:21 pm
Forum: JFreeChart
Topic: Make NumberAxis values "wrap around"
Replies: 2
Views: 3163

Make NumberAxis values "wrap around"

Hi, I have a XYPlot that uses the XYBlockRenderer to create an intensity chart. The X (domain) axis goes from 1 to 50. The default behavior of the Axis is of course to plot "1" at the leftmost extreme and "50" at the rightmost extreme of the axis. However for my particular application, I'd like to h...
by mjs483
Fri Aug 24, 2007 3:38 pm
Forum: JFreeChart
Topic: Faster XYBlockRenderer?
Replies: 2
Views: 4366

Update: After some research my new plan is to attempt to create my own renderer. The renderer will create a buffered image from Java's WritableRaster class and paint the image on the chart. Java seems to be able to do this very quickly even for large data sets. I understand that this breaks JFreeCha...
by mjs483
Thu Aug 23, 2007 1:52 pm
Forum: JFreeChart
Topic: Faster XYBlockRenderer?
Replies: 2
Views: 4366

Faster XYBlockRenderer?

I'm working with an XYPlot using an XYZDataSet and XYBlockRenderer to generate a surface plot (or contour chart, or intensity chart, we all seem to call them something different here). My XYZDataSet has one series that consists of about 118000 data points. The problem is that it takes about 10-15 se...
by mjs483
Thu May 24, 2007 9:29 pm
Forum: JFreeDesigner
Topic: Customizing Legend in TimeSeries Chart
Replies: 5
Views: 55485

Checkout this topic which explains how to make custom legend labels. It worked for me =)

Topic id = 11669

Sorry I'm a new forum user so it wouldn't let me post a link.
by mjs483
Thu May 24, 2007 7:09 pm
Forum: JFreeDesigner
Topic: Customizing Legend in TimeSeries Chart
Replies: 5
Views: 55485

I am also interested in doing something like this. I'm trying to figure out the cleanest way to manually construct LegendItems and then create a new LegendTitle out of them. I'm getting confused because a LegendTitle only has one method that takes a LegendItem (createLegendItemBlock). Is this what I...