}
final Font labelFont = Font.decode(getLabelFont());
final CategoryAxis categoryAxis = cpl.getDomainAxis();
categoryAxis.setLabelFont(labelFont);
categoryAxis.setTickLabelFont(labelFont);
if (getCategoryTitleFont() != null)
{
categoryAxis.setLabelFont(getCategoryTitleFont());
}
if (getCategoryTickFont() != null)
{
categoryAxis.setTickLabelFont(getCategoryTickFont());
}
if (maxCategoryLabelWidthRatio != null)
{
categoryAxis.setMaximumCategoryLabelWidthRatio(maxCategoryLabelWidthRatio.floatValue());
}
cpl.setDomainGridlinesVisible(showGridlines);
if (labelRotation != null)
{
categoryAxis.setCategoryLabelPositions
(CategoryLabelPositions.createUpRotationLabelPositions(labelRotation.doubleValue()));
}
final String[] colors = getSeriesColor();
for (int i = 0; i < colors.length; i++)
{
renderer.setSeriesPaint(i, parseColorFromString(colors[i]));
}
if (lowerMargin != null)
{
categoryAxis.setLowerMargin(lowerMargin.doubleValue());
}
if (upperMargin != null)
{
categoryAxis.setUpperMargin(upperMargin.doubleValue());
}
if (categoryMargin != null)
{
categoryAxis.setCategoryMargin(categoryMargin.doubleValue());
}
final ValueAxis rangeAxis = cpl.getRangeAxis();
if (rangeAxis instanceof NumberAxis)