A widget that displays the most recent value of an indicator for a certain country and the trend of the historical data for this indicator + country if such data is available.
At this point:
User can choose any indicator + country from the settings.
The value displayed is the most recent collected value.
If there's no historical data, or all the data available is on the exact same date/time (can happen if only the year is provided, for example), no trend line is drawn/a "No trend data available." error is shown.
The data (country and historical data) is fetched from the /v2/ dev API into separate 'dev' Mongo collections (IMonDev, and IMonCountriesDev) so no other widgets are affected. The indicator data is fetched from IMonIndicators as, until now, "no new attributes have been added to the indicators".
A widget that displays the most recent value of an indicator for a certain country and the trend of the historical data for this indicator + country if such data is available.
At this point: