fixed scaling of graphs
This commit is contained in:
@ -78,8 +78,8 @@ $(function() {
|
||||
function graph_assesses() {
|
||||
// MAKE THE GRAPH
|
||||
var width_ratio = .8;
|
||||
if (width_ratio > 1000){
|
||||
width_ratio = 1000;
|
||||
if (getWidth()*width_ratio > 1000){
|
||||
width_ratio = 1000/getWidth();
|
||||
}
|
||||
var height_ratio = .7; // percent of height
|
||||
|
||||
|
Reference in New Issue
Block a user