public class VanChartCustomPlotGlyph extends VanChartRectanglePlotGlyph implements VanChartPositionPlotGlyph
DEFAULT_MAX_VALUE, vanChartPlotType, xAxisGlyphList, yAxisGlyphListdefaultAttrLabel, defaultAttrTooltip, legendBackgroundMap, legendItemListCATEGORY_PARA, conditionCollection, DEFAULT_SIZE, plotStyle, RESET_JAVA_FONT_X, SERIES_PARA, seriesList, STACK, X_AXIS, X_PARA, Y_AXIS, Y_PARAbounds, visible| 构造器和说明 |
|---|
VanChartCustomPlotGlyph() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addECNameToHyperLink(java.lang.String ecName,
int sheetIndex) |
void |
addHyperlinkJSON(Repository repo,
JSONObject js) |
protected void |
addNotNullSeriesJSON(JSONObject js,
Repository repo,
ChartWebPara para) |
void |
addOtherJSON(JSONObject js,
Repository repo,
VanChartGlyph vanChartGlyph) |
void |
addPolarJSON(JSONObject js,
Repository repo)
X坐标轴写入js
|
void |
addXAxisJSON(JSONObject js,
Repository repo)
X坐标轴写入js
|
void |
addYAxisJSON(JSONObject js,
Repository repo)
Y坐标轴写入js
|
LegendItem[] |
createDataSheetLegendItems() |
LegendItem[] |
createLegendItems() |
void |
dealPlotHotAttr(Repository repo)
处理图表中Plot的热点属性
|
java.lang.String |
demoImagePath() |
void |
draw(java.awt.Graphics g,
int resolution)
画所有Plot都共有的系列
|
protected java.awt.Color |
getAttrLineColor(VanChartDataSeries dataSeries,
java.awt.Color[] colors) |
java.lang.String |
getChartType() |
java.util.List<VanChartPlotGlyph> |
getCustomPlotGlyphList() |
CustomStyle |
getCustomStyle() |
java.lang.String |
getDataMapKey(VanChartDataSeries dataSeries)
组合图中使用chartType+seriesName
作为key
|
java.util.Map<java.lang.Integer,AxisPlotTypeWithIndex> |
getDiffAxisMap() |
JSONObject |
getPlotOptionsJSON(Repository repo,
boolean isJsDraw,
ChartWebPara para)
获取 plotOptions的JSON对象
|
Position |
getPosition() |
protected VanChartDataSeries |
getSeriesFromAll(int seriesIndex)
从所有的系列中获取
|
protected void |
initCategoryAxisMinAndMaxValue(int axisIndex,
VanChartCategoryAxisGlyph axisGlyph) |
protected DataSheetGlyph |
initDataSheetGlyph(FRFont font,
java.text.Format format,
DataSheet dataSheet) |
protected void |
initValueAxisGlyphMinMaxValue(int axisIndex,
VanChartBaseAxisGlyph axisGlyph)
数值轴初始最大最小值(考虑堆积)
|
protected void |
initXAxisLabelDrawPosition(int axisIndex,
VanChartBaseAxisGlyph axisGlyph)
如果坐标轴上只有面积图时,使用默认位置
|
boolean |
isNeedDealHotHyperlink()
是否需要处理热点链接
|
void |
layoutAxisGlyph(java.awt.geom.Rectangle2D chartOriginalBounds,
int resolution)
每个图表都各自布局一下坐标轴
关键是对不使用标准坐标轴的图表
|
void |
layoutDataSeriesGlyph(int resolution)
布局图形对象
|
void |
setBound4PositionPlot(java.awt.geom.RectangularShape chartBounds)
在布局坐标轴时可以获取原始图表边界
此时将这个边界赋予具有定位属性的plot
|
void |
setBounds(java.awt.geom.RectangularShape bounds)
设置矩形Glyph的边界
|
void |
setCustomPlotGlyphList(java.util.List<VanChartPlotGlyph> customPlotGlyphList) |
void |
setCustomStyle(CustomStyle customStyle) |
void |
setDiffAxisMap(java.util.Map<java.lang.Integer,AxisPlotTypeWithIndex> diffAxisMap) |
void |
setLegendParentGlyphMap(java.util.Map<java.lang.String,VanChartPlotGlyph> legendParentGlyphMap) |
void |
setUseDiffAxisOrder(java.util.List useDiffAxisOrder) |
void |
setUseStandardAxisOrder(java.util.List useStandardAxisOrder) |
addXAxisGlyph, addYAxisGlyph, adjustAxisGlyphWithBottomGap, adjustAxisGlyphWithLeftGap, buildAxisMap, calculateAxisGlyphAttr, calculateDataPointPercentValue, calculateLineDataCount, createDataSheetGlyph, dealMapKey, dealOnZeroAxisGlyphLocation, dealPlotBoundsWidthAxisInHorizontal, dealPlotBoundsWithAxisGlyph, drawAxis, drawInfo, getAttrTrendLine, getBottomXAxisCount, getCateAxis, getCateAxisIndex, getCateValue, getDataSeriesCateAxisGlyph, getDataSeriesValueAxisGlyph, getDefaultAttrTrendLine, getDefaultXAxisGlyph, getDefaultYAxisGlyph, getSeriesMinMaxCateValue, getSeriesValue, getValueAxisIndex, getVanChartPlotType, getXAxisGlyphIndex, getXAxisGlyphList, getXAxisKey, getYAxisGlyphIndex, getYAxisGlyphList, getYAxisKey, initAxisGlyphBoundsAndZeroBoundsAndOriginalChartBounds, initAxisGlyphStartPoint, initDataSeriesBandsDefaultMinMaxValue, initTrendLineGlyph, initXAxisGlyphMinMaxValue, initYAxisGlyphMinMaxValue, initYAxisLabelDrawPosition, isAdjustXAxisMinMaxValue, isHorizontalValueAxis, isStackDataSeries, justBound4Arrow, setAxisLabelDrawBetween, setVanChartPlotType, setXAxisGlyphList, setYAxisGlyphList, trendLineFittingaddAlphaJSON, addBorderJSON, addLabelJSON, addNullLabelJSON, addSeriesJSON, addSeriesJSONWithCate2Series, allNullValue, changeInfoWithCondition, createColors4Legend, createColors4Series, createDataLabel4DataPointWithCondition, createDataLabel4EveryPoint, createDataLabel4EverySeries, createDataPointLabelAfterInstallAxisGlyph, dealDataPointLabel, dealMarkerIconCondition, dealMarkerIconCondition4DataSheet, dealSeriesAccumulatedColors, drawWithoutInfo, getAttrAlpha, getAttrAlpha, getAttrBackground, getAttrBorder, getAttrLabel, getAxisPlotType, getCategoryNum, getChartID, getDataPointLabelBoundsWithPosition, getDefaultAttrAlpha, getDefaultAttrBorder, getDefaultAttrBubble, getDefaultAttrLabel, getDefaultAttrMarker, getDefaultAttrTooltip, getDefaultColors, getDefaultColors, getHyperLinkParas, getLabelText, getLegendItemList, getLegendMarkerIcon, getLegendSeriesSize, getMinMaxValue, getPlotGlyphType, getPointkey, getPointValue, getSeries, getSerieskey, getSmallIconType, isAxisRotation, isLocal, isSupportEmptyData, isTreeSeries, layoutAxisGlyph, setAxisPlotType, setAxisRotation, setCategoryNum, setChartID, setHyperLinkParas, setLegendItemList, setLocal, setUseDefaultNullDataaddOtherJSON, addSeries, addSeriesJSON, addSeriesJSON, avoidCoverLabelBounds, axisExtendsMaxMinValueWithTrendLine, calculateOrderList, clone, createColors4Cate, dealDataPointLabel, dealLabelBoundsInOrder, dealLabelBoundsOutPlotBounds, doLayout, drawInfo, drawLabel4Series, drawShape4Series, equals, getAdditionalCanvasCount, getAllDataPointGlyph, getAllTrendLineGlyph, getAutoRefreshPerSecond, getCategoryCount, getCombinedSize, getConditionCollection, getDataPointLabelBoundsWithPosition, getDataPointLabelBoundsWithPosition, getDataPointLabelBoundsWithPosition4Line, getDataProcessor, getDrawSequence, getExtraLabelValue, getExtraTooltipValue, getFirstDataPoint, getHotHyperLink, getHotTooltipStyle, getPlotDetailType, getPlotFillStyle, getPlotStyle, getPreGap4AxisRightUnit, getPreGap4AxisTopUnit, getPreLeft4DataSheet, getSeriesSize, getVanChartType, getWholeChartBackground, getXDivideUnit, getYDivideUnit, is3DPlotGlyph, isDataPointXNotInPlotBounds, isExistAttrByResult, isNullValueBreak, isSeriesDragEnable, isSupportLegend, isSupportZoom, isZoom, notDealDataPointLabel, resetClip, selectableChildren, setAutoRefreshPerSecond, setCombinedSize, setConditionCollection, setDataProcessor, setHotHyperLink, setHotTooltipStyle, setIsNullValueBreak, setPlotFillStyle, setPlotStyle, setSeriesDragEnable, setWholeChartBackground, setZoom, skipDealPointHotAttr, toJSONObject, trendLineFittinggetBounds, getOutline4Fill, getShape, isInvisible, isVisible, setVisibledealCondition, dealConditionWithSeriesColor, drawOnlyBorder, drawWithOutBorder, getAlpha, getBackground, getBorderColor, getBorderStyle, getGeneralInfo, getRoundRadius, is3DIE6, isRoundBorder, isShadow, paint, paintBackground, putBackgroundJSON, putPlotBackgroundJSON, setAlpha, setBackground, setBorderColor, setBorderStyle, setGeneralInfo, setRoundBorder, toVanJSONObjectfinalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBounds, getSeries, getSeriesSizepublic java.util.Map<java.lang.Integer,AxisPlotTypeWithIndex> getDiffAxisMap()
public void setDiffAxisMap(java.util.Map<java.lang.Integer,AxisPlotTypeWithIndex> diffAxisMap)
public void setLegendParentGlyphMap(java.util.Map<java.lang.String,VanChartPlotGlyph> legendParentGlyphMap)
public java.lang.String getChartType()
getChartType 在类中 PlotGlyph<VanChartDataSeries>public void setUseDiffAxisOrder(java.util.List useDiffAxisOrder)
public void setUseStandardAxisOrder(java.util.List useStandardAxisOrder)
public CustomStyle getCustomStyle()
public void setCustomStyle(CustomStyle customStyle)
public java.util.List<VanChartPlotGlyph> getCustomPlotGlyphList()
public void setCustomPlotGlyphList(java.util.List<VanChartPlotGlyph> customPlotGlyphList)
public LegendItem[] createLegendItems()
public LegendItem[] createDataSheetLegendItems()
protected DataSheetGlyph initDataSheetGlyph(FRFont font, java.text.Format format, DataSheet dataSheet)
protected VanChartDataSeries getSeriesFromAll(int seriesIndex)
getSeriesFromAll 在类中 VanChartPlotGlyphseriesIndex - protected java.awt.Color getAttrLineColor(VanChartDataSeries dataSeries, java.awt.Color[] colors)
getAttrLineColor 在类中 VanChartPlotGlyphpublic void layoutAxisGlyph(java.awt.geom.Rectangle2D chartOriginalBounds,
int resolution)
layoutAxisGlyph 在类中 VanChartRectanglePlotGlyphchartOriginalBounds - 原始图表边界resolution - 分辨率public JSONObject getPlotOptionsJSON(Repository repo, boolean isJsDraw, ChartWebPara para) throws JSONException
VanChartRectanglePlotGlyphgetPlotOptionsJSON 在类中 VanChartRectanglePlotGlyphrepo - 请求isJsDraw - 动态展示JSONException - 抛出问题public void layoutDataSeriesGlyph(int resolution)
layoutDataSeriesGlyph 在类中 VanChartPlotGlyphresolution - 分辨率public void setBounds(java.awt.geom.RectangularShape bounds)
RectangleGlyphsetBounds 在接口中 VanChartDataSheetPlotGlyphInterfacesetBounds 在类中 RectangleGlyphbounds - 矩形边界public void setBound4PositionPlot(java.awt.geom.RectangularShape chartBounds)
chartBounds - public void draw(java.awt.Graphics g,
int resolution)
PlotGlyphdraw 在接口中 Glyphdraw 在类中 VanChartPlotGlyphg - 图形对象resolution - 分辨率protected void initCategoryAxisMinAndMaxValue(int axisIndex,
VanChartCategoryAxisGlyph axisGlyph)
protected void initValueAxisGlyphMinMaxValue(int axisIndex,
VanChartBaseAxisGlyph axisGlyph)
VanChartRectanglePlotGlyphinitValueAxisGlyphMinMaxValue 在类中 VanChartRectanglePlotGlyphaxisIndex - 坐标轴下标axisGlyph - 坐标轴图形public java.lang.String getDataMapKey(VanChartDataSeries dataSeries)
getDataMapKey 在类中 VanChartRectanglePlotGlyphdataSeries - public void addXAxisJSON(JSONObject js, Repository repo) throws JSONException
addXAxisJSON 在类中 VanChartRectanglePlotGlyphjs - json对象repo - 请求JSONException - 抛错public void addYAxisJSON(JSONObject js, Repository repo) throws JSONException
addYAxisJSON 在类中 VanChartRectanglePlotGlyphjs - json对象repo - 请求JSONException - 抛错public void addOtherJSON(JSONObject js, Repository repo, VanChartGlyph vanChartGlyph) throws JSONException
addOtherJSON 在类中 VanChartPlotGlyphJSONExceptionpublic void addPolarJSON(JSONObject js, Repository repo) throws JSONException
VanChartPositionPlotGlyphaddPolarJSON 在接口中 VanChartPositionPlotGlyphjs - json对象repo - 请求JSONException - 抛错public Position getPosition()
getPosition 在接口中 VanChartPositionPlotGlyphprotected void addNotNullSeriesJSON(JSONObject js, Repository repo, ChartWebPara para) throws JSONException
addNotNullSeriesJSON 在类中 VanChartPlotGlyphJSONExceptionprotected void initXAxisLabelDrawPosition(int axisIndex,
VanChartBaseAxisGlyph axisGlyph)
initXAxisLabelDrawPosition 在类中 VanChartRectanglePlotGlyphaxisGlyph - public boolean isNeedDealHotHyperlink()
isNeedDealHotHyperlink 在类中 PlotGlyph<VanChartDataSeries>public void dealPlotHotAttr(Repository repo)
dealPlotHotAttr 在类中 PlotGlyph<VanChartDataSeries>repo - 请求.public void addHyperlinkJSON(Repository repo, JSONObject js) throws JSONException
addHyperlinkJSON 在类中 VanChartPlotGlyphJSONExceptionpublic java.lang.String demoImagePath()
demoImagePath 在类中 VanChartPlotGlyphpublic void addECNameToHyperLink(java.lang.String ecName,
int sheetIndex)