Make plots legend stats at backend level.