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 Pyramid Chart Example
Keywords : Pyramid chart using higcharts with example, How to use highcharts to make pyramid chart with example, How to draw pyramid chart using highcharts with example
Example
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Highcharts - Pyramid 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/modules/funnel.js"></script> <script src="https://code.highcharts.com/modules/exporting.js"></script> <script type="text/javascript"> $(function () { var chartype = { type: 'pyramid', marginRight: 100 } var chartitle = { text: 'Sales pyramid', x: -50 } var chartplotoptions = { series: { dataLabels: { enabled: true, format: '<b>{point.name}</b> ({point.y:,.0f})', color: (Highcharts.theme && Highcharts.theme.contrastTextColor) || 'black', softConnector: true } } } var chartlegend = { enabled: false } var chartseries = [{ name: 'Unique users', data: [ ['Website visits', 15654], ['Downloads', 4064], ['Requested price list', 1987], ['Invoice sent', 976], ['Finalized', 846] ] }] $('#container').highcharts({ chart:chartype, title: chartitle, plotOptions:chartplotoptions, legend:chartlegend, series: chartseries }); }); </script> </head> <body> <div id="container" style="min-width: 410px; max-width: 600px; height: 400px; margin: 0 auto"></div> </body> </html>
Click Here to See Result
Result
Previous
Next