How to create milestone legend?