Added ajax diagram