The Euphorbia group are mainly perennials grown for foliage and flower effect. They are quite tolerant with regards to soil, and are quite happy in poor soil conditions - even dry.
Most are hard perennials, with some - such are the Euphorbia Characias group being attractive evergreens.