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
This customizer plots a line chart as spline.
- Author:
- Giulio Toffoli (gt78@users.sourceforge.net)
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields 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_WIDTHFields inherited from class net.sf.jasperreports.charts.JRAbstractChartCustomizer
chart, fillerFields inherited from interface net.sf.jasperreports.charts.JRChartCustomizer
CUSTOMIZER_CLASS_PROPERTY_PREFIX, CUSTOMIZER_PROPERTY_PREFIX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddMarker(org.jfree.chart.plot.Plot plot, org.jfree.chart.plot.Marker marker) protected org.jfree.chart.plot.CategoryMarkercreateMarker(JRChart jrc) voidThis method is called at fill time, before the chart is rendered.Methods inherited from class net.sf.jasperreports.customizers.marker.AbstractMarkerCustomizer
configureMarker, configureStroke, getLayer, getStrokeMethods inherited from class net.sf.jasperreports.charts.JRAbstractChartCustomizer
getBooleanProperty, getCustomizerPropertyName, getDoubleProperty, getFieldValue, getFieldValue, getFloatProperty, getIntegerProperty, getParameterValue, getParameterValue, getProperty, getVariableValue, getVariableValue, init, setName
-
Field Details
-
PROPERTY_CATEGORY
- See Also:
-
PROPERTY_FONT_NAME
- See Also:
-
PROPERTY_FONT_SIZE
- See Also:
-
PROPERTY_FONT_BOLD
- See Also:
-
PROPERTY_FONT_ITALIC
- See Also:
-
PROPERTY_DRAW_AS_LINE
-
-
Constructor Details
-
CategoryMarkerCustomizer
public CategoryMarkerCustomizer()
-
-
Method Details
-
customize
Description copied from interface:JRChartCustomizerThis 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
-
addMarker
protected void addMarker(org.jfree.chart.plot.Plot plot, org.jfree.chart.plot.Marker marker) - Specified by:
addMarkerin classAbstractMarkerCustomizer
-