org.rhq.enterprise.gui.image.chart
Class StackedPerformanceChart

java.lang.Object
  extended by org.rhq.enterprise.gui.image.WebImage
      extended by org.rhq.enterprise.gui.image.chart.Chart
          extended by org.rhq.enterprise.gui.image.chart.HorizontalChart
              extended by org.rhq.enterprise.gui.image.chart.StackedPerformanceChart

public class StackedPerformanceChart
extends HorizontalChart


Field Summary
 
Fields inherited from class org.rhq.enterprise.gui.image.chart.Chart
ARG_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, yTopLegend
 
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
StackedPerformanceChart()
           
StackedPerformanceChart(int width, int charts)
           
StackedPerformanceChart(int width, int height, int charts)
           
StackedPerformanceChart(int width, int height, int charts, String destinationType)
           
StackedPerformanceChart(int width, int charts, String destinationType)
           
 
Method Summary
protected  int calcVariableHeight()
           
protected  Rectangle draw(ChartGraphics g)
           
protected  Class getDataCollectionClass()
           
protected  void init()
           
 void setFormat(org.rhq.core.domain.measurement.MeasurementUnits units)
           
 
Methods inherited from class org.rhq.enterprise.gui.image.chart.HorizontalChart
adjustRectangle, getDataPoint, getDataPoint, getInteriorRectangle, getUnitLabels, getXLabels, getYLabelWidth, paint
 
Methods inherited from class org.rhq.enterprise.gui.image.chart.Chart
calc, calcRanges, calcVariableWidth, checkHighLow, draw, getAverageValue, getDataPoint, getDataPoints, getDataPoints, getDataSetCount, getDataSetIterator, getDisplayPoint, getExteriorHeight, getExteriorRectangle, getLowValue, getNoDataString, getPeakValue, getTitle, getUnitLabel, getUnitLegend, getValueLegend, getXLabelHeight, getXLabelWidth, getXLegendHeight, hasData, initData, initFonts, postInit, preInit, scale, 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

StackedPerformanceChart

public StackedPerformanceChart()

StackedPerformanceChart

public StackedPerformanceChart(int width,
                               int charts)

StackedPerformanceChart

public StackedPerformanceChart(int width,
                               int charts,
                               String destinationType)

StackedPerformanceChart

public StackedPerformanceChart(int width,
                               int height,
                               int charts)

StackedPerformanceChart

public StackedPerformanceChart(int width,
                               int height,
                               int charts,
                               String destinationType)
Method Detail

init

protected void init()
Overrides:
init in class HorizontalChart

calcVariableHeight

protected int calcVariableHeight()
Overrides:
calcVariableHeight in class Chart

getDataCollectionClass

protected Class getDataCollectionClass()
Overrides:
getDataCollectionClass in class Chart

draw

protected Rectangle draw(ChartGraphics g)
Overrides:
draw in class HorizontalChart

setFormat

public void setFormat(org.rhq.core.domain.measurement.MeasurementUnits units)
Overrides:
setFormat in class Chart


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.