@astraldev
Posted
Honestly, I think it would have been better if you used plain CSS for that by setting the height of the barto be the price in percentage tho as in my own solution at least, you'll have more control over the bars....
Then if the price is greater than 50, change the colour....
You can check out my solution here
https://www.frontendmentor.io/solutions/expenses-chart-component-with-vuejs-4fUiJTIs_P
Marked as helpful
@ashardeveloper
Posted
@astraldev Thank you so much. It is helpful.
@astraldev
Posted
@ashardeveloper My pleasure :)