ChartDirector
Class LinearMeter
java.lang.Object
ChartDirector.BaseChart
ChartDirector.BaseMeter
ChartDirector.LinearMeter
public class LinearMeter
- extends BaseMeter
Constructor Summary |
LinearMeter(int width,
int height)
|
LinearMeter(int width,
int height,
int bgColor)
|
LinearMeter(int width,
int height,
int bgColor,
int edgeColor)
|
LinearMeter(int width,
int height,
int bgColor,
int edgeColor,
int raisedEffect)
|
Method Summary |
TextBox |
addBar(double startValue,
double endValue,
int color)
|
TextBox |
addBar(double startValue,
double endValue,
int color,
int effect)
|
TextBox |
addBar(double startValue,
double endValue,
int color,
int effect,
int roundedCorner)
|
TextBox |
addZone(double startValue,
double endValue,
int color)
|
TextBox |
addZone(double startValue,
double endValue,
int color,
java.lang.String label)
|
void |
setLabelPos(boolean labelInside,
int labelOffset)
|
void |
setLineWidth(int axisWidth,
int majorTickWidth,
int minorTickWidth,
int microTickWidth)
|
void |
setMeter(int leftX,
int topY,
int width,
int height)
|
void |
setMeter(int leftX,
int topY,
int width,
int height,
int axisPos)
|
void |
setMeter(int leftX,
int topY,
int width,
int height,
int axisPos,
boolean isReversed)
|
void |
setRail(int railColor)
|
void |
setRail(int railColor,
int railWidth)
|
void |
setRail(int railColor,
int railWidth,
int railOffset)
|
Methods inherited from class ChartDirector.BaseMeter |
addColorScale, addColorScale, addColorScale, addColorScale, addColorScale, addLabel, addPointer, addPointer, addPointer, getCoor, getLabel, getTicks, setLabelFormat, setLabelPos, setLabelStyle, setLabelStyle, setLabelStyle, setLabelStyle, setLabelStyle, setLineWidth, setLineWidth, setLineWidth, setMeterColors, setMeterColors, setMeterColors, setScale, setScale, setScale, setScale, setScale, setScale, setScale, setScale2, setScale3, setScale3, setTickLength, setTickLength, setTickLength |
Methods inherited from class ChartDirector.BaseChart |
addExtraField, addExtraField, addExtraField, addExtraField2, addExtraField2, addLegend, addLegend, addLegend, addLegend, addLegend2, addLegend2, addLegend2, addLine, addLine, addLine, addTable, addText, addText, addText, addText, addText, addText, addText, addTitle, addTitle, addTitle, addTitle, addTitle, addTitle, addTitle, addTitle, addTitle, addTitle, addTitle, addTitle, addTitle2, addTitle2, addTitle2, addTitle2, addTitle2, addTitle2, adjustBrightness, autoColor, dashLineColor, dashLineColor, enableVectorOutput, formatValue, formatValue, getAbsOffsetX, getAbsOffsetY, getChartMetrics, getColor, getDrawArea, getHeight, getHTMLImageMap, getHTMLImageMap, getHTMLImageMap, getHTMLImageMap, getJsChartModel, getJsChartModel, getLegend, getWidth, gradientColor, gradientColor, gradientColor, gradientColor, gradientColor, gradientColor2, gradientColor2, gradientColor2, gradientColor2, halfColor, initDynamicLayer, layout, layoutLegend, linearGradientColor, linearGradientColor, linearGradientColor, linearGradientColor, linearGradientColor2, linearGradientColor2, makeChart, makeChart, makeChart, makeChart2, makeChart3, makeImage, makeSession, makeSession, makeSession, makeSession, makeSession, makeSession, makeSession, makeSession, makeTmpFile, makeTmpFile, makeTmpFile, patternColor, patternColor, patternColor, patternColor, patternColor2, patternColor2, radialGradientColor, radialGradientColor, radialGradientColor, radialGradientColor, radialGradientColor2, radialGradientColor2, recycle, removeDynamicLayer, setAMPM, setAntiAlias, setAntiAlias, setAntiAlias, setBackground, setBackground, setBackground, setBgImage, setBgImage, setBorder, setColor, setColors, setColors, setColors2, setDefaultFonts, setDefaultFonts, setDefaultFonts, setDefaultFonts, setDropShadow, setDropShadow, setDropShadow, setDropShadow, setDropShadow, setFontTable, setMonthNames, setNumberFormat, setNumberFormat, setNumberFormat, setNumberFormat, setOutputOptions, setResource, setResource, setRoundedFrame, setRoundedFrame, setRoundedFrame, setRoundedFrame, setSearchPath, setSearchPath, setSearchPath, setSearchPath, setSearchPath, setSearchPath, setSearchPath, setSearchPath, setSearchPath, setSearchPath2, setSearchPath2, setSearchPath3, setSearchPath3, setSearchPath3, setSearchPath4, setSearchPath5, setSearchPath5, setSize, setThickFrame, setThickFrame, setThickFrame, setThickFrame, setTransparentColor, setWallpaper, setWeekDayNames |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LinearMeter
public LinearMeter(int width,
int height,
int bgColor,
int edgeColor,
int raisedEffect)
LinearMeter
public LinearMeter(int width,
int height,
int bgColor,
int edgeColor)
LinearMeter
public LinearMeter(int width,
int height,
int bgColor)
LinearMeter
public LinearMeter(int width,
int height)
setLineWidth
public void setLineWidth(int axisWidth,
int majorTickWidth,
int minorTickWidth,
int microTickWidth)
- Overrides:
setLineWidth
in class BaseMeter
setLabelPos
public void setLabelPos(boolean labelInside,
int labelOffset)
- Overrides:
setLabelPos
in class BaseMeter
setMeter
public void setMeter(int leftX,
int topY,
int width,
int height,
int axisPos,
boolean isReversed)
setMeter
public void setMeter(int leftX,
int topY,
int width,
int height,
int axisPos)
setMeter
public void setMeter(int leftX,
int topY,
int width,
int height)
setRail
public void setRail(int railColor,
int railWidth,
int railOffset)
setRail
public void setRail(int railColor,
int railWidth)
setRail
public void setRail(int railColor)
addBar
public TextBox addBar(double startValue,
double endValue,
int color,
int effect,
int roundedCorner)
addBar
public TextBox addBar(double startValue,
double endValue,
int color,
int effect)
addBar
public TextBox addBar(double startValue,
double endValue,
int color)
addZone
public TextBox addZone(double startValue,
double endValue,
int color,
java.lang.String label)
addZone
public TextBox addZone(double startValue,
double endValue,
int color)