Hi Abishek,
Anychart uses a plotly implementation, according to plotly type ‘waterfall’ should be possible. See an example below:
https://plotly.com/javascript/waterfall-charts/
To create a dynamic JSON for the widget, you can call a microflow and use an export mapping. Have a look here.
Goodluck!