Search found 8 matches

by Askur
Fri Apr 04, 2014 6:47 am
Forum: JFreeChart
Topic: Background of custom PieChart is overlayed with black color
Replies: 1
Views: 2413

Re: Background of custom PieChart is overlayed with black co

Adding
plot.setShadowGenerator(null);
fixed the problem.
by Askur
Tue Apr 01, 2014 10:41 am
Forum: JFreeChart
Topic: JFreeChart ToopTip Display Time Question
Replies: 4
Views: 6040

Re: JFreeChart ToopTip Display Time Question

Sorry for digging up this old post but I have exactly the same question and I don't get how I get access to an instance of ChartPanel from within my jfreeChart or its plot ?
by Askur
Tue Apr 01, 2014 10:08 am
Forum: JFreeChart
Topic: Background of custom PieChart is overlayed with black color
Replies: 1
Views: 2413

Background of custom PieChart is overlayed with black color

Hello, I have an issue with the background of my custom PieChart being overlayed with a black color.
I described that problem into detail at StackOverflow but was unable to find any help there (yet).

I would appreciate any help I can get on that topic!
by Askur
Fri Apr 19, 2013 9:38 am
Forum: JFreeChart
Topic: Remove dynamic behavior of category labels
Replies: 0
Views: 2453

Remove dynamic behavior of category labels

Hello, I'm using a CategoryPlot with my Labels being on the y-axis of the graph. I wrote a custom CategoryAxis to modify how those labels are painted, however when I resize the window of my application (make it smaller), at a width of about 300, the custom rendering information seem to not to be tak...
by Askur
Thu Apr 11, 2013 8:57 am
Forum: JFreeChart
Topic: CategoryAxis: Align labels
Replies: 0
Views: 2167

CategoryAxis: Align labels

Hello, how can I right-align all the category-labels on my CategoryAxis? This is how my plot looks like now: http://imageshack.us/photo/my-images/571/alignmentissue.png/ As you can see the labels are not aligned at all. This is the source code for my CategoryAxis: categoryAxis = new CategoryAxis(); ...
by Askur
Wed Feb 27, 2013 9:36 am
Forum: JFreeChart
Topic: Date Axis containing only hours and half hours
Replies: 0
Views: 3759

Date Axis containing only hours and half hours

Hello, I want to use a DateAxis that shows a only full and half hours (From 0 to 12 o clock) for the tick values of the DateAxis. To illustrate my issue, the following image shows the DateAxis I'm currently using. http://imageshack.us/photo/my-images/836/graphgvl.png I created this DateAxis with the...
by Askur
Tue Feb 19, 2013 11:47 am
Forum: JFreeChart
Topic: Elements on DateAxis don't start at 0 but at 1
Replies: 1
Views: 2338

Re: Elements on DateAxis don't start at 0 but at 1

EDIT: Adding the following line to the top of the TestDateAxis class fixed all my issues: dateAxis.setTimeZone(TimeZone.getTimeZone("GMT")); There seemed to be a timezone issue ... I found the root of the problem, it is the DateAxis. The following program reproduces my problem: import java.util.Cal...
by Askur
Tue Feb 19, 2013 9:44 am
Forum: JFreeChart
Topic: Elements on DateAxis don't start at 0 but at 1
Replies: 1
Views: 2338

Elements on DateAxis don't start at 0 but at 1

Hello, I'm having the following issue. I have a graph who uses a Date Axis (x-axis) and a Category Axis (y-axis) to display some data. The data itselfe is stored in a custom dataset. I add the data to my dataset with he following code. int hour = 60 * 60 * 1000; heatupChartTimeDataset.addValue(10000...