react-d3-basic
Advanced tools
Comparing version 0.5.3 to 0.5.4
@@ -45,5 +45,5 @@ "use strict"; | ||
var barChart = this.refs["react-d3-basic__pie"]; | ||
var pieChart = this.refs["react-d3-basic__pie"]; | ||
_d32['default'].select(barChart).selectAll(".arc").each(function (p) { | ||
_d32['default'].select(pieChart).selectAll(".arc").each(function (p) { | ||
this.addEventListener('mouseover', function (e) { | ||
@@ -129,3 +129,3 @@ onMouseOver(e); | ||
pieChart.setAttribute("transform", t); | ||
barChart.setAttribute("ref", "react-d3-basic__pie"); | ||
pieChart.setAttribute("ref", "react-d3-basic__pie"); | ||
var pie = this._mkPie(pieChart); | ||
@@ -132,0 +132,0 @@ |
{ | ||
"name": "react-d3-basic", | ||
"version": "0.5.3", | ||
"version": "0.5.4", | ||
"description": "react chart component", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -30,5 +30,5 @@ "use strict"; | ||
var barChart = this.refs["react-d3-basic__pie"]; | ||
var pieChart = this.refs["react-d3-basic__pie"]; | ||
d3.select(barChart) | ||
d3.select(pieChart) | ||
.selectAll(".arc") | ||
@@ -128,3 +128,3 @@ .each(function(p) { | ||
pieChart.setAttribute("transform", t); | ||
barChart.setAttribute("ref", "react-d3-basic__pie") | ||
pieChart.setAttribute("ref", "react-d3-basic__pie") | ||
var pie = this._mkPie(pieChart); | ||
@@ -131,0 +131,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package