public class RingGaugeGlyph extends GaugeGlyph
attrLabel, bounds, CATEGORY_LABEL_GAP, cateOrPercentLabelString, centerPoint, colorList, DEFAULT_COLOR_NUMBER, defaultColors, extent, GAP, gaugeAxisGlyph, gaugeDetailStyle, PIE, radius, startAngle, valueLabelString, valueList
构造器和说明 |
---|
RingGaugeGlyph(java.awt.geom.Rectangle2D bounds,
AttrLabel attrLabel,
GaugeDetailStyle gaugeDetailStyle,
VanChartGaugeAxisGlyph gaugeAxisGlyph) |
限定符和类型 | 方法和说明 |
---|---|
void |
doLayout(double cateLabelHeight,
int resolution) |
protected void |
drawInfo(java.awt.Graphics2D g2d,
int resolution) |
protected java.awt.geom.Rectangle2D |
getCateOrPercentLabelBounds(int position,
java.awt.geom.Dimension2D dim) |
protected java.awt.geom.Rectangle2D |
getValueLabelBounds(int position,
java.awt.geom.Dimension2D dim) |
protected void |
setCateOrPercentLabelAutoFont(TextAttr textAttr) |
addValue, calculateRadiusAndCenterPoint, draw, drawCateOrPercentageLabel, drawPaneBackground, drawValueLabel, getCateOrPercentLabelWithDataPoint, getDefaultValueColor, getPosition, getShape, getValueColor, getValueLabelWithDataPoint, initStartAngleAndExtent, setCateOrPercentLabelString, setColorList, setDefaultColors, setPosition, setValueLabelString
clone, selectableChildren, toJSONObject
public RingGaugeGlyph(java.awt.geom.Rectangle2D bounds, AttrLabel attrLabel, GaugeDetailStyle gaugeDetailStyle, VanChartGaugeAxisGlyph gaugeAxisGlyph)
public void doLayout(double cateLabelHeight, int resolution)
doLayout
在类中 GaugeGlyph
protected void drawInfo(java.awt.Graphics2D g2d, int resolution)
drawInfo
在类中 GaugeGlyph
protected void setCateOrPercentLabelAutoFont(TextAttr textAttr)
protected java.awt.geom.Rectangle2D getCateOrPercentLabelBounds(int position, java.awt.geom.Dimension2D dim)
protected java.awt.geom.Rectangle2D getValueLabelBounds(int position, java.awt.geom.Dimension2D dim)
getValueLabelBounds
在类中 GaugeGlyph