public class VanChartMapPlotGlyph extends VanChartPlotGlyph implements PlotGlyphWithRangeLegendProvider
限定符和类型 | 类和说明 |
---|---|
protected class |
VanChartMapPlotGlyph.BBox |
限定符和类型 | 字段和说明 |
---|---|
protected VanChartCombineMapPlotGlyphInterface |
pointMapPlotGlyph |
protected VanChartRangeLegendGlyph |
rangeLegendGlyph |
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
构造器和说明 |
---|
VanChartMapPlotGlyph() |
限定符和类型 | 方法和说明 |
---|---|
protected void |
addAreaJSON(JSONObject js) |
void |
addECNameToHyperLink(java.lang.String ecName,
int sheetIndex) |
void |
addHyperlinkJSON(Repository repo,
JSONObject js) |
void |
addOtherJSON(JSONObject js,
Repository repo,
VanChartGlyph vanChartGlyph) |
protected void |
addPointAreaAndLineMap2JSON(JSONObject js,
Repository repo,
AttrLabel pointLabel,
AttrTooltip pointTooltip,
AttrLabel areaLabel,
AttrTooltip areaTooltip,
AttrTooltip lineTooltip,
ChartWebPara para) |
protected void |
addPointCommonJSON(JSONObject js,
Repository repo,
AttrLabel attrLabel,
AttrTooltip attrTooltip) |
protected boolean |
areaDataPoint(VanChartDataSeries dataSeries) |
void |
calculateDataPointPercentValue()
计算数据点的占比
|
protected void |
calculateSingleDataSeriesPercentValue(VanChartDataSeries dataSeries) |
java.awt.Color[] |
createColors4Series()
为每个系列创建颜色数组
|
protected void |
createDataLabel4EveryPoint(VanChartDataPoint dataPoint,
VanChartDataSeries dataSeries,
java.awt.Color[] colors,
int seriesIndex) |
LegendItem[] |
createLegendItems() |
protected boolean |
currentMapPoint() |
void |
dealPlotHotAttr(Repository repo)
处理图表中Plot的热点属性
|
java.lang.String |
demoImagePath() |
void |
draw(java.awt.Graphics g,
int resolution)
画所有Plot都共有的系列
|
protected void |
drawGisLayer(java.awt.Graphics g) |
protected void |
drawNullValueLayer(java.awt.Graphics g,
int resolution) |
void |
drawShape4Series(java.awt.Graphics g,
int resolution) |
NameJavaScriptGroup |
getAreaHotHyperLink() |
protected AttrLabel |
getAttrLabel(VanChartDataPoint dataPoint) |
protected VanChartMapPlotGlyph.BBox |
getBBoxFromData() |
java.lang.String |
getChartType() |
protected java.awt.geom.Rectangle2D |
getDataPointLabelBoundsWithPosition(java.awt.geom.Dimension2D labelPreDim,
java.awt.geom.Rectangle2D dataPointRect,
int position,
DataPoint dataPoint) |
protected AttrBorder |
getDefaultAttrBorder() |
protected AttrMapLabel |
getDefaultAttrMapLabel() |
java.lang.String |
getGeoUrl() |
GisLayer |
getGisLayer() |
protected java.lang.String |
getLabelText(AttrLabel attrLabel,
VanChartDataPoint dataPoint) |
NameJavaScriptGroup |
getLineHotHyperLink() |
DataProcessor |
getLineMapDataProcessor() |
MapType |
getMapType() |
java.awt.Color |
getNullValueColor() |
JSONObject |
getPlotOptionsJSON(Repository repo,
boolean isJsDraw,
ChartWebPara para)
获取 plotOptions的JSON对象
|
NameJavaScriptGroup |
getPointHotHyperLink() |
java.lang.String |
getPointkey(JSONObject pointData) |
java.lang.String |
getPointValue(JSONObject pointData) |
double[] |
getRangeMinAndMaxValue(double minValue,
double maxValue) |
ViewCenter |
getViewCenter() |
ZoomLevel |
getZoomLevel() |
boolean |
isNeedDealHotHyperlink()
是否需要处理热点链接
|
boolean |
isSupportEmptyData() |
void |
layoutAxisGlyph(java.awt.geom.Rectangle2D chartOriginalBounds,
int resolution)
对绘图区中的坐标轴部分进行布局,传过去图表边界计算限制区域
|
protected void |
layoutEveryDataSeries(VanChartMapPlotGlyph.BBox pixelBBox,
int zoom,
int resolution) |
protected void |
layoutSingleDataSeries(VanChartDataSeries dataSeries,
VanChartMapPlotGlyph.BBox pixelBBox,
double zoom,
int resolution) |
protected boolean |
pointUseLatLng() |
void |
setAreaHotHyperLink(NameJavaScriptGroup areaHotHyperLink) |
void |
setBounds(java.awt.geom.RectangularShape bounds)
设置矩形Glyph的边界
|
void |
setGeoUrl(java.lang.String geoUrl) |
void |
setGisLayer(GisLayer gisLayer) |
void |
setLineHotHyperLink(NameJavaScriptGroup lineHotHyperLink) |
void |
setLineMapDataProcessor(DataProcessor lineMapDataProcessor) |
void |
setMapMarkerType(MapMarkerType mapMarkerType) |
void |
setMapType(MapType mapType) |
void |
setNullValueColor(java.awt.Color nullValueColor) |
void |
setPointHotHyperLink(NameJavaScriptGroup pointHotHyperLink) |
void |
setPointMapPlotGlyph(VanChartCombineMapPlotGlyphInterface pointMapPlotGlyph) |
void |
setRangeLegendGlyph(VanChartRangeLegendGlyph rangeLegendGlyph) |
void |
setSeriesNameAndIndexMap(java.util.Map<java.lang.String,java.lang.Integer> seriesNameAndIndexMap) |
void |
setSeriesNameAndSeriesListMap(java.util.Map<java.lang.String,java.util.List<VanChartDataSeries>> seriesNameAndSeriesListMap) |
void |
setUseDefaultChartData(boolean useDefaultChartData) |
void |
setViewCenter(ViewCenter viewCenter) |
void |
setZoomLevel(ZoomLevel zoomLevel) |
addAlphaJSON, addBorderJSON, addLabelJSON, addNotNullSeriesJSON, addNullLabelJSON, addSeriesJSON, addSeriesJSONWithCate2Series, addXAxisJSON, addYAxisJSON, allNullValue, changeInfoWithCondition, createColors4Legend, createDataLabel4DataPointWithCondition, createDataLabel4EverySeries, createDataPointLabelAfterInstallAxisGlyph, createDataSheetLegendItems, dealDataPointLabel, dealMarkerIconCondition, dealMarkerIconCondition4DataSheet, dealSeriesAccumulatedColors, drawInfo, drawWithoutInfo, getAttrAlpha, getAttrAlpha, getAttrBackground, getAttrBorder, getAttrLineColor, getAxisPlotType, getCategoryNum, getChartID, getDefaultAttrAlpha, getDefaultAttrBubble, getDefaultAttrLabel, getDefaultAttrMarker, getDefaultAttrTooltip, getDefaultColors, getDefaultColors, getHyperLinkParas, getLegendItemList, getLegendMarkerIcon, getLegendSeriesSize, getMinMaxValue, getPlotGlyphType, getSeries, getSeriesFromAll, getSerieskey, getSmallIconType, isAxisRotation, isLocal, isTreeSeries, layoutAxisGlyph, layoutDataSeriesGlyph, setAxisPlotType, setAxisRotation, setCategoryNum, setChartID, setHyperLinkParas, setLegendItemList, setLocal, setUseDefaultNullData
addOtherJSON, addSeries, addSeriesJSON, addSeriesJSON, avoidCoverLabelBounds, axisExtendsMaxMinValueWithTrendLine, calculateOrderList, clone, createColors4Cate, createDataSheetGlyph, dealDataPointLabel, dealLabelBoundsInOrder, dealLabelBoundsOutPlotBounds, doLayout, drawInfo, drawLabel4Series, 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, 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, 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
protected VanChartCombineMapPlotGlyphInterface pointMapPlotGlyph
protected VanChartRangeLegendGlyph rangeLegendGlyph
public DataProcessor getLineMapDataProcessor()
public void setLineMapDataProcessor(DataProcessor lineMapDataProcessor)
public void setUseDefaultChartData(boolean useDefaultChartData)
public NameJavaScriptGroup getAreaHotHyperLink()
public void setAreaHotHyperLink(NameJavaScriptGroup areaHotHyperLink)
public NameJavaScriptGroup getPointHotHyperLink()
public void setPointHotHyperLink(NameJavaScriptGroup pointHotHyperLink)
public NameJavaScriptGroup getLineHotHyperLink()
public void setLineHotHyperLink(NameJavaScriptGroup lineHotHyperLink)
public void setRangeLegendGlyph(VanChartRangeLegendGlyph rangeLegendGlyph)
public MapType getMapType()
protected AttrMapLabel getDefaultAttrMapLabel()
protected AttrBorder getDefaultAttrBorder()
protected boolean areaDataPoint(VanChartDataSeries dataSeries)
public void setSeriesNameAndIndexMap(java.util.Map<java.lang.String,java.lang.Integer> seriesNameAndIndexMap)
public void setSeriesNameAndSeriesListMap(java.util.Map<java.lang.String,java.util.List<VanChartDataSeries>> seriesNameAndSeriesListMap)
public java.awt.Color getNullValueColor()
public void setNullValueColor(java.awt.Color nullValueColor)
public void setMapMarkerType(MapMarkerType mapMarkerType)
public ViewCenter getViewCenter()
public void setViewCenter(ViewCenter viewCenter)
public ZoomLevel getZoomLevel()
public void setZoomLevel(ZoomLevel zoomLevel)
public GisLayer getGisLayer()
public void setGisLayer(GisLayer gisLayer)
public java.lang.String getGeoUrl()
public void setGeoUrl(java.lang.String geoUrl)
public void setPointMapPlotGlyph(VanChartCombineMapPlotGlyphInterface pointMapPlotGlyph)
public void setMapType(MapType mapType)
public LegendItem[] createLegendItems()
createLegendItems
在类中 VanChartPlotGlyph
public void layoutAxisGlyph(java.awt.geom.Rectangle2D chartOriginalBounds, int resolution)
layoutAxisGlyph
在类中 VanChartPlotGlyph
chartOriginalBounds
- 原始图表边界resolution
- 分辨率protected boolean currentMapPoint()
protected void layoutEveryDataSeries(VanChartMapPlotGlyph.BBox pixelBBox, int zoom, int resolution)
protected boolean pointUseLatLng()
protected VanChartMapPlotGlyph.BBox getBBoxFromData()
protected void layoutSingleDataSeries(VanChartDataSeries dataSeries, VanChartMapPlotGlyph.BBox pixelBBox, double zoom, int resolution)
protected java.awt.geom.Rectangle2D getDataPointLabelBoundsWithPosition(java.awt.geom.Dimension2D labelPreDim, java.awt.geom.Rectangle2D dataPointRect, int position, DataPoint dataPoint)
protected AttrLabel getAttrLabel(VanChartDataPoint dataPoint)
getAttrLabel
在类中 VanChartPlotGlyph
public void calculateDataPointPercentValue()
protected void calculateSingleDataSeriesPercentValue(VanChartDataSeries dataSeries)
protected void createDataLabel4EveryPoint(VanChartDataPoint dataPoint, VanChartDataSeries dataSeries, java.awt.Color[] colors, int seriesIndex)
protected java.lang.String getLabelText(AttrLabel attrLabel, VanChartDataPoint dataPoint)
getLabelText
在类中 VanChartPlotGlyph
public java.lang.String getChartType()
getChartType
在类中 PlotGlyph<VanChartDataSeries>
public double[] getRangeMinAndMaxValue(double minValue, double maxValue)
public void setBounds(java.awt.geom.RectangularShape bounds)
RectangleGlyph
setBounds
在类中 RectangleGlyph
bounds
- 矩形边界public void draw(java.awt.Graphics g, int resolution)
PlotGlyph
draw
在接口中 Glyph
draw
在类中 VanChartPlotGlyph
g
- 图形对象resolution
- 分辨率public void drawShape4Series(java.awt.Graphics g, int resolution)
drawShape4Series
在类中 PlotGlyph<VanChartDataSeries>
protected void drawNullValueLayer(java.awt.Graphics g, int resolution)
protected void drawGisLayer(java.awt.Graphics g)
public java.awt.Color[] createColors4Series()
createColors4Series
在类中 VanChartPlotGlyph
public void addOtherJSON(JSONObject js, Repository repo, VanChartGlyph vanChartGlyph) throws JSONException
addOtherJSON
在类中 VanChartPlotGlyph
JSONException
public JSONObject getPlotOptionsJSON(Repository repo, boolean isJsDraw, ChartWebPara para) throws JSONException
getPlotOptionsJSON
在类中 VanChartPlotGlyph
repo
- 请求isJsDraw
- 动态展示para
- JSONException
- 抛出问题public void dealPlotHotAttr(Repository repo)
dealPlotHotAttr
在类中 PlotGlyph<VanChartDataSeries>
repo
- 请求.protected void addPointAreaAndLineMap2JSON(JSONObject js, Repository repo, AttrLabel pointLabel, AttrTooltip pointTooltip, AttrLabel areaLabel, AttrTooltip areaTooltip, AttrTooltip lineTooltip, ChartWebPara para) throws JSONException
JSONException
public boolean isNeedDealHotHyperlink()
isNeedDealHotHyperlink
在类中 PlotGlyph<VanChartDataSeries>
protected void addPointCommonJSON(JSONObject js, Repository repo, AttrLabel attrLabel, AttrTooltip attrTooltip) throws JSONException
JSONException
protected void addAreaJSON(JSONObject js) throws JSONException
JSONException
public java.lang.String getPointkey(JSONObject pointData) throws JSONException
getPointkey
在类中 VanChartPlotGlyph
JSONException
public java.lang.String getPointValue(JSONObject pointData) throws JSONException
getPointValue
在类中 VanChartPlotGlyph
JSONException
public boolean isSupportEmptyData()
isSupportEmptyData
在类中 VanChartPlotGlyph
public void addHyperlinkJSON(Repository repo, JSONObject js) throws JSONException
addHyperlinkJSON
在类中 VanChartPlotGlyph
JSONException
public java.lang.String demoImagePath()
demoImagePath
在类中 VanChartPlotGlyph
public void addECNameToHyperLink(java.lang.String ecName, int sheetIndex)