Fix gradient legend interval