DHTMLX Bar Chart Stacked Bug

Hi,
I have a problem with stacked bar chart.
When it’s stacked it shows value of every bar to “0.0”:

I don’t know why this is happening. Looking through other cases, no one had a similar error.

After unselecting first series:

I made it working by multiply everything by 10 and round. Then in every template divide by 10. Its a bummer that it cannot stack a float value and add two float values like 1.5+1.5 :pensive:

Could you please, provide a code snippet where the probem can be reconstructed.

https://snippet.dhtmlx.com/4lp1piqt

Found it. If float is a String it doesn’t know what to do. If i changed it to float from String it works

1 Like