Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Highcharts 3D Column Chart with Null Values (null) and 0

Highcharts 3D Column Chart with Null Values (null) and 0

Highcharts 3D ChartHighcharts 3D Chart

The following example demonstrates a 3D column chart with null values (null) and 0.

We learned the basic Highcharts configuration syntax in the previous chapters. Now let's look at some other configurations.


Configure

chart.options3d Configuration

The following lists the basic configuration for 3D charts. Set the type property of chart to column, and the options3d option can set the 3D effect.



var chart = {

   type: 'column',

   options3d: {

         enabled: true,     //显示图表是否设置为3D, 我们将其设置为 true

         alpha: 15,         //图表视图旋转角度

         beta: 15,          //图表视图旋转角度

         depth: 50,         //图表的合计深度,默认为100

         viewDistance: 25   //定义图表的浏览长度

   }

};

Example

Filename: highcharts_3d_column_null.htm









Highcharts 教程 | Runoob Tutorial(runoob.com)





  





The output of the above example is:

Highcharts 3D ChartHighcharts 3D Chart