Waterfall Chart Tutorial With Examples and Demo

Rate this post

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.

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.

Read Also:  Heat Map Tutorial With Examples For Beginners

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.

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 - 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 :

Read Also:  Stacked Area Chart Tutorial With Examples

Summary

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

Download

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.