[static] Add trend legend.