From f9ef9b1ece28e329d7f4705fb1ad06a724645b1b Mon Sep 17 00:00:00 2001 From: Bob Monteverde Date: Thu, 7 Jun 2012 19:12:38 -0400 Subject: [PATCH] Removed deprecated dotRadius from stackaedAreaWithLegend --- src/models/stackedAreaWithLegend.js | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/models/stackedAreaWithLegend.js b/src/models/stackedAreaWithLegend.js index 1598a71..5f3123c 100644 --- a/src/models/stackedAreaWithLegend.js +++ b/src/models/stackedAreaWithLegend.js @@ -3,7 +3,6 @@ nv.models.stackedAreaWithLegend = function() { var margin = {top: 30, right: 20, bottom: 50, left: 60}, getWidth = function() { return 960 }, getHeight = function() { return 500 }, - dotRadius = function() { return 2.5 }, color = d3.scale.category20().range(); var x = d3.scale.linear(), @@ -225,7 +224,7 @@ nv.models.stackedAreaWithLegend = function() { chart.dispatch = dispatch; - d3.rebind(chart, stacked, 'interactive', 'clipEdge'); + d3.rebind(chart, stacked, 'interactive', 'clipEdge', 'size'); chart.x = function(_) { if (!arguments.length) return getX; @@ -259,13 +258,6 @@ nv.models.stackedAreaWithLegend = function() { return chart; }; - chart.dotRadius = function(_) { - if (!arguments.length) return dotRadius; - dotRadius = d3.functor(_); - stacked.dotRadius = _; - return chart; - }; - chart.stacked = stacked; chart.xAxis = xAxis; chart.yAxis = yAxis;