Search found 3 matches

by Captain Chaos
Wed Jun 11, 2008 10:45 pm
Forum: JFreeChart
Topic: Stacking values from the same series
Replies: 5
Views: 5093

In theory, you should be able to copy XYBarRenderer (to a new file, say MyXYBarRenderer) and modify just the drawItem() method. The main thing you need to figure out is whether or not you need to adjust value0 and value1 (near the start of the method) for previous items with the same x-interval. It...
by Captain Chaos
Wed Jun 11, 2008 9:17 pm
Forum: JFreeChart
Topic: Stacking values from the same series
Replies: 5
Views: 5093

Re: Stacking values from the same series

What I would like to achieve is that the total height of each stack of bars represents the total amount of money transferred on that day, but that each transaction is still clearly identifiable, with its own item label and tooltip, which seems the most intuitive way for a chart like this. It seems ...
by Captain Chaos
Wed Jun 11, 2008 5:46 pm
Forum: JFreeChart
Topic: Stacking values from the same series
Replies: 5
Views: 5093

Stacking values from the same series

I'm using JFreeChart 1.0.10 in an application I'm writing for keeping track of bank accounts. The chart I'm currently working on plots transactions in € (range axis) vs date (domain axis) using a StackedXYBarRenderer. My challenge is to get the bars for transactions that happened on the same day to ...