public class StockPlotGlyph extends RectanglePlotGlyph
| 限定符和类型 | 字段和说明 |
|---|---|
static java.lang.String |
XML_TAG |
CATEGORY_PARA, conditionCollection, DEFAULT_SIZE, plotStyle, RESET_JAVA_FONT_X, SERIES_PARA, seriesList, STACK, X_AXIS, X_PARA, Y_AXIS, Y_PARAbounds, visible| 构造器和说明 |
|---|
StockPlotGlyph() |
| 限定符和类型 | 方法和说明 |
|---|---|
DataSheetGlyph |
createDataSheetGlyph(DataSheet dataSheet,
LegendItem[] legendItems)
创建数据表.
|
void |
doLayout(DataSheetGlyph glyph)
布局.
|
void |
draw(java.awt.Graphics g,
int resolution)
画出.
|
boolean |
equals(java.lang.Object ob) |
java.lang.String |
getChartType() |
protected java.awt.geom.Rectangle2D |
getDataPointLabelBoundsWithPosition(java.awt.geom.Dimension2D labelPreDim,
java.awt.geom.Rectangle2D dataPointRect,
int position)
返回特定DataPoint的标签边界, 只有默认的位置.
|
java.awt.Image |
getErrorImage()
获取股价图错误时的替代图片
|
java.lang.String |
getErrorToopTip()
获取当股价图错误时的提示信息
|
java.lang.String |
getPlotGlyphType()
用于JS中的Type类型.
|
boolean |
isSupportLegend()
是否支持图例
|
void |
layoutAxisGlyph(int resolution)
布局坐标
|
void |
layoutDataSeriesGlyph(int resolution)
布局 系列.
|
void |
setDownBarBackground(java.awt.Color downBarBackground)
设置跌柱的背景色
|
void |
setDownBarBorderLineBackground(java.awt.Color downBarBorderLineBackground)
设置跌柱的边框线背景色
|
void |
setDownBarBorderLineStyle(int downBarBorderLineStyle)
设置跌柱的边框线类型
|
void |
setErrorImage(java.awt.Image errorImage)
设置当股价图错误的时候的替代图片
|
void |
setErrorToopTip(java.lang.String errorToopTip)
设置股价图错误时的提示信息
|
void |
setUpBarBackground(java.awt.Color upBarBackground)
设置涨柱的背景色
|
void |
setUpBarBorderLineBackground(java.awt.Color upBarBorderLineBackground)
设置涨柱的边框线背景色
|
void |
setUpBarBorderLineStyle(int upBarBorderLineStyle)
设置涨柱的边框线类型
|
JSONObject |
toJSONObject(Repository repo)
转为json数据
|
addOtherJSON, calculateAxisGlyphAttr, createSheetGlyphAndNotShowAxisGlyph, dealCommonLinePath, dealCurveLinePath, dealPlotBoundsWidthAxisInHorizontal, dealPlotBoundsWithAxisGlyph, drawBackgroundGrid, drawInfo, getPreGap4AxisRightUnit, getPreGap4AxisTopUnit, getPreLeft4DataSheet, getSecondAxisGlyph, getSeriesAxisGlyph, getxAxisGlyph, getXDivideUnit, getyAxisGlyph, getYDivideUnit, initAxisGlyphBoundsAndZeroBounds, isZoom, layoutDoubleAxisGlyph, selectableChildren, setHorizontalIntervalBackgroundColor, setInteractiveAxisTooltip, setSecondAxisGlyph, setVerticalIntervalBackgroundColor, setxAxisGlyph, setyAxisGlyphaddECNameToHyperLink, addSeries, addSeriesJSON, addSeriesJSON, avoidCoverLabelBounds, axisExtendsMaxMinValueWithTrendLine, calculateDataPointPercentValue, calculateOrderList, clone, createColors4Cate, createColors4Series, dealDataPointLabel, dealLabelBoundsInOrder, dealLabelBoundsOutPlotBounds, dealPlotHotAttr, drawLabel4Series, drawShape4Series, getAdditionalCanvasCount, getAllDataPointGlyph, getAllTrendLineGlyph, getAutoRefreshPerSecond, getCategoryCount, getCombinedSize, getConditionCollection, getDataPointLabelBoundsWithPosition, getDataPointLabelBoundsWithPosition4Line, getDataProcessor, getDrawSequence, getExtraLabelValue, getExtraTooltipValue, getFirstDataPoint, getHotHyperLink, getHotTooltipStyle, getPlotDetailType, getPlotFillStyle, getPlotOptionsJSON, getPlotStyle, getSeries, getSeriesSize, getSmallIconType, getVanChartType, getWholeChartBackground, is3DPlotGlyph, isDataPointXNotInPlotBounds, isExistAttrByResult, isNeedDealHotHyperlink, isNullValueBreak, isSeriesDragEnable, isSupportZoom, notDealDataPointLabel, resetClip, setAutoRefreshPerSecond, setCombinedSize, setConditionCollection, setDataProcessor, setHotHyperLink, setHotTooltipStyle, setIsNullValueBreak, setPlotFillStyle, setPlotStyle, setSeriesDragEnable, setWholeChartBackground, setZoom, skipDealPointHotAttr, trendLineFittinggetBounds, getOutline4Fill, 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 static final java.lang.String XML_TAG
public void setErrorImage(java.awt.Image errorImage)
errorImage - public java.awt.Image getErrorImage()
public void setErrorToopTip(java.lang.String errorToopTip)
errorToopTip - 提示信息public java.lang.String getErrorToopTip()
public void setUpBarBorderLineStyle(int upBarBorderLineStyle)
upBarBorderLineStyle - 边框线类型public void setUpBarBorderLineBackground(java.awt.Color upBarBorderLineBackground)
upBarBorderLineBackground - 颜色public void setUpBarBackground(java.awt.Color upBarBackground)
upBarBackground - 颜色public void setDownBarBorderLineStyle(int downBarBorderLineStyle)
downBarBorderLineStyle - 边框线类型public void setDownBarBorderLineBackground(java.awt.Color downBarBorderLineBackground)
downBarBorderLineBackground - 背景颜色public void setDownBarBackground(java.awt.Color downBarBackground)
downBarBackground - 颜色public void layoutAxisGlyph(int resolution)
layoutAxisGlyph 在类中 RectanglePlotGlyphresolution - 分辨率public void doLayout(DataSheetGlyph glyph)
public DataSheetGlyph createDataSheetGlyph(DataSheet dataSheet, LegendItem[] legendItems)
createDataSheetGlyph 在类中 PlotGlyphdataSheet - 数据表legendItems - 图例集合public void layoutDataSeriesGlyph(int resolution)
layoutDataSeriesGlyph 在类中 PlotGlyphresolution - 分辨率protected java.awt.geom.Rectangle2D getDataPointLabelBoundsWithPosition(java.awt.geom.Dimension2D labelPreDim,
java.awt.geom.Rectangle2D dataPointRect,
int position)
public void draw(java.awt.Graphics g,
int resolution)
RectanglePlotGlyphdraw 在接口中 Glyphdraw 在类中 RectanglePlotGlyphg - 图形对象resolution - 分辨率public boolean equals(java.lang.Object ob)
equals 在类中 RectanglePlotGlyphpublic JSONObject toJSONObject(Repository repo) throws JSONException
toJSONObject 在接口中 GlyphtoJSONObject 在类中 RectanglePlotGlyphrepo - 请求JSONException - 抛错public java.lang.String getPlotGlyphType()
PlotGlyphgetPlotGlyphType 在类中 PlotGlyphpublic java.lang.String getChartType()
getChartType 在类中 PlotGlyphpublic boolean isSupportLegend()
isSupportLegend 在类中 PlotGlyph