DefaultPlotEditor class fails

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
TomHart
Posts: 7
Joined: Tue Sep 29, 2009 2:57 pm
antibot: No, of course not.

DefaultPlotEditor class fails

Post by TomHart » Wed Sep 30, 2009 4:41 pm

Hi,

I was playing on implementing the "Property Editors" for one of my charts and noticed that it does not take CombinedDomainXYPlot into account. In its constructor, where it tries to read the plot info such as domain axis, range axis, it only checks for an instance of XYPlot and retrieves domain and range axis.

Where as if we use CombinedDomainXYPlot, it only holds a reference to domain axis and does not hold a reference to range axis. So while building the property editor, it does not add a tab for changing the attributes of range axis. This can be, ofcourse, reproduced for CombinedRangeXYPlot as well. In this case, it does not add the tab for changing the attributes of Domain Axis.

I assume it is either missing or not implemented yet. Please let me know if you have any definite information in this regard.

Thanks in advance.

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

Re: DefaultPlotEditor class fails

Post by david.gilbert » Mon Oct 05, 2009 10:09 pm

The editors are very incomplete.
David Gilbert
JFreeChart Project Leader

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

MitchBuell
Posts: 47
Joined: Thu Dec 11, 2008 7:59 pm

Re: DefaultPlotEditor class fails

Post by MitchBuell » Mon Oct 19, 2009 4:31 pm

See http://www.jfree.org/phpBB2/viewtopic.php?f=3&t=26674 if you'd like to play with editing the chart editors.

Locked