Highcharts option to specify label y axis

Here is a Highcharts example of how to specify the y axis label:

$chart1->options([
    'title' => [
        'text' => "Spread"
    ],
    'yAxis' => [
        'title' => [
            'text' => 'Values'
        ]
    ]
]);

Share this article

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to Top