Search found 50 matches

by tedbyers
Wed Apr 02, 2008 9:13 pm
Forum: JFreeChart
Topic: Array of Charts?
Replies: 2
Views: 3042

Array of Charts?

I am plotting data in two dimensions, to get a sense of the distribution and correlation of values. I have two benchmark series for which I get the same kind of data. The real objective is to be able to compare the distribution of values for the object of interest against the distributions of the va...
by tedbyers
Thu Mar 13, 2008 10:05 pm
Forum: JFreeChart
Topic: How do I control the width of the bars in a bar chart?
Replies: 2
Views: 3213

Solved. The problem was with using "org.jfree.data.time.Day.class"

Changing that to "org.jfree.data.time.Quarter.class" solves the problem.
by tedbyers
Thu Mar 13, 2008 9:00 pm
Forum: JFreeChart
Topic: How do I control the width of the bars in a bar chart?
Replies: 2
Views: 3213

Well, I just checked, and it turns out that the segmented time line had no impact. The bars are just paper thin lines regardless of what I do. :cry:

Suggestions?
by tedbyers
Thu Mar 13, 2008 8:49 pm
Forum: JFreeChart
Topic: How do I control the width of the bars in a bar chart?
Replies: 2
Views: 3213

How do I control the width of the bars in a bar chart?

I "successfully" created a bar chart, based on three time series. However, the time series span a period of 8 years, and the series in question include one observation each per quarter. The bars produced appear as paper thin lines over the date of the beginning of the quarter. How do I get the three...
by tedbyers
Mon Mar 10, 2008 9:32 pm
Forum: JFreeChart
Topic: NullPointerException in renderer
Replies: 0
Views: 1567

NullPointerException in renderer

I am using the latest version of jFreeChart, in a servlet. For quite a while, all has been well. But now, i am trying something a little different and am thwarted by this exception. Here is the relevant part of the trace (from the Tomcat 6 log): SEVERE: Servlet.service() for servlet ChartMaker threw...
by tedbyers
Fri Jan 11, 2008 2:10 am
Forum: JFreeChart
Topic: inheritance hierarchy for dataset classes
Replies: 4
Views: 9511

OK, I found the problem, and there is a logical capability missing from TimeTableXYDataset. Consider the following from the manual (53.21 TableXYDataset); "This interface is an extension of the XYDataset interface. By implementing this interface, a dataset is declaring that all series share a common...
by tedbyers
Thu Jan 10, 2008 11:43 pm
Forum: JFreeChart
Topic: inheritance hierarchy for dataset classes
Replies: 4
Views: 9511

inheritance hierarchy for dataset classes

I just got hit by the following exception: java.lang.ClassCastException: org.jfree.data.time.TimeSeriesCollection cannot be cast to org.jfree.data.xy.TableXYDataset Is there a reason org.jfree.data.time.TimeSeriesCollection is not derived from org.jfree.data.xy.TableXYDataset? I would have expected ...
by tedbyers
Thu Jan 10, 2008 6:33 pm
Forum: JFreeChart
Topic: How do I manage a legend in a combined chart?
Replies: 3
Views: 3016

Thanks David.

So far so good, but how do I ensure that series #1 in chart #1 has the same colour as series #1 in chart #2, without specifying what that colour is?

Thanks

Ted
by tedbyers
Thu Jan 10, 2008 5:36 pm
Forum: JFreeChart
Topic: How do I manage a legend in a combined chart?
Replies: 3
Views: 3016

How do I manage a legend in a combined chart?

I am creating a combined chart (for time series data) that will use several stacked area charts (like that in StackedXYAreaChartDemo1) and a step chart (like XYStepRendererDemo1). But the values in the different charts are related. The first series in chart one is connected to the first series in al...
by tedbyers
Sun Jan 06, 2008 6:54 pm
Forum: JFreeChart
Topic: What jars need to be included in a web application project?
Replies: 4
Views: 3953

Great Taqua

Thanks

Ted
by tedbyers
Sun Jan 06, 2008 2:17 pm
Forum: JFreeChart
Topic: What jars need to be included in a web application project?
Replies: 4
Views: 3953

Thanks Taqua

What's the story with the other jars: gnujaxp, itext,swtgraphics2d?

The chap who has been helping me suspects there's an XML parser in gnujaxp that has trouble parsing the faces-config.xml file.

Thanks again

Ted
by tedbyers
Sun Jan 06, 2008 6:51 am
Forum: JFreeChart
Topic: What jars need to be included in a web application project?
Replies: 4
Views: 3953

What jars need to be included in a web application project?

I ran into some problems, I'd assumed were NetBeans related, but on investigation I learned at least part of the problem is the jars distributed with jFreeChart. I'd simply added all the jars in the jFreeChart 'lib' directory to the project. That worked fine with standalone programs, but that direct...
by tedbyers
Tue Dec 04, 2007 8:25 pm
Forum: JFreeChart
Topic: How best to improve zooming capability in time series chart
Replies: 3
Views: 2989

Thanks David. Trial and error shows me I can shrink the domain. But I am having a little trouble expanding it after I contracted it. I don't know if it is my chart code or my JSpinner code. But when I go to expand the domain, the spinner stops responding. Here is my spinner code: javax.swing.Spinner...
by tedbyers
Tue Dec 04, 2007 6:09 pm
Forum: JFreeChart
Topic: How best to improve zooming capability in time series chart
Replies: 3
Views: 2989

How best to improve zooming capability in time series chart

I am finding the current interface for zooming insufficient. What I want to do is add a pair of JSpinner controls to a form, with bounds set to the maximum and minimum dates in the time series (collection). The aim is to zoom the TSchart so that the lower and upper dates displayed in the chart corre...
by tedbyers
Tue Dec 04, 2007 5:56 pm
Forum: JFreeChart
Topic: jFreeCharts with JSF
Replies: 5
Views: 7657

1) You don't have to use Chart Creator. It is best seen as an example of what to do. 2) take a look at ICEfaces, from ICEsoft. They support charts (and their library is an excellent extension of JSF technology anyway). They have also provided an example, based on chartcreator, you could learn from. ...