Search found 8 matches

by Jim D
Thu Aug 12, 2004 1:47 am
Forum: JFreeChart
Topic: Day and Hour for XYDataset
Replies: 3
Views: 3945

Hi Martin, Thanks very much for this info.. It seems to be exactly what I'm looking for with one exception.. Looking at the Hour class, there doesn't seem to be a constructor or method that allows one to set the minute as well. The values I'm adding need to be marked right down to the minute like 02...
by Jim D
Wed Aug 11, 2004 2:34 am
Forum: JFreeChart
Topic: Day and Hour for XYDataset
Replies: 3
Views: 3945

Day and Hour for XYDataset

Hi All, I'm creating a TimeSeries chart with an XYDataset.. I need to have the time value set as both a date and a time. For example, instead of just saying "Jan 1 2004" I need the time to say something like "Jan 1 2004 12:30" Is this possible using JFreeChart? The data I'm displaying have multiple ...
by Jim D
Tue Nov 25, 2003 6:55 am
Forum: JFreeChart
Topic: Different color for each bar
Replies: 3
Views: 163053

different colors for each bar

You can also override the renderer and set each color individually like this.. //__________CustomHorizontalBarChartRenderer_____________ // public class CustomHorizontalBarChartRenderer extends BarRenderer { public java.awt.Paint getItemPaint(int row,int column) { Color color; if(column == 0) color ...
by Jim D
Fri Sep 26, 2003 12:42 am
Forum: JFreeChart
Topic: Left align labels in 0.9.12
Replies: 2
Views: 3100

Left align labels in 0.9.12

Hi all, I am looking to create a chart that looks like the image below using 0.9.12 http://www.vorpalware.com/temp/chart.jpg JFreeChart seems to default to having the category labels right aligned so that they are just left of the bars themselves. But I need to make then left aligned like the image ...
by Jim D
Thu Sep 25, 2003 4:52 am
Forum: JFreeChart
Topic: Override BarRenderer and show value labels
Replies: 1
Views: 2750

Override BarRenderer and show value labels

I'm making a horizontal bar chart that I need to have seperate colors for each bar and also show the value of each bar at the end of the bar. To do the colors I subclass the BarRenderer and override the getItemPaint(...) method. Once I do this, the code directly below which attempts to set the value...
by Jim D
Mon Sep 15, 2003 6:19 pm
Forum: JFreeChart
Topic: Some help on upgrading to 0.9.11
Replies: 3
Views: 3584

Dave,

Thank you very much..

Jim
by Jim D
Mon Sep 15, 2003 5:11 pm
Forum: JFreeChart
Topic: Some help on upgrading to 0.9.11
Replies: 3
Views: 3584

Does anybody have any suggestions for alternates of the above calls?

Maybe a link or example code somewhere...

Thanks

Jim
by Jim D
Wed Sep 10, 2003 7:04 am
Forum: JFreeChart
Topic: Some help on upgrading to 0.9.11
Replies: 3
Views: 3584

Some help on upgrading to 0.9.11

Hi All, I'm currently upgrading from 0.9.8 to 0.9.11.. I've been reading the changes posted by David but I'm still having trouble finding alternate calls to the following methods CategoryPlot.setValueLabelFont() CategoryPlot.setValueLabelVisible() CategoryPlot.setValueLabelFormatString() BarRenderer...