public abstract class BarPlotGlyph extends CategoryPlotGlyph
限定符和类型 | 字段和说明 |
---|---|
protected boolean |
isHorizontal |
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
构造器和说明 |
---|
BarPlotGlyph() |
限定符和类型 | 方法和说明 |
---|---|
boolean |
equals(java.lang.Object ob) |
protected java.awt.geom.Rectangle2D |
getBarShape(DataSeries dataSeries,
CategoryPlotGlyph categoryPlotGlyph,
int categoryIndex,
BarDataWithAxisGlyph data)
返回指定系列的柱形Shape
|
protected java.awt.geom.Rectangle2D |
getBarShape4GanttPlot(double start,
double end,
int categoryIndex,
AxisGlyph categoryAxisGlyph,
AxisGlyph dateAxisGlyph,
int barNumber,
int barIndex)
为甘特图类型得到柱形的Shape
|
protected java.awt.geom.Rectangle2D |
getDataPointLabelBoundsWithPosition(java.awt.geom.Dimension2D labelPreDim,
java.awt.geom.Rectangle2D dataPointRect,
DataPoint dataPoint,
int position)
根据标签的位置Position返回特定DataPoint的标签边界,
|
protected java.awt.geom.Rectangle2D |
getLabelBoundsInHorizontal(java.awt.geom.Dimension2D dim,
java.awt.geom.Rectangle2D rect,
DataPoint dataPoint,
int position) |
protected java.awt.geom.Rectangle2D |
getLabelBoundsInVertical(java.awt.geom.Dimension2D dim,
java.awt.geom.Rectangle2D rect,
DataPoint dataPoint,
int position) |
java.lang.String |
getSmallIconType()
图表切换时的小图标
|
java.lang.String |
getVanChartType() |
boolean |
isHorizontal()
获取是否为条形图
|
void |
setHorizontal(boolean isHorizontal)
设置是否为条形图
|
JSONObject |
toJSONObject(Repository repo)
转为json数据
|
createDataSheetGlyph, doLayout, draw3DInfo, drawAxisGlyph4ThreeD, get3DBaseCover, get3DDeep, getBarPercent, getBarStartPercent, getCategoryIntervalPercent, getDataPointPercentValue, getExtraTooltipValue, getOutline4Fill, getPlotOptionsJSON, getPreSum4Area, getPreSum4Bar, getPreSum4Line, getSeriesOverlapPercent, is3DBaseHorizontal, isNeedDefaultDeep, isStacked, layoutAxisGlyph4ThreeD, layoutDoubleAxisGlyph, resetPlotBoundsWith3DDeepAndProjectionBeforeAxisGlyph, setCategoryIntervalPercent, setSeriesOverlapPercent, setStacked
addOtherJSON, calculateAxisGlyphAttr, createSheetGlyphAndNotShowAxisGlyph, dealCommonLinePath, dealCurveLinePath, dealPlotBoundsWidthAxisInHorizontal, dealPlotBoundsWithAxisGlyph, draw, drawBackgroundGrid, drawInfo, getPreGap4AxisRightUnit, getPreGap4AxisTopUnit, getPreLeft4DataSheet, getSecondAxisGlyph, getSeriesAxisGlyph, getxAxisGlyph, getXDivideUnit, getyAxisGlyph, getYDivideUnit, initAxisGlyphBoundsAndZeroBounds, isZoom, layoutAxisGlyph, layoutDoubleAxisGlyph, selectableChildren, setHorizontalIntervalBackgroundColor, setInteractiveAxisTooltip, setSecondAxisGlyph, setVerticalIntervalBackgroundColor, setxAxisGlyph, setyAxisGlyph
addECNameToHyperLink, addSeries, addSeriesJSON, addSeriesJSON, avoidCoverLabelBounds, axisExtendsMaxMinValueWithTrendLine, calculateDataPointPercentValue, calculateOrderList, clone, createColors4Cate, createColors4Series, dealDataPointLabel, dealLabelBoundsInOrder, dealLabelBoundsOutPlotBounds, dealPlotHotAttr, drawLabel4Series, drawShape4Series, getAdditionalCanvasCount, getAllDataPointGlyph, getAllTrendLineGlyph, getAutoRefreshPerSecond, getCategoryCount, getChartType, getCombinedSize, getConditionCollection, getDataPointLabelBoundsWithPosition, getDataPointLabelBoundsWithPosition4Line, getDataProcessor, getDrawSequence, getExtraLabelValue, getFirstDataPoint, getHotHyperLink, getHotTooltipStyle, getPlotDetailType, getPlotFillStyle, getPlotGlyphType, getPlotStyle, getSeries, getSeriesSize, 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, 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 setHorizontal(boolean isHorizontal)
isHorizontal
- true表示是条形图public boolean isHorizontal()
protected java.awt.geom.Rectangle2D getBarShape(DataSeries dataSeries, CategoryPlotGlyph categoryPlotGlyph, int categoryIndex, BarDataWithAxisGlyph data)
dataSeries
- 当前系列categoryIndex
- 指定分类data
- 柱形封装的相关数据坐标轴protected java.awt.geom.Rectangle2D getBarShape4GanttPlot(double start, double end, int categoryIndex, AxisGlyph categoryAxisGlyph, AxisGlyph dateAxisGlyph, int barNumber, int barIndex)
protected java.awt.geom.Rectangle2D getDataPointLabelBoundsWithPosition(java.awt.geom.Dimension2D labelPreDim, java.awt.geom.Rectangle2D dataPointRect, DataPoint dataPoint, int position)
getDataPointLabelBoundsWithPosition
在类中 PlotGlyph
position
- 标签位置, 柱形外侧, 柱形内侧, 居中labelPreDim
- 标签预计算的大小dataPointRect
- 系列点DataPoint的图形边界protected java.awt.geom.Rectangle2D getLabelBoundsInVertical(java.awt.geom.Dimension2D dim, java.awt.geom.Rectangle2D rect, DataPoint dataPoint, int position)
protected java.awt.geom.Rectangle2D getLabelBoundsInHorizontal(java.awt.geom.Dimension2D dim, java.awt.geom.Rectangle2D rect, DataPoint dataPoint, int position)
public boolean equals(java.lang.Object ob)
equals
在类中 CategoryPlotGlyph
public JSONObject toJSONObject(Repository repo) throws JSONException
toJSONObject
在接口中 Glyph
toJSONObject
在类中 CategoryPlotGlyph
repo
- 请求JSONException
- 抛错public java.lang.String getVanChartType()
getVanChartType
在类中 PlotGlyph
public java.lang.String getSmallIconType()
PlotGlyph
getSmallIconType
在类中 PlotGlyph