I am using jQuery chart with category plugins to create diagrams. I want to build two bars side by side for each month using this code:
$.plot(".chart", [ { label: "Neue Mitglieder", data: data, order: 1 }, { label: "Fällige Kündigungen", data: data2, order: 2 } ], { series: { bars: { show: true, barWidth: 0.5, align: "center", } }, xaxis: { mode: "categories", ticks: [[0,"Jan"], [1,"Feb"], [2,"Mär"], [3,"Apr"], [4,"Mai"], [5,"Jun"], [6,"Jul"], [7,"Aug"], [8,"Sep"], [9,"Okt"], [10,"Nov"], [11,"Dez"]], tickLength: 1, }, grid: { hoverable: true, }, yAxis: { allowDecimals:false, } });
And what is my result:

Fonts still overlap, but I want my result to look like

Does anyone know what happened to my code? I thought the order option would fix this problem, but it didn’t change anything.
Here's jsfiddle: http://jsfiddle.net/buk8mhy8/