public class DataPoint4Stock extends DataPoint
| 构造器和说明 |
|---|
DataPoint4Stock() |
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.String |
createHotTooltip(AttrContents hotTooltipStyle)
返回股价图系列点对应的特定参数. value值对应所有数据 没有标签.
|
void |
draw(java.awt.Graphics g,
int resolution)
画出系列
|
FoldLine |
getHighLowLine()
返回股价图的高低线
|
NameSpace |
getParas4Hyperlink()
获取超链中的参数 传递.
|
double[] |
getStockValues()
返回初始化的股价图系列点的值组
|
java.lang.String |
getType()
返回股价图系列点的js类型
|
ShapeGlyph |
getVolumeGlyph()
返回股价图成交量Glyph
|
void |
initLabels(StockLabel stockLabel)
初始化标签
|
void |
initValues(double volume,
double open,
double high,
double low,
double close)
初始化股价图系列点中的值组: 成交量 开盘 盘高 盘低 收盘
|
void |
setHighLowLine(FoldLine highLowLine)
设置股价图的高低线
|
void |
setVolumeGlyph(ShapeGlyph volumeGlyph)
设置股价图成交量Glyph
|
JSONObject |
toJSONObject(Repository repo)
转为json数据
|
clone, containsPara, createDataPointDrillUpHyperLink, createDataPointHotHyperLink, drawLabel, equals, evalWithCondition, getCategoryIndex, getCategoryName, getCategoryOriginalName, getDataLabel, getDataPointStyle, getDrawImpl, getDrillUpLink, getDrillUpParas4Hyperlink, getHyperLinkJason, getImageMapAreaTag, getOriginStringValue4JSON, getParameters4Labels, getPercentParaString, getPercentValue, getPureParameters4Labels, getSecondCate, getSeriesIndex, getSeriesName, getSeriesOriginalName, getShape, getThirdCate, getValue, getValueByUnit, getValueParaString, isValueIsInexistence, isValueIsNull, putDataPointConditionAttr, putDataPointConditionAttr, putDataPointConditionAttrWidthDefault, putLabelSeriesConditionAttr, putValueData, setCategoryIndex, setCategoryName, setCategoryOriginalName, setDataLabel, setDataPointStyle, setDrawImpl, setDrillUpLink, setHyperlink, setHyperLinkJason, setIndividualLabelText, setPercentValue, setSecondCate, setSeriesIndex, setSeriesName, setSeriesOriginalName, setShape, setThirdCate, setTooltip, setValue, setValueByUnit, setValueIsInexistence, setValueIsNull, toJSONObject, toOldResult, toResult, toResult, toVanJSONObject, toVanJSONObjectselectableChildrenpublic void setHighLowLine(FoldLine highLowLine)
public FoldLine getHighLowLine()
public void setVolumeGlyph(ShapeGlyph volumeGlyph)
public ShapeGlyph getVolumeGlyph()
public void initValues(double volume,
double open,
double high,
double low,
double close)
volume - 成交量open - 开盘high - 盘高low - 盘底close - 收盘public void initLabels(StockLabel stockLabel)
stockLabel - 标签对象public double[] getStockValues()
public void draw(java.awt.Graphics g,
int resolution)
DataPointpublic java.lang.String createHotTooltip(AttrContents hotTooltipStyle)
createHotTooltip 在类中 DataPointhotTooltipStyle - 热点提示格式public NameSpace getParas4Hyperlink()
getParas4Hyperlink 在类中 DataPointpublic JSONObject toJSONObject(Repository repo) throws JSONException
toJSONObject 在接口中 GlyphtoJSONObject 在类中 DataPointrepo - 请求JSONException - 抛错