When I create a stackedBar and add data with chart.add , the only tooltips that display correctly is on the last bar added. As soon as I add another bar, the previous bar has no tooltip in the bottom segment and the next segment up shows the tooltip that should be in the bottom. If you hover just above the top segment, you get the tooltip from the top segment. This is the case with all bars except the last one.
Unfortunately we cannot reproduce this issue locally. Can you please provide complete demo where we can reproduce it? You can find tutorial how to create complete demo here docs.dhtmlx.com/doku.php?id=othe … leted_demo
Thanks for the quick response.
Base file is 05_stacked_chart.html
- I moved the definition of barChart1 to outside of function init
- I added function add_new
- I added a button (add) to call add_new
BEFORE pushing the add button, hovering over 2002, shows expected results.
AFTER pushing the add button, hovering over 2003 is correct
but 2002 now shows nothing over 3.4, and 3.4 when hovering over 4.7,1.9 or 5.5.
I hope a zip file is acceptable.
Demo.zip (33.5 KB)
This issue confirmed and will be fixed in nearest time.
Here are the libraries with fix for this issue.
chart.zip (64.1 KB)