jquery flot xaxis how to make labels go under the chart?

时间:2016-05-17 11:13:06

标签: javascript jquery css flot axis-labels

I have a chart that is being generated using flot. Due to large variation in data and a lot of columns I get following:

enter image description here

where some names are longer when columns and they start covering them. I am trying now to move names so they would stay under the chart.

mechanism I am using ATM

function onCancellationAgentsReceived(series) {
        $("#agentcancellations").empty();
        $.plot("#agentcancellations", [series], { bars: { show: true, align: "center" }, xaxis: { mode: "categories", tickLength: 0, position :"bottom",   } });
    }

How do I move labels under the chart?

0 个答案:

没有答案