From 5fce82e65a75794c40be46e90a63b6ad3766e4a8 Mon Sep 17 00:00:00 2001 From: abe- Date: Sat, 17 Jun 2017 21:38:04 +0200 Subject: [PATCH] parcelas --- docs/graficos/parcelas.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/graficos/parcelas.js b/docs/graficos/parcelas.js index 68876c8..de2f003 100644 --- a/docs/graficos/parcelas.js +++ b/docs/graficos/parcelas.js @@ -31,7 +31,7 @@ function setup() { var framesWidth = window.parent.$("iframe.p5").width(); var framesHeight = window.parent.$("iframe.p5").height(); - createCanvas(w,h); + createCanvas(framesWidth,framesHeight); nombres = new Array("Norte","Duero","Ebro","Pirineo","Jucar","Tajo","Guadiana","Guadalquivir","Sur", "Segura", "Baleares y Canarias"); colores = new Array("#f00","#0f0","#00f","#ff0","#0ff","#a00","#0a0","#00a","#aa0","#0aa", "#aaa"); x = new Array(158,243, 429, 597, 432, 268, 226, 253, 362,432, 611);