height - jQuery flot more space at the top -



height - jQuery flot more space at the top -

how can create more space @ top of charts?

now this:

but want this:

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

adjust autoscalemargin property of y axis. api:

the "autoscalemargin" bit esoteric: it's fraction of margin scaling algorithm add together avoid outermost points ends on grid border. note margin applied when min or max value not explicitly set. if margin specified, plot furthermore extend axis end-point nearest whole tick. default value "null" x axes , 0.02 y axes seems appropriate cases.

sounds bumping default 0.02 want.

jquery height flot space

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -