Search found 19 matches

by tdk
Fri Mar 16, 2007 4:38 pm
Forum: JFreeChart
Topic: Saving and reloading plot properties
Replies: 4
Views: 4734

using java.util.Properties.load() and store() are much easier and much less error prone. and it would save you a lot of code to get the necessary properties.

thomas
by tdk
Fri Mar 16, 2007 12:34 pm
Forum: JFreeChart
Topic: Saving and reloading plot properties
Replies: 4
Views: 4734

Saving and reloading plot properties

Folks'es, my users always want to look an application the same when they start it, as it looked the last time they had it running :shock: this means i would like to save the plot properties a user might have configured via the popup. and of course i would like to reload it at the next start of the a...
by tdk
Tue Feb 13, 2007 8:53 am
Forum: JFreeChart
Topic: Small enhancement request for ChartPanel
Replies: 1
Views: 2166

Small enhancement request for ChartPanel

Folks'es, I would like to suggest a small enhancement for the ChartPanel class: drawing a lot of points in a chart can take some considerable time to finish (at least on my system [Sun ULTRA 25, Solaris 10]). in order to let the user know that something is happening, i want to change my cursor to a ...
by tdk
Thu Feb 08, 2007 8:49 am
Forum: JFreeChart
Topic: Using multiple renderers causes an Exception
Replies: 6
Views: 6144

david.gilbert wrote:No, it is one dataset containing four series. If you want four datasets, you need to create four instances of XYSeriesCollection, and add one series to each.
oops, thanx it works now!

thomas
by tdk
Wed Feb 07, 2007 4:14 pm
Forum: JFreeChart
Topic: Using multiple renderers causes an Exception
Replies: 6
Views: 6144

Dave,

i don't quite understand this. my data is a XYSeriesCollection which has 4 XYSeries (see initial posting). doesn't that qualify as 4 datasets?

confused,

thomas
by tdk
Wed Feb 07, 2007 3:17 pm
Forum: JFreeChart
Topic: Using multiple renderers causes an Exception
Replies: 6
Views: 6144

No, i had not. but now i have: xAxis.setLabelInfo(bands); lineChart.getXYPlot().setDomainAxis(0, xAxis); lineChart.getXYPlot().mapDatasetToDomainAxis(0, 0); lineChart.getXYPlot().mapDatasetToDomainAxis(1, 0); lineChart.getXYPlot().mapDatasetToDomainAxis(2, 0); lineChart.getXYPlot().mapDatasetToDomai...
by tdk
Wed Feb 07, 2007 8:48 am
Forum: JFreeChart
Topic: Using multiple renderers causes an Exception
Replies: 6
Views: 6144

Using multiple renderers causes an Exception

Folks'es, i have a question/problem when using different renderers for a chart. i have 4 XYSeries which i want to show in the following way: - series 1, 2, and 3 should be drawn with a XYStepAreaRenderer - series 4 should be drawn with a XYStepRenderer however, when the plot is drawn i get the follo...
by tdk
Mon Feb 05, 2007 1:37 pm
Forum: JFreeChart
Topic: How to combine bar chart with stacked bar in one plot?
Replies: 2
Views: 2719

great, thanx Dave.

thomas

PS: keep up the good work! thanx
by tdk
Mon Feb 05, 2007 11:31 am
Forum: JFreeChart
Topic: How to combine bar chart with stacked bar in one plot?
Replies: 2
Views: 2719

How to combine bar chart with stacked bar in one plot?

Folks'es, i would like to combine a bar chart and a stacked bar chart in one plot. how can i do this (i only found replies in the forum that it can be done but not how :cry: ) here is what i have: - one DefaultCategoryDataset - containing 3 series of data here is what i would like to see: - series 1...
by tdk
Fri Sep 16, 2005 1:25 pm
Forum: JFreeChart
Topic: PieDataset with non-Number objects
Replies: 0
Views: 1509

PieDataset with non-Number objects

is it possible to create a pie chart based on non-numeric data? what would be the best approach? here is my problem: + i have a set of objects, each containing a condition + i want to display the objects as a pie chart, each object being a section + the section colour is determined by the condition ...
by tdk
Mon Sep 05, 2005 11:30 am
Forum: JFreeChart
Topic: Size calculation of SymbolAxis
Replies: 6
Views: 5535

"setMaximumDrawWidth()" does the trick.

thanx,

thomas
by tdk
Mon Sep 05, 2005 10:13 am
Forum: JFreeChart
Topic: Size calculation of SymbolAxis
Replies: 6
Views: 5535

> The plot area is really determined by the chart size i figured that much after several other attempts. now i calculate the required size of my chartpanel myself (number of tick labels * 20, i have the labels drawn vertically).: Dimension size = getPreferredSize(); if (size.width < (xLabels.length ...
by tdk
Fri Sep 02, 2005 7:50 am
Forum: JFreeChart
Topic: How to use SymbolicAxis? - Urgent
Replies: 11
Views: 8223

oops, sorry i was mistaken. you'll find it in the CVS tree at
http://cvs.sourceforge.net/viewcvs.py/j ... &view=auto

that version works fine for me!

thomas
by tdk
Fri Sep 02, 2005 7:05 am
Forum: JFreeChart
Topic: How to use SymbolicAxis? - Urgent
Replies: 11
Views: 8223

you'll find it in the source zip file.

thomas
by tdk
Thu Sep 01, 2005 4:31 pm
Forum: JFreeChart
Topic: Size calculation of SymbolAxis
Replies: 6
Views: 5535

Size calculation of SymbolAxis

how does JFree calculate the size of its plot area? i have the problem, that i need to use a SymbolAxis for the domain axis in order to display some strings rather then numbers. however, i also need the plot to size itself so that every string, ie tick mark, is displayed. how can i force the plot/ax...