Waterfall Chart Tutorial With Examples and Demo

Today, We want to share with you Waterfall Chart Tutorial With Examples.In this post we will show you Waterfall chart using highcharts with example, hear for Waterfall chart to show data in different colors using highcharts with example we will give you demo and example for implement.In this post, we will learn about highcharts column chart with an example.

Free Live Chat for Any Issue

Waterfall Chart Tutorial With Examples

There are the Following The simple About highcharts waterfall stacked Full Information With Example and source code.

As I will cover this Post with live Working example to develop How to implement waterfall chart using highcharts, so the highcharts venn diagram is used for this example is following below.

Also Read This πŸ‘‰   Activity Gauge Chart Tutorial With Examples

Highcharts Waterfall 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 - Waterfall 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/highcharts-more.js"></script>
    <script src="https://code.highcharts.com/modules/exporting.js"></script>
    <script type="text/javascript">
        $(function () {
          
            var graphtype = {
                type: 'waterfall'
            }
            var graphTitle = {
                text: 'Highcharts Waterfall'
            }
            var graphxaxis = {
                type: 'category'
            }
            var graphyaxis = {
                title: {
                    text: 'USD'
                }
            }
            var graphlegend = {
                enabled: false
            }
            var graphtooltip = {
                pointFormat: '<b>${point.y:,.2f}</b> USD'
            }
            var graphseries = [{
                upColor: Highcharts.getOptions().colors[2],
                color: Highcharts.getOptions().colors[3],
                data: [{
                    name: 'Start',
                    y: 120000
                }, {
                    name: 'Product Revenue',
                    y: 569000
                }, {
                    name: 'Service Revenue',
                    y: 231000
                }, {
                    name: 'Positive Balance',
                    isIntermediateSum: true,
                    color: Highcharts.getOptions().colors[1]
                }, {
                    name: 'Fixed Costs',
                    y: -342000
                }, {
                    name: 'Variable Costs',
                    y: -233000
                }, {
                    name: 'Balance',
                    isSum: true,
                    color: Highcharts.getOptions().colors[1]
                }],
                dataLabels: {
                    enabled: true,
                    formatter: function () {
                        return Highcharts.numberFormat(this.y / 1000, 0, ',') + 'k';
                    },
                    style: {
                        color: '#3d3d3d',
                        fontWeight: 'bold',
                        textShadow: '0px 0px 3px black'
                    }
                },
                pointPadding: 0
            }]
            $('#chart-full-content').highcharts({
                chart:graphtype,
                title: graphTitle,
                xAxis: graphxaxis,
                yAxis: graphyaxis,
                legend:graphlegend,
                tooltip:graphtooltip,
                series: graphseries
            });
        });
    </script>
</head>
<body>
    <div id="chart-full-content" style="min-width: 335px; max-width: 800px; height: 425px; margin: 0 auto"></div>
</body>
</html>

Web Programming Tutorials Example with Demo

Read :

Also Read This πŸ‘‰   3D Pie Chart Tutorial With Examples

Summary

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

I hope you get an idea about highcharts timeline.
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.

Rate this post