Search found 101 matches

by oacis
Sat Aug 19, 2006 1:21 am
Forum: JFreeChart
Topic: Who eats my linebreaks for axis labels?
Replies: 9
Views: 13539

THere is a minor problem with rotated text which I will look into today and do some more testing. It depends on me getting the problems fixed and the release schedule of JFreeChart.
by oacis
Thu Aug 17, 2006 12:38 am
Forum: JFreeChart
Topic: To view more datas within a single chart...
Replies: 1
Views: 2635

Create a defaultCategoryDataset... DefaultCategoryDataset defaultCategoryDataset = new DefaultCategoryDataset(); Then add your data to it defaultCategoryDataset.addValue(1.0, "rowKey", "colKey"); Create the chart... JFreeChart jFreeChart = ChartFactory.createLineChart("This is the title", "category ...
by oacis
Thu Aug 17, 2006 12:16 am
Forum: JFreeChart
Topic: new line in title - gives a substitution like \n?
Replies: 5
Views: 10388

There is a problem with drawing strings with a new line character in them. One workaraund at the moment is to add subtitles for each line you wish to display.
by oacis
Thu Aug 17, 2006 12:14 am
Forum: JFreeChart
Topic: Who eats my linebreaks for axis labels?
Replies: 9
Views: 13539

There are a few feature requests for line breaks on the sourceforge tracker. I have supplied a patch for multi-line Axis titles and will hopefully have a patch for the tick labels soon. In the Axis class, the new line characters are not taken into account in the FontMetrics class which means that th...
by oacis
Wed Aug 16, 2006 6:47 am
Forum: JFreeChart
Topic: ConcurrentModificationException
Replies: 11
Views: 12788

Hai , this is the exception i got when using cewolf........ Give me the solution.......... Hello, It is going to be a little bit difficult to give you the solution without first understanding what the problem is. I may be able to help 'guide' you to the correct resolution though... What versions of...
by oacis
Tue Aug 15, 2006 1:13 pm
Forum: JFreeChart
Topic: How to customize BarChart ?
Replies: 10
Views: 12105

Try this:

Highlight ChartFactory in the code
Press the F3 button
when the page opens there should be a button to attach source at the top...
by oacis
Tue Aug 15, 2006 12:42 pm
Forum: JFreeChart
Topic: How to customize BarChart ?
Replies: 10
Views: 12105

I use eclipse 3.1 and 3.2 at the moment - you will need to attach the source code to the jar file for code completion. This works in eclipse 3.1.0 so YMMV Right click on the project and select Build Path -> Configure Build Path... Select the Libraries tab Open up the tree on the jfreechart.jar entry...
by oacis
Tue Aug 15, 2006 12:28 pm
Forum: JFreeChart
Topic: How to customize BarChart ?
Replies: 10
Views: 12105

What IDE are you using?
by oacis
Tue Aug 15, 2006 9:43 am
Forum: JFreeChart
Topic: How to customize BarChart ?
Replies: 10
Views: 12105

What version of JFreeChart are you using?

Could you also post the code that you are trying to get the plot from?
by oacis
Mon Aug 14, 2006 11:38 pm
Forum: JFreeChart
Topic: How to customize BarChart ?
Replies: 10
Views: 12105

I think you will have to be a little more specific about what part of the JFreeChart you need to customise, i.e. Colours, Datasets, tick marks, scaling etc. The simplest way to start using a chart is to use the ChartFactory static methods JFreeChart jFreeChart = ChartFactory.createBarChart("Chart ti...
by oacis
Mon Aug 14, 2006 8:46 am
Forum: JFreeChart
Topic: Tick marks
Replies: 4
Views: 5966

have a look at this post:
http://www.jfree.org/phpBB2/viewtopic.p ... ght=#52545

Which may have some more information for you. Have a look at the axis.setRange() method(s).
by oacis
Mon Aug 14, 2006 8:42 am
Forum: JFreeChart
Topic: StandardLegend missing
Replies: 1
Views: 3523

This document is a little bit old - the best thing to do is to buy the latest developer's guide.

Alternatively, the guide should work with the now older JFreeChart 0.9.15 libraries.

If you are looking for a quick way to create charts have a look at the

Code: Select all

org.jfree.chart.ChartFactory
static methods
by oacis
Mon Aug 14, 2006 7:50 am
Forum: JFreeChart
Topic: Newbie question on functionality
Replies: 2
Views: 5023

Using Swing - I need to query an Oracle database to get a recordset. The bar graph will be based on the recordset. Very simple graph. Does JFreeChart read the data from a file or can JFreeChart use the recordset directly? JFreeChart can read the data from the jdbc connection - have a look at org.jf...
by oacis
Thu Aug 10, 2006 12:22 pm
Forum: JFreeChart
Topic: java.lang.NullPointerException
Replies: 2
Views: 5949

the stack trace doesn't mention jfree chart - When you say you are using JFreeChart with portlets, how exactly are you using it?

E.g. which portlet are you using that includes jfreechart?

Does the system come up without 'using jfreechart'?
by oacis
Tue Aug 08, 2006 12:38 pm
Forum: JFreeChart
Topic: dual axis chart with both axis values set by user
Replies: 5
Views: 9804

For
And one more i want to create dual axis chart using jsp implementing jfree.Just give me some suggestions to achieve this.........!
have you tried http://cewolf.sourceforge.net/