public class VanChartLinePlotGlyph extends VanChartRectanglePlotGlyph
限定符和类型 | 字段和说明 |
---|---|
protected boolean |
isStartPoint |
DEFAULT_MAX_VALUE, vanChartPlotType, xAxisGlyphList, yAxisGlyphList
defaultAttrLabel, defaultAttrTooltip, legendBackgroundMap, legendItemList
CATEGORY_PARA, conditionCollection, DEFAULT_SIZE, plotStyle, RESET_JAVA_FONT_X, SERIES_PARA, seriesList, STACK, X_AXIS, X_PARA, Y_AXIS, Y_PARA
bounds, visible
构造器和说明 |
---|
VanChartLinePlotGlyph() |
限定符和类型 | 方法和说明 |
---|---|
protected void |
addMarkerToJSON(JSONObject js,
Repository repo,
VanChartAttrMarker attrMarker,
ChartWebPara para) |
protected void |
buildSingleAxisLines(java.util.List<java.util.List<java.lang.Number>> axisMap,
int resolution) |
protected void |
buildSingleLine(VanChartDataSeries dataSeries,
VanChartBaseAxisGlyph xAxisGlyph,
VanChartBaseAxisGlyph yAxisGlyph,
java.awt.geom.Point2D[] lastPositivePoints,
java.awt.geom.Point2D[] lastNegativePoints,
java.util.Map<java.lang.String,java.lang.Number> prePositiveSumValueInSameCateValue,
java.util.Map<java.lang.String,java.lang.Number> preNegativeSumValueInSameCateValue,
int[] cateIndexArray,
int resolution) |
protected void |
createDataLabel4DataPointWithCondition(VanChartDataPoint dataPoint,
VanChartDataSeries dataSeries) |
protected MarkerGlyph |
createMarkerGlyph() |
protected Marker |
createMarkerWithType(MarkerType markerType,
VanChartDataSeries dataSeries) |
protected void |
dealAlpha4MakerGlyph(MarkerGlyph markerGlyph,
VanChartDataPoint dataPoint) |
protected void |
dealLegendIconAlpha(VanChartLineMarkerIcon itemIcon,
VanChartDataSeries dataSeries) |
protected void |
dealLine4AllSeries(VanChartDataSeries dataSeries,
VanChartBaseAxisGlyph xAxisGlyph,
VanChartBaseAxisGlyph yAxisGlyph,
java.util.Map<java.lang.String,java.lang.Number> prePositiveSumValueInSameCateValue,
java.util.Map<java.lang.String,java.lang.Number> preNegativeSumValueInSameCateValue,
java.awt.geom.Point2D[] lastPositivePoints,
java.awt.geom.Point2D[] lastNegativePoints,
java.awt.Color seriesColor,
java.awt.geom.GeneralPath linePaths,
java.awt.geom.GeneralPath curvePaths,
int[] cateIndexArray,
int resolution) |
protected void |
dealLinePoint4EveryDataPoint(java.awt.geom.GeneralPath linePaths,
java.awt.geom.GeneralPath curvePaths,
float point_x,
float point_y,
boolean isSeriesCurve,
boolean isSeriesStep,
float last_point_x,
float last_point_y) |
java.lang.String |
demoImagePath() |
protected double |
getAndUpdateSumValue(double cateValue,
double value,
java.util.Map<java.lang.String,java.lang.Number> prePositiveSumValueInSameCateValue,
java.util.Map<java.lang.String,java.lang.Number> preNegativeSumValueInSameCateValue) |
protected java.awt.Color |
getAttrLineColor(VanChartDataSeries dataSeries) |
protected int |
getAttrLineWidth(VanChartDataSeries dataSeries) |
protected VanChartAttrMarker |
getAttrMarker(VanChartDataPoint dataPoint) |
protected VanChartAttrMarker |
getAttrMarker(VanChartDataSeries dataSeries) |
java.lang.String |
getChartType() |
protected VanChartAttrLine |
getDefaultAttrLine() |
LineMarkerIcon |
getLegendMarkerIcon(VanChartDataSeries dataSeries,
java.awt.Color[] colors) |
protected Background |
getMarkerBackground() |
protected int |
getMarkerLineStyle() |
JSONObject |
getPlotOptionsJSON(Repository repo,
boolean isJsDraw,
ChartWebPara para)
获取 plotOptions的JSON对象
|
protected double |
getPointPresentValue(double pointValue,
double sumValue) |
protected void |
initDataSeriesBandsDefaultMinMaxValue(double min,
double max,
java.util.List<java.lang.Number> seriesList4TheAxis) |
protected void |
initDataSeriesGlyph(VanChartDataSeries dataSeries,
java.awt.geom.GeneralPath linePaths,
java.awt.geom.GeneralPath curvePaths,
java.awt.Color seriesColor,
VanChartBaseAxisGlyph yAxisGlyph,
int[] cateIndexArray,
java.awt.geom.Point2D[] currentPositivePoints,
java.awt.geom.Point2D[] lastPositivePoints,
java.awt.geom.Point2D[] lastNegativePoints) |
protected void |
initLastPoints(int cateIndex,
double point_x,
double point_y,
double defaultX,
double defaultY,
java.awt.geom.Point2D[] lastNegativePoints,
java.awt.geom.Point2D[] lastPositivePoints) |
protected void |
initMarkerGlyph(VanChartDataSeries dataSeries,
VanChartDataPoint dataPoint,
float point_x,
float point_y,
java.awt.Color seriesColor) |
protected boolean |
isCurve(VanChartDataSeries dataSeries)
某个系列是否是光滑曲线
|
protected boolean |
isDisplayDataPoint(VanChartDataPoint dataPoint) |
protected boolean |
isNullValueBreak(VanChartDataSeries dataSeries) |
protected boolean |
isStep(VanChartDataSeries dataSeries) |
void |
layoutDataSeriesGlyph(int resolution)
布局图形对象
|
protected boolean |
samePoint(double currentValue,
double lastValue,
double currentCateValue,
double lastCateValue) |
protected void |
setSeriesColor(VanChartDataPoint dataPoint,
VanChartDataSeries dataSeries) |
protected int[] |
sortCateValue(VanChartBaseAxisGlyph axisGlyph,
VanChartDataSeries dataSeries) |
addXAxisGlyph, addXAxisJSON, addYAxisGlyph, addYAxisJSON, adjustAxisGlyphWithBottomGap, adjustAxisGlyphWithLeftGap, buildAxisMap, calculateAxisGlyphAttr, calculateDataPointPercentValue, calculateLineDataCount, createDataSheetGlyph, dealMapKey, dealOnZeroAxisGlyphLocation, dealPlotBoundsWidthAxisInHorizontal, dealPlotBoundsWithAxisGlyph, drawAxis, drawInfo, getAttrTrendLine, getBottomXAxisCount, getCateAxis, getCateAxisIndex, getCateValue, getDataMapKey, getDataSeriesCateAxisGlyph, getDataSeriesValueAxisGlyph, getDefaultAttrTrendLine, getDefaultXAxisGlyph, getDefaultYAxisGlyph, getSeriesMinMaxCateValue, getSeriesValue, getValueAxisIndex, getVanChartPlotType, getXAxisGlyphIndex, getXAxisGlyphList, getXAxisKey, getYAxisGlyphIndex, getYAxisGlyphList, getYAxisKey, initAxisGlyphBoundsAndZeroBoundsAndOriginalChartBounds, initAxisGlyphStartPoint, initCategoryAxisMinAndMaxValue, initDataSheetGlyph, initTrendLineGlyph, initValueAxisGlyphMinMaxValue, initXAxisGlyphMinMaxValue, initXAxisLabelDrawPosition, initYAxisGlyphMinMaxValue, initYAxisLabelDrawPosition, isAdjustXAxisMinMaxValue, isHorizontalValueAxis, isStackDataSeries, justBound4Arrow, layoutAxisGlyph, setAxisLabelDrawBetween, setVanChartPlotType, setXAxisGlyphList, setYAxisGlyphList, trendLineFitting
addAlphaJSON, addBorderJSON, addHyperlinkJSON, addLabelJSON, addNotNullSeriesJSON, addNullLabelJSON, addOtherJSON, addSeriesJSON, addSeriesJSONWithCate2Series, allNullValue, changeInfoWithCondition, createColors4Legend, createColors4Series, createDataLabel4EveryPoint, createDataLabel4EverySeries, createDataPointLabelAfterInstallAxisGlyph, createDataSheetLegendItems, createLegendItems, dealDataPointLabel, dealMarkerIconCondition, dealMarkerIconCondition4DataSheet, dealSeriesAccumulatedColors, draw, drawWithoutInfo, getAttrAlpha, getAttrAlpha, getAttrBackground, getAttrBorder, getAttrLabel, getAttrLineColor, getAxisPlotType, getCategoryNum, getChartID, getDataPointLabelBoundsWithPosition, getDefaultAttrAlpha, getDefaultAttrBorder, getDefaultAttrBubble, getDefaultAttrLabel, getDefaultAttrMarker, getDefaultAttrTooltip, getDefaultColors, getDefaultColors, getHyperLinkParas, getLabelText, getLegendItemList, getLegendSeriesSize, getMinMaxValue, getPlotGlyphType, getPointkey, getPointValue, getSeries, getSeriesFromAll, getSerieskey, getSmallIconType, isAxisRotation, isLocal, isSupportEmptyData, isTreeSeries, layoutAxisGlyph, setAxisPlotType, setAxisRotation, setCategoryNum, setChartID, setHyperLinkParas, setLegendItemList, setLocal, setUseDefaultNullData
addECNameToHyperLink, addOtherJSON, addSeries, addSeriesJSON, addSeriesJSON, avoidCoverLabelBounds, axisExtendsMaxMinValueWithTrendLine, calculateOrderList, clone, createColors4Cate, dealDataPointLabel, dealLabelBoundsInOrder, dealLabelBoundsOutPlotBounds, dealPlotHotAttr, 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, isNeedDealHotHyperlink, isNullValueBreak, isSeriesDragEnable, isSupportLegend, isSupportZoom, isZoom, notDealDataPointLabel, resetClip, selectableChildren, setAutoRefreshPerSecond, setCombinedSize, setConditionCollection, setDataProcessor, setHotHyperLink, setHotTooltipStyle, setIsNullValueBreak, setPlotFillStyle, setPlotStyle, setSeriesDragEnable, setWholeChartBackground, setZoom, skipDealPointHotAttr, toJSONObject, trendLineFitting
getBounds, getOutline4Fill, getShape, isInvisible, isVisible, setBounds, setVisible
dealCondition, dealConditionWithSeriesColor, drawOnlyBorder, drawWithOutBorder, getAlpha, getBackground, getBorderColor, getBorderStyle, getGeneralInfo, getRoundRadius, is3DIE6, isRoundBorder, isShadow, paint, paintBackground, putBackgroundJSON, putPlotBackgroundJSON, setAlpha, setBackground, setBorderColor, setBorderStyle, setGeneralInfo, setRoundBorder, toVanJSONObject
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createDataSheetLegendItems, createLegendItems, getBounds, getSeries, getSeriesSize, setBounds
protected VanChartAttrLine getDefaultAttrLine()
protected boolean isCurve(VanChartDataSeries dataSeries)
dataSeries
- 该系列protected boolean isStep(VanChartDataSeries dataSeries)
protected boolean isNullValueBreak(VanChartDataSeries dataSeries)
protected int getAttrLineWidth(VanChartDataSeries dataSeries)
protected java.awt.Color getAttrLineColor(VanChartDataSeries dataSeries)
protected VanChartAttrMarker getAttrMarker(VanChartDataPoint dataPoint)
protected VanChartAttrMarker getAttrMarker(VanChartDataSeries dataSeries)
protected void initDataSeriesBandsDefaultMinMaxValue(double min, double max, java.util.List<java.lang.Number> seriesList4TheAxis)
public LineMarkerIcon getLegendMarkerIcon(VanChartDataSeries dataSeries, java.awt.Color[] colors)
getLegendMarkerIcon
在类中 VanChartPlotGlyph
protected void dealLegendIconAlpha(VanChartLineMarkerIcon itemIcon, VanChartDataSeries dataSeries)
protected int getMarkerLineStyle()
protected Marker createMarkerWithType(MarkerType markerType, VanChartDataSeries dataSeries)
protected void createDataLabel4DataPointWithCondition(VanChartDataPoint dataPoint, VanChartDataSeries dataSeries)
protected void setSeriesColor(VanChartDataPoint dataPoint, VanChartDataSeries dataSeries)
public void layoutDataSeriesGlyph(int resolution)
layoutDataSeriesGlyph
在类中 VanChartPlotGlyph
resolution
- 分辨率protected void buildSingleAxisLines(java.util.List<java.util.List<java.lang.Number>> axisMap, int resolution)
protected void buildSingleLine(VanChartDataSeries dataSeries, VanChartBaseAxisGlyph xAxisGlyph, VanChartBaseAxisGlyph yAxisGlyph, java.awt.geom.Point2D[] lastPositivePoints, java.awt.geom.Point2D[] lastNegativePoints, java.util.Map<java.lang.String,java.lang.Number> prePositiveSumValueInSameCateValue, java.util.Map<java.lang.String,java.lang.Number> preNegativeSumValueInSameCateValue, int[] cateIndexArray, int resolution)
protected void initDataSeriesGlyph(VanChartDataSeries dataSeries, java.awt.geom.GeneralPath linePaths, java.awt.geom.GeneralPath curvePaths, java.awt.Color seriesColor, VanChartBaseAxisGlyph yAxisGlyph, int[] cateIndexArray, java.awt.geom.Point2D[] currentPositivePoints, java.awt.geom.Point2D[] lastPositivePoints, java.awt.geom.Point2D[] lastNegativePoints)
protected int[] sortCateValue(VanChartBaseAxisGlyph axisGlyph, VanChartDataSeries dataSeries)
protected void dealLine4AllSeries(VanChartDataSeries dataSeries, VanChartBaseAxisGlyph xAxisGlyph, VanChartBaseAxisGlyph yAxisGlyph, java.util.Map<java.lang.String,java.lang.Number> prePositiveSumValueInSameCateValue, java.util.Map<java.lang.String,java.lang.Number> preNegativeSumValueInSameCateValue, java.awt.geom.Point2D[] lastPositivePoints, java.awt.geom.Point2D[] lastNegativePoints, java.awt.Color seriesColor, java.awt.geom.GeneralPath linePaths, java.awt.geom.GeneralPath curvePaths, int[] cateIndexArray, int resolution)
protected double getPointPresentValue(double pointValue, double sumValue)
protected boolean samePoint(double currentValue, double lastValue, double currentCateValue, double lastCateValue)
protected void initLastPoints(int cateIndex, double point_x, double point_y, double defaultX, double defaultY, java.awt.geom.Point2D[] lastNegativePoints, java.awt.geom.Point2D[] lastPositivePoints)
protected double getAndUpdateSumValue(double cateValue, double value, java.util.Map<java.lang.String,java.lang.Number> prePositiveSumValueInSameCateValue, java.util.Map<java.lang.String,java.lang.Number> preNegativeSumValueInSameCateValue)
protected void dealLinePoint4EveryDataPoint(java.awt.geom.GeneralPath linePaths, java.awt.geom.GeneralPath curvePaths, float point_x, float point_y, boolean isSeriesCurve, boolean isSeriesStep, float last_point_x, float last_point_y)
protected MarkerGlyph createMarkerGlyph()
protected void initMarkerGlyph(VanChartDataSeries dataSeries, VanChartDataPoint dataPoint, float point_x, float point_y, java.awt.Color seriesColor)
protected void dealAlpha4MakerGlyph(MarkerGlyph markerGlyph, VanChartDataPoint dataPoint)
protected Background getMarkerBackground()
public java.lang.String getChartType()
getChartType
在类中 PlotGlyph<VanChartDataSeries>
public JSONObject getPlotOptionsJSON(Repository repo, boolean isJsDraw, ChartWebPara para) throws JSONException
getPlotOptionsJSON
在类中 VanChartRectanglePlotGlyph
repo
- 请求isJsDraw
- 动态展示para
- JSONException
- 抛出问题public java.lang.String demoImagePath()
demoImagePath
在类中 VanChartPlotGlyph
protected void addMarkerToJSON(JSONObject js, Repository repo, VanChartAttrMarker attrMarker, ChartWebPara para) throws JSONException
JSONException
protected boolean isDisplayDataPoint(VanChartDataPoint dataPoint)