Rank: Advanced Member
Groups: Administrators, DataVizJavaScript, jQueryChart, jQueryDV, MvcChart, Registered Joined: 1/3/2011(UTC) Posts: 483
Thanks: 0 times Was thanked: 87 time(s) in 87 post(s)
|
Hi, You can use this code to set the width and height: Code: var width = window.innerWidth; var height = window.innerHeight;
if (window.devicePixelRatio == 2) {
width *= 2; height *= 2; }
var jqChart = $('#jqChart').jqChart({ width: width, height : height, … Currently, jqChart doesn’t provide settings for custom scaling, but if you want we can add this functionality and send you a working version. Best Regards, Dragan Matek jqChart Inc.
|