finish ajax chart view