VU Meter Chart Tutorial With Examples

Today, We want to share with you VU Meter Chart Tutorial With Examples.In this post we will show you VU meter chart with example using highcharts, hear for How to make vu meter using highcharts with example we will give you demo and example for implement.In this post, we will learn about highcharts activity gauge with an example.

VU Meter Chart Tutorial With Examples

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

As I will cover this Post with live Working example to develop Create vu meter with indicators using highcharts example, so the fffffffffffffffffffff is used for this example is following below.

Highcharts VU Meter Chart Example

index.html

Free Live Chat for Any Issue

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.

Read Also:  Semi Circle Donut Tutorial With Examples

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Highcharts - VU Meter 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: 'gauge',
                plotBorderWidth: 1,
                plotBackgroundColor: {
                    linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 },
                    stops: [
                        [0, '#FFF4C6'],
                        [0.3, '#3d3d3d'],
                        [1, '#FFF4C6']
                    ]
                },
                plotBackgroundImage: null,
                height: 200
            }
            var graphTitle = {
                text: 'VU meter'
            }
            var chartpane = [{
                startAngle: -45,
                endAngle: 45,
                background: null,
                center: ['25%', '145%'],
                size: 300
            }, {
                startAngle: -45,
                endAngle: 45,
                background: null,
                center: ['75%', '145%'],
                size: 300
            }]
            var graphtooltip = {
                enabled: false
            }
            var graphyaxis = [{
                min: -20,
                max: 6,
                minorTickPosition: 'outside',
                tickPosition: 'outside',
                labels: {
                    rotation: 'auto',
                    distance: 20
                },
                plotBands: [{
                    from: 0,
                    to: 6,
                    color: '#C02316',
                    innerRadius: '100%',
                    outerRadius: '105%'
                }],
                pane: 0,
                title: {
                    text: 'VU<br/><span style="font-size:8px">Channel A</span>',
                    y: -40
                }
            }, {
                min: -20,
                max: 6,
                minorTickPosition: 'outside',
                tickPosition: 'outside',
                labels: {
                    rotation: 'auto',
                    distance: 20
                },
                plotBands: [{
                    from: 0,
                    to: 6,
                    color: '#C02316',
                    innerRadius: '100%',
                    outerRadius: '105%'
                }],
                pane: 1,
                title: {
                    text: 'VU<br/><span style="font-size:8px">Channel B</span>',
                    y: -40
                }
            }]
            var graphplotoptions = {
                gauge: {
                    dataLabels: {
                        enabled: false
                    },
                    dial: {
                        radius: '100%'
                    }
                }
            }
            var graphseries = [{
                name: 'Channel A',
                data: [-20],
                yAxis: 0
            }, {
                name: 'Channel B',
                data: [-20],
                yAxis: 1
            }]
            $('#chart-full-content').highcharts({
                chart:graphtype,
                title: graphTitle,
                pane: chartpane,
                tooltip:graphtooltip,
                yAxis: graphyaxis,
                plotOptions:graphplotoptions,
                series: graphseries
            },
             // Let the music play
        function (chart) {
            setInterval(function () {
                if (chart.series) { // the chart may be destroyed
                    var left = chart.series[0].points[0],
                        right = chart.series[1].points[0],
                        leftVal,
                        rightVal,
                        inc = (Math.random() - 0.5) * 3;
                    leftVal = left.y + inc;
                    rightVal = leftVal + inc / 3;
                    if (leftVal < -20 || leftVal > 6) {
                        leftVal = left.y - inc;
                    }
                    if (rightVal < -20 || rightVal > 6) {
                        rightVal = leftVal;
                    }
                    left.update(leftVal, false);
                    right.update(rightVal, false);
                    chart.redraw();
                }
            }, 500);
        });
        });
    </script>
</head>
<body>
    <div id="chart-full-content" style="width: 800px; height: 300px; margin: 0 auto"></div>
</body>
</html>

Web Programming Tutorials Example with Demo

Read :

Read Also:  Pie with Gradient Fill Chart Tutorial With Examples

Summary

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

Download

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