Skip to content

Commit

Permalink
Refs #83520 fixed title overlap from moving the title in the y direction
Browse files Browse the repository at this point in the history
  • Loading branch information
ichim-david committed Apr 4, 2017
1 parent 53146eb commit 82c4fe7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions eea/googlecharts/views/js/chart.js
Expand Up @@ -260,11 +260,12 @@ function drawGoogleChart(options){
return;
}
el.setAttribute('x', '10');
el.setAttribute('y', window.parseInt(el.getAttribute('y')) - 5);
// el.setAttribute('y', window.parseInt(el.getAttribute('y')) - 5);
el.setAttribute('width', 650);
var next_el = $(el).next()[0];
if (next_el && next_el.tagName === "rect") {
next_el.setAttribute('x', 10);
next_el.setAttribute('width', 550);
next_el.setAttribute('width', 650);
}
el.setAttribute('PDF_MODIFIED', true);
});
Expand Down

0 comments on commit 82c4fe7

Please sign in to comment.