Added chart masking when loading