public class RangeAxisGlyph extends ValueAxisGlyph
maxLeftAlert, maxRightAlert, UNIT_HEIGHT
axisGridLength, axisLabelWidth, axisLength, axisReversed, bounds, DEFAULT_SAMPLING_TIME, DEFAULT_UNIT, endLabelDim, format, isArrowShow, isCustomMaxValue, isCustomMinValue, isLabelWrap, isShowAxisLabel, labelNumber, lineColor, lineStyle, MAIN_TICK_LENGTH, mainGridColor, mainGridStyle, mainUnit, MAX_AXIS_LABEL_HEIGHT, MAX_AXIS_LABEL_WIDTH, maxValue, MIN_TICK_LENGTH, minValue, originPoint, PIE_ANGLE, plotLastBounds, plotZeroBounds, position, SEC_TICK_LENGTH, secTickMarkType, startLabelDim, textAttr, threeDBase, TICK_WIDTH, tickMarkType, titleDim, titleGlyph, TOP_AND_DOWN_GAP, unitLength
构造器和说明 |
---|
RangeAxisGlyph() |
限定符和类型 | 方法和说明 |
---|---|
void |
dealPlotBoundsWithAxisLabel(java.awt.geom.Rectangle2D plotBounds,
int resolution)
处理绘图区边界
|
void |
drawAxisGrid(java.awt.Graphics g)
主次网格线以及警戒线
|
protected void |
drawLabel(java.awt.Graphics g,
double value,
double offset,
java.lang.String str,
java.awt.geom.GeneralPath labelBoundsPath,
int resolution)
坐标轴标签
|
boolean |
equals(java.lang.Object ob) |
java.awt.geom.Line2D[] |
getGridLine(double value)
返回对应值的网格线数组
|
java.lang.String |
getJSAxisType()
返回对应的js类型.
|
void |
init(java.awt.geom.Rectangle2D axisBounds,
double axisGridLength)
初始化
|
JSONObject |
toJSONObject(Repository repo)
转为json数据
|
calculateAxisLengthUnit, dealAlertLabelWidth, dealPlotBoundsWithAlert, draw4ThreeD, drawAfterPlot4AlertValues, drawAxisLine, drawTicks, getArrowValue, getAxisName, getCateLabelWidth, getCrossValue, getCrossValueInPlot, getLabelBounds, getMaxLabelWidthAndInitStartEndLabelDim, getModelAlertValue, getPoint2D, getPointInBounds, getPreLeftWidth4DataSheet, getTickSamplingTime, getVanAxisStringType, isAlignZeroValue, isNeedAutoWrap, setAlignZeroValue, toVanJSONObject
getAlertValues, getBaseLog, getDivideUnit, getMaxLeftAlert, getMaxRightAlert, getShowUnit, initMinMaxValue, isLog, isPercentage, setAlertValues, setBaseLog, setLog, setPercentage, setShowUnit, setUnitPadding
addAxisLabelJSON, addMinMaxValue, calBoundsWithMoreLabel4Cate, calculateAxisGlyph, calculateBoundsWidthOrientationAndTitle, calculateLocationWithEllipsis, calculateTitleDimesion, calculatorTitleBounds, changeAxisLabelStringWithLabelBounds, dealPlotBoundsWithAxisTitle, dealPlotBoundsWithLabel, dealPlotBoundsWithLabelInHorizontal, dealWithPlotBounds, draw, drawArrow, drawAxisTitle, drawLabel, drawLabelWrapWhenNeed, drawTickLine, drawWithOutAlert, get2ValueLength, getAxisGridLength, getAxisLabelDim, getAxisLabelWidth, getAxisLabelWidth, getAxisLength, getAxisType, getBigDecimalMainUnit, getBottomTitleBounds, getBounds, getCubic, getFormat, getLabelBounds4WrapWhenAxisLeftOrRight, getLabelNumber, getLeftRightY, getLeftTitleBounds, getLineColor, getLineStyle, getMainGridColor, getMainGridStyle, getMainUnit, getMaxValue, getMinValue, getOrigin, getOtherPoint2ValueLength, getOtherPositionGridLine, getOtherPositionLabelBounds, getOtherPositionTickLine, getOtherPositionTitleBounds, getPlotLastBounds, getPlotZeroBounds, getPosition, getRightTitleBounds, getSecTickMarkType, getSecUnit, getShape, getTextAttr, getThreeDBase, getTickIndex4Value, getTickLengthShow, getTickLine, getTickLineByCenterPoint, getTickMarkType, getTitleDim, getTopBottomX, getTopTitleBounds, getUnitLen, hasAxisReversed, init, isArrowShow, isCustomMainUnit, isCustomMaxValue, isCustomMinValue, isCustomSecUnit, isDrawBetweenTick, isHorizontal, isRevertAndArrow, isShowAxisLabel, isZoom, notShowAllAttr, setArrowShow, setAttr, setAxisGridLength, setAxisLabelWidth, setAxisLength, setAxisReversed, setAxisType, setBounds, setCubic, setCustomMainUnit, setCustomMaxValue, setCustomMinValue, setCustomSecUnit, setDrawBetweenTick, setFormat, setLabelNumber, setLabelWrap, setLineColor, setLineStyle, setMainGridColor, setMainGridStyle, setMainUnit, setMaxValue, setMinMaxValue, setMinValue, setOrigin, setPlotZeroBounds, setPosition, setSecTickMarkType, setSecUnit, setShowAxisLabel, setTextAttr, setThreeDBase, setTickMarkType, setTitleGlyph, setUnitLen, setZoom, shouldBeHeight, shouldDrawTickLine, value2String
clone, selectableChildren
public void init(java.awt.geom.Rectangle2D axisBounds, double axisGridLength)
axisBounds
- 边界axisGridLength
- 网格线长度public void dealPlotBoundsWithAxisLabel(java.awt.geom.Rectangle2D plotBounds, int resolution)
dealPlotBoundsWithAxisLabel
在类中 ValueAxisGlyph
plotBounds
- 绘图区边界resolution
- 分辨率public void drawAxisGrid(java.awt.Graphics g)
drawAxisGrid
在类中 ValueAxisGlyph
g
- Graphicspublic java.awt.geom.Line2D[] getGridLine(double value)
AxisGlyph
getGridLine
在类中 AxisGlyph
protected void drawLabel(java.awt.Graphics g, double value, double offset, java.lang.String str, java.awt.geom.GeneralPath labelBoundsPath, int resolution)
public boolean equals(java.lang.Object ob)
equals
在类中 ValueAxisGlyph
public JSONObject toJSONObject(Repository repo) throws JSONException
toJSONObject
在接口中 Glyph
toJSONObject
在类中 ValueAxisGlyph
repo
- 请求JSONException
- 抛错public java.lang.String getJSAxisType()
ValueAxisGlyph
getJSAxisType
在类中 ValueAxisGlyph