public class VanChartDataSeries extends DataSeries<VanChartDataPoint>
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
LEVEL_INDEX |
static java.lang.String |
LEVEL_NAME |
dataSeriesStyle, drawImpl
构造器和说明 |
---|
VanChartDataSeries() |
VanChartDataSeries(int seriesIndex) |
addDataPoint, addTrendLineGlyph, clearTrendLineGlyph, drawChartStyle, drawLabel, drawTrendLine, equals, evalWithCondition, getDataPointCount, getDataSeriesStyle, getPoints, getSeriesIndex, getSeriesName, getShape, getTrendLineGlyph, getTrendLineGlyphSize, getType, isCompositeSeries, isSeriesDragEnable, isSeriesNullType4Gantt, putLabelSeriesConditionAttr, putSeriesConditionAttr, putSeriesConditionAttr, putSeriesConditionAttrWidthDefault, removeDataPoint, setCompositeSeries, setDataSeriesStyle, setDrawImpl, setSeriesDragEnable, setSeriesName, toVanJSONObject, toVanJSONObject, toVanJSONObject
clone, selectableChildren
public static final java.lang.String LEVEL_INDEX
public static final java.lang.String LEVEL_NAME
public VanChartDataSeries()
public VanChartDataSeries(int seriesIndex)
public int getCategoryNum()
public void setCategoryNum(int categoryNum)
public void setColumnType(boolean columnType)
public AttrSeriesImageBackground getImageBackground()
public void setImageBackground(AttrSeriesImageBackground imageBackground)
public java.awt.Color getDefaultColor()
public void setDefaultColor(java.awt.Color defaultColor)
public VanChartPlotGlyph getParentGlyph()
public void setParentGlyph(VanChartPlotGlyph parentGlyph)
public java.lang.String getChartType()
public void setChartType(java.lang.String chartType)
public AxisPlotType getAxisPlotType()
public void setAxisPlotType(AxisPlotType axisPlotType)
public void setAreaTopLine(FoldLine areaTopLine)
public void setAttrTrendLine(VanChartAttrTrendLine attrTrendLine)
public void setAttrSeriesStackAndAxis(AttrSeriesStackAndAxis attrSeriesStackAndAxis)
public AttrSeriesStackAndAxis getAttrSeriesStackAndAxis()
public void setAttrLine(VanChartAttrLine attrLine)
public void setColor(AttrBackground color)
public void setAlpha(AttrAlpha alpha)
public void setMarker(VanChartAttrMarker marker)
public AttrBackground getColor()
public void setAttrBubble(VanChartAttrBubble attrBubble)
public VanChartAttrBubble getAttrBubble()
public void setFillColorBackground(AttrAreaSeriesFillColorBackground fillColorBackground)
public AttrAreaSeriesFillColorBackground getFillColorBackground()
public VanChartAttrLine getAttrLine()
public VanChartAttrMarker getMarker()
public VanChartAttrTrendLine getAttrTrendLine()
public AttrAlpha getAlpha()
public void addAttrBands(AttrBand bands)
bands
- bands属性public void addBandGlyph(VanChartBandGlyph bandGlyph)
bandGlyph
- bands图形public java.util.List<AttrBand> getBands()
public void setEvalValue(boolean evalValue)
public void initBandsDefaultMinMaxValue(double min, double max)
min
- 最小值max
- 最大值public VanChartDataPoint getDataPoint(int categoryIndex)
getDataPoint
在类中 DataSeries<VanChartDataPoint>
categoryIndex
- 数据点的索引位置public void draw(java.awt.Graphics g, int resolution)
draw
在接口中 Glyph
draw
在类中 DataSeries<VanChartDataPoint>
g
- 图形对象resolution
- 分辨率protected double[] sortY(java.util.List<VanChartBandGlyph> bandsList)
public java.lang.Object toResult(CommonCondition cc)
Result
toResult
在接口中 Result
toResult
在类中 DataSeries<VanChartDataPoint>
cc
- 给定的条件public java.lang.Object toOldResult(CommonCondition cc)
toOldResult
在类中 DataSeries<VanChartDataPoint>
cc
- 条件属性.public JSONObject toJSONObject(Repository repo) throws JSONException
toJSONObject
在接口中 Glyph
toJSONObject
在类中 DataSeries<VanChartDataPoint>
repo
- 请求JSONException
- 抛错public JSONObject toJSONObject(Repository repo, ChartWebPara para) throws JSONException
JSONException
public void addSeriesJSON(JSONObject js, Repository repo, ChartWebPara para) throws JSONException
JSONException