IATI / D-Portal

http://d-portal.org/
Other
30 stars 23 forks source link

Activity page - graph: display graph (even when multiple currencies are published) #665

Open stevieflow opened 6 months ago

stevieflow commented 6 months ago

We know that graphs on an activity page help people see the data - eg:

Firefox_Screenshot_2024-03-20T16-52-09 915Z

However, a common feedback is when a graph doesn't render - for example this activity

The Incoming Fund does graph, as there is only one:

Firefox_Screenshot_2024-03-20T16-53-41 759Z

The Disbursements do not, as three are GBP whereas one is in USD:

Firefox_Screenshot_2024-03-20T16-53-54 723Z

We know that d-portal converts all financial data to USD - but it may not be as simple as "display a graph in USD for all activities" - particularly as this example activity has : default-currency="GBP"

To fix this issue, I guess there are two options: