Class Options3d
java.lang.Object
com.vaadin.flow.component.charts.model.AbstractConfigurationObject
com.vaadin.flow.component.charts.model.Options3d
- All Implemented Interfaces:
Serializable
Options to render charts in 3 dimensions. This feature requires
highcharts-3d.js
, found in the download package or online at
code.highcharts.com/
highcharts-3d.js.- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAlpha()
getBeta()
getDepth()
getFrame()
void
One of the two rotation angles for the chart.void
setAxisLabelPosition
(String axisLabelPosition) Set it to"auto"
to automatically move the labels to the best edge.void
One of the two rotation angles for the chart.void
The total depth of the chart.void
setEnabled
(Boolean enabled) Wether to render the chart using the 3D functionality.void
setFitToPlot
(Boolean fitToPlot) Whether the 3d box should automatically adjust to the chart plot area.void
Provides the option to draw a frame around the charts by defining a bottom, front and back panel.void
setViewDistance
(Number viewDistance) Defines the distance the viewer is standing in front of the chart, this setting is important to calculate the perspective effect in column and scatter charts.
-
Field Details
-
AXIS_LABEL_POSITION_AUTO
- See Also:
-
-
Constructor Details
-
Options3d
public Options3d() -
Options3d
-
-
Method Details
-
getAlpha
- See Also:
-
setAlpha
One of the two rotation angles for the chart.Defaults to: 0
-
getAxisLabelPosition
- See Also:
-
setAxisLabelPosition
Set it to"auto"
to automatically move the labels to the best edge.Defaults to: null
-
getBeta
- See Also:
-
setBeta
One of the two rotation angles for the chart.Defaults to: 0
-
getDepth
- See Also:
-
setDepth
The total depth of the chart.Defaults to: 100
-
getEnabled
- See Also:
-
setEnabled
Wether to render the chart using the 3D functionality.Defaults to: false
-
getFitToPlot
- See Also:
-
setFitToPlot
Whether the 3d box should automatically adjust to the chart plot area.Defaults to: true
-
getFrame
- See Also:
-
setFrame
Provides the option to draw a frame around the charts by defining a bottom, front and back panel. -
getViewDistance
- See Also:
-
setViewDistance
Defines the distance the viewer is standing in front of the chart, this setting is important to calculate the perspective effect in column and scatter charts. It is not used for 3D pie charts.Defaults to: 100
-