public class StockPlot extends RectanglePlot
限定符和类型 | 字段和说明 |
---|---|
static double |
JUST_BEAUTIFUL |
static java.lang.String |
NONE |
static java.lang.String |
XML_TAG |
combinedSize, DEFAULT_SIZE, MARKERSIZE, SECOND_AXIS, secondShowUnit, showUnit, X_AXIS, Y_AXIS
构造器和说明 |
---|
StockPlot() |
限定符和类型 | 方法和说明 |
---|---|
protected void |
addSeries2PlotGlyph(PlotGlyph plotGlyph,
ChartData cd)
更正到股价图的对应股价图数据 并添加系列点
|
void |
clearConditionAttrAndRenewLegend(Plot oldPlot)
清除条件属性 并且刷新图例.
|
java.lang.Object |
clone()
克隆
|
protected DataPoint |
createDataPoint()
创建股价图的系列点
|
LegendGlyph |
createLegendGlyph(PlotGlyph plotGlyph)
创建图例 需要判断趋势线之后 再决定返回LegendGlyph
|
ChartData |
createNullChartData()
创建股价图的空值图表数据
|
PlotGlyph |
createPlotGlyph(ChartData chartData)
创建StockPlotGlyph
|
ChartData |
defaultChartData()
默认股价图数据.
|
boolean |
equals(java.lang.Object ob)
比较和Object是否相等
|
java.lang.String[] |
getAlertLinePaneTitle()
返回警戒线界面的标题
|
int |
getDetailType()
具体得类型
|
java.awt.Color |
getDownBarBackground()
返回降柱颜色
|
java.awt.Color |
getDownBarBorderLineBackground()
返回边框降柱的颜色
|
int |
getDownBarBorderLineStyle()
返回降柱的边框线型
|
java.awt.Color |
getHighLowLineColor()
返回高低线的颜色
|
int |
getHighLowLineStyle()
返回高低线的线型
|
java.util.HashMap<java.lang.String,BaseFormula> |
getHyperLinkEditorMap()
得到当前图表超链参数下拉框中有的选项
|
int[] |
getInteractivePaneArrayThatNotSurpport()
热点交互界面的数组.
|
double |
getMaxValueFromData(ChartData cd,
ChartAxisPosition leftOrRight)
返回chartdata中系列点的最大值
|
double |
getMinValueFromData(ChartData cd,
boolean isLog,
ChartAxisPosition leftOrRight)
返回chartdata中系列点的最小值
|
java.lang.String |
getPlotDataPaneName()
返回股价图数据界面名称.
|
java.lang.String |
getPlotID()
用于识别图表类型的ID,不能用class对象,因为像柱形图和条形图是一个class对象
|
java.lang.String |
getPlotName()
返回Plot的类型名称,
|
java.lang.String |
getPlotSmallIconPath()
返回具体图表的地址,目前用于图表设计器的图表切换 ,默认返回二维柱形图小图标
|
ChartTypeValueCollection |
getPlotType()
返回属于哪一种图表类型
|
java.awt.Color |
getUpBarBackground()
返回升柱的颜色
|
java.awt.Color |
getUpBarBorderLineBackground()
返回升柱的边框颜色
|
int |
getUpBarBorderLineStyle()
返回 上涨柱形的边框类型
|
void |
install4PlotGlyph(StockPlotGlyph plotGlyph,
ChartData chartData)
同步Plot的属性到PlotGlyph
|
void |
installAxisGlyph(StockPlotGlyph stockPlotGlyph,
ChartData chartData)
初始化AxisGlyph的属性.
|
boolean |
isSupportDataLabelAttr()
股价图默认不支持标签属性.
|
boolean |
isSupportDataSeriesCondition()
不支持系列条件
|
boolean |
isSupportDataSheet()
支持数据表
|
boolean |
isSupportLegend()
是否支持图例
|
boolean |
isSupportTooltipInInteractivePane()
返回是否在界面上 支持 热点提示.
|
boolean |
isSupportTrendLine()
返回true 支持趋势线
|
boolean |
isSupportValuePercent()
是否支持 值百分比
|
boolean |
isSupportZoomCategoryAxis()
是否支持坐标轴热点提示.
|
boolean |
matchPlotType(Plot newPlot)
比较 切换类型界面中的 大致Plot类型
|
void |
readXML(XMLableReader reader)
读取XML属性
|
void |
setDownBarBackground(java.awt.Color downBarBackground)
设置降柱颜色
|
void |
setDownBarBorderLineBackground(java.awt.Color downBarBorderLineBackground)
设置降柱的边框颜色
|
void |
setDownBarBorderLineStyle(int downBarBorderLineStyle)
设置降柱的边框线型
|
void |
setHighLowLineColor(java.awt.Color highLowLineColor)
设置高低线的颜色
|
void |
setHighLowLineStyle(int highLowLineStyle)
设置高低线的线型
|
void |
setUpBarBackground(java.awt.Color upBarBackground)
设置升柱的颜色
|
void |
setUpBarBorderLineBackground(java.awt.Color upBarBorderLineBackground)
设置升柱的边框颜色
|
void |
setUpBarBorderLineStyle(int upBarBorderLineStyle)
设置升柱的边框线型
|
void |
writeXML(XMLPrintWriter writer)
输出XML属性
|
buidExecuteSequenceList, buildGenealogyAndCheckSheetExecuteSequence, dealFormula, dependence, getHorizontalIntervalBackgroundColor, getSecondAxis, getVerticalIntervalBackgroundColor, getxAxis, getyAxis, install4PlotGlyph, installAxisGlyph, isInteractiveAxisTooltip, isSupportAxisTip, isSupportBorder, isSupportIntervalBackground, modFormulaString, setHorizontalIntervalBackgroundColor, setInteractiveAxisTooltip, setSecondAxis, setVerticalIntervalBackgroundColor, setxAxis, setyAxis
accept, addSeriesByIndex, addSeriesByIndex, addSeriesByIndexWithoutNull, anyChartAdvancedInteractionUse, createDataLabel4DataPointWithCondition, createDataLabel4EverySeries, createDataLabelWithDataPoint4Map, createDataPointLabel, createDataSeries, createDataSheetGlyph, createLegendItems, createLegendItems, dealColorCondition, dealCondition, dealLineCondition, dealNullPointAndCategoryNum, defaultSecondMoreCate, defaultThirdMoreCate, exsitMarkerType, getAutoRefreshPerSecond, getAxis, getAxis, getCategoryNameTextAttr, getCombinedSize, getConditionCollection, getDataProcessor, getDataProcessor4Definition, getDataSheet, getHotHyperLink, getHotTooltipStyle, getLegend, getLegendMarkerIcon, getLegendMarkerIcon4Line, getMaxValueFromData, getPlotDetailType, getPlotFillStyle, getPlotStyle, getSeriesIndexConditionCollection, getUnitTextAttr, getValueTextAttr, hasEffect, hyperLinkParas, install4PlotGlyph, is3D, isExsitLineStyle, isGisKindLabel, isHaveAxis, isMapKindLabel, isMapPlot, isMeterPlot, isNeedRenameHyperLinkPane, isNullValueBreak, isOnlyIntervalBackground, isSeriesDragEnable, isShowAllDataPointLabel, isShowCateName, isSupport3D, isSupportAddress4Gis, isSupportAnimate, isSupportAutoRefresh, isSupportAxisLabelWrapShow, isSupportAxisLineStyle, isSupportAxisReverse, isSupportCate, isSupportCategoryFilter, isSupportDataSeriesAttr, isSupportDelimiter, isSupportLeadLine, isSupportMoreCate, isSupportPlotBackground, isSupportSeriesDrag, isSupportSeriesFilter, isSupportTooltipSeriesType, isSupportZoomDirection, isUseSecondAxis, isValidPlot, match4GUI, needAnalysisLinePane, readerAttr, readPlotXML, resetNullLegendAttr, setAutoRefreshPerSecond, setCategoryNameTextAttr, setCombinedSize, setConditionCollection, setDataProcessor, setDataSheet, setHotHyperLink, setHotTooltipStyle, setLegend, setNullValueBreak, setPlotFillStyle, setPlotStyle, setSecondShowUnit, setSeriesDragEnable, setShowCateName, setShowUnit, setUnitTextAttr, setValueTextAttr
changedAttrToJSONObject, changeStyleAttrAlpha, changeStyleAttrBackground, changeStyleAttrBorder, changeStyleAttrColor, changeStyleAttrContents, changeStyleAttrLineStyle, getAlpha, getBackground, getBorderColor, getBorderStyle, getRoundRadius, isRoundBorder, isShadow, readGeneralInfoXML, setAlpha, setAttrAlpha, setBackground, setBorderColor, setBorderStyle, setRoundBorder, setRoundRadius, setShadow, toJSONObject, writeGeneralInfoXML
public static final java.lang.String XML_TAG
public static final java.lang.String NONE
public static final double JUST_BEAUTIFUL
public java.lang.String getPlotDataPaneName()
public java.lang.String[] getAlertLinePaneTitle()
getAlertLinePaneTitle
在类中 Plot
public java.lang.String getPlotName()
public void clearConditionAttrAndRenewLegend(Plot oldPlot)
clearConditionAttrAndRenewLegend
在类中 Plot
oldPlot
- 旧绘图区public boolean isSupportTrendLine()
isSupportTrendLine
在类中 Plot
public int getHighLowLineStyle()
public void setHighLowLineStyle(int highLowLineStyle)
public java.awt.Color getHighLowLineColor()
public void setHighLowLineColor(java.awt.Color highLowLineColor)
public int getUpBarBorderLineStyle()
public void setUpBarBorderLineStyle(int upBarBorderLineStyle)
public void setUpBarBorderLineBackground(java.awt.Color upBarBorderLineBackground)
public java.awt.Color getUpBarBorderLineBackground()
public java.awt.Color getUpBarBackground()
public void setUpBarBackground(java.awt.Color upBarBackground)
public int getDownBarBorderLineStyle()
public void setDownBarBorderLineStyle(int downBarBorderLineStyle)
public void setDownBarBorderLineBackground(java.awt.Color downBarBorderLineBackground)
public java.awt.Color getDownBarBorderLineBackground()
public java.awt.Color getDownBarBackground()
public void setDownBarBackground(java.awt.Color downBarBackground)
public double getMaxValueFromData(ChartData cd, ChartAxisPosition leftOrRight)
getMaxValueFromData
在类中 Plot
leftOrRight
- 左侧坐标轴cd
- 图表数据public double getMinValueFromData(ChartData cd, boolean isLog, ChartAxisPosition leftOrRight)
getMinValueFromData
在类中 Plot
leftOrRight
- 左侧坐标轴isLog
- 是否为对数cd
- 图表数据protected DataPoint createDataPoint()
createDataPoint
在类中 Plot
public LegendGlyph createLegendGlyph(PlotGlyph plotGlyph)
createLegendGlyph
在类中 Plot
plotGlyph
- 绘图区Glyphpublic PlotGlyph createPlotGlyph(ChartData chartData)
createPlotGlyph
在类中 Plot
chartData
- 图表数据public ChartData createNullChartData()
createNullChartData
在类中 Plot
public void install4PlotGlyph(StockPlotGlyph plotGlyph, ChartData chartData)
chartData
- 图表数据plotGlyph
- 绘图区Glyphprotected void addSeries2PlotGlyph(PlotGlyph plotGlyph, ChartData cd)
addSeries2PlotGlyph
在类中 Plot
public void installAxisGlyph(StockPlotGlyph stockPlotGlyph, ChartData chartData)
chartData
- 图表数据stockPlotGlyph
- 绘图区Glyphpublic boolean isSupportDataSeriesCondition()
isSupportDataSeriesCondition
在类中 Plot
public boolean isSupportTooltipInInteractivePane()
isSupportTooltipInInteractivePane
在类中 Plot
public boolean isSupportDataSheet()
isSupportDataSheet
在类中 Plot
public boolean isSupportDataLabelAttr()
isSupportDataLabelAttr
在类中 Plot
public boolean isSupportZoomCategoryAxis()
isSupportZoomCategoryAxis
在类中 Plot
public boolean matchPlotType(Plot newPlot)
matchPlotType
在类中 Plot
newPlot
- 新Plotpublic ChartData defaultChartData()
defaultChartData
在类中 Plot
public int[] getInteractivePaneArrayThatNotSurpport()
getInteractivePaneArrayThatNotSurpport
在类中 Plot
public void readXML(XMLableReader reader)
GeneralInfo
readXML
在接口中 XMLReadable
readXML
在类中 RectanglePlot
reader
- XML读取器XMLableReader
public void writeXML(XMLPrintWriter writer)
GeneralInfo
writeXML
在接口中 XMLWriter
writeXML
在类中 RectanglePlot
writer
- XML属性输出public boolean equals(java.lang.Object ob)
GeneralInfo
equals
在类中 RectanglePlot
ob
- 用 于比较的Objectpublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
GeneralInfo
clone
在接口中 FCloneable
clone
在类中 RectanglePlot
java.lang.CloneNotSupportedException
- 如果克隆失败则抛出此异常public java.lang.String getPlotSmallIconPath()
getPlotSmallIconPath
在接口中 BasePlot
getPlotSmallIconPath
在类中 Plot
public ChartTypeValueCollection getPlotType()
getPlotType
在类中 Plot
public int getDetailType()
getDetailType
在类中 Plot
public boolean isSupportValuePercent()
isSupportValuePercent
在类中 Plot
public boolean isSupportLegend()
isSupportLegend
在类中 Plot
public java.lang.String getPlotID()
Plot
public java.util.HashMap<java.lang.String,BaseFormula> getHyperLinkEditorMap()
Plot
getHyperLinkEditorMap
在接口中 BasePlot
getHyperLinkEditorMap
在类中 Plot