updated pointer event for x axis labels