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 Examples
Keywords : jQuery highcharts examples, Simple chart examples using highcharts, jQuery simple bar chart example using highcharts
Example
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Highcharts Simple Bar Chart</title> <script src="https://code.jquery.com/jquery-1.12.4.js"></script> <script src="https://code.highcharts.com/highcharts.js"></script> <script type="text/javascript"> $(function () { var charttype = { type: 'bar' } var chartitle = { text: 'Fruit Consumption' } var chartxaxis = { categories: ['Apples', 'Bananas', 'Oranges'] } var chartyaxis = { title: { text: 'Fruit eaten' } } var chartseries = [{ name: 'Jane', data: [1, 0, 4] }, { name: 'John', data: [5, 7, 3] }] $('#container').highcharts({ chart:charttype, title: chartitle, xAxis:chartxaxis, yAxis: chartyaxis, series: chartseries }); }); </script> </head> <body> <div id="container" style="height: 300px"></div> </body> </html>
Click Here to See Result
Result
Next