orson-charts-fx
orson-charts-fx copied to clipboard
Feature suggestion: support specifying range of axis in `Chart3DFactory.createSurfaceChart()`
When using the Chart3DFactory.createSurfaceChart()
to create a Chart3D
, the argument Function3D
will be called before the valid range is set to axis, which will lead to errors.
One solution is requiring the Function3D
to check its domain and return Double.NaN
when check fails.
Another solution is writing the whole boilerplate code of constructing Chart3D
where you can specify the range to the axis.
The best solution will be adding the support of specifying range of Axis in Chart3DFactory.createSurfaceChart()