add inline graph image