'How to set a threshold to bar chart using ECharts

I need to set a threshold to bar chart using ECharts I want to set two thresholds on the y axis, thus defining three y values ranges.

How I can solve this?

Thanks in advance



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source