Class CategoryMarkerCustomizer
- java.lang.Object
-
- net.sf.jasperreports.charts.JRAbstractChartCustomizer
-
- net.sf.jasperreports.customizers.marker.AbstractMarkerCustomizer
-
- net.sf.jasperreports.customizers.marker.CategoryMarkerCustomizer
-
- All Implemented Interfaces:
JRChartCustomizer
,NamedChartCustomizer
public class CategoryMarkerCustomizer extends AbstractMarkerCustomizer
This customizer plots a line chart as spline.- Author:
- Giulio Toffoli (gt78@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description static String
PROPERTY_CATEGORY
static String
PROPERTY_DRAW_AS_LINE
static String
PROPERTY_FONT_BOLD
static String
PROPERTY_FONT_ITALIC
static String
PROPERTY_FONT_NAME
static String
PROPERTY_FONT_SIZE
-
Fields inherited from class net.sf.jasperreports.customizers.marker.AbstractMarkerCustomizer
PROPERTY_ALPHA, PROPERTY_COLOR, PROPERTY_LABEL, PROPERTY_LABEL_ANCHOR, PROPERTY_LABEL_OFFSET_BOTTOM, PROPERTY_LABEL_OFFSET_LEFT, PROPERTY_LABEL_OFFSET_RIGHT, PROPERTY_LABEL_OFFSET_TOP, PROPERTY_LABEL_TEXT_ANCHOR, PROPERTY_LAYER, PROPERTY_STROKE_STYLE, PROPERTY_STROKE_WIDTH
-
Fields inherited from class net.sf.jasperreports.charts.JRAbstractChartCustomizer
chart, filler
-
Fields inherited from interface net.sf.jasperreports.charts.JRChartCustomizer
CUSTOMIZER_CLASS_PROPERTY_PREFIX, CUSTOMIZER_PROPERTY_PREFIX
-
-
Constructor Summary
Constructors Constructor Description CategoryMarkerCustomizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addMarker(org.jfree.chart.plot.Plot plot, org.jfree.chart.plot.Marker marker)
protected org.jfree.chart.plot.CategoryMarker
createMarker(JRChart jrc)
void
customize(org.jfree.chart.JFreeChart jfc, JRChart jrc)
This method is called at fill time, before the chart is rendered.-
Methods inherited from class net.sf.jasperreports.customizers.marker.AbstractMarkerCustomizer
configureMarker, configureStroke, getLayer, getStroke
-
Methods inherited from class net.sf.jasperreports.charts.JRAbstractChartCustomizer
getBooleanProperty, getCustomizerPropertyName, getDoubleProperty, getFieldValue, getFieldValue, getFloatProperty, getIntegerProperty, getParameterValue, getParameterValue, getProperty, getVariableValue, getVariableValue, init, setName
-
-
-
-
Field Detail
-
PROPERTY_CATEGORY
public static final String PROPERTY_CATEGORY
- See Also:
- Constant Field Values
-
PROPERTY_FONT_NAME
public static final String PROPERTY_FONT_NAME
- See Also:
- Constant Field Values
-
PROPERTY_FONT_SIZE
public static final String PROPERTY_FONT_SIZE
- See Also:
- Constant Field Values
-
PROPERTY_FONT_BOLD
public static final String PROPERTY_FONT_BOLD
- See Also:
- Constant Field Values
-
PROPERTY_FONT_ITALIC
public static final String PROPERTY_FONT_ITALIC
- See Also:
- Constant Field Values
-
PROPERTY_DRAW_AS_LINE
public static String PROPERTY_DRAW_AS_LINE
-
-
Method Detail
-
customize
public void customize(org.jfree.chart.JFreeChart jfc, JRChart jrc)
Description copied from interface:JRChartCustomizer
This method is called at fill time, before the chart is rendered.- Parameters:
jfc
- the JFreeChart object, which can be accessed and modifiedjrc
- the JasperReports version of the chart, containing data that might be needed in customization
-
createMarker
protected org.jfree.chart.plot.CategoryMarker createMarker(JRChart jrc)
-
addMarker
protected void addMarker(org.jfree.chart.plot.Plot plot, org.jfree.chart.plot.Marker marker)
- Specified by:
addMarker
in classAbstractMarkerCustomizer
-
-