public class LineChart extends VerticalChart
net.hyperic.chart.Chart| Modifier and Type | Field and Description |
|---|---|
boolean |
isCumulative
Specified whether the data to be charted is cumulative data.
|
DANGER_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 |
|---|
LineChart() |
LineChart(int charts) |
LineChart(int width,
int height) |
LineChart(int width,
int height,
int charts) |
| Modifier and Type | Method and Description |
|---|---|
protected Rectangle |
draw(ChartGraphics g) |
Color |
getDataLineColor(int index) |
protected void |
paint(ChartGraphics g,
Rectangle rect) |
void |
setDataLineColor(int index,
Color color) |
adjustBorders, adjustRectangle, findDataPointIndex, getCumulativeTrend, getDataPoint, getDataPoint, getInteriorRectangle, getXLabels, getXPoints, getYLabelWidth, init, initData, setCumulativeTrend, setTimeScalecalc, calcRanges, calcVariableHeight, calcVariableWidth, checkHighLow, 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, writePngImagepublic boolean isCumulative
public LineChart()
public LineChart(int charts)
public LineChart(int width,
int height)
public LineChart(int width,
int height,
int charts)
protected Rectangle draw(ChartGraphics g)
draw in class VerticalChartprotected void paint(ChartGraphics g, Rectangle rect)
paint in class VerticalChartpublic Color getDataLineColor(int index)
public void setDataLineColor(int index,
Color color)
Copyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.