Minifying Pull Request #66 plus a minor tweak

master-patched
Bob Monteverde 12 years ago
parent 7b195d9f6d
commit bd58161273

@ -3188,8 +3188,8 @@ nv.models.linePlusBarChart = function() {
var showTooltip = function(e, offsetElement) {
var left = e.pos[0] + ( offsetElement.offsetLeft || 0 ),
top = e.pos[1] + ( offsetElement.offsetTop || 0),
x = xAxis.tickFormat()(lines.x()(e.point)),
y = yAxis1.tickFormat()(lines.y()(e.point)),
x = xAxis.tickFormat()(lines.x()(e.point, e.pointIndex)),
y = yAxis1.tickFormat()(lines.y()(e.point, e.pointIndex)),
content = tooltip(e.series.key, x, y, e, chart);
nv.tooltip.show([left, top], content, e.value < 0 ? 'n' : 's');

6
nv.d3.min.js vendored

File diff suppressed because one or more lines are too long

@ -29,7 +29,7 @@ nv.models.linePlusBarChart = function() {
var left = e.pos[0] + ( offsetElement.offsetLeft || 0 ),
top = e.pos[1] + ( offsetElement.offsetTop || 0),
x = xAxis.tickFormat()(lines.x()(e.point, e.pointIndex)),
y = yAxis1.tickFormat()(lines.y()(e.point)),
y = yAxis1.tickFormat()(lines.y()(e.point, e.pointIndex)),
content = tooltip(e.series.key, x, y, e, chart);
nv.tooltip.show([left, top], content, e.value < 0 ? 'n' : 's');

Loading…
Cancel
Save