finition graph via ajax