Column Pie & Line Chart Tutorial With Examples

0
()

Today, We want to share with you Column Pie & Line Chart Tutorial With Examples.In this post we will show you Combination column pie and line charts using highcharts with example, hear for How to show column pie and line charts in one chart using highcharts with examples we will give you demo and example for implement.In this post, we will learn about Highcharts – Chart with Column, Line and Pie with an example.

Column Pie & Line Chart Tutorial With Examples

There are the Following The simple About basic line chart in highcharts Full Information With Example and source code.

As I will cover this Post with live Working example to develop Highcharts demos | Highcharts, so the Columnchart, linecharts and piecharts is used for this example is following below.

Read Also:  Area with Negative Values Chart Tutorial

Highcharts Column Pie & Line 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.

Free Live Chat for Any Issue

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Highcharts Column, line and pie 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 graphTitle = {
                text: 'Combination chart'
            }
            var graphxaxis = {
                categories: ['Education', 'Advisors', 'Pears', 'Markets', 'Plums']
            }
            var chartlabels = {
                items: [{
                    html: 'Total fruit consumption',
                    style: {
                        left: '50px',
                        top: '18px',
                        color: (Highcharts.theme && Highcharts.theme.textColor) || 'black'
                    }
                }]
            }
            var graphseries = [{
                type: 'column',
                name: 'Margerita Sisodariya',
                data: [3, 2, 1, 3, 4]
            }, {
                type: 'column',
                name: 'Bill Gates',
                data: [2, 3, 5, 7, 6]
            }, {
                type: 'column',
                name: 'Killys',
                data: [4, 3, 3, 9, 0]
            }, {
                type: 'spline',
                name: 'Average',
                data: [3, 2.67, 3, 6.33, 3.33],
                marker: {
                    lineWidth: 2,
                    lineColor: Highcharts.getOptions().colors[3],
                    fillColor: 'tomato'
                }
            }, {
                type: 'pie',
                name: 'Total consumption',
                data: [{
                    name: 'Margerita Sisodariya',
                    y: 13,
                    color: Highcharts.getOptions().colors[0] // Margerita Sisodariya's color
                }, {
                    name: 'Bill Gates',
                    y: 23,
                    color: Highcharts.getOptions().colors[1] // Bill Gates's color
                }, {
                    name: 'Killys',
                    y: 19,
                    color: Highcharts.getOptions().colors[2] // Killys's color
                }],
                center: [100, 80],
                size: 100,
                showInLegend: false,
                dataLabels: {
                    enabled: false
                }
            }]
            $('#chart-full-content').highcharts({
                title: graphTitle,
                xAxis: graphxaxis,
                labels:chartlabels,
                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 :

Read Also:  Area Range Chart Tutorial With Examples

Summary

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

Download

I hope you get an idea about highcharts pie chart – jsfiddle.
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.