Search found 10 matches

by alexpgh
Wed Oct 18, 2006 1:46 pm
Forum: JFreeChart
Topic: Category labels inbetween categories
Replies: 3
Views: 5150

I have exact same question! Please let me know if you get an answer....
by alexpgh
Wed Oct 18, 2006 1:44 pm
Forum: JFreeChart
Topic: Center tick labels in the middle of the interval?
Replies: 0
Views: 1704

Center tick labels in the middle of the interval?

Is it possible to center align Tick Labels in the middle of the interval? I found this (posted by David Gilbert) in one of the previous posts, but I don't see this attribute in documentation? Any ideas? Anyone, please? "In the current release, the tick marks are always drawn at the start of each tim...
by alexpgh
Wed Oct 18, 2006 1:42 pm
Forum: JFreeChart
Topic: how to change tooltip values?
Replies: 1
Views: 2567

Hi Subhra,
I had a similar question yesterday, and i resolved it with David Gilbert's help: http://www.jfree.org/phpBB2/viewtopic.php?t=19118
by alexpgh
Tue Oct 17, 2006 7:54 pm
Forum: JFreeChart
Topic: Is it possible to create labels for intervals on X-axis?
Replies: 2
Views: 3221

I found this (posted by David Gilbert) in one of the previous posts, but I don't see this attribute in documentation? Any ideas? Anyone, please? "In the current release, the tick marks are always drawn at the start of each time period. In the next release (0.9.7), a new attribute 'tickMarksAtStartOf...
by alexpgh
Tue Oct 17, 2006 7:10 pm
Forum: JFreeChart
Topic: Is it possible to create labels for intervals on X-axis?
Replies: 2
Views: 3221

Ok, after some searching, I realized I can use SymbolAxis to accomplish this.

But, another question I have is how can I center tick labels in the middle of the interval?
by alexpgh
Tue Oct 17, 2006 6:10 pm
Forum: JFreeChart
Topic: Is it possible to create labels for intervals on X-axis?
Replies: 2
Views: 3221

Is it possible to create labels for intervals on X-axis?

Is it possible to create labels for intervals on X-axis? For example my X-axis contains these values: 0-----1------2------3-------4------5 I would like to display let's say "Column1" above (or instead) "0-------1", "Column2" above (or instead) "1-------2" etc. on X axis. Is something similar to this...
by alexpgh
Tue Oct 17, 2006 6:00 pm
Forum: JFreeChart
Topic: How to properly override generateToolTip() ?
Replies: 5
Views: 5443

Ignore my previous message, my ImageMap write() method was commented out.

Thanks, this fixed my problem.
by alexpgh
Tue Oct 17, 2006 5:58 pm
Forum: JFreeChart
Topic: How to properly override generateToolTip() ?
Replies: 5
Views: 5443

thanks, that fixed it. But, I still have a problem. Now, my customized method is being called, but the tooltip is not being showed on the JPG created.... Here's the changed code: /* =========================================================== * JFreeChart : a free chart library for the Java(tm) platf...
by alexpgh
Tue Oct 17, 2006 4:20 pm
Forum: JFreeChart
Topic: How to properly override generateToolTip() ?
Replies: 5
Views: 5443

here's the complete code how is renderer set on the plot: import java.io.BufferedOutputStream; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStream; import java.io.PrintWriter; import java.util.ArrayList; import org.jfree.chart.ChartColor; imp...
by alexpgh
Tue Oct 17, 2006 3:37 pm
Forum: JFreeChart
Topic: How to properly override generateToolTip() ?
Replies: 5
Views: 5443

How to properly override generateToolTip() ?

I am trying to override generateToolTip() of StandardCategoryToolTipGenerator class (the code below). But, when I try to use it, it seems like parent class's generateToolTip() is called (i.e. my System.out.println statement is never executed). Anyone seen this problem before? Thanks! //Here is how I...