public abstract class RectanglePlotGlyph extends PlotGlyph
CATEGORY_PARA, conditionCollection, DEFAULT_SIZE, plotStyle, RESET_JAVA_FONT_X, SERIES_PARA, seriesList, STACK, X_AXIS, X_PARA, Y_AXIS, Y_PARA
bounds, visible
构造器和说明 |
---|
RectanglePlotGlyph() |
限定符和类型 | 方法和说明 |
---|---|
void |
addOtherJSON(JSONObject js,
Repository repo) |
protected void |
calculateAxisGlyphAttr(AxisGlyph axisGlyph,
java.awt.geom.Rectangle2D endPlotBounds) |
protected DataSheetGlyph |
createSheetGlyphAndNotShowAxisGlyph(DataSheet dataSheet,
LegendItem[] legendItems)
DataSheet显示的时候, 分类轴标签 不显示, 刻度线不显示 标题不显示.
|
protected void |
dealCommonLinePath(java.awt.geom.GeneralPath linePaths,
DataSeries dataSeries) |
protected void |
dealCurveLinePath(java.awt.geom.GeneralPath linePaths,
java.awt.geom.GeneralPath curvePaths,
DataSeries dataSeries) |
protected void |
dealPlotBoundsWidthAxisInHorizontal(AxisGlyph axisGlyph,
java.awt.geom.Rectangle2D lastPlotBounds) |
protected void |
dealPlotBoundsWithAxisGlyph(AxisGlyph axisGlyph,
java.awt.geom.Rectangle2D plotLeftBounds,
int resolution) |
void |
draw(java.awt.Graphics g,
int resolution)
画出.
|
void |
drawBackgroundGrid(java.awt.Graphics g)
画背景网线
|
void |
drawInfo(java.awt.Graphics g)
画包括间隔背景、网格线在内的样式
|
boolean |
equals(java.lang.Object ob) |
double |
getPreGap4AxisRightUnit()
值轴单位的 右侧压缩
|
double |
getPreGap4AxisTopUnit()
值轴单位 只有两种可能, 一种是压缩上方空间, 一种是压缩右侧空间, 所以考虑两种可能
|
double |
getPreLeft4DataSheet(int resolution) |
AxisGlyph |
getSecondAxisGlyph()
获取第二坐标轴
|
AxisGlyph |
getSeriesAxisGlyph(int seriesIndex) |
AxisGlyph |
getxAxisGlyph() |
protected double |
getXDivideUnit() |
AxisGlyph |
getyAxisGlyph()
获取y轴的Glyph对象
|
protected double |
getYDivideUnit() |
protected void |
initAxisGlyphBoundsAndZeroBounds(AxisGlyph axisGlyph,
java.awt.geom.Rectangle2D zeroBounds) |
boolean |
isZoom()
返回是否可以缩放
|
void |
layoutAxisGlyph(int resolution)
布局坐标轴.
|
protected void |
layoutDoubleAxisGlyph(AxisGlyph categoryAxisGlyph,
AxisGlyph valueAxisGlyph,
AxisGlyph secondValueAxisGlyph,
int resolution) |
java.util.Iterator |
selectableChildren()
返回可选择的迭代器
|
void |
setHorizontalIntervalBackgroundColor(java.awt.Color bgColor)
设置横向间隔背景色
|
void |
setInteractiveAxisTooltip(boolean interactiveAxisTooltip)
设置图表交互时是否显示坐标轴提示信息
|
void |
setSecondAxisGlyph(AxisGlyph secondAxisGlyph)
设置第二坐标轴的Glyph对象
|
void |
setVerticalIntervalBackgroundColor(java.awt.Color color)
设置纵向间隔背景色
|
void |
setxAxisGlyph(AxisGlyph xAxisGlyph) |
void |
setyAxisGlyph(AxisGlyph yAxisGlyph)
设置y轴的Glyph对象
|
JSONObject |
toJSONObject(Repository repo)
转为json数据
|
addECNameToHyperLink, addSeries, addSeriesJSON, addSeriesJSON, avoidCoverLabelBounds, axisExtendsMaxMinValueWithTrendLine, calculateDataPointPercentValue, calculateOrderList, clone, createColors4Cate, createColors4Series, createDataSheetGlyph, dealDataPointLabel, dealLabelBoundsInOrder, dealLabelBoundsOutPlotBounds, dealPlotHotAttr, doLayout, drawLabel4Series, drawShape4Series, getAdditionalCanvasCount, getAllDataPointGlyph, getAllTrendLineGlyph, getAutoRefreshPerSecond, getCategoryCount, getChartType, getCombinedSize, getConditionCollection, getDataPointLabelBoundsWithPosition, getDataPointLabelBoundsWithPosition, getDataPointLabelBoundsWithPosition4Line, getDataProcessor, getDrawSequence, getExtraLabelValue, getExtraTooltipValue, getFirstDataPoint, getHotHyperLink, getHotTooltipStyle, getPlotDetailType, getPlotFillStyle, getPlotGlyphType, getPlotOptionsJSON, getPlotStyle, getSeries, getSeriesSize, getSmallIconType, getVanChartType, getWholeChartBackground, is3DPlotGlyph, isDataPointXNotInPlotBounds, isExistAttrByResult, isNeedDealHotHyperlink, isNullValueBreak, isSeriesDragEnable, isSupportLegend, isSupportZoom, layoutDataSeriesGlyph, notDealDataPointLabel, resetClip, setAutoRefreshPerSecond, setCombinedSize, setConditionCollection, setDataProcessor, setHotHyperLink, setHotTooltipStyle, setIsNullValueBreak, setPlotFillStyle, setPlotStyle, setSeriesDragEnable, setWholeChartBackground, setZoom, skipDealPointHotAttr, trendLineFitting
getBounds, getOutline4Fill, getShape, isInvisible, isVisible, setBounds, setVisible
dealCondition, dealConditionWithSeriesColor, drawOnlyBorder, drawWithOutBorder, getAlpha, getBackground, getBorderColor, getBorderStyle, getGeneralInfo, getRoundRadius, is3DIE6, isRoundBorder, isShadow, paint, paintBackground, putBackgroundJSON, putPlotBackgroundJSON, setAlpha, setBackground, setBorderColor, setBorderStyle, setGeneralInfo, setRoundBorder, toVanJSONObject
public void setyAxisGlyph(AxisGlyph yAxisGlyph)
yAxisGlyph
- 坐标轴public AxisGlyph getyAxisGlyph()
public void setSecondAxisGlyph(AxisGlyph secondAxisGlyph)
secondAxisGlyph
- 坐标轴public AxisGlyph getSecondAxisGlyph()
public void setHorizontalIntervalBackgroundColor(java.awt.Color bgColor)
bgColor
- 颜色public void setVerticalIntervalBackgroundColor(java.awt.Color color)
color
- 颜色public void setInteractiveAxisTooltip(boolean interactiveAxisTooltip)
interactiveAxisTooltip
- true显示提示信息public void layoutAxisGlyph(int resolution)
layoutAxisGlyph
在类中 PlotGlyph
resolution
- 分辨率protected void layoutDoubleAxisGlyph(AxisGlyph categoryAxisGlyph, AxisGlyph valueAxisGlyph, AxisGlyph secondValueAxisGlyph, int resolution)
protected void initAxisGlyphBoundsAndZeroBounds(AxisGlyph axisGlyph, java.awt.geom.Rectangle2D zeroBounds)
protected void dealPlotBoundsWithAxisGlyph(AxisGlyph axisGlyph, java.awt.geom.Rectangle2D plotLeftBounds, int resolution)
protected void dealPlotBoundsWidthAxisInHorizontal(AxisGlyph axisGlyph, java.awt.geom.Rectangle2D lastPlotBounds)
protected void calculateAxisGlyphAttr(AxisGlyph axisGlyph, java.awt.geom.Rectangle2D endPlotBounds)
public AxisGlyph getSeriesAxisGlyph(int seriesIndex)
public double getPreLeft4DataSheet(int resolution)
getPreLeft4DataSheet
在类中 PlotGlyph
protected void dealCurveLinePath(java.awt.geom.GeneralPath linePaths, java.awt.geom.GeneralPath curvePaths, DataSeries dataSeries)
protected void dealCommonLinePath(java.awt.geom.GeneralPath linePaths, DataSeries dataSeries)
protected DataSheetGlyph createSheetGlyphAndNotShowAxisGlyph(DataSheet dataSheet, LegendItem[] legendItems)
public void setxAxisGlyph(AxisGlyph xAxisGlyph)
public AxisGlyph getxAxisGlyph()
public double getPreGap4AxisTopUnit()
PlotGlyph
getPreGap4AxisTopUnit
在类中 PlotGlyph
public double getPreGap4AxisRightUnit()
PlotGlyph
getPreGap4AxisRightUnit
在类中 PlotGlyph
public java.util.Iterator selectableChildren()
selectableChildren
在接口中 Glyph
selectableChildren
在类中 PlotGlyph
public void draw(java.awt.Graphics g, int resolution)
public void drawInfo(java.awt.Graphics g)
public void drawBackgroundGrid(java.awt.Graphics g)
g
- 图形对象public void addOtherJSON(JSONObject js, Repository repo) throws JSONException
addOtherJSON
在类中 PlotGlyph
JSONException
protected double getYDivideUnit()
getYDivideUnit
在类中 PlotGlyph
protected double getXDivideUnit()
getXDivideUnit
在类中 PlotGlyph
public JSONObject toJSONObject(Repository repo) throws JSONException
toJSONObject
在接口中 Glyph
toJSONObject
在类中 PlotGlyph
repo
- 请求JSONException
- 抛错