Spline with Inverted Axes Chart Tutorial

Today, We want to share with you Spline with Inverted Axes Chart Tutorial.In this post we will show you How to implement inverted axes in spline chart using highcharts, hear for Spline chart with inverted axes using highcharts we will give you demo and example for implement.In this post, we will learn about highcharts trend chart with an example.

Spline with Inverted Axes Chart Tutorial

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

As I will cover this Post with live Working example to develop highcharts marker example, so the basic line chart in highcharts is used for this example is following below.

Also Read This 👉   Activity Gauge Chart Tutorial With Examples

Highcharts Spline with Inverted Axes 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 Spline with inverted axes 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: 'spline',
                inverted: true
            }
            var graphTitle = {
                text: 'Atmosphere Temperature by Altitude'
            }
            var graphchildtitle = {
                text: 'According to the Standard Atmosphere Model'
            }
            var graphxaxis = {
                reversed: false,
                title: {
                    enabled: true,
                    text: 'Altitude'
                },
                labels: {
                    formatter: function () {
                        return this.value + 'km';
                    }
                },
                maxPadding: 0.05,
                showLastLabel: true
            }
            var graphyaxis = {
                title: {
                    text: 'Temperature'
                },
                labels: {
                    formatter: function () {
                        return this.value + '°';
                    }
                },
                lineWidth: 2
            }
            var graphlegend = {
                enabled: false
            }
            var graphtooltip = {
                headerFormat: '<b>{series.name}</b><br/>',
                pointFormat: '{point.x} km: {point.y}°C'
            }
            var graphplotoptions = {
                spline: {
                    marker: {
                        enable: false
                    }
                }
            }
            var graphseries = [{
                name: 'Temperature',
                data: [[0, 15], [10, -50], [20, -56.5], [30, -46.5], [40, -22.1],
                    [50, -2.5], [60, -27.7], [70, -55.7], [80, -76.5]]
            }]
                $('#chart-full-content').highcharts({
                    chart:graphtype,
                    title: graphTitle,
                    subtitle: graphchildtitle,
                    xAxis: graphxaxis,
                    yAxis: graphyaxis,
                    legend: graphlegend,
                    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 :

Also Read This 👉   Spline Chart Updating Each Second Tutorial With Examples

Summary

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

I hope you get an idea about highcharts line chart example code.
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.