FAxisThreeDChartBuilder
Axis-based 3D charts expose primary axes and series styling, without secondary axes or trendlines.
Inheritance
Extends FThreeDChartBuilder. 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
FAxisThreeDChartBuilder.clearAllSeriesOverrides
clearAllSeriesOverrides(): thisPackage: @univerjs-pro/engine-chart · Type definitions
FAxisThreeDChartBuilder.clearAllSeriesStyle
clearAllSeriesStyle(): thisPackage: @univerjs-pro/engine-chart · Type definitions
FAxisThreeDChartBuilder.clearDepthAxis
Clears the depth-axis configuration without removing the 3D chart view.
clearDepthAxis(): thisReturns
This builder for chaining.
Examples
builder.clearDepthAxis()Package: @univerjs-pro/engine-chart · Type definitions
FAxisThreeDChartBuilder.clearSeries
clearSeries(selector: ChartPublicSeriesSelector): thisParameters
selector— Required.
Types: ChartPublicSeriesSelector
Package: @univerjs-pro/engine-chart · Type definitions
FAxisThreeDChartBuilder.clearXAxis
clearXAxis(target?: ChartAxisTarget): thisParameters
target— Optional.
Types: ChartAxisTarget
Package: @univerjs-pro/engine-chart · Type definitions
FAxisThreeDChartBuilder.clearYAxis
clearYAxis(target?: ChartAxisTarget): thisParameters
target— Optional.
Types: ChartAxisTarget
Package: @univerjs-pro/engine-chart · Type definitions
FAxisThreeDChartBuilder.setAllSeriesStyle
setAllSeriesStyle(value: DeepNullish<Pick<IChartSeriesStyleSpec, 'color' | 'fillOpacity' | 'border' | 'label'>>): thisParameters
value— Required.
Types: DeepNullish · Pick · IChartSeriesStyleSpec
Package: @univerjs-pro/engine-chart · Type definitions
FAxisThreeDChartBuilder.setDepthAxis
Sets the categorical series-depth axis style; it has no numeric min, max, or format.
setDepthAxis(value: DeepNullish<IChartDepthAxisSpec>): thisParameters
value— Required. The depth-axis title, direction, line, tick, label, or grid-line style.
Returns
This builder for chaining.
Examples
builder.setDepthAxis({ title: 'Region', label: { visible: true } })Types: DeepNullish · IChartDepthAxisSpec
Package: @univerjs-pro/engine-chart · Type definitions
FAxisThreeDChartBuilder.setSeries
setSeries(selector: ChartPublicSeriesSelector, value: DeepNullish<Pick<IChartSeriesPatch, 'color' | 'fillOpacity' | 'border' | 'label'> & { dataPoints?: Record<number, Pick<IChartSeriesDataPointStyleSpec, 'color' | 'fillOpacity'>>; }>): thisParameters
selector— Required.value— Required.
Types: ChartPublicSeriesSelector · DeepNullish · Pick · IChartSeriesPatch · Record · IChartSeriesDataPointStyleSpec
Package: @univerjs-pro/engine-chart · Type definitions
FAxisThreeDChartBuilder.setXAxis
setXAxis(value: IChartAxisSpec): thisParameters
value— Required.
Types: IChartAxisSpec
Package: @univerjs-pro/engine-chart · Type definitions
FAxisThreeDChartBuilder.setYAxis
setYAxis(value: IChartAxisSpec): thisParameters
value— Required.
Types: IChartAxisSpec
Package: @univerjs-pro/engine-chart · Type definitions
How is this guide?