HighCharts: Visible does not work

1

I'm trying to remove oo xAxis with visible: false as shown in documentation , but it is not working.

The version of JQuery is: v1.10.2 (2013-07-03) . The Highcharts version is: v4.0.3 (2014-07-03)

Excerpt from my chart JS code:

    $('#container').highcharts({
            chart: {
                type: 'spline'
            },
            credits:{
                enabled: false
            },
            title: {
                text: 'Relatório'
            },

            subtitle: {
                text: 'Estatística de Desempenho'
            },

            xAxis:{
            visible: false
            },

            yAxis: {
                allowDecimals: false,
                title: {
                    text: 'Fruit'
                }
            },

            series: [{
                name: 'Tendência',
                data: <?php echo $encodeValorTendencia; ?>
            }, {
                name: 'Obtenção',
                data: <?php echo $encodeValorObtencao; ?>
            }],

            legend: {
                align: 'center',
                verticalAlign: 'bottom'
            },

            tooltip: {
                shared: true
            },

            plotOptions: {
                series: {
                    animation: {
                        duration: 8000
                    }
                }
            }
        });
    
asked by anonymous 26.09.2017 / 16:30

1 answer

3

This property is only valid from version 4.1.9, according to Highcharts itself - mentioned above

It works with the latest version: link , but not with 4.0.3 link

    
26.09.2017 / 16:56