compatible with zrender2.0.1