Making ChartPanel properties change Chart

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Rob Walker

Making ChartPanel properties change Chart

Post by Rob Walker » Thu Aug 01, 2002 3:07 pm

Ok - so we like JFreeChart a lot and have bought the docs, partly to support the project and partly to get some more info.

One quick thing (probably a common question so apols. for repitition) is that when we use the standard sequence of:

- create chart using ChartFactory
- create panel for chart
- paint panel in frame

Everything works fine - and we can print, save etc. with the built in ChartPanel right click menu control. But not all Properties changes seem to take effect on the graph - in fact only the Legend ones seem to have any effect.

What are we missing?

-- Rob

Rob Walker

Re: Making ChartPanel properties change Chart

Post by Rob Walker » Thu Aug 01, 2002 4:19 pm

Normally I abuse people who answer there own posts ... so I guess I should expect some abuse for doing it myself.

Noticed the following comment in the Manual:


'chart properties – the property editors are incomplete, but allow you to
customise many chart properties;'

I'm guessing that answers my questions - the specific property editors that don't seem to work for me aren't done.

Anyone know whether this is because of some big/complex technical reason? If not, I may delve in and take a look - if it is, I'd guess i'll wait for someone with more time/experience of JFreeChart

-- Rob

David Gilbert

Re: Making ChartPanel properties change Chart

Post by David Gilbert » Mon Aug 05, 2002 11:30 am

Hi Rob,

The property editors were added a long time ago, mainly as a way for me to test the chart properties. They haven't been kept up to date as new features have been added to the charts. In short, they need a complete overhaul.

I would like to have this done before version 1.0.0, but I can't say it is a job I am looking forward to!

Regards,

DG.

Gopal

Re: Making ChartPanel properties change Chart

Post by Gopal » Tue Aug 27, 2002 9:50 am

Hello DG,

The property editors were working fine in JFreechart version 0.8.1. But in 0.9.2, any chages in the 'Plot' tab of the Properties dialog doesn't take effect. Is there any work arround for solving this problem until it is fixed in future versions?

Thanks & Regards
Gopal

Locked