Experimenting with 3D chart orientation
To enable the 3D feature, we first need to include the extension as follows:
<script src="http://code.highcharts.com/highcharts-3d.js"></script>
In Highcharts, there are two levels of 3D options: chart and series. The chart level options are located in chart.options3d
, which mainly deals with the orientation and the frame around the plotting area, whereas the 3D options for the series remain in the usual plotOptions
area, such as plotOptions.column.depth
.
Currently, Highcharts supports 2 axles of rotation: horizontal and vertical, which are the alpha
and beta
options in chart.options3d
respectively. The values for these options are in degrees. The following diagram illustrates with arrows the direction of chart ...
Get Learning Highcharts 4 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.