Fix chart editor declaration.