Commit 508f601a authored by David Anderson's avatar David Anderson
Browse files

undit the margin fix to scatter chart only

parent 4f83748c
......@@ -53,8 +53,6 @@ export class ScatterChartImplementation extends BaseChartImplementation {
public getDataAtCoord( px: number, py: number, closeEnough: number ): DataPoint[] {
let activePoints: Array<Point> = [];
px += this.chart.margin;
py += this.chart.margin;
let xi = px - closeEnough, xo = px + closeEnough, yi = py - closeEnough, yo = py + closeEnough;
this.quadTree.visit(( node: any, x0, y0, x1, y1 ) => {
if ( !node.length ) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment