This is an automated email from the ASF dual-hosted git repository.

michaelsmolina pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new c8edd1fb25 fix: First item hovered on stacked bar (#30628)
c8edd1fb25 is described below

commit c8edd1fb2565e255b00d79769873fad213fb7a05
Author: Michael S. Molina <[email protected]>
AuthorDate: Wed Oct 16 13:07:12 2024 -0300

    fix: First item hovered on stacked bar (#30628)
---
 .../plugins/plugin-chart-echarts/src/Timeseries/transformProps.ts       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/superset-frontend/plugins/plugin-chart-echarts/src/Timeseries/transformProps.ts
 
b/superset-frontend/plugins/plugin-chart-echarts/src/Timeseries/transformProps.ts
index bed39c7bc5..c0da444bfe 100644
--- 
a/superset-frontend/plugins/plugin-chart-echarts/src/Timeseries/transformProps.ts
+++ 
b/superset-frontend/plugins/plugin-chart-echarts/src/Timeseries/transformProps.ts
@@ -590,7 +590,7 @@ export default function transformProps(
         });
         if (stack) {
           rows.reverse();
-          if (focusedRow) {
+          if (focusedRow !== undefined) {
             focusedRow = rows.length - focusedRow - 1;
           }
         }

Reply via email to