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
}
}
}
});