|
|
|
@ -57,11 +57,11 @@ nv.models.scatterChart = function() {
|
|
|
|
|
yVal = yAxis.tickFormat()(scatter.y()(e.point, e.pointIndex));
|
|
|
|
|
|
|
|
|
|
if( tooltipX != null )
|
|
|
|
|
nv.tooltip.show([leftX, topX], tooltipX(e.series.key, xVal, yVal, e, chart), 'n', 1, null, 'x-nvtooltip');
|
|
|
|
|
nv.tooltip.show([leftX, topX], tooltipX(e.series.key, xVal, yVal, e, chart), 'n', 1, offsetElement, 'x-nvtooltip');
|
|
|
|
|
if( tooltipY != null )
|
|
|
|
|
nv.tooltip.show([leftY, topY], tooltipY(e.series.key, xVal, yVal, e, chart), 'e', 1, null, 'y-nvtooltip');
|
|
|
|
|
nv.tooltip.show([leftY, topY], tooltipY(e.series.key, xVal, yVal, e, chart), 'e', 1, offsetElement, 'y-nvtooltip');
|
|
|
|
|
if( tooltip != null )
|
|
|
|
|
nv.tooltip.show([left, top], tooltip(e.series.key, xVal, yVal, e, chart), e.value < 0 ? 'n' : 's');
|
|
|
|
|
nv.tooltip.show([left, top], tooltip(e.series.key, xVal, yVal, e, chart), e.value < 0 ? 'n' : 's', null, offsetElement);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
var controlsData = [
|
|
|
|
|