How can i create more space at the top of the charts?
Now i get this:
But i want this:
This is my JS code:
$("table.chart").each(function() {
var colors = [];
$("table.chart thead th:not(:first)").each(function() {
colors.push($(this).css("color"));
});
$(this).graphTable({
series: 'columns',
position: 'replace',
width: '100%',
height: '200px',
colors: colors
}, {
xaxis: {
tickSize: 1
}
});
});
I have add this to the JS file and i get some space now from the top... It's not mutch but it is someting. :-)
Adjust the
autoscaleMargin
property of the y axis. From the API:Sounds like bumping it up from the default 0.02 will do what you want.