Set axis title text to null

Description

The following code shows how to set axis title text to null.

Example


<!DOCTYPE html>
<html>
<head>
<script type='text/javascript' src='https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js'></script>
<script type='text/javascript'>
$(function () {<!--from  w w w .ja  v  a 2s .c o m-->
    $('#container').highcharts({
        chart: {
            type: 'area'
        },
        yAxis: {
           title: {
              text: null
           }
        },

        series: [{
            name: 'A',
            data: [5, 3, 4, 7, 2]
        }, {
            name: 'B',
            data: [2, -2, -3, 2, 1]
        }, {
            name: 'C',
            data: [3, 4, 4, -2, 5]
        }]

    });    
});
</script>
</head>
<body>
<script src="http://code.highcharts.com/highcharts.js"></script>
<div id="container" style="min-width: 310px; height: 400px; max-width: 800px; margin: 0 auto"></div>

</body>
</html>

Click to view the demo





















Home »
  highcharts »
    Axis »




Axis
Axis Data
Axis Label
Axis Plot
Axis Tick
Axis Title