Search found 25 matches

by aram535
Wed Jan 12, 2011 2:38 pm
Forum: JFreeChart
Topic: Setting the chart "title" to the axis title
Replies: 7
Views: 8597

Re: Setting the chart "title" to the axis title

The label shows up on the graph axis, so obviously it isn't set to null. For some reason I cannot read it back.
I want the title to be label that is on the Y axis.
by aram535
Wed Jan 12, 2011 2:14 pm
Forum: JFreeChart
Topic: Setting the chart "title" to the axis title
Replies: 7
Views: 8597

Re: Setting the chart "title" to the axis title

See original post, it's returning a 'null'
by aram535
Wed Jan 12, 2011 1:50 pm
Forum: JFreeChart
Topic: Setting the chart "title" to the axis title
Replies: 7
Views: 8597

Re: Setting the chart "title" to the axis title

No problem, I must have not properly described the problem.

The class that is in question is fully dynamic. So It's 'management' this time, but it'll be something else the next time it runs. How do I extract back out the axis label dynamically?
by aram535
Tue Jan 11, 2011 6:13 pm
Forum: JFreeChart
Topic: Setting the chart "title" to the axis title
Replies: 7
Views: 8597

Setting the chart "title" to the axis title

Hi, I'm trying to create a bunch of graphs dynamically from a database so I need to set the title of the graph from the dataset. The dataset contains the axis name, which I can display easily. final CategoryAxis domainAxis = plot.getDomainAxis(); domainAxis.setCategoryLabelPositions(CategoryLabelPos...
by aram535
Tue Nov 30, 2010 4:33 pm
Forum: JFreeChart
Topic: Spider graph background
Replies: 0
Views: 3359

Spider graph background

Hi, I'm trying to create a spider chart (using 1.0.13) from the demo code, but I need the background and the values for the background to be generated along with the plot. The web part of the graph along with 0, 1, 2, 3, 4, etc... that would go under the plot. Second question, is there is "Render" c...
by aram535
Tue Sep 15, 2009 7:54 pm
Forum: JFreeChart
Topic: Trying to create custom Legend with Values from dataset
Replies: 7
Views: 11140

Re: Trying to create custom Legend with Values from dataset

It sort of did, but I ended up having to pull it back out. it simply isn't dynamic enough if the data is not a known quantity.
by aram535
Thu Jul 02, 2009 3:03 pm
Forum: JFreeChart
Topic: Trying to create custom Legend with Values from dataset
Replies: 7
Views: 11140

Re: Trying to create custom Legend with Values from dataset

Thank you. The wrapper idea works sadly the composition and the visual of the data is just not very pretty. I'll have to read more into JTable and JComponent to see what parameters exist in making them more visually appealing.

Thanks again.
by aram535
Wed Jul 01, 2009 12:30 pm
Forum: JFreeChart
Topic: Trying to create custom Legend with Values from dataset
Replies: 7
Views: 11140

Re: Trying to create custom Legend with Values from dataset

Ok so now I have a JTable with the data, but I can't figure out how to render it into the chart. Anyone have any snippets they can share?
by aram535
Wed Jul 01, 2009 10:57 am
Forum: JFreeChart
Topic: Trying to create custom Legend with Values from dataset
Replies: 7
Views: 11140

Re: Trying to create custom Legend with Values from dataset

I'll have a look at JTable. Thank you.
by aram535
Tue Jun 30, 2009 3:13 pm
Forum: JFreeChart
Topic: Type of Chart
Replies: 8
Views: 10173

Re: Type of Chart

You mean the high water and low water mark? Than yes you can.
by aram535
Tue Jun 30, 2009 2:42 pm
Forum: JFreeChart
Topic: Type of Chart
Replies: 8
Views: 10173

Re: Type of Chart

You can do that with a CandleStick or a HighLowChart.
by aram535
Tue Jun 30, 2009 2:01 pm
Forum: JFreeChart
Topic: Trying to create custom Legend with Values from dataset
Replies: 7
Views: 11140

Trying to create custom Legend with Values from dataset

Hi,

I'm trying to add a legend to this chart:

Image

Which would make it look like this excel graph:

Image

Any pointers would be greatly appreciated.

Aram
by aram535
Tue Jun 30, 2009 1:17 am
Forum: JFreeChart
Topic: Type of Chart
Replies: 8
Views: 10173

Re: Type of Chart

Can't see image, needs uid/pw
by aram535
Mon Jun 29, 2009 8:47 pm
Forum: JFreeChart
Topic: Passing data between MySql and jFree results in Java Crash
Replies: 2
Views: 4021

Re: Passing data between MySql and jFree results in Java Crash

It still crashes java inside Eclipse, but it has to be something inside Eclipse.

I exported everything as a jar file and it runs fine from command line with the same JRE, so the problem is an incompatibility within Eclipse and JRE 1.6. I'm going to try to un-install all of 1.6 to see if that helps.
by aram535
Mon Jun 29, 2009 4:52 pm
Forum: JFreeChart
Topic: Passing data between MySql and jFree results in Java Crash
Replies: 2
Views: 4021

Passing data between MySql and jFree results in Java Crash

I have a very odd problem. I'm doing 18 MySql "select count(*) from .... " based on 2 Enums (3 x 6). Fairly simple stuff. The main problem is this: 1) If I leave the MySQL stuff and comment out the createChart(dataset) it works. 2) If I leave the createChart(dataset) and replace the MySQL statements...