public class CustomPlotGlyph extends CategoryPlotGlyph implements Plot3DGlyph
threeDBase, ZPCATEGORY_PARA, conditionCollection, DEFAULT_SIZE, plotStyle, RESET_JAVA_FONT_X, SERIES_PARA, seriesList, STACK, X_AXIS, X_PARA, Y_AXIS, Y_PARAbounds, 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, setStackedaddOtherJSON, 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, setyAxisGlyphaddECNameToHyperLink, 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, trendLineFittinggetBounds, getShape, isInvisible, isVisible, setBounds, setVisibledealCondition, dealConditionWithSeriesColor, drawOnlyBorder, drawWithOutBorder, getAlpha, getBackground, getBorderColor, getBorderStyle, getGeneralInfo, getRoundRadius, is3DIE6, isRoundBorder, isShadow, paint, paintBackground, putBackgroundJSON, putPlotBackgroundJSON, setAlpha, setBackground, setBorderColor, setBorderStyle, setGeneralInfo, setRoundBorder, toVanJSONObjectpublic 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 在接口中 Plot3DGlyphpublic void set3DDeepBase(int deepBase)
set3DDeepBase 在接口中 Plot3DGlyphpublic void setProjection(Projection projection)
Object3DsetProjection 在接口中 Object3Dprojection - 投影public Projection getProjection()
Object3DgetProjection 在接口中 Object3Dprotected int get3DDeep(Plot3DGlyph plot3D)
get3DDeep 在类中 CategoryPlotGlyphpublic boolean isNeedDefaultDeep()
isNeedDefaultDeep 在类中 CategoryPlotGlyphpublic void layoutAxisGlyph(int resolution)
layoutAxisGlyph 在类中 RectanglePlotGlyphresolution - 分辨率public void draw(java.awt.Graphics g,
int resolution)
draw 在接口中 Glyphdraw 在类中 RectanglePlotGlyphg - 图形对象resolution - 分辨率public void layoutDataSeriesGlyph(int resolution)
layoutDataSeriesGlyph 在类中 PlotGlyphresolution - 分辨率public AxisGlyph getSeriesAxisGlyph(int seriesIndex)
getSeriesAxisGlyph 在类中 RectanglePlotGlyphpublic double getPreSum4Area(int seriesIndex,
int categoryIndex)
CategoryPlotGlyphgetPreSum4Area 在类中 CategoryPlotGlyphseriesIndex - 指定的系列序号categoryIndex - 指定的分类序号public double getPreSum4Bar(int seriesIndex,
int categoryIndex,
boolean isNegative)
CategoryPlotGlyphgetPreSum4Bar 在类中 CategoryPlotGlyphseriesIndex - 指定的系列序号categoryIndex - 指定的分类序号isNegative - 是否为负数 true 表示负数.public int[] getDrawSequence()
getDrawSequence 在类中 PlotGlyphpublic boolean equals(java.lang.Object ob)
equals 在类中 CategoryPlotGlyphpublic void addSeriesJSON(JSONObject js, ConditionCollection conditionCollection, Repository repo) throws JSONException
addSeriesJSON 在类中 PlotGlyphJSONExceptionpublic JSONObject toJSONObject(Repository repo) throws JSONException
toJSONObject 在接口中 GlyphtoJSONObject 在类中 CategoryPlotGlyphrepo - 请求JSONException - 抛错public java.lang.String getPlotGlyphType()
PlotGlyphgetPlotGlyphType 在类中 PlotGlyphpublic java.lang.String getChartType()
getChartType 在类中 PlotGlyphpublic PlotGlyph[] getAllPlotGlyph()