Fix Java Charts test