public class JRDesignThermometerPlot extends JRBaseThermometerPlot
JRBaseChartPlot.JRBaseSeriesColor
JRChartPlot.JRSeriesColor
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_DATA_RANGE |
static String |
PROPERTY_HIGH_RANGE |
static String |
PROPERTY_LOW_RANGE |
static String |
PROPERTY_MEDIUM_RANGE |
static String |
PROPERTY_MERCURY_COLOR |
static String |
PROPERTY_VALUE_DISPLAY |
static String |
PROPERTY_VALUE_LOCATION |
dataRange, highRange, lowRange, mediumRange, mercuryColor, valueDisplay, valueLocationObject
backcolor, backgroundAlphaFloat, chart, foregroundAlphaFloat, labelRotationDouble, orientationValue, PROPERTY_BACKCOLOR, PROPERTY_BACKGROUND_ALPHA, PROPERTY_FOREGROUND_ALPHA, PROPERTY_LABEL_ROTATION, PROPERTY_ORIENTATION, PROPERTY_SERIES_COLORS, seriesColors
Constructor and Description |
---|
JRDesignThermometerPlot(JRChartPlot plot,
JRChart chart)
Constructs a new plot that is a copy of an existing one.
|
Modifier and Type | Method and Description |
---|---|
void |
setDataRange(JRDataRange dataRange)
Sets the range of values that can be displayed by this thermometer.
|
void |
setHighRange(JRDataRange highRange)
Specifies the high range of the thermometer.
|
void |
setLowRange(JRDataRange lowRange)
Specifies the low range of the thermometer.
|
void |
setMediumRange(JRDataRange mediumRange)
Specifies the medium range of the thermometer.
|
void |
setMercuryColor(Color mercuryColor)
Sets the default color of the mercury in the thermometer.
|
void |
setValueDisplay(JRValueDisplay valueDisplay)
Sets the formatting option for the textual display of the
value.
|
void |
setValueLocation(ValueLocationEnum valueLocationObject)
Sets where to show the textual display of the value.
|
clone, collectExpressions, getDataRange, getHighRange, getLowRange, getMediumRange, getMercuryColor, getValueDisplay, getValueLocationValue
addSeriesColor, clearSeriesColors, clone, getBackcolor, getBackgroundAlphaFloat, getChart, getEventSupport, getForegroundAlphaFloat, getLabelRotationDouble, getOrientation, getOrientationValue, getOwnBackcolor, getSeriesColors, getStyleResolver, setBackcolor, setBackgroundAlpha, setForegroundAlpha, setLabelRotation, setOrientation, setOrientation, setSeriesColors
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addSeriesColor, clearSeriesColors, getBackcolor, getBackgroundAlphaFloat, getChart, getForegroundAlphaFloat, getLabelRotationDouble, getOrientation, getOrientationValue, getOwnBackcolor, getSeriesColors, setBackcolor, setBackgroundAlpha, setForegroundAlpha, setLabelRotation, setOrientation, setOrientation, setSeriesColors
clone
public static final String PROPERTY_DATA_RANGE
public static final String PROPERTY_HIGH_RANGE
public static final String PROPERTY_LOW_RANGE
public static final String PROPERTY_MEDIUM_RANGE
public static final String PROPERTY_MERCURY_COLOR
public static final String PROPERTY_VALUE_DISPLAY
public static final String PROPERTY_VALUE_LOCATION
public JRDesignThermometerPlot(JRChartPlot plot, JRChart chart)
plot
- the plot to copypublic void setDataRange(JRDataRange dataRange)
dataRange
- the range of values to displaypublic void setValueDisplay(JRValueDisplay valueDisplay)
valueDisplay
- the value display formatting optionspublic void setValueLocation(ValueLocationEnum valueLocationObject)
valueLocationObject
- where to show the textual display of the valuepublic void setMercuryColor(Color mercuryColor)
mercuryColor
- the default color of the mercurypublic void setLowRange(JRDataRange lowRange)
lowRange
- the low range of the thermometerpublic void setMediumRange(JRDataRange mediumRange)
mediumRange
- the medium range of the thermometerpublic void setHighRange(JRDataRange highRange)
highRange
- the high range of the thermometerCopyright © 2016. All rights reserved.