public class VanChartColumnPlotGlyph extends VanChartRectanglePlotGlyph
DEFAULT_MAX_VALUE, vanChartPlotType, xAxisGlyphList, yAxisGlyphList
defaultAttrLabel, defaultAttrTooltip, legendBackgroundMap, legendItemList
CATEGORY_PARA, conditionCollection, DEFAULT_SIZE, plotStyle, RESET_JAVA_FONT_X, SERIES_PARA, seriesList, STACK, X_AXIS, X_PARA, Y_AXIS, Y_PARA
bounds, visible
构造器和说明 |
---|
VanChartColumnPlotGlyph() |
限定符和类型 | 方法和说明 |
---|---|
protected LineMarkerIcon |
dealMarkerIconCondition(LineMarkerIcon itemIcon,
VanChartDataSeries dataSeries,
java.awt.Color[] colors) |
java.lang.String |
demoImagePath() |
protected VanChartBaseAxisGlyph |
getCateAxis(int axisIndex) |
protected int |
getCateAxisIndex(AttrSeriesStackAndAxis attrSeriesStackAndAxis) |
double |
getCategoryIntervalPercent() |
java.lang.String |
getChartType() |
protected java.awt.geom.Rectangle2D |
getDataPointLabelBoundsWithPosition(java.awt.geom.Dimension2D labelPreDim,
java.awt.geom.Rectangle2D dataPointRect,
int position,
DataPoint dataPoint)
根据标签的位置Position返回特定DataPoint的标签边界,
|
protected VanChartBaseAxisGlyph |
getDataSeriesCateAxisGlyph(VanChartDataSeries dataSeries) |
protected VanChartBaseAxisGlyph |
getDataSeriesValueAxisGlyph(VanChartDataSeries dataSeries) |
int[] |
getDrawSequence()
获取画系列时系列的序号的一个有序组合
柱形图这边为了和前台统一,前台为了动画.
|
JSONObject |
getPlotOptionsJSON(Repository repo,
boolean isJsDraw,
ChartWebPara para)
获取 plotOptions的JSON对象
|
java.lang.String |
getPointkey(JSONObject pointData) |
java.lang.String |
getPointValue(JSONObject pointData) |
double |
getSeriesOverlapPercent() |
protected int |
getValueAxisIndex(AttrSeriesStackAndAxis attrSeriesStackAndAxis) |
protected void |
initTrendLineGlyph(TrendLineGlyph newTrendLine,
double[] xVal,
double[] yVal) |
protected void |
initXAxisGlyphMinMaxValue(int axisIndex,
VanChartBaseAxisGlyph axisGlyph) |
protected void |
initXAxisLabelDrawPosition(int axisIndex,
VanChartBaseAxisGlyph axisGlyph) |
protected void |
initYAxisGlyphMinMaxValue(int axisIndex,
VanChartBaseAxisGlyph axisGlyph) |
protected void |
initYAxisLabelDrawPosition(VanChartBaseAxisGlyph axisGlyph) |
protected boolean |
isAdjustXAxisMinMaxValue()
柱形图的横轴是数值或者日期时,自动计算坐标轴最大值最小值之后, 最小值减一个mainUnit,最大值加,以放下一根柱子
|
boolean |
isBar()
是否是条形图
|
boolean |
isFilledWithImage()
是否填充图片
|
boolean |
isFixedWidth()
是否固定宽度
|
boolean |
isHorizontalValueAxis()
判断是否为水平的值轴
|
void |
layoutDataSeriesGlyph(int resolution)
布局图形对象
|
void |
setBar(boolean isBar) |
void |
setCategoryIntervalPercent(double catePercent) |
void |
setColumnWidth(int columnWidth) |
void |
setFilledWithImage(boolean filledWithImage) |
void |
setFixedWidth(boolean fixedWidth) |
void |
setSeriesOverlapPercent(double overlapPercent) |
addXAxisGlyph, addXAxisJSON, addYAxisGlyph, addYAxisJSON, adjustAxisGlyphWithBottomGap, adjustAxisGlyphWithLeftGap, buildAxisMap, calculateAxisGlyphAttr, calculateDataPointPercentValue, calculateLineDataCount, createDataSheetGlyph, dealMapKey, dealOnZeroAxisGlyphLocation, dealPlotBoundsWidthAxisInHorizontal, dealPlotBoundsWithAxisGlyph, drawAxis, drawInfo, getAttrTrendLine, getBottomXAxisCount, getCateValue, getDataMapKey, getDefaultAttrTrendLine, getDefaultXAxisGlyph, getDefaultYAxisGlyph, getSeriesMinMaxCateValue, getSeriesValue, getVanChartPlotType, getXAxisGlyphIndex, getXAxisGlyphList, getXAxisKey, getYAxisGlyphIndex, getYAxisGlyphList, getYAxisKey, initAxisGlyphBoundsAndZeroBoundsAndOriginalChartBounds, initAxisGlyphStartPoint, initCategoryAxisMinAndMaxValue, initDataSeriesBandsDefaultMinMaxValue, initDataSheetGlyph, initValueAxisGlyphMinMaxValue, isStackDataSeries, justBound4Arrow, layoutAxisGlyph, setAxisLabelDrawBetween, setVanChartPlotType, setXAxisGlyphList, setYAxisGlyphList, trendLineFitting
addAlphaJSON, addBorderJSON, addHyperlinkJSON, addLabelJSON, addNotNullSeriesJSON, addNullLabelJSON, addOtherJSON, addSeriesJSON, addSeriesJSONWithCate2Series, allNullValue, changeInfoWithCondition, createColors4Legend, createColors4Series, createDataLabel4DataPointWithCondition, createDataLabel4EveryPoint, createDataLabel4EverySeries, createDataPointLabelAfterInstallAxisGlyph, createDataSheetLegendItems, createLegendItems, dealDataPointLabel, dealMarkerIconCondition4DataSheet, dealSeriesAccumulatedColors, draw, drawWithoutInfo, getAttrAlpha, getAttrAlpha, getAttrBackground, getAttrBorder, getAttrLabel, getAttrLineColor, getAxisPlotType, getCategoryNum, getChartID, getDefaultAttrAlpha, getDefaultAttrBorder, getDefaultAttrBubble, getDefaultAttrLabel, getDefaultAttrMarker, getDefaultAttrTooltip, getDefaultColors, getDefaultColors, getHyperLinkParas, getLabelText, getLegendItemList, getLegendMarkerIcon, getLegendSeriesSize, getMinMaxValue, getPlotGlyphType, getSeries, getSeriesFromAll, getSerieskey, getSmallIconType, isAxisRotation, isLocal, isSupportEmptyData, isTreeSeries, layoutAxisGlyph, setAxisPlotType, setAxisRotation, setCategoryNum, setChartID, setHyperLinkParas, setLegendItemList, setLocal, setUseDefaultNullData
addECNameToHyperLink, addOtherJSON, addSeries, addSeriesJSON, addSeriesJSON, avoidCoverLabelBounds, axisExtendsMaxMinValueWithTrendLine, calculateOrderList, clone, createColors4Cate, dealDataPointLabel, dealLabelBoundsInOrder, dealLabelBoundsOutPlotBounds, dealPlotHotAttr, doLayout, drawInfo, drawLabel4Series, drawShape4Series, equals, getAdditionalCanvasCount, getAllDataPointGlyph, getAllTrendLineGlyph, getAutoRefreshPerSecond, getCategoryCount, getCombinedSize, getConditionCollection, getDataPointLabelBoundsWithPosition, getDataPointLabelBoundsWithPosition, getDataPointLabelBoundsWithPosition4Line, getDataProcessor, getExtraLabelValue, getExtraTooltipValue, getFirstDataPoint, getHotHyperLink, getHotTooltipStyle, getPlotDetailType, getPlotFillStyle, getPlotStyle, getPreGap4AxisRightUnit, getPreGap4AxisTopUnit, getPreLeft4DataSheet, getSeriesSize, getVanChartType, getWholeChartBackground, getXDivideUnit, getYDivideUnit, is3DPlotGlyph, isDataPointXNotInPlotBounds, isExistAttrByResult, isNeedDealHotHyperlink, isNullValueBreak, isSeriesDragEnable, isSupportLegend, isSupportZoom, isZoom, notDealDataPointLabel, resetClip, selectableChildren, setAutoRefreshPerSecond, setCombinedSize, setConditionCollection, setDataProcessor, setHotHyperLink, setHotTooltipStyle, setIsNullValueBreak, setPlotFillStyle, setPlotStyle, setSeriesDragEnable, setWholeChartBackground, setZoom, skipDealPointHotAttr, toJSONObject, 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
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createDataSheetLegendItems, createLegendItems, getBounds, getSeries, getSeriesSize, setBounds
public void setBar(boolean isBar)
public boolean isBar()
public void setSeriesOverlapPercent(double overlapPercent)
public double getSeriesOverlapPercent()
public void setCategoryIntervalPercent(double catePercent)
public double getCategoryIntervalPercent()
public void setColumnWidth(int columnWidth)
public void setFilledWithImage(boolean filledWithImage)
public void setFixedWidth(boolean fixedWidth)
public boolean isFilledWithImage()
public boolean isFixedWidth()
protected void initXAxisLabelDrawPosition(int axisIndex, VanChartBaseAxisGlyph axisGlyph)
protected void initYAxisLabelDrawPosition(VanChartBaseAxisGlyph axisGlyph)
protected void initXAxisGlyphMinMaxValue(int axisIndex, VanChartBaseAxisGlyph axisGlyph)
protected void initYAxisGlyphMinMaxValue(int axisIndex, VanChartBaseAxisGlyph axisGlyph)
protected int getValueAxisIndex(AttrSeriesStackAndAxis attrSeriesStackAndAxis)
protected int getCateAxisIndex(AttrSeriesStackAndAxis attrSeriesStackAndAxis)
protected VanChartBaseAxisGlyph getCateAxis(int axisIndex)
protected boolean isAdjustXAxisMinMaxValue()
VanChartRectanglePlotGlyph
isAdjustXAxisMinMaxValue
在类中 VanChartRectanglePlotGlyph
public void layoutDataSeriesGlyph(int resolution)
layoutDataSeriesGlyph
在类中 VanChartPlotGlyph
resolution
- 分辨率protected void initTrendLineGlyph(TrendLineGlyph newTrendLine, double[] xVal, double[] yVal)
public boolean isHorizontalValueAxis()
VanChartRectanglePlotGlyph
isHorizontalValueAxis
在类中 VanChartRectanglePlotGlyph
protected VanChartBaseAxisGlyph getDataSeriesValueAxisGlyph(VanChartDataSeries dataSeries)
protected VanChartBaseAxisGlyph getDataSeriesCateAxisGlyph(VanChartDataSeries dataSeries)
protected java.awt.geom.Rectangle2D getDataPointLabelBoundsWithPosition(java.awt.geom.Dimension2D labelPreDim, java.awt.geom.Rectangle2D dataPointRect, int position, DataPoint dataPoint)
getDataPointLabelBoundsWithPosition
在类中 VanChartPlotGlyph
position
- 标签位置, 柱形外侧, 柱形内侧, 居中labelPreDim
- 标签预计算的大小dataPointRect
- 系列点DataPoint的图形边界protected LineMarkerIcon dealMarkerIconCondition(LineMarkerIcon itemIcon, VanChartDataSeries dataSeries, java.awt.Color[] colors)
public int[] getDrawSequence()
getDrawSequence
在类中 PlotGlyph<VanChartDataSeries>
public JSONObject getPlotOptionsJSON(Repository repo, boolean isJsDraw, ChartWebPara para) throws JSONException
getPlotOptionsJSON
在类中 VanChartRectanglePlotGlyph
repo
- 请求isJsDraw
- 动态展示para
- JSONException
- 抛出问题public java.lang.String getChartType()
getChartType
在类中 PlotGlyph<VanChartDataSeries>
public java.lang.String getPointkey(JSONObject pointData) throws JSONException
getPointkey
在类中 VanChartPlotGlyph
JSONException
public java.lang.String getPointValue(JSONObject pointData) throws JSONException
getPointValue
在类中 VanChartPlotGlyph
JSONException
public java.lang.String demoImagePath()
demoImagePath
在类中 VanChartPlotGlyph