fixed chart legend, and aggregator skipping last value