I am currently working with the ApexCharts module and I am trying to create a comparison bar chart. What I want to do is have one set of bars be a base value we want to compare with real values. I am trying to get it to work where if the bar is below the base value it will be green, and when above it will be red. However, every attempt I make to change their color value changes both and not one or another. Like what if one real value is below the base value and the other is above, one of the bars should be green and the other red.
It worked thanks! I am still confused on how it works though. If you have time could you explain how this function is grabbing values and running through?
Took me a while going through stack overflow and documentation, finally understand what you are doing. I've modified my code to work for what I need. Thank you
I've been using ApexCharts recently for a project, and just wanted to mention that ChatGPT does an excellent job suggesting which properties to change, if not outright providing the exact properties and values you need. If it doesn't give the exact answer, it will get close enough to look up the exact setting in the Options doc page.