diff --git a/deprecated/scatterChart.js b/deprecated/scatterChart.js index 1517463..77dde1e 100644 --- a/deprecated/scatterChart.js +++ b/deprecated/scatterChart.js @@ -54,7 +54,7 @@ nv.models.scatterChart = function() { that = this; //TODO: decide if this makes sense to add into all the models for ease of updating (updating without needing the selection) - chart.update = function() { selection.transition().call(chart) }; + chart.update = function() { container.transition().call(chart) }; var availableWidth = (width || parseInt(container.style('width')) || 960) @@ -169,8 +169,8 @@ nv.models.scatterChart = function() { return d; }); } - - selection.transition().call(chart) + + chart.update(); }); /* diff --git a/examples/legend.html b/examples/legend.html index 3fb0a19..9802517 100644 --- a/examples/legend.html +++ b/examples/legend.html @@ -8,7 +8,7 @@ - + + diff --git a/examples/lineChart.html b/examples/lineChart.html index ae7a97d..7f7dd72 100644 --- a/examples/lineChart.html +++ b/examples/lineChart.html @@ -36,7 +36,7 @@ svg { - + diff --git a/examples/lineChartSVGResize.html b/examples/lineChartSVGResize.html index b3ae233..5e79e84 100644 --- a/examples/lineChartSVGResize.html +++ b/examples/lineChartSVGResize.html @@ -27,7 +27,7 @@ svg { - + diff --git a/examples/linePlusBarChart.html b/examples/linePlusBarChart.html index 28127da..b60758a 100644 --- a/examples/linePlusBarChart.html +++ b/examples/linePlusBarChart.html @@ -32,7 +32,7 @@ text { - + diff --git a/examples/linePlusBarWithFocusChart.html b/examples/linePlusBarWithFocusChart.html index cf78269..7f05b45 100644 --- a/examples/linePlusBarWithFocusChart.html +++ b/examples/linePlusBarWithFocusChart.html @@ -32,7 +32,7 @@ text { - + diff --git a/examples/lineWithFisheyeChart.html b/examples/lineWithFisheyeChart.html index 12d78b6..2830e29 100644 --- a/examples/lineWithFisheyeChart.html +++ b/examples/lineWithFisheyeChart.html @@ -36,7 +36,7 @@ svg { - + diff --git a/examples/lineWithFocusChart.html b/examples/lineWithFocusChart.html index 06bd19a..2ffdc7f 100644 --- a/examples/lineWithFocusChart.html +++ b/examples/lineWithFocusChart.html @@ -36,7 +36,7 @@ svg { - + diff --git a/examples/multiBar.html b/examples/multiBar.html index 667c7e1..c7faf25 100644 --- a/examples/multiBar.html +++ b/examples/multiBar.html @@ -21,7 +21,7 @@ text { - + diff --git a/examples/multiBarChart.html b/examples/multiBarChart.html index 0289118..ce705ce 100644 --- a/examples/multiBarChart.html +++ b/examples/multiBarChart.html @@ -32,7 +32,7 @@ text { - + diff --git a/examples/multiBarHorizontalChart.html b/examples/multiBarHorizontalChart.html index 4245e4f..b948c55 100644 --- a/examples/multiBarHorizontalChart.html +++ b/examples/multiBarHorizontalChart.html @@ -35,7 +35,7 @@ text { - + diff --git a/examples/multiChart.html b/examples/multiChart.html index 5fc3525..1d5fff9 100644 --- a/examples/multiChart.html +++ b/examples/multiChart.html @@ -1,4 +1,5 @@ + @@ -32,7 +33,7 @@ text { - + @@ -91,3 +92,4 @@ nv.addGraph(function() { }); + \ No newline at end of file diff --git a/examples/parallelCoordinates.html b/examples/parallelCoordinates.html index 10fca6b..8dace04 100644 --- a/examples/parallelCoordinates.html +++ b/examples/parallelCoordinates.html @@ -1,11 +1,8 @@ + -> - - -