sag_components 1.0.735 → 1.0.736
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -75,19 +75,13 @@ const BarChart = props => {
|
|
|
75
75
|
const {
|
|
76
76
|
x,
|
|
77
77
|
y,
|
|
78
|
-
stroke,
|
|
79
78
|
payload
|
|
80
79
|
} = props;
|
|
81
80
|
if (barChartData && barChartData.length > 0 && payload) {
|
|
82
81
|
const retailerData = barChartData.filter(item => item.title === payload.value);
|
|
83
82
|
if (retailerData && retailerData.length > 0) {
|
|
84
|
-
const {
|
|
85
|
-
offerType
|
|
86
|
-
} = retailerData[0];
|
|
87
83
|
return /*#__PURE__*/_react.default.createElement("g", {
|
|
88
84
|
transform: "translate(".concat(x, ",").concat(y, ")")
|
|
89
|
-
// onMouseEnter={() => handleMouseEnter(offerType)}
|
|
90
|
-
// onMouseLeave={handleMouseLeave}
|
|
91
85
|
}, /*#__PURE__*/_react.default.createElement("text", {
|
|
92
86
|
x: 0,
|
|
93
87
|
y: 0,
|
|
@@ -140,7 +134,7 @@ const BarChart = props => {
|
|
|
140
134
|
height: height,
|
|
141
135
|
data: barChartData,
|
|
142
136
|
margin: {
|
|
143
|
-
top:
|
|
137
|
+
top: 10,
|
|
144
138
|
right: 0,
|
|
145
139
|
bottom: 0,
|
|
146
140
|
left: -5
|