Converts a JasperReports meter interval to one that JFreeChart understands.
Parameters: interval - the JasperReports definition of an interval Parameters: evaluation - current evaluation time the JFreeChart version of the same interval throws: JRException - thrown when the interval contains an invalid range
Converts a JasperReport data range into one understood by JFreeChart.
Parameters: dataRange - the JasperReport version of the range Parameters: evaluation - current expression evaluation phase the JFreeChart version of the range throws: JRException - thrown when the low value of the range is greater than thehigh value
Build and configure a multiple axis chart. A multiple axis chart support more than
one range axis. Multiple datasets using different ranges can be displayed as long as
they share a common domain axis. Each dataset can be rendered differently, so one chart
can contain (for example) two line charts, a bar chart and an area chart.
Multiple axis charts are handled differently than the other chart types. They do not
have a dataset, as each chart that is added to the multiple axis chart has its own
dataset. For simplicity, each dataset is treated as its own chart, and in fact we
reuse the design of all the chart types and let JFreeChart actually run them. Then
we pull out the bits we need and add it to the common chart. All the plot and chart
options on the nested charts is ignored, and all formatting is controlled by the plot
attached to the multiAxisChart. The one exception is seriesColor, which can be used in
a nested report to specify a color for a specific series in that report.
Parameters: evaluation - current expression evaluation phase the JFreeChart chart throws: JRException -
Build and run a thermometer chart. JFreeChart thermometer charts have some
limitations. They always have a maximum of three ranges, and the colors of those
ranges seems to be fixed.
Parameters: evaluation - current expression evaluation phase the JFreeChart thermometer chart throws: JRException -