$ 0 0 I think it is a syntax issue - try something likeif (CHART_1.isVisible()) {} CHART_1.setVisible(false);