title: TickLabels are missing in Jfreechart
body: <p>I am using eclipse e4 and JfreeChart. The ticklabels in both xaxis and y axis are not visible. </p>
  
  <p>The following is the code snippet I have used.</p>
  
  <pre><code>public class showGraph {
  String title = null;
  final TimeSeriesCollection dataset = new TimeSeriesCollection();
  Map&lt;String,Map&lt;String,Map&lt;String,Long&gt;&gt;&gt; StatisticsValues = null;
  String statistics = "MIN";
  @Inject
  public showGraph() {
      //TODO Your code here
  }
  
  @PostConstruct
  public void postConstruct(Composite parent) {
  
      final JFreeChart chart = createChart(dataset,title);
      new ChartComposite(parent,SWT.NONE,chart,true); 
  }
  
  private JFreeChart createChart(TimeSeriesCollection dataset, String string) {
      final JFreeChart chart = ChartFactory.createTimeSeriesChart(title, "TimeStamp", "ms", dataset, true, true, false);
      chart.setBackgroundPaint(Color.WHITE);
      final XYPlot plot = (XYPlot)chart.getPlot();
      plot.setBackgroundPaint(Color.WHITE);
      plot.setDomainGridlinePaint(Color.BLACK);
      plot.setRangeGridlinePaint(Color.BLACK);
      Shape shape = new Ellipse2D.Double(-4.0, -4.0, 8.0, 8.0);
      XYLineAndShapeRenderer renderer = (XYLineAndShapeRenderer) plot.getRenderer();
      renderer.setSeriesShape(0, shape);
      renderer.setSeriesPaint(0, Color.RED);
      renderer.setSeriesFillPaint(0, Color.YELLOW);
      renderer.setSeriesOutlinePaint(0, Color.GRAY);
      renderer.setUseFillPaint(true);
      NumberAxis yaxis = (NumberAxis) plot.getRangeAxis();
      yaxis.setStandardTickUnits(NumberAxis.createIntegerTickUnits());
      yaxis.setAutoRangeIncludesZero(false);
      yaxis.setVerticalTickLabels(true);
      plot.setRangeAxis(yaxis);
      DateAxis axis = (DateAxis) plot.getDomainAxis();
      axis.setDateFormatOverride(new SimpleDateFormat("HH:mm:ss"));
      DateAxis.createStandardDateTickUnits();  
      axis.setTickMarksVisible(true);  
      axis.setTickLabelsVisible(true);
      return chart;
  
  }
  
  
  /* setInputForChart get the value from a handler */
  
  public void setInputForChart(HashMap&lt;Timestamp,Long&gt; requestTimeToTimeDiff) {
      final TimeSeries s1 = new TimeSeries("XYZ", Second.class);
      Timestamp TimestampValueWithInterval =null;
      TreeMap&lt;Timestamp,Long&gt; requestTimeToTimeDiffSorted = new TreeMap&lt;Timestamp,Long&gt;(requestTimeToTimeDiff);
      HashMap&lt;Timestamp,Long&gt; MinutesToMin = new HashMap&lt;Timestamp,Long&gt;();
      Long MinValue = Long.MAX_VALUE;
      boolean bool = true;
      Timestamp tsWithMinValue = null;
      for (Entry&lt;Timestamp,Long&gt; reqTodiffMap : requestTimeToTimeDiffSorted.entrySet()) {
          /* some operations I do to insert in MinutesToMin */
      } 
      for(Entry&lt;Timestamp,Long&gt; seriesData : MinutesToMin.entrySet()){
      s1.add(new Second(seriesData.getKey()), seriesData.getValue());
      }
       dataset.addSeries(s1);
       dataset.setDomainIsPointsInTime(true);
  }
  </code></pre>
  
  <p>I am confused why the ticklabels are not visible. I am new to Jfreechart so can anyone please tell me why is not visible?</p>