|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.moxieapps.gwt.highcharts.client.Configurable<Options3D> org.moxieapps.gwt.highcharts.client.Options3D
public class Options3D
The Options3d class represents a set of options for a 3D chart. This class should only be instantiated as part of
a call to Chart.setOptions3D(Options3D)
Example usage:
chart.setOptions3d(
new Options3d()
.setAlpha(50);
Options to render charts in 3 dimensions.
Note that this feature requires highcharts-3d.js
Constructor Summary | |
---|---|
Options3D()
|
Method Summary | |
---|---|
Options3D |
setAlpha(Number alpha)
Convenience method for setting the 'alpha' attribute of a 3d chart. |
Options3D |
setBeta(Number beta)
Convenience method for setting the 'bets' attribute of a 3d chart. |
Options3D |
setDepth(Number depth)
Convenience method for setting the 'depth' attribute of a 3d chart. |
Options3D |
setEnabled(Boolean enabled)
Convenience method for setting the 'enabled' attribute of a 3d chart. |
Options3D |
setFrame(Frame frame)
Convenience method for setting the 'frame' attribute of a 3d chart. |
Options3D |
setViewDistance(Number viewDistance)
Convenience method for setting the 'viewDistance' option of a 3d chart. |
Methods inherited from class org.moxieapps.gwt.highcharts.client.Configurable |
---|
getOptions, setOption |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Options3D()
Method Detail |
---|
public Options3D setAlpha(Number alpha)
options3d.setOption("alpha", 0);
alpha
- One of the two rotation angles for the chart. Defaults to 0.
Options3D
instance for convenient method chaining.public Options3D setBeta(Number beta)
options3d.setOption("beta", 0);
beta
- One of the two rotation angles for the chart. Defaults to 0.
Options3D
instance for convenient method chaining.public Options3D setDepth(Number depth)
options3d.setOption("depth", 100);
depth
- The total depth of the chart. Defaults to 100.
Options3D
instance for convenient method chaining.public Options3D setEnabled(Boolean enabled)
options3d.setOption("enabled", false);
enabled
- Whether to render the chart using the 3D functionality. Defaults to false.
Options3D
instance for convenient method chaining.public Options3D setFrame(Frame frame)
Frame
as well as its inner Frame.FramePanel
class. Equivalent to:
options3d.setOption("frame", new Frame());
frame
- An instance of the Frame
class.
Provides the option to draw a frame around the charts by defining a bottom, front and back panel.
Options3D
instance for convenient method chaining.Frame
,
Frame.FramePanel
public Options3D setViewDistance(Number viewDistance)
options3d.setOption("viewDistance", 30);
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. It is not used for 3D pie charts. Defaults to 100.
Options3D
instance for convenient method chaining.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |