Looks Fixed by below code.
$(window).resize(function() {
var width = $(window).width();
var height = $(window).height();
viewer = JsChartViewer.get('<%=viewer.Id%>');
viewer.setCustomAttr("width",width)
viewer.setCustomAttr("height",height*.90)
viewer.setCustomAttr("zoomState", "F");
viewer.partialUpdate();
})
Is this correct way. |