|
|
@ -1018,9 +1018,7 @@ |
|
|
|
.attr("cx", function(d){ return x(d.x) }) |
|
|
|
.attr("cx", function(d){ return x(d.x) }) |
|
|
|
.attr("cy", function(d){ return y(d.value) }) |
|
|
|
.attr("cy", function(d){ return y(d.value) }) |
|
|
|
.attr("r", __point_r) |
|
|
|
.attr("r", __point_r) |
|
|
|
mainCircle.exit() |
|
|
|
mainCircle.exit().remove() |
|
|
|
.attr("y", 0) |
|
|
|
|
|
|
|
.remove() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// bars
|
|
|
|
// bars
|
|
|
|
barW = getBarW(xAxis, barTargetsNum) |
|
|
|
barW = getBarW(xAxis, barTargetsNum) |
|
|
@ -1071,6 +1069,10 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// circles for select
|
|
|
|
// circles for select
|
|
|
|
|
|
|
|
main.selectAll('.selected-circles') |
|
|
|
|
|
|
|
.filter(function(d){ return isBarType(d); }) |
|
|
|
|
|
|
|
.selectAll('circle') |
|
|
|
|
|
|
|
.remove() |
|
|
|
main.selectAll('.selected-circle') |
|
|
|
main.selectAll('.selected-circle') |
|
|
|
.attr("cx", function(d) { return x(d.x) }) |
|
|
|
.attr("cx", function(d) { return x(d.x) }) |
|
|
|
.attr("cy", function(d) { return y(d.value) }) |
|
|
|
.attr("cy", function(d) { return y(d.value) }) |
|
|
|