|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jasperreports.engine.fill.DefaultChartTheme
public class DefaultChartTheme
Field Summary | |
---|---|
static ChartThemeBundle |
BUNDLE
|
static java.lang.String |
PROPERTY_DIAL_LABEL
|
static java.lang.String |
PROPERTY_DIAL_VALUE_DISPLAY_VISIBLE
|
static java.lang.String |
PROPERTY_DOMAIN_AXIS_TICK_COUNT
|
static java.lang.String |
PROPERTY_DOMAIN_AXIS_TICK_INTERVAL
|
static java.lang.String |
PROPERTY_RANGE_AXIS_TICK_COUNT
|
static java.lang.String |
PROPERTY_RANGE_AXIS_TICK_INTERVAL
|
protected static java.awt.Color |
TRANSPARENT_PAINT
|
Constructor Summary | |
---|---|
DefaultChartTheme()
|
Method Summary | |
---|---|
protected void |
calculateTickUnits(org.jfree.chart.axis.Axis axis,
boolean isRangeAxis)
For a given axis, adjust the tick unit size, in order to have a customizable number of ticks on that axis |
protected void |
configureAxis(org.jfree.chart.axis.Axis axis,
JRFont labelFont,
java.awt.Color labelColor,
JRFont tickLabelFont,
java.awt.Color tickLabelColor,
java.lang.String tickLabelMask,
java.lang.Boolean verticalTickLabels,
java.awt.Color lineColor,
boolean isRangeAxis,
java.lang.Comparable<?> axisMinValue,
java.lang.Comparable<?> axisMaxValue)
Sets all the axis formatting options. |
protected void |
configureChart(org.jfree.chart.JFreeChart jfreeChart)
|
protected void |
configurePlot(org.jfree.chart.plot.Plot plot)
|
protected org.jfree.chart.plot.MeterInterval |
convertInterval(JRMeterInterval interval)
Converts a JasperReports meter interval to one that JFreeChart understands. |
protected org.jfree.data.Range |
convertRange(JRDataRange dataRange)
Converts a JasperReport data range into one understood by JFreeChart. |
protected org.jfree.chart.JFreeChart |
createAreaChart()
|
protected org.jfree.chart.JFreeChart |
createBar3DChart()
|
protected org.jfree.chart.JFreeChart |
createBarChart()
|
protected org.jfree.chart.JFreeChart |
createBubbleChart()
|
protected org.jfree.chart.JFreeChart |
createCandlestickChart()
|
org.jfree.chart.JFreeChart |
createChart(ChartContext chartContext)
|
protected org.jfree.chart.JFreeChart |
createDialChart()
|
protected org.jfree.chart.JFreeChart |
createGanttChart()
|
protected org.jfree.chart.JFreeChart |
createHighLowChart()
|
protected org.jfree.chart.JFreeChart |
createLineChart()
|
protected org.jfree.chart.JFreeChart |
createMeterChart()
|
protected org.jfree.chart.JFreeChart |
createPie3DChart()
|
protected org.jfree.chart.JFreeChart |
createPieChart()
|
protected org.jfree.chart.JFreeChart |
createScatterChart()
|
protected org.jfree.chart.JFreeChart |
createStackedAreaChart()
|
protected org.jfree.chart.JFreeChart |
createStackedBar3DChart()
|
protected org.jfree.chart.JFreeChart |
createStackedBarChart()
|
protected org.jfree.chart.JFreeChart |
createThermometerChart()
Build and run a thermometer chart. |
protected org.jfree.chart.JFreeChart |
createTimeSeriesChart()
|
protected org.jfree.chart.JFreeChart |
createXyAreaChart()
|
protected org.jfree.chart.JFreeChart |
createXYBarChart()
|
protected org.jfree.chart.JFreeChart |
createXyLineChart()
|
protected java.lang.Object |
evaluateExpression(JRExpression expression)
|
protected java.lang.String |
evaluateTextExpression(JRExpression expression)
|
protected JRChart |
getChart()
|
protected org.jfree.chart.axis.AxisLocation |
getChartAxisLocation(JRChartAxis chartAxis)
Specifies the axis location. |
protected org.jfree.data.general.Dataset |
getDataset()
|
protected JRFont |
getFont(JRFont font)
|
protected java.lang.Object |
getLabelGenerator()
|
protected java.util.Locale |
getLocale()
|
protected JRChartPlot |
getPlot()
|
protected boolean |
isShowLegend()
Specifies whether a chart legend should be visible or no by default. |
protected void |
setAxisBounds(org.jfree.chart.axis.Axis axis,
boolean isRangeAxis,
java.lang.Comparable<?> axisMinValue,
java.lang.Comparable<?> axisMaxValue)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PROPERTY_DIAL_VALUE_DISPLAY_VISIBLE
public static final java.lang.String PROPERTY_DIAL_LABEL
public static final java.lang.String PROPERTY_RANGE_AXIS_TICK_COUNT
public static final java.lang.String PROPERTY_RANGE_AXIS_TICK_INTERVAL
public static final java.lang.String PROPERTY_DOMAIN_AXIS_TICK_COUNT
public static final java.lang.String PROPERTY_DOMAIN_AXIS_TICK_INTERVAL
protected static final java.awt.Color TRANSPARENT_PAINT
public static final ChartThemeBundle BUNDLE
Constructor Detail |
---|
public DefaultChartTheme()
Method Detail |
---|
protected JRChart getChart()
protected JRChartPlot getPlot()
protected org.jfree.data.general.Dataset getDataset()
protected java.lang.Object getLabelGenerator()
protected java.util.Locale getLocale()
protected JRFont getFont(JRFont font)
protected final java.lang.String evaluateTextExpression(JRExpression expression) throws JRException
JRException
protected final java.lang.Object evaluateExpression(JRExpression expression) throws JRException
JRException
public org.jfree.chart.JFreeChart createChart(ChartContext chartContext) throws JRException
createChart
in interface ChartTheme
JRException
protected void configureChart(org.jfree.chart.JFreeChart jfreeChart) throws JRException
JRException
protected void configurePlot(org.jfree.chart.plot.Plot plot)
protected void configureAxis(org.jfree.chart.axis.Axis axis, JRFont labelFont, java.awt.Color labelColor, JRFont tickLabelFont, java.awt.Color tickLabelColor, java.lang.String tickLabelMask, java.lang.Boolean verticalTickLabels, java.awt.Color lineColor, boolean isRangeAxis, java.lang.Comparable<?> axisMinValue, java.lang.Comparable<?> axisMaxValue)
axis
- the axis to formatlabelFont
- the font to use for the axis labellabelColor
- the color of the axis labeltickLabelFont
- the font to use for each tick mark value labeltickLabelColor
- the color of each tick mark value labeltickLabelMask
- formatting mask for the label. If the axis is a NumberAxis then
the mask should be java.text.DecimalFormat
mask, and
if it is a DateAxis then the mask should be a
java.text.SimpleDateFormat
mask.verticalTickLabels
- flag to draw tick labels at 90 degreeslineColor
- color to use when drawing the axis line and any tick marksprotected org.jfree.chart.JFreeChart createAreaChart() throws JRException
JRException
protected org.jfree.chart.JFreeChart createBar3DChart() throws JRException
JRException
protected org.jfree.chart.JFreeChart createBarChart() throws JRException
JRException
protected org.jfree.chart.JFreeChart createBubbleChart() throws JRException
JRException
protected org.jfree.chart.JFreeChart createCandlestickChart() throws JRException
JRException
protected org.jfree.chart.JFreeChart createHighLowChart() throws JRException
JRException
protected org.jfree.chart.JFreeChart createLineChart() throws JRException
JRException
protected org.jfree.chart.JFreeChart createPie3DChart() throws JRException
JRException
protected org.jfree.chart.JFreeChart createPieChart() throws JRException
JRException
protected org.jfree.chart.JFreeChart createScatterChart() throws JRException
JRException
protected org.jfree.chart.JFreeChart createStackedBar3DChart() throws JRException
JRException
protected org.jfree.chart.JFreeChart createStackedBarChart() throws JRException
JRException
protected org.jfree.chart.JFreeChart createStackedAreaChart() throws JRException
JRException
protected org.jfree.chart.JFreeChart createXyAreaChart() throws JRException
JRException
protected org.jfree.chart.JFreeChart createXYBarChart() throws JRException
JRException
protected org.jfree.chart.JFreeChart createXyLineChart() throws JRException
JRException
protected org.jfree.chart.JFreeChart createTimeSeriesChart() throws JRException
JRException
protected org.jfree.chart.JFreeChart createGanttChart() throws JRException
JRException
protected org.jfree.data.Range convertRange(JRDataRange dataRange) throws JRException
dataRange
- the JasperReport version of the range
JRException
- thrown when the low value of the range is greater than the
high valueprotected org.jfree.chart.plot.MeterInterval convertInterval(JRMeterInterval interval) throws JRException
interval
- the JasperReports definition of an interval
JRException
- thrown when the interval contains an invalid rangeprotected org.jfree.chart.JFreeChart createMeterChart() throws JRException
JRException
protected org.jfree.chart.JFreeChart createThermometerChart() throws JRException
JRException
protected org.jfree.chart.JFreeChart createDialChart() throws JRException
JRException
protected org.jfree.chart.axis.AxisLocation getChartAxisLocation(JRChartAxis chartAxis)
protected void setAxisBounds(org.jfree.chart.axis.Axis axis, boolean isRangeAxis, java.lang.Comparable<?> axisMinValue, java.lang.Comparable<?> axisMaxValue)
protected void calculateTickUnits(org.jfree.chart.axis.Axis axis, boolean isRangeAxis)
protected boolean isShowLegend()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |