Example usage for org.jfree.chart.labels StandardPieSectionLabelGenerator DEFAULT_SECTION_LABEL_FORMAT

List of usage examples for org.jfree.chart.labels StandardPieSectionLabelGenerator DEFAULT_SECTION_LABEL_FORMAT

Introduction

In this page you can find the example usage for org.jfree.chart.labels StandardPieSectionLabelGenerator DEFAULT_SECTION_LABEL_FORMAT.

Prototype

String DEFAULT_SECTION_LABEL_FORMAT

To view the source code for org.jfree.chart.labels StandardPieSectionLabelGenerator DEFAULT_SECTION_LABEL_FORMAT.

Click Source Link

Document

The default section label format.

Usage

From source file:org.pentaho.plugin.jfreereport.reportcharts.PieChartExpression.java

public PieChartExpression() {
    rotationClockwise = true;/*from w w w .j  a  va  2  s.c om*/
    pieLegendLabelFormat = StandardPieSectionLabelGenerator.DEFAULT_SECTION_LABEL_FORMAT;
    pieLabelFormat = "{2}";
    ignoreZeros = true;
    ignoreNulls = true;
    circular = true;
    setItemsLabelVisible(Boolean.TRUE);
}