Closed pixelzoom closed 3 years ago
@jessegreenberg will look into making the simpler improvements in the near future
This is on hold, and we may just close this and invest in ScrollingChartNode instead, see #54.
All remaining work (other than reviewing JFreeChart plot APIs) is tracked elsewhere, and I took a scroll through http://www.jfree.org/jfreechart/api/javadoc/org/jfree/chart/plot/XYPlot.html and http://www.jfree.org/jfreechart/api/javadoc/org/jfree/data/xy/XYDataset.html, closing.
I took another look at XYPlot, possibly for reuse in Natural Selection. It's still has many problems that inhibit general use.
[x] Recommended to rename XYPlot to XYPlotNode, to follow the convention used elsewhere in griddle (ScrollingPlotNode, XYDataSeriesNode,...)
[x] Creating the grid and axes should also not be the responsibitites of this node, since a grid and axes are more general. This now should use generalized grid and axes via composition.
@samreid: In https://github.com/phetsims/griddle/issues/74 we will fix up the "plot" abstraction/naming.
@samreid: Griddle no longer has a powerful axis node (aside from the one in bar chart). I'll open a new issue for that. https://github.com/phetsims/griddle/issues/85
@samreid: this will be addressed in #85
@samreid: that was added in GridNode.
@samreid: we will track those in their respective issues.
@samreid: The API is here: http://www.jfree.org/jfreechart/api/javadoc/org/jfree/chart/plot/XYPlot.html
Assigning to @ariel-phet to prioritize and assign.