bugfix: ajax data chart not working