Home
Tutorials
Microsoft Technologies Tutorials
Java Programming Tutorials
Web Designing Tutorials
Script Programming Tutorials
Database Programming Tutorials
Mobile Technologies Tutorials
Other Programming Tutorials
Examples
Articles
Tools
News
Highcharts 3D Column with Null and 0 Values Chart Example
Keywords : How to use highcharts to create 3d column chart with null and 0 values, 3D column chart with null and 0 values example using highcharts
Example
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Highcharts - 3D column with null and 0 values chart</title> <script src="https://code.jquery.com/jquery-1.12.4.js"></script> <script src="https://code.highcharts.com/highcharts.js"></script> <script src="https://code.highcharts.com/highcharts-3d.js"></script> <script src="https://code.highcharts.com/modules/exporting.js"></script> <script type="text/javascript"> $(function () { var chartype = { type: 'column', options3d: { enabled: true, alpha: 10, beta: 25, depth: 70 } } var chartitle = { text: '3D chart with null values' } var chartsubtitle = { text: 'Notice the difference between a 0 value and a null point' } var chartxaxis = { categories: Highcharts.getOptions().lang.shortMonths } var chartyaxis = { title: { text: null } } var chartplotoptions = { column: { depth: 25 } } var chartseries = [{ name: 'Sales', data: [2, 3, null, 4, 0, 5, 1, 4, 6, 3] }] $('#container').highcharts({ chart:chartype, title: chartitle, subtitle:chartsubtitle, xAxis:chartxaxis, yAxis: chartyaxis, plotOptions: chartplotoptions, series: chartseries }); }); </script> </head> <body> <div id="container" style="min-width: 310px; height: 400px; margin: 0 auto"></div> </body> </html>
Click Here to See Result
Result
Previous
Next