<!--//
//Open new window
function OpenWindow(sPath, iHeight, iWidth ) {
var winName = "newWind" + Math.round(Math.random() * 9999999);
window.open(sPath, winName, 'height=' + iHeight + ',width=' + iWidth + ',scrollbars,resizable,top=20,left=20')
}
//Open new window with Menubar
function OpenWindowWithMenubar(sPath, iHeight, iWidth ) {
var winName = "newWind" + Math.round(Math.random() * 9999999);
window.open(sPath, winName, 'height=' + iHeight + ',width=' + iWidth + ',scrollbars,resizable,menubar,top=20,left=20')
}
// -->
<a href="javascript:OpenWindow('
530, 680)"><Click here to open new window</a>
' just replace '530, 680' with whatever you calculate your chart's dimensions +1 to.