How is it that this works:
$("#linechart").css({
position:'fixed',
top: "4%",
left: "2%",
height: "92%",
width: "96%"
});
and this breaks all the javascript:
$("#linechart").css({
position:'fixed',
top: "4%",
left: "2%",
height: "92%",
width: "96%",
z-index: "5"
});