Closed pixelzoom closed 3 years ago
While we're on the topic of XYChartNode options:
// {Object|null} - Options for the Rectangle that contains chart content, including GridNode and
// DynamicSeriesNodes.
chartPanelOptions: null, // filled in below because some defaults are based on other options
There's no Panel in XYChartNode, so this name is misleading. If it's a Rectangle, maybe call it backgroundRectangleOptions
.
As far as I can tell, this is less problematic in bamboo. @pixelzoom can this issue be closed?
Yes, addressed by bamboo. No need to address in deprecated (griddle) code. Closing.
While reviewing https://github.com/phetsims/fourier-making-waves/issues/8, I came across these options in XYChartNode:
This class is named
XYChartNode
. So referring to "vertical" and "horizontal" is unnecessarily verbose, unless we plan to swap x & y (which I doubt). It's also inconsistent with optionsdefaultModelXRange
anddefaultModelYRange
. So recommended to replace "vertical" and "horizontal" with "x" and "y" throughout."labels along the grid lines" are typically called "tick mark labels", or more tersely "tick labels". So recommended to rename the overly-verbose
verticalGridLabelNumberOfDecimalPlaces
andhorizontalGridLabelNumberOfDecimalPlaces
to: