List of usage examples for org.jfree.chart.axis ExtendedDateAxis setTickLabelsVisible
public void setTickLabelsVisible(boolean flag)
From source file:no.met.jtimeseries.marinogram.MarinogramWrapper.java
@Override public XYPlot getPlot() throws ParseException { //extra check to avoid add plots on multiple getPlot calls if (combiPlot != null) { return combiPlot; }/*w ww. j a v a 2 s. c o m*/ for (int i = plots.size() - 1; i >= 0; i--) { MarinogramPlot marinogramPlot = plots.get(i); XYPlot plot = marinogramPlot.getPlot(); if (combiPlot == null) { // create a stacked plot with the domain axis of the first plot combiPlot = new StackedXYPlot(plot.getDomainAxis()); combiPlot.setGap(0.0d); } if (plot != null) { ExtendedDateAxis xAxis = (ExtendedDateAxis) plot.getDomainAxis(); xAxis.setAxislineExtended(true); if (i == 0) { xAxis.setTickLabelsVisible(true); } combiPlot.add(plot, marinogramPlot.getHeight()); } } return combiPlot; }