thierryVergult commented on issue #20133:
URL: https://github.com/apache/echarts/issues/20133#issuecomment-3170540751

   Related issue: in a **stacked** bar (horizontal (my case) or vertical), the 
axisPointer is only showing up for all the x values, but **not for the sum of 
the x values**.
   
   That implies that the axis line shows up at unexpected places, has gaps, but 
is missing at logical places (the end of the bars).
   
   Workaround (hacky): add an invisible series that contains the totals of the 
participating series
   
   Reproduce: just add the below to the tooltip option of any stacked bar chart 
(eg: 
https://echarts.apache.org/examples/en/editor.html?c=bar-stack-normalization)
   
   ```
   axisPointer: { 
     type: 'line',
     axis: 'x' // horizontally stacked in my case, so values on the x axis, set 
to y when vertically stacked 
   },
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to