On the client side, if I need to know have a UP/DOWN/Mixed as in legacy
use, it's as easy as that:
List<DataPoint<(Up/Down/Mixed enum)>> l =
ratioMapSeries.stream().map(ratioMap -> ratioMap.get(UP) == 1d ? UP :
(ratioMap.get(DOWN) == 1d ? DOWN : MIXED)).collect...