Index: lams_central/web/includes/javascript/chart.js =================================================================== diff -u -r97f98aae7a2eedbfb3f591309f4d5cf8356d0e08 -ra83b0eec89979dce7415b02afdda324b14018dbb --- lams_central/web/includes/javascript/chart.js (.../chart.js) (revision 97f98aae7a2eedbfb3f591309f4d5cf8356d0e08) +++ lams_central/web/includes/javascript/chart.js (.../chart.js) (revision a83b0eec89979dce7415b02afdda324b14018dbb) @@ -74,7 +74,7 @@ // otherwise the chart would be too wide var tooltip = legend ? null : d3.select($(svg.node()).parent()[0]) .append('div') - .attr('class', 'tooltip'), + .attr('class', 'chartTooltip'), legendWidth = legend ? legend.node().getBBox().width : 0, // guess how wide the chart can be and compare it to half of available width canvasWidth = (rawData.length * MIN_BAR_WIDTH * 1.1 + CHART_MARGIN.left > width / 2 ? @@ -149,7 +149,7 @@ // calculate how much space we've got for the chart var tooltip = legend ? null : d3.select($(svg.node()).parent()[0]) .append('div') - .attr('class', 'tooltip'), + .attr('class', 'chartTooltip'), legendWidth = legend ? legend.node().getBBox().width : 0, canvasWidth = width - legendWidth - (legend ? CHART_MARGIN.right : 0), radius = Math.min(canvasWidth, height) / 2,