Example usage for org.jfree.chart.axis CategoryAxis3D setTickLabelFont

List of usage examples for org.jfree.chart.axis CategoryAxis3D setTickLabelFont

Introduction

In this page you can find the example usage for org.jfree.chart.axis CategoryAxis3D setTickLabelFont.

Prototype

public void setTickLabelFont(Font font) 

Source Link

Document

Sets the font for the tick labels and sends an AxisChangeEvent to all registered listeners.

Usage

From source file:org.sonar.plugins.abacus.chart.BarChart3D.java

private void configureDomainAxis(CategoryPlot plot, Font font) {
    CategoryAxis3D categoryAxis = new CategoryAxis3D();
    categoryAxis.setTickMarksVisible(true);
    categoryAxis.setTickLabelFont(font);
    categoryAxis.setTickLabelPaint(OUTLINE_COLOR);
    plot.setDomainAxis(categoryAxis);//  www . jav  a2 s .  c  o m
    plot.setDomainGridlinesVisible(false);
}