Chart themes give more control over chart output, including the creation of the JFreeChart object itself.
Area charts and Stacked Area charts rely on this plot to render their axes and items.
Type of plot used to render Bar 3D and the Stacked Bar 3D charts.
Type of plot used to render Bar, Stacked Bar, and XY Bar charts.
Only Bubble charts use this type of plot.
The Candlestick plot is also an axis-oriented plot and allows you to customize axis labels using expressions.
This dataset accommodates one or more data series consisting of values associated with categories.
Type of plot used for rendering category charts.
Represents the series for any Category dataset.
Describes an axis that can be added to a multiple axis chart.
Type of the plot used to render Line, XY Line and Scatter charts.
Represents a numeric range.
This dataset accommodates one or more data series consisting of values associated with tasks and subtasks.
Represents the series for the Gantt dataset.
Although the name of this dataset is "High-Low", it can actually hold a series of (x, high, low, open, close, volume) items.
Used only in combination with High-Low charts, this type of plot lets users customize the labels for both axes, like all the other axis-oriented plots.
Contains the formatting option for the textual representation of item labels in a category plot
Type of plot used to render Line charts.
This type of plot can be used only for Meter charts and represents the display options of a Meter Chart.
Represents the display options and nested charts of a multiple axis chart.
Type of plot used for rendering Pie 3D charts.
This dataset is useful for rendering Pie or Pie 3D charts.
Type of plot used for rendering Pie charts.
Represents the series for the Pie dataset.
Scatter plots are used only with Scatter charts.
Represents the display options of a Thermometer chart.
The Time Period dataset is very much like the Time Series dataset in that it wraps series consisting of (time period, numeric value) pairs.
Represents the series for the Time Period dataset.
Represents the series for the Time Series dataset.
This dataset wraps one or multiple time series.
This type of plot is similar to the Line plot and Scatter plot in that it lets users configure the labels for both axes, the rendering of lines to connect the item points, and the rendering of the small shapes that mark each item point on the target plot area.
This class represents a dataset that consists of a single value.
Represents the formatting option for the textual representation of a value displayed in a Meter or Thermometer chart.
This dataset is a wrapper for data series made of (x, y) value pairs and is used for rendering XY Bar, XY Line, XY Area, and Scatter Plot charts.
Represents the series for the XY dataset.
The XYZ dataset wraps series consisting of (x, y, z) items.
evaluationGroupattributes, which work in the same manner as for text fields and images.
isShowLegend: flag attribute that specifies if the legend is visible on the chart
customizerClass: attribute that specifies the name of a chart customizer class
renderType: attribute that specifies the chart rendering type
theme: attribute that specifies the name of a custom chart theme
chartTitle: element to customize the chart title
chartSubtitle: element to customize the chart subtitle
chartLegend: element to customize the chart legend
renderTypeattribute specifies the renderer implementation that will be used to render the chart during export or report display. By default, JasperReports recognizes the following values for this attribute:
draw: the chart is drawn directly on the target graphic context using the JFreeChart API
image: an image is first produced from the chart and this image in turn gets rendered onto the target graphic context
svg: the chart is transformed into the SVG format and from that format is then rendered onto the target graphic context
JRChartCustomizerinterface that is associated with the chart element using the customizerClass attribute. The easiest way to implement this interface is by extending the
JRAbstractChartCustomizerclass and thus having access to parameters, fields, and variables, for more flexible chart customization based on report data.
jasperreports.propertiesfile as follows:
<property name="net.sf.jasperreports.chart.theme" value="theme_name"/>
JRChartDatasetinterface to define chart datasets. There are implementations of this interface for each of the aforementioned dataset types. All chart datasets initialize and increment in the same way, and differ only in the type of data or data series they map. Common dataset properties are grouped under the
<dataset>tag in JRXML format.
JRChartPlotinterface. They are grouped under the
<plot>tag in JRXML and can be part of any chart/plot definition in the report template:
backcolorattribute can be used to specify the color used for drawing the plot's area background.
foregroundAlphaattributes. These attributes accept numeric values ranging from 0 to 1. The default for both attributes is 1, which means drawings on the plot area are opaque.
<seriesColor>tag available at the chart-plot level. If only one
<seriesColor>tag is specified, it becomes the color of the first series. If more than one
<seriesColor>tag is specified, the chart will cycle through the supplied colors.
<seriesColor>can be set for each nested chart to override the default colors.
seriesOrderattribute and appear in that order when coloring the series.
© 2001 - 2016 TIBCO Software Inc. www.jaspersoft.com