|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.enterprise.gui.image.WebImage
org.rhq.enterprise.gui.image.chart.Chart
org.rhq.enterprise.gui.image.chart.VerticalChart
org.rhq.enterprise.gui.image.chart.ColumnChart
org.rhq.enterprise.gui.image.chart.ColumnLineChart
public class ColumnLineChart
ColumnLineChart draws a chart with vertical bars that represent the value of each data point with a connecting data points on top of the bars. For a description of how to use ColumnChart, see net.hyperic.chart.Chart.
net.hyperic.chart.Chart| Field Summary |
|---|
| Fields inherited from class org.rhq.enterprise.gui.image.chart.ColumnChart |
|---|
columnColor, columnWidth, DEFAULT_COLUMN_COLOR, DEFAULT_COLUMN_WIDTH, DEFAULT_HIGHLOW_COLOR, isCumulative |
| Fields inherited from class org.rhq.enterprise.gui.image.chart.VerticalChart |
|---|
DANGER_COLOR, DEFAULT_COLORS, GOOD_COLOR, UNKNOWN_COLOR |
| Fields inherited from class org.rhq.enterprise.gui.image.WebImage |
|---|
antiAliased, 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 Summary | |
|---|---|
ColumnLineChart()
Constructs a ColumnLineChart class with a default width, height and properties. |
|
ColumnLineChart(int width,
int height)
Constructs a ColumnLineChart class with a specified width and height. |
|
| Method Summary | |
|---|---|
protected Rectangle |
draw(ChartGraphics g)
|
Color |
getDataLineColor()
Retrieves the color of the chart's datum line. |
Color |
setDataLineColor(Color value)
Sets the color of the chart's datum line. |
| Methods inherited from class org.rhq.enterprise.gui.image.chart.ColumnChart |
|---|
checkHighLow, init, paint |
| Methods inherited from class org.rhq.enterprise.gui.image.chart.VerticalChart |
|---|
adjustBorders, adjustRectangle, findDataPointIndex, getCumulativeTrend, getDataPoint, getDataPoint, getInteriorRectangle, getXLabels, getXPoints, getYLabelWidth, initData, setCumulativeTrend, setTimeScale |
| Methods inherited from class org.rhq.enterprise.gui.image.chart.Chart |
|---|
calc, calcRanges, 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, setValueLegend |
| Methods inherited from class org.rhq.enterprise.gui.image.WebImage |
|---|
getFontMetrics, getImage, getTextCenter, getTextCenter, getTextCenter, isRunnable, setBorder, writeJpegImage, writeJpegImage, writePngImage, writePngImage |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ColumnLineChart()
public ColumnLineChart(int width,
int height)
width - The width of the chart in pixels.height - The height of the chart in pixels.| Method Detail |
|---|
protected Rectangle draw(ChartGraphics g)
draw in class VerticalChartpublic Color getDataLineColor()
Colorpublic Color setDataLineColor(Color value)
value - A java.awt.Color object that contains the datum line color.
IllegalArgumentException - If the value parameter is null.Color
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||