Yes. I mean width as pixles. I am sorry for my ambiguous question. I would like both graphs to be the exact same width and line up with the red line on the right.
I have set both graph containers to 700px but for some reason the bottom graph is smaller.
$.plot($("#emp_size"), [
{
data: emp_size,
bars: { show: true, align: 'center', barWidth: 0.5 },
color : 'red',
}],
{
xaxis: { ticks: emp_labels },
yaxis:{ tickFormatter: function (val, axis) { return val + "%"} }
}
);
// Bottom Chart
$.plot($("#issue_types"), [
{
data: issue_types,
bars: { show: true, align: 'center', barWidth: 0.5 },
color : 'red'
}],
{
xaxis: { ticks: issue_labels },
yaxis:{ tickFormatter: function (val, axis) { return val + "%"} }
}
);
