formatting axis and event list