Write X attribute on x axis