Forum Academy Marketplace Showcase Pricing Features

How to create a line chart in that visualizes daily trades with color-coded gains and losses?

Hello everyone,

I’m currently working on a trading app where users can log their daily trades. I’m looking for guidance on how to create a specific type of line chart to visualize these trades. The chart should display each trade individually and, based on whether the cumulative gain/loss of that particular day, if less than 0 or greater than 0, it should be color-coded as red or green, respectively.

Could someone please provide guidance or point me in the right direction on how to implement this functionality using

Thank you in advance for your help!

I found the “Charts and Graphs” plugin, but I’m having trouble changing the color only for the negative section. Does anyone have a solution in mind?