Try something like:
Code: Select all
LegendTitle lt = chart.getLegend();
lt.setItemFont(new Font("Arial", Font.PLAIN, 8));
Code: Select all
LegendTitle lt = chart.getLegend();
lt.setItemFont(new Font("Arial", Font.PLAIN, 8));
Code: Select all
<APPLET code="demo.Applet1.class" ARCHIVE="comma separated list of jar files"></APPLET>
Code: Select all
CategoryAxis axis = plot.getDomainAxis();
axis.setLowerMargin(0.0);
axis.setUpperMargin(0.0);
Code: Select all
StandardCategoryToolTipGenerator tt = new StandardCategoryToolTipGenerator();
renderer.setToolTipGenerator(tt);
Code: Select all
StandardCategoryURLGenerator("../servlet/ChartWindow?parent=LOAD","series","category"));