I'm trying to create some space to the right of the graph so that the graph allows a good view of the numbers on the axis to the right.
chart:{
spacingRight: 100, // no funciona
...
}
I tried to use that code, but it doesn't work for me, the graph keeps coming out as in the image above.
Here I attach the entire code:
$(function() {
$('#testing').highcharts('StockChart', {
navigator: {
enabled: false
},
rangeSelector: {
allButtonsEnabled: false,
selected: 0,
inputEnabled: false,
},
series: [{
name: "...",
chart:{
spacingRight: 10, // ESTO NO FUNCTIONA
margin:0
},
data: [
[
//data
],
]
}],
});
});
The property
chart
shouldn't go inside the propertyseries
, but it should go in the first level as follows: