Meter Chart Customization

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
pankaj_patil20
Posts: 6
Joined: Thu Sep 21, 2006 6:16 pm

Meter Chart Customization

Post by pankaj_patil20 » Mon Oct 30, 2006 6:04 pm

Hi

We need to customize the Meter Chart to meet the following requirmeents

1) Eventhough the data value does NOT fall between the Minimum and
Maximum range, the Needle should still be displayed.
Needle to be postioned at range start if data value is less than the
Range Minimum and Needle should be positioned at Range end if data
value is more than the Range max.

2) We want to REMOVE the Outline and Range seperators for the Meter
Chart.

Any ideas to implement these customizations are welcome :D

Thanks !

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Tue Oct 31, 2006 3:24 pm

If you are not in a rush, the next release (1.0.3, which should come out in the next week or two) will include a new DialPlot class that is intended to replace the MeterPlot class. It will have more flexibility for customisation, etc, etc.

Otherwise, you'll probably need to hack the source code for MeterPlot - the options for customising it via the API are limited.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

Locked