Index: lams_central/web/includes/javascript/chart.js =================================================================== diff -u -r732a4ae6cac3f936d7bee690671dc0a8c0200f8a -r49efefa7e14ad58719df993f6c2a977e61c31ff5 --- lams_central/web/includes/javascript/chart.js (.../chart.js) (revision 732a4ae6cac3f936d7bee690671dc0a8c0200f8a) +++ lams_central/web/includes/javascript/chart.js (.../chart.js) (revision 49efefa7e14ad58719df993f6c2a977e61c31ff5) @@ -260,8 +260,8 @@ var svg = d3.select(chartDiv[0]) .append("svg") - .attr('width', svgWidth) - .attr('height', svgHeight) + .attr('width', '100%')//this way it will take the full width of the parent + .attr('height', '100%')//this way it will take the full height of the parent .append("g") .attr("transform", "translate(0," + svgHeightOffset + ")");