overlap « Series « JFreeChart Q&A

1. Time series tick label overlap problem    jfree.org

I have a lot of data points in a time series chart, and the problem is that the time labels on the domain axis (x-axis) displayed horizontal and they overlap , making the labels unreadable. Is it possible to tick labels in an angle or vertical? I am new to the jfreechart, and really appreciate your help.

2. Time series tick label overlap in PDF-embedded chart    jfree.org

I create PDF reports using JasperReport library, which uses JFreeChart capabilities. It works great but in some cases tick labels of time series X-axis overlap. I know that there is an auto-tick unit selection mechanism in JFreeChart. Could this mechanism fail when rendering charts for PDF? Is there any way to rarefy tick labels not switching auto-tick off?

3. Time Series lines overlapping    jfree.org

import javax.swing.JFrame; import org.jfree.chart.ChartFactory; import org.jfree.chart.ChartPanel; import org.jfree.chart.JFreeChart; import org.jfree.data.time.DynamicTimeSeriesCollection; import org.jfree.data.xy.XYDataset; public class TimeSeriesDemo extends JFrame { public TimeSeriesDemo(final String title) { DynamicTimeSeriesCollection dataset = new DynamicTimeSeriesCollection( 1, 60); dataset.addValue(0, 0, 3); JFreeChart chart = createChart(dataset); ChartPanel chartPanel = new ChartPanel(chart); chartPanel.setPreferredSize(new java.awt.Dimension(500, 270)); chartPanel.setMouseZoomable(true, false); setContentPane(chartPanel); setVisible(true); } public JFreeChart createChart(XYDataset dataset) { JFreeChart chart = ChartFactory.createTimeSeriesChart( "XY Line ...