orson-charts-fx icon indicating copy to clipboard operation
orson-charts-fx copied to clipboard

Feature suggestion: support specifying range of axis in `Chart3DFactory.createSurfaceChart()`

Open wumo opened this issue 6 years ago • 0 comments

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()

wumo avatar Nov 24 '17 06:11 wumo