Conditional Chart area fill in amCharts - amStockCharts

309 Views Asked by At

I want to display a graph very similar to below tradingView chart in amCharts. The problem is how can I fill the area between two specific line graphs with different fill color depending on which line graph is above the other.

enter image description here

Using fillToGraph will always fill the same color regardless of whether that graph is below or above the another graph and ends up mixing both the colors as shown below. enter image description here

I am using amCharts v3.
Please help.

0

There are 0 best solutions below