public class HighLowChart extends ColumnChart
net.hyperic.chart.Chart| Modifier and Type | Field and Description |
|---|---|
protected static Color |
DEFAULT_HIGHLOW_COLOR |
protected static int |
DEFAULT_HIGHLOW_HEIGHT |
Color |
highLowColor
Color of High-Low bars.
|
columnColor, columnWidth, DEFAULT_COLUMN_COLOR, DEFAULT_COLUMN_WIDTH, isCumulativeDANGER_COLOR, DEFAULT_COLORS, GOOD_COLOR, UNKNOWN_COLORARG_MUST_BE_ZERO_OR_GREATER, averageLineColor, AVG, baseline, BASELINE, baselineColor, ceiling, chartColor, DEFAULT_LABEL_FONT, DEFAULT_LEGEND_FONT, DEFAULT_LEGEND_PLAIN, DEFAULT_UNIT_LEGEND, DEFAULT_VALUE_LEGEND, EMPTY_STRING, floor, highRange, highRangeColor, legendFont, legendTextColor, lineWidth, LOW, lowLineColor, lowRange, lowRangeColor, m_adRangeMarks, m_bNoData, m_dAvgValue, m_dLowValue, m_dPeakValue, m_floor, m_fmtUnits, m_metricsLabel, m_metricsLegend, PEAK, peakLineColor, rightLabelWidth, showAverage, showBaseline, showBottomLabels, showBottomLegend, showFullLabels, showHighRange, showLeftLabels, showLeftLegend, showLow, showLowRange, showPeak, showRightLabels, showRightLegend, showTopLabels, showTopLegend, showUnitLines, showValueLines, showValues, textWhitespace, tickMarkHeight, valueIndent, valueLines, VARIABLE_HEIGHT, VARIABLE_WIDTH, x2VertLabels, x2VertMarks, xLabelsSkip, xLineColor, xOffset, xRLabel, xVertLegend, xVertMarks, yBottomLegend, yHorzLabels, yOffset, yTopLegendantiAliased, ARG_CANNOT_BE_NULL, backgroundColor, bottomBorder, DEFAULT_BACKGROUND_COLOR, DEFAULT_BOLD_TYPEFACE, DEFAULT_BORDER_COLOR, DEFAULT_BORDER_SIZE, DEFAULT_FONT, DEFAULT_FONT_METRICS, DEFAULT_HEIGHT, DEFAULT_PLAIN_TYPEFACE, DEFAULT_SHADOW_WIDTH, DEFAULT_WIDTH, font, frameImage, height, indexColors, leftBorder, m_graphics, rightBorder, shadowWidth, SMALL_FONT, textColor, topBorder, width| Constructor and Description |
|---|
HighLowChart() |
HighLowChart(int width) |
HighLowChart(int width,
int height) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
calcRanges()
Calculates the high, low and average values of the chart data set.
|
Color |
getHighLowLineColor()
Retrieves the color of the high-low line.
|
protected void |
init() |
protected void |
paint(ChartGraphics g,
Rectangle rect) |
void |
setHighLowLineColor(Color value)
Sets the color of the columns.
|
checkHighLowadjustBorders, adjustRectangle, draw, findDataPointIndex, getCumulativeTrend, getDataPoint, getDataPoint, getInteriorRectangle, getXLabels, getXPoints, getYLabelWidth, initData, setCumulativeTrend, setTimeScalecalc, calcVariableHeight, calcVariableWidth, draw, getAverageValue, getDataCollectionClass, getDataPoint, getDataPoints, getDataPoints, getDataSetCount, getDataSetIterator, getDisplayPoint, getExteriorHeight, getExteriorRectangle, getLowValue, getNoDataString, getPeakValue, getTitle, getUnitLabel, getUnitLegend, getValueLegend, getXLabelHeight, getXLabelWidth, getXLegendHeight, hasData, initFonts, postInit, preInit, scale, setFormat, setNoDataString, setNumberDataSets, setTitle, setUnitLegend, setValueLegendgetFontMetrics, getImage, getTextCenter, getTextCenter, getTextCenter, isRunnable, setBorder, writeJpegImage, writeJpegImage, writePngImage, writePngImageprotected static final Color DEFAULT_HIGHLOW_COLOR
protected static final int DEFAULT_HIGHLOW_HEIGHT
public Color highLowColor
public HighLowChart()
public HighLowChart(int width)
public HighLowChart(int width,
int height)
protected void init()
init in class ColumnChartpublic Color getHighLowLineColor()
Colorpublic void setHighLowLineColor(Color value)
value - A java.awt.Color object that contains the color of the high-low line.IllegalArgumentException - If the value parameter is null.Colorprotected void paint(ChartGraphics g, Rectangle rect)
paint in class ColumnChartprotected void calcRanges()
ChartcalcRanges in class ChartCopyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.