Search found 24 matches

by iogan18tm
Sat Dec 06, 2008 11:32 pm
Forum: JFreeChart
Topic: jfreechart is not displaying in my production server
Replies: 6
Views: 3457

You should run your application on linux with java system property -Djava.awt.headless=true. If it should be working on j2ee container like tomcat or oc4j or weblogic or jetty and so on - you should pass this parameter when starting the container
by iogan18tm
Sat Dec 06, 2008 1:11 pm
Forum: JFreeChart
Topic: jfreechart is not displaying in my production server
Replies: 6
Views: 3457

by iogan18tm
Fri Dec 05, 2008 5:17 pm
Forum: JFreeChart
Topic: LegendItem api
Replies: 0
Views: 794

LegendItem api

It seems that LegendItem lacks some api like

Code: Select all

setShape(Shape shape);
setStroke(Stroke stroke);
Or maybe there is some logic behind it?[/code]
by iogan18tm
Fri Dec 05, 2008 4:42 pm
Forum: JFreeChart
Topic: Centering the labels of the legend when too long
Replies: 2
Views: 1337

Alas, this is not a solution but a workaround.
You can move labels a little with this code

Code: Select all

chart.getLegend().setPadding(new RectangleInsets(UnitType.RELATIVE,0,0.1,0,0));
by iogan18tm
Fri Dec 05, 2008 2:15 pm
Forum: JFreeChart
Topic: Legend Border Paint
Replies: 1
Views: 785

As it always goes just found solution
[code]
chart.getLegend().setFrame(chart.getLegend().setFrame(new LineBorder(Color.WHITE,new BasicStroke(0),new RectangleInsets()));
[/code]
by iogan18tm
Fri Dec 05, 2008 2:10 pm
Forum: JFreeChart
Topic: Legend Border Paint
Replies: 1
Views: 785

Legend Border Paint

How can i change (or remove) Legend Border (Paint)? I mean the Line which border all of Legend Items?
by iogan18tm
Sat Oct 25, 2008 4:09 pm
Forum: JFreeChart
Topic: Default looks changed
Replies: 1
Views: 650

sry, that was a reply to [url]http://www.jfree.org/phpBB2/viewtopic.php?t=25785[/url]
by iogan18tm
Sat Oct 25, 2008 3:59 pm
Forum: JFreeChart
Topic: Default looks changed
Replies: 1
Views: 650

Default looks changed

Yet its not that convinient to rebuild own source code for changes which are left for 3rdparty. Maybe you could try and build a lib of themes which are constant? And cant be changed with change of version?
by iogan18tm
Fri Nov 30, 2007 8:26 pm
Forum: JFreeChart
Topic: Period Axis Label Generator
Replies: 1
Views: 1285

Patch is ready to be tested.


http://sourceforge.net/tracker/index.ph ... tid=315494

General uses are - handle different time dimension scales or make complex formatting like hour number in a week.
by iogan18tm
Fri Nov 30, 2007 10:39 am
Forum: JFreeChart
Topic: Period Axis Label Generator
Replies: 1
Views: 1285

Period Axis Label Generator

I think, its unfair that PeriodAxis doesn't have a customizable label generator.
Simple DateFormat is bound onto the RegularPeriod, not the whole scale is available to if to make a right label for tick. I'll try to introduce a sample code in a day or two.
by iogan18tm
Sat Oct 27, 2007 11:39 am
Forum: JFreeChart
Topic: DateAxis of timeseries containing days with 25 hours
Replies: 9
Views: 5000

[quote="JanKrause"]Hi everybody,

thanks, David. That hint works quite good.

Greetings

Jan[/quote]
Could you please post a code for that solution you found?
by iogan18tm
Sun Oct 01, 2006 2:45 pm
Forum: JFreeChart
Topic: TimePeriodValues TimeSeries TimeTableXYDataSet
Replies: 2
Views: 1529

As you can see - it solved problem - using TimePeriodValues.
by iogan18tm
Sat Sep 30, 2006 9:33 am
Forum: JFreeChart
Topic: TimePeriodValues TimeSeries TimeTableXYDataSet
Replies: 2
Views: 1529

TimePeriodValues TimeSeries TimeTableXYDataSet

The task is to have 3 series on a chart. Two - in stacked bar rendering, one - in line and shape. All of them are bound to hours (hour,value). The problem is when i do use TimeTableXYDataSet for stacked bar, my LineAndShape does a strange thing - its not drawn in the center of a period, but on the l...
by iogan18tm
Wed Nov 24, 2004 11:34 am
Forum: JFreeChart
Topic: PeriodAxis Outline and Gridline
Replies: 1
Views: 867

Thats it

In code of PeriodAxis there is no implementaion of refreshticks [code] public List refreshTicks(Graphics2D g2, AxisState state, Rectangle2D plotArea, Rectangle2D dataArea, RectangleEdge edge) { return new java.util.ArrayList(); } [/code] This causes not-drawing of DomainGridlines when PeriodAxis is ...
by iogan18tm
Wed Sep 29, 2004 10:42 pm
Forum: JFreeChart
Topic: PeriodAxis Outline and Gridline
Replies: 1
Views: 867

PeriodAxis Outline and Gridline

Hi, i've got problem controlling PeriodAxis gridline (it cant be seen) and outline (it cant be removed or changed). Is there a bug in there?