Search found 13 matches

by SomeOtherUser
Wed Feb 21, 2007 5:55 pm
Forum: JFreeChart
Topic: Alpha-Transparency for Legend
Replies: 7
Views: 7927

Were you able to determine if this is a new bug or the same bug? I can't find a post on Sourceforge for this bug; can you point me to it?
by SomeOtherUser
Wed Feb 14, 2007 6:04 pm
Forum: JFreeChart
Topic: Alpha-Transparency for Legend
Replies: 7
Views: 7927

Thanks for the prompt reply. import java.awt.Color; import org.jfree.chart.ChartFrame; import org.jfree.chart.JFreeChart; import org.jfree.chart.axis.NumberAxis; import org.jfree.chart.plot.XYPlot; import org.jfree.chart.renderer.xy.StackedXYAreaRenderer2; import org.jfree.data.xy.DefaultTableXYData...
by SomeOtherUser
Wed Feb 14, 2007 5:01 pm
Forum: JFreeChart
Topic: Alpha-Transparency for Legend
Replies: 7
Views: 7927

but still on the chart we have a new color wich is the addition of the 2 where is stacked ... Sad I noticed the same thing. When using an alpha value on a stacked area chart, an overlapping of areas is shown. This occurs when a series not on the baseline has a zero value at one data point and a non...
by SomeOtherUser
Wed Feb 14, 2007 4:40 pm
Forum: JFreeChart
Topic: StackedArea Chart in Time Domain
Replies: 1
Views: 2199

Alberto, It generally helps if you describe your error in detail and provide code so people reading your post can see what's going wrong. Here's an example using a TimeTableXYDataset (any XYDataset is valid): NumberAxis yAxis = new NumberAxis(); DateAxis dateAxis = new DateAxis(); XYPlot plot = new ...
by SomeOtherUser
Wed Jan 17, 2007 8:47 pm
Forum: JFreeChart
Topic: ValueMarker drawn as an arrow
Replies: 0
Views: 1961

ValueMarker drawn as an arrow

I'd like to draw value markers as an arrow instead of a line. The arrow would be at the edge of the chart. I looked through the code to see where markers are drawn (AbstractXYItemRenderer lines 896-911 in my case) and changed some code appropriately. I'm wondering if there isn't a better solution to...
by SomeOtherUser
Wed Dec 06, 2006 12:30 am
Forum: JFreeChart
Topic: interval markers -- possible bug?
Replies: 11
Views: 12164

From the code posted to fix the bug: ... // don't let anyone draw outside the data area ... What if you do want to draw outside the data area? In my case, I'd like to draw markers as arrows on the outer edge of the plot instead of as lines across it. If I change the clip, they draw fine. Is there an...
by SomeOtherUser
Fri Nov 03, 2006 9:32 pm
Forum: JFreeChart
Topic: ValueAxis.setFixedAutoRange() problem
Replies: 0
Views: 2049

ValueAxis.setFixedAutoRange() problem

I'm using a CombinedDomainXYPlot that contains XYPlots using TimeSeriesCollections and a DateAxis on the domain. When I set the fixed autorange, the plots don't update. I can't figure out why. TimeSeriesCollection[] datasets = new TimeSeriesCollection[] { new TimeSeriesCollection(), new TimeSeriesCo...
by SomeOtherUser
Tue May 02, 2006 10:01 pm
Forum: JFreeChart
Topic: Multiple Colors in Bar
Replies: 13
Views: 16654

How did I miss getPlot()? I don't know. Yes, much cleaner code; thanks for the correction.
by SomeOtherUser
Tue May 02, 2006 5:44 pm
Forum: JFreeChart
Topic: Multiple Colors in Bar
Replies: 13
Views: 16654

Thank you for the added info, kanishk. I think I can help you. The problem is that the Renderer knows nothing about the dataset. The only time it ever is given information about the dataset is in drawItem, which is called when the chart needs to be repainted. (See http://java.sun.com/docs/books/tuto...
by SomeOtherUser
Mon May 01, 2006 5:35 pm
Forum: JFreeChart
Topic: Multiple Colors in Bar
Replies: 13
Views: 16654

You need to be more specific about what kind of help you need.
by SomeOtherUser
Thu Apr 06, 2006 11:10 pm
Forum: JFreeChart
Topic: Bug or Feature? Category Color Change
Replies: 0
Views: 1958

Bug or Feature? Category Color Change

I have a CategoryDataset. Suppose it has 3 categories, each with a different color. If I remove category 2, category 3 takes on category 2's color. My thought is the chart should maintain the category-color association, but color is assigned based on category index and not its Comparable key. Should...
by SomeOtherUser
Thu Apr 06, 2006 11:06 pm
Forum: JFreeChart
Topic: Multiple Colors in Bar
Replies: 13
Views: 16654

Thank you. :D
by SomeOtherUser
Thu Apr 06, 2006 8:11 pm
Forum: JFreeChart
Topic: Multiple Colors in Bar
Replies: 13
Views: 16654

Different colors for positive and negative values

Interesting idea sdd. I hope you find a solution. You might consider (I haven't even looked at trying this) extending BarRenderer. I want to do almost an identical thing: for a single category, I want the positive values to have one color and the negative values to have a different color. For ("row"...