Basic Column Chart Tutorial With Examples

Today, We want to share with you Basic Column Chart Tutorial With Examples.In this post we will show you Simple highcharts basic column chart with example, hear for How to create basic column chart using highcharts we will give you demo and example for implement.In this post, we will learn about highcharts line chart with an example.

Basic Column Chart Tutorial With Examples

There are the Following The simple About highcharts bar chart multiple series Full Information With Example and source code.

As I will cover this Post with live Working example to develop How to show basic column chart with example, so the angular ” highcharts – bar chart is used for this example is following below.

Highcharts Basic Column Chart Example

index.html

Angular is a platform for building mobile & desktop web Based user friendly and light weight applications.Angular,It’s TypeScript-based open-source Angularjs web application framework.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Highcharts Basic column Chart - www.pakainfo.com</title>
    <script src="https://www.pakainfo.com/jquery/js/jquery-1.12.4.js"></script>
    <script src="https://www.pakainfo.com/jquery/js/highcharts.js"></script>
    <script src="https://code.highcharts.com/modules/exporting.js"></script>
    <script type="text/javascript">
        $(function () {
            var graphtype = {
                type: 'column'
            }
            var graphTitle = {
                text: 'Monthly Average Rainfall'
            }
            var graphchildtitle = {
                text: 'Source: Pakainfo.com'
            }
            var graphxaxis = {
                categories: [
                    'Jan',
                    'Feb',
                    'Mar',
                    'Apr',
                    'May',
                    'Jun',
                    'Jul',
                    'Aug',
                    'Sep',
                    'Oct',
                    'Nov',
                    'Dec'
                ],
                crosshair: true
            }
            var graphyaxis = {
                min: 0,
                title: {
                    text: 'Rainfall (mm)'
                }
            }
            var graphtooltip = {
                headerFormat: '<span style="font-size:10px">{point.key}</span><table>',
                pointFormat: '<tr><td style="color:{series.color};padding:0">{series.name}: </td>' +
                    '<td style="padding:0"><b>{point.y:.1f} mm</b></td></tr>',
                footerFormat: '</table>',
                shared: true,
                useHTML: true
            }
            var graphplotoptions = {
                column: {
                    pointPadding: 0.2,
                    borderWidth: 0
                }
            }
            var graphseries = [{
                name: 'Surat',
                data: [49.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4]
            }, {
                name: 'Jamamangar',
                data: [83.6, 78.8, 98.5, 93.4, 106.0, 84.5, 105.0, 104.3, 91.2, 83.5, 106.6, 92.3]
            }, {
                name: 'Rajkot',
                data: [48.9, 38.8, 39.3, 41.4, 47.0, 48.3, 59.0, 59.6, 52.4, 65.2, 59.3, 51.2]
            }, {
                name: 'Ahemdabad',
                data: [42.4, 33.2, 34.5, 39.7, 52.6, 75.5, 57.4, 60.4, 47.6, 39.1, 46.8, 51.1]
            }]
            $('#chart-full-content').highcharts({
                chart:graphtype,
                title: graphTitle,
                subtitle:graphchildtitle,
                xAxis:graphxaxis,
                yAxis: graphyaxis,
                tooltip: graphtooltip,
                plotOptions: graphplotoptions,
                series: graphseries
            });
        });
    </script>
</head>
<body>
    <div id="chart-full-content" style="min-width: 335px; height: 425px; margin: 0 auto"></div>
</body>
</html>

Web Programming Tutorials Example with Demo

Read :

Summary

You can also read about AngularJS, ASP.NET, VueJs, PHP.

I hope you get an idea about highcharts pie chart.
I would like to have feedback on my infinityknow.com blog.
Your valuable feedback, question, or comments about this article are always welcome.
If you enjoyed and liked this post, don’t forget to share.


Related FAQ

Here are some more FAQ related to this Article:

  1.   3D Column with Null and 0 Values Chart Tutorial
  2.   Stacked Percentage Column Chart Tutorial With Examples
  3.   Donut Chart Tutorial With Examples with demo
  4.   Column Chart with Negative Values Tutorial With Examples
  5.   Activity Gauge Chart Tutorial With Examples
  6.   Fixed Placement Columns Chart Tutorial With Examples
  7.   Pie Chart Tutorial With Examples with Demo
  8.   Area Range and Line Chart Tutorial With Examples
  9.   Basic Line Chart Tutorial With Examples
  10.   Area Range Chart Tutorial With Examples