Search found 13 matches

by swdev
Mon Jun 21, 2010 12:52 pm
Forum: JFreeChart
Topic: setDrawSeriesLineAsPath(true) causes lines to disappear
Replies: 2
Views: 4687

Re: setDrawSeriesLineAsPath(true) causes lines to disappear

No, I am using the latest version and of course I already searched this forum. So I digged and I found that when drawSeriesLineAsPath is set, the drawItem method of the renderer calls drawPrimaryLineAsPath, which only draws the path once the item index reaches state.getLastItemIndex(). The problem i...
by swdev
Mon Jun 21, 2010 10:11 am
Forum: JFreeChart
Topic: setDrawSeriesLineAsPath(true) causes lines to disappear
Replies: 2
Views: 4687

setDrawSeriesLineAsPath(true) causes lines to disappear

I have an XY plot in which calling setDrawSeriesLineAsPath(true) on the
renderer causes the whole line to disappear; things work as expected
otherwise. I do not have the time to go to the bottom of this new oddity
right now but perhaps it rings a bell with someone? Thanks.
by swdev
Mon Jun 08, 2009 5:40 pm
Forum: JFreeChart
Topic: Summary of new features
Replies: 6
Views: 5216

Re: Summary of new features

Now that's clear. Thanks a lot.

Any chance you might at some point start producing HTML release notes,
with pictures of new features (when it makes sense), rather than plain
text ones?
by swdev
Mon Jun 08, 2009 5:04 pm
Forum: JFreeChart
Topic: Summary of new features
Replies: 6
Views: 5216

Re: Summary of new features

Thanks. How does one get there, though (assuming one was provided a direct link)?
In the Download pull-down menu, neither "Default" nor "Browse all packages" gives
the whole list.
by swdev
Mon Jun 08, 2009 4:44 pm
Forum: JFreeChart
Topic: Summary of new features
Replies: 6
Views: 5216

Re: Summary of new features

In the NEWS file that is included in the distribution. Having to download each release to find out the history of new functionality (I haven't looked at JFreeChart since 1.0.2) is just what I want to avoid. Or in the announcement at the top of the forum [...] Or on the SourceForge downloads page, y...
by swdev
Wed Jun 03, 2009 9:45 am
Forum: JFreeChart
Topic: Summary of new features
Replies: 6
Views: 5216

Summary of new features

Where can one find a summary of new features in each release, as opposed to the minutiae of the changelog?

Thanks.
by swdev
Tue Oct 17, 2006 11:38 pm
Forum: JFreeChart
Topic: Hit testing
Replies: 3
Views: 4281

I think I've found it: that would be the java2DToValue method of ValueAxis.
by swdev
Tue Oct 17, 2006 10:45 pm
Forum: JFreeChart
Topic: Can I use JFreeChart in a commercial application?
Replies: 15
Views: 18676

David Gilbert's answer is the one that makes sense to me. It further implies that if you extend JFreeChart classes to create new charting functionality, as I do, then you must carefully segregate them from the rest of your code (that is, in their own package and jar) lest your entire code base shoul...
by swdev
Mon Oct 16, 2006 11:32 am
Forum: JFreeChart
Topic: Hit testing
Replies: 3
Views: 4281

I don't think there is such an automation in JFreeChart.
Every Swing widget for which it is relevant include such a method, e.g., JList.locationToIndex and JTable.rowAtPoint; it is not an unreasonable expectation.

In any case, what do you call a "data item"? How does one get its box?
by swdev
Sat Oct 14, 2006 3:04 pm
Forum: JFreeChart
Topic: Hit testing
Replies: 3
Views: 4281

Hit testing

Given an xy plot and a mouse click, how do I find out which point(s) are in a certain area around the click point? This is often know known as hit-testing and is related to my earlier question about which area an xy plot point occupies on the chart. More generally, the manual seems to have nothing t...
by swdev
Sat Oct 14, 2006 2:20 pm
Forum: JFreeChart
Topic: Can I use JFreeChart in a commercial application?
Replies: 15
Views: 18676

Thanks for the reference but that is still obscure. The blog entry you sent me to says: Inheritance creates derivative works in the same way as traditional linking, and the LGPL permits this type of derivative work in the same way as it permits ordinary function calls. which I take to mean that clas...
by swdev
Sat Oct 14, 2006 1:26 pm
Forum: JFreeChart
Topic: Can I use JFreeChart in a commercial application?
Replies: 15
Views: 18676

The licensing FAQ does not answer an important question, one which arises because of the antiquity of the (L)GPL, conceived in the days of C, before OO: when we extend or override a JFreeChart class, is that custom class part of our code or does it constitute an extension of JFreeChart, subject as s...
by swdev
Sat Oct 14, 2006 1:07 pm
Forum: JFreeChart
Topic: xyplot: size of area allocated to each point?
Replies: 0
Views: 1906

xyplot: size of area allocated to each point?

I may have missed it but I didn't find in the documentation a discussion of how to determine (or modifiy, for that matter) the area allocated to each point in xyplot. The issue arises, e.g., when writing a custom renderer. Should I assume that it is just the clipping area of the graphics object? A r...