public class CustomPlotGlyph extends CategoryPlotGlyph implements Plot3DGlyph
threeDBase, ZP
CATEGORY_PARA, conditionCollection, DEFAULT_SIZE, plotStyle, RESET_JAVA_FONT_X, SERIES_PARA, seriesList, STACK, X_AXIS, X_PARA, Y_AXIS, Y_PARA
bounds, visible
构造器和说明 |
---|
CustomPlotGlyph() |
限定符和类型 | 方法和说明 |
---|---|
void |
addSeriesJSON(JSONObject js,
ConditionCollection conditionCollection,
Repository repo) |
void |
draw(java.awt.Graphics g,
int resolution)
画出.
|
boolean |
equals(java.lang.Object ob) |
protected int |
get3DDeep(Plot3DGlyph plot3D) |
PlotGlyph[] |
getAllPlotGlyph()
返回所有plotGlyph的数组,用于单元测试
|
java.lang.String |
getChartType() |
ConditionCollection |
getCustomTypeCondition() |
int |
getDeep()
获取3D图的透视深度
|
int |
getDeepBase()
获取3D图的透视深度
|
int[] |
getDrawSequence()
返回系列的画法顺序数组.
|
java.lang.String |
getPlotGlyphType()
用于JS中的Type类型.
|
double |
getPreSum4Area(int seriesIndex,
int categoryIndex)
得到面积系列指定分类和系列 之前堆积的数据和.
|
double |
getPreSum4Bar(int seriesIndex,
int categoryIndex,
boolean isNegative)
得到柱形系系列指定分类和序号 之前堆积的数据和.
|
Projection |
getProjection()
返回3D图表的投影
|
AxisGlyph |
getSeriesAxisGlyph(int seriesIndex) |
boolean |
isNeedDefaultDeep()
是否需要默认的深度
|
void |
layoutAxisGlyph(int resolution)
布局坐标轴.
|
void |
layoutDataSeriesGlyph(int resolution)
布局系列.
|
void |
set3DDeepBase(int deepBase) |
void |
setAreaPlotGlyphStack(AreaPlotGlyph areaPlotGlyphStack)
设置面积图堆积.
|
void |
setBar2DPlotGlyph(Bar2DPlotGlyph bar2DPlotGlyph)
设置柱形图
|
void |
setBar2DPlotGlyphStack(Bar2DPlotGlyph bar2DPlotGlyphStack)
设置柱形堆积图
|
void |
setBar3DPlotGlyph(Bar3DPlotGlyph bar3DPlotGlyph) |
void |
setBar3DPlotGlyphStack(Bar3DPlotGlyph bar3DPlotGlyphStack) |
void |
setCustomTypeCondition(ConditionCollection customTypeCondition)
收集用于类型定义的条件属性组合
|
void |
setHas3DShape(boolean has3DShape) |
void |
setLinePlotGlyph(LinePlotGlyph linePlotGlyph)
设置折线
|
void |
setProjection(Projection projection)
设置3D图表的投影
|
JSONObject |
toJSONObject(Repository repo)
转为json数据
|
createDataSheetGlyph, doLayout, draw3DInfo, drawAxisGlyph4ThreeD, get3DBaseCover, getBarPercent, getBarStartPercent, getCategoryIntervalPercent, getDataPointPercentValue, getExtraTooltipValue, getOutline4Fill, getPlotOptionsJSON, getPreSum4Line, getSeriesOverlapPercent, is3DBaseHorizontal, isStacked, layoutAxisGlyph4ThreeD, layoutDoubleAxisGlyph, resetPlotBoundsWith3DDeepAndProjectionBeforeAxisGlyph, setCategoryIntervalPercent, setSeriesOverlapPercent, setStacked
addOtherJSON, calculateAxisGlyphAttr, createSheetGlyphAndNotShowAxisGlyph, dealCommonLinePath, dealCurveLinePath, dealPlotBoundsWidthAxisInHorizontal, dealPlotBoundsWithAxisGlyph, drawBackgroundGrid, drawInfo, getPreGap4AxisRightUnit, getPreGap4AxisTopUnit, getPreLeft4DataSheet, getSecondAxisGlyph, getxAxisGlyph, getXDivideUnit, getyAxisGlyph, getYDivideUnit, initAxisGlyphBoundsAndZeroBounds, isZoom, layoutDoubleAxisGlyph, selectableChildren, setHorizontalIntervalBackgroundColor, setInteractiveAxisTooltip, setSecondAxisGlyph, setVerticalIntervalBackgroundColor, setxAxisGlyph, setyAxisGlyph
addECNameToHyperLink, addSeries, addSeriesJSON, avoidCoverLabelBounds, axisExtendsMaxMinValueWithTrendLine, calculateDataPointPercentValue, calculateOrderList, clone, createColors4Cate, createColors4Series, dealDataPointLabel, dealLabelBoundsInOrder, dealLabelBoundsOutPlotBounds, dealPlotHotAttr, drawLabel4Series, drawShape4Series, getAdditionalCanvasCount, getAllDataPointGlyph, getAllTrendLineGlyph, getAutoRefreshPerSecond, getCategoryCount, getCombinedSize, getConditionCollection, getDataPointLabelBoundsWithPosition, getDataPointLabelBoundsWithPosition, getDataPointLabelBoundsWithPosition4Line, getDataProcessor, getExtraLabelValue, getFirstDataPoint, getHotHyperLink, getHotTooltipStyle, getPlotDetailType, getPlotFillStyle, getPlotStyle, getSeries, getSeriesSize, getSmallIconType, getVanChartType, getWholeChartBackground, is3DPlotGlyph, isDataPointXNotInPlotBounds, isExistAttrByResult, isNeedDealHotHyperlink, isNullValueBreak, isSeriesDragEnable, isSupportLegend, isSupportZoom, notDealDataPointLabel, resetClip, setAutoRefreshPerSecond, setCombinedSize, setConditionCollection, setDataProcessor, setHotHyperLink, setHotTooltipStyle, setIsNullValueBreak, setPlotFillStyle, setPlotStyle, setSeriesDragEnable, setWholeChartBackground, setZoom, skipDealPointHotAttr, trendLineFitting
getBounds, 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 setBar2DPlotGlyph(Bar2DPlotGlyph bar2DPlotGlyph)
public void setBar2DPlotGlyphStack(Bar2DPlotGlyph bar2DPlotGlyphStack)
public void setLinePlotGlyph(LinePlotGlyph linePlotGlyph)
public void setAreaPlotGlyphStack(AreaPlotGlyph areaPlotGlyphStack)
public void setCustomTypeCondition(ConditionCollection customTypeCondition)
customTypeCondition
- 条件集合public ConditionCollection getCustomTypeCondition()
public void setBar3DPlotGlyph(Bar3DPlotGlyph bar3DPlotGlyph)
public void setBar3DPlotGlyphStack(Bar3DPlotGlyph bar3DPlotGlyphStack)
public void setHas3DShape(boolean has3DShape)
public int getDeepBase()
getDeepBase
在接口中 Plot3DGlyph
public void set3DDeepBase(int deepBase)
set3DDeepBase
在接口中 Plot3DGlyph
public void setProjection(Projection projection)
Object3D
setProjection
在接口中 Object3D
projection
- 投影public Projection getProjection()
Object3D
getProjection
在接口中 Object3D
protected int get3DDeep(Plot3DGlyph plot3D)
get3DDeep
在类中 CategoryPlotGlyph
public boolean isNeedDefaultDeep()
isNeedDefaultDeep
在类中 CategoryPlotGlyph
public void layoutAxisGlyph(int resolution)
layoutAxisGlyph
在类中 RectanglePlotGlyph
resolution
- 分辨率public void draw(java.awt.Graphics g, int resolution)
draw
在接口中 Glyph
draw
在类中 RectanglePlotGlyph
g
- 图形对象resolution
- 分辨率public void layoutDataSeriesGlyph(int resolution)
layoutDataSeriesGlyph
在类中 PlotGlyph
resolution
- 分辨率public AxisGlyph getSeriesAxisGlyph(int seriesIndex)
getSeriesAxisGlyph
在类中 RectanglePlotGlyph
public double getPreSum4Area(int seriesIndex, int categoryIndex)
CategoryPlotGlyph
getPreSum4Area
在类中 CategoryPlotGlyph
seriesIndex
- 指定的系列序号categoryIndex
- 指定的分类序号public double getPreSum4Bar(int seriesIndex, int categoryIndex, boolean isNegative)
CategoryPlotGlyph
getPreSum4Bar
在类中 CategoryPlotGlyph
seriesIndex
- 指定的系列序号categoryIndex
- 指定的分类序号isNegative
- 是否为负数 true 表示负数.public int[] getDrawSequence()
getDrawSequence
在类中 PlotGlyph
public boolean equals(java.lang.Object ob)
equals
在类中 CategoryPlotGlyph
public void addSeriesJSON(JSONObject js, ConditionCollection conditionCollection, Repository repo) throws JSONException
addSeriesJSON
在类中 PlotGlyph
JSONException
public JSONObject toJSONObject(Repository repo) throws JSONException
toJSONObject
在接口中 Glyph
toJSONObject
在类中 CategoryPlotGlyph
repo
- 请求JSONException
- 抛错public java.lang.String getPlotGlyphType()
PlotGlyph
getPlotGlyphType
在类中 PlotGlyph
public java.lang.String getChartType()
getChartType
在类中 PlotGlyph
public PlotGlyph[] getAllPlotGlyph()