Class LogXYItemLabelGenerator
java.lang.Object
org.jfree.chart.labels.AbstractXYItemLabelGenerator
org.jfree.chart.labels.StandardXYItemLabelGenerator
org.pentaho.plugin.jfreereport.reportcharts.LogXYItemLabelGenerator
- All Implemented Interfaces:
Serializable
,Cloneable
,org.jfree.chart.labels.XYItemLabelGenerator
,org.jfree.util.PublicCloneable
public class LogXYItemLabelGenerator
extends org.jfree.chart.labels.StandardXYItemLabelGenerator
A standard label generator that can be used with a
CategoryItemRenderer
.- See Also:
-
Field Summary
Fields inherited from class org.jfree.chart.labels.StandardXYItemLabelGenerator
DEFAULT_ITEM_LABEL_FORMAT
-
Constructor Summary
ConstructorDescriptionLogXYItemLabelGenerator
(String labelFormat) Creates a new generator with the specified number formatter. -
Method Summary
Modifier and TypeMethodDescriptionprotected Object[]
createItemArray
(org.jfree.data.xy.XYDataset dataset, int series, int item) Creates the array of items that can be passed to theMessageFormat
class for creating labels.Methods inherited from class org.jfree.chart.labels.StandardXYItemLabelGenerator
clone, equals, generateLabel
Methods inherited from class org.jfree.chart.labels.AbstractXYItemLabelGenerator
generateLabelString, getFormatString, getNullYString, getXDateFormat, getXFormat, getYDateFormat, getYFormat, hashCode
-
Constructor Details
-
LogXYItemLabelGenerator
public LogXYItemLabelGenerator() -
LogXYItemLabelGenerator
Creates a new generator with the specified number formatter.- Parameters:
labelFormat
- the label format string (null
not permitted).
-
-
Method Details
-
createItemArray
Creates the array of items that can be passed to theMessageFormat
class for creating labels.- Overrides:
createItemArray
in classorg.jfree.chart.labels.AbstractXYItemLabelGenerator
- Parameters:
dataset
- the dataset (null
not permitted).series
- the series (zero-based index).item
- the item (zero-based index).- Returns:
- An array of three items from the dataset formatted as
String
objects (nevernull
).
-