public class VanChartRadarAxisGlyph extends SpecialGlyph
限定符和类型 | 类和说明 |
---|---|
class |
VanChartRadarAxisGlyph.VanChartRadarXAxisGlyph |
class |
VanChartRadarAxisGlyph.VanChartRadarYAxisGlyph |
限定符和类型 | 字段和说明 |
---|---|
static double |
RADAR_TICK_COUNT |
构造器和说明 |
---|
VanChartRadarAxisGlyph(RadarType radarType) |
限定符和类型 | 方法和说明 |
---|---|
void |
addIndicatorJSON(JSONObject jsonObject) |
void |
doLayout(java.awt.geom.Rectangle2D bounds,
int resolution) |
void |
draw(java.awt.Graphics graphics,
int resolution)
将图像对象画到屏幕上
|
java.awt.Shape |
getArcShapeBetweenTwoValues(double startValue,
double endValue,
int cateIndex) |
java.awt.geom.Rectangle2D |
getColumnTypeLabelBounds(java.awt.geom.Dimension2D dim,
int cateIndex,
double value) |
VanChartCategoryAxisGlyph |
getDataSeriesCateAxisGlyph() |
VanChartValueAxisGlyph |
getDataSeriesValueAxisGlyph() |
java.awt.geom.Rectangle2D |
getNormalLabelBounds(java.awt.geom.Dimension2D dim,
int cateIndex,
double value) |
java.awt.geom.Point2D |
getPoint2DWithCateIndexAndValue(int cateIndex,
double value)
根据分类序号和值确定点
|
Position |
getPosition() |
java.awt.Shape |
getShape()
返回表示该Glyph的几何形状的对象
|
void |
setPosition(Position position) |
clone, selectableChildren, toJSONObject
public static final double RADAR_TICK_COUNT
public VanChartRadarAxisGlyph(RadarType radarType)
public Position getPosition()
public void setPosition(Position position)
public VanChartValueAxisGlyph getDataSeriesValueAxisGlyph()
public VanChartCategoryAxisGlyph getDataSeriesCateAxisGlyph()
public void doLayout(java.awt.geom.Rectangle2D bounds, int resolution)
public void draw(java.awt.Graphics graphics, int resolution)
Glyph
graphics
- 画图对象resolution
- 屏幕分辨率public java.awt.Shape getShape()
Glyph
public java.awt.geom.Point2D getPoint2DWithCateIndexAndValue(int cateIndex, double value)
cateIndex
- 分类序号value
- 值public java.awt.Shape getArcShapeBetweenTwoValues(double startValue, double endValue, int cateIndex)
public java.awt.geom.Rectangle2D getNormalLabelBounds(java.awt.geom.Dimension2D dim, int cateIndex, double value)
public java.awt.geom.Rectangle2D getColumnTypeLabelBounds(java.awt.geom.Dimension2D dim, int cateIndex, double value)
public void addIndicatorJSON(JSONObject jsonObject) throws JSONException
JSONException