FThreeDChartBuilder
Authored 3D configuration; clear preserves the chart dimension and independent depth axis.
Inheritance
Extends FChartBuilderBase. Its inherited members are available on this object.
Setup
Register @univerjs-pro/engine-chart or a preset that includes it. In plugin mode, import @univerjs-pro/engine-chart/facade. Additional methods below require their listed plugin packages. See Facade setup.
@univerjs-pro/engine-chart
FThreeDChartBuilder.clearThreeD
Clears the authored 3D settings without changing the chart type or depth axis.
clearThreeD(): thisReturns
This builder for chaining.
Examples
builder.clearThreeD()Package: @univerjs-pro/engine-chart · Type definitions
FThreeDChartBuilder.setThreeD
Sets the authored 3D view and layout options.
For axis-based charts, set rightAngleAxes to false to apply perspective.
setThreeD(value: DeepNullish<IChart3DStyle>): thisParameters
value— Required. The 3D view and layout options.
Returns
This builder for chaining.
Examples
builder.setThreeD({ view: { rotX: 15, rotY: 20, rightAngleAxes: false, perspective: 30 }, gapDepth: 150,})Types: DeepNullish · IChart3DStyle
Package: @univerjs-pro/engine-chart · Type definitions
How is this guide?