@easyv/charts 1.10.25 → 1.10.26

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.
@@ -85,6 +85,7 @@ const getBorderRadius = ({
85
85
  export default memo(
86
86
  ({
87
87
  triggerClick,
88
+ triggerEvents,
88
89
  maxWidth: maxWidth1,
89
90
  config,
90
91
  config: {
@@ -173,7 +174,15 @@ export default memo(
173
174
  return (
174
175
  <g
175
176
  key={i}
176
- onClick={triggerClick}
177
+ onClick={(e) => {
178
+ triggerEvents ? triggerEvents(e, "setCurrent") : "";
179
+ }}
180
+ onMouseEnter={(e) => {
181
+ triggerEvents ? triggerEvents(e, "mouseenter") : "";
182
+ }}
183
+ onMouseLeave={(e) => {
184
+ triggerEvents ? triggerEvents(e, "mouseleave") : "";
185
+ }}
177
186
  data-data={JSON.stringify(data)}
178
187
  >
179
188
  <Column3DSkin