Hide the legend when unavailable + fix graph icon