code: private void addXLabels(XAxis xAxis, Number min, Number max, boolean showYLabels) {
          xAxis.setOffset(false);
          YRange v = setAxisRange(xAxis, 0, max);
          if (!showYLabels) {
          	xAxis.setLabels("");
          } else {
          	xAxis.getLabels().setColour(getHexColor(chart.getYColor()));
          	// add orientation ? (we have only for x axis in layout)
          }
      }
docs: for horizontal chart