public class MapPlotGlyph extends PlotGlyph
CATEGORY_PARA, conditionCollection, DEFAULT_SIZE, plotStyle, RESET_JAVA_FONT_X, SERIES_PARA, seriesList, STACK, X_AXIS, X_PARA, Y_AXIS, Y_PARA
bounds, visible
构造器和说明 |
---|
MapPlotGlyph() |
限定符和类型 | 方法和说明 |
---|---|
void |
calculateGlyphFromAreaValue()
处理下组合的图形,设置Glyph
|
void |
calculateMapTitlePercentValue()
计算区域值所占比例
|
void |
draw(java.awt.Graphics g,
int resolution)
画地图中所涉及的图形
|
boolean |
equals(java.lang.Object ob) |
int |
getAdditionalCanvasCount()
获取组合图表需要的canvas数量
|
MapHotAreaColor |
getAreaColors()
返回Map的热点区域范围
|
java.lang.String |
getChartType() |
DataPoint4Map |
getCurrentMapDataPoint() |
protected java.lang.String |
getExtraTooltipValue() |
java.lang.String |
getMapName()
返回地图名称
|
ChartEnumDefinitions.MapType |
getMapType()
获取组合地图的类型
|
java.lang.String |
getPlotGlyphType()
返回web js端地图类型标记
|
boolean |
isHeatMap()
获取是否是热力地图
|
boolean |
isSvgMap()
是否是svg地图
|
void |
layoutAxisGlyph(int resolution)
布局坐标轴, 地图不需要.
|
void |
layoutDataSeriesGlyph(int resolution)
为地图创建每个系列点, 并布局位置 标签颜色等信息.
|
static void |
putPathMap2Json(Device device,
MapAttr mapAttr,
java.util.HashMap pathMap,
JSONObject jo)
对应的地图区域 转化解析的字符串
|
static void |
putPathMap2Json(Device device,
MapSvgAttr mapAttr,
java.util.HashMap pathMap,
JSONObject jo)
对应的地图区域 转化解析的字符串
|
void |
setAreaColors(MapHotAreaColor areaColors)
设置Map的热点区域范围
|
void |
setBar2DPlotGlyph(Bar2DPlotGlyph bar2DPlotGlyph)
设置柱形图的绘图对象
|
void |
setBubblePlotGlyph(BubblePlotGlyph bubblePlotGlyph)
设置气泡图的绘图对象
|
void |
setHeatIndex(int heatIndex)
设置热力值序号
|
void |
setHeatMap(boolean isHeatMap)
设置是否是热力地图
|
void |
setMapData(MapChartData data)
设置地图的原始数据
|
void |
setMapName(java.lang.String mapName)
设置地图名称
|
void |
setMapType(ChartEnumDefinitions.MapType newType)
设置组合地图的类型
|
void |
setPathMap(java.util.HashMap pathMap)
设置地图对应的中所包含的GeneralPath, 用于js传输
|
void |
setPiePlotGlyph(PiePlotGlyph piePlotGlyph)
设置饼图的绘图对象
|
void |
setSvgMap(boolean isSvgMap)
设置是否是svg地图
|
JSONObject |
toJSONObject(Repository repo)
返回用于输出到web端的JSON对象
|
addECNameToHyperLink, addOtherJSON, addSeries, addSeriesJSON, addSeriesJSON, avoidCoverLabelBounds, axisExtendsMaxMinValueWithTrendLine, calculateDataPointPercentValue, calculateOrderList, clone, createColors4Cate, createColors4Series, createDataSheetGlyph, dealDataPointLabel, dealLabelBoundsInOrder, dealLabelBoundsOutPlotBounds, dealPlotHotAttr, doLayout, drawInfo, drawLabel4Series, drawShape4Series, getAllDataPointGlyph, getAllTrendLineGlyph, getAutoRefreshPerSecond, getCategoryCount, getCombinedSize, getConditionCollection, getDataPointLabelBoundsWithPosition, getDataPointLabelBoundsWithPosition, getDataPointLabelBoundsWithPosition4Line, getDataProcessor, getDrawSequence, getExtraLabelValue, getFirstDataPoint, getHotHyperLink, getHotTooltipStyle, getPlotDetailType, getPlotFillStyle, getPlotOptionsJSON, getPlotStyle, getPreGap4AxisRightUnit, getPreGap4AxisTopUnit, getPreLeft4DataSheet, getSeries, getSeriesSize, getSmallIconType, 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, 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
public void layoutAxisGlyph(int resolution)
layoutAxisGlyph
在类中 PlotGlyph
resolution
- 分辨率public void layoutDataSeriesGlyph(int resolution)
layoutDataSeriesGlyph
在类中 PlotGlyph
resolution
- 分辨率public void calculateMapTitlePercentValue()
public void calculateGlyphFromAreaValue()
public void setAreaColors(MapHotAreaColor areaColors)
public MapHotAreaColor getAreaColors()
public java.lang.String getPlotGlyphType()
getPlotGlyphType
在类中 PlotGlyph
public void setMapName(java.lang.String mapName)
public void setSvgMap(boolean isSvgMap)
isSvgMap
- 是否是svg地图public java.lang.String getMapName()
public void setMapData(MapChartData data)
data
- 原始出局public void setPathMap(java.util.HashMap pathMap)
public void setHeatMap(boolean isHeatMap)
isHeatMap
- 是否是热力地图public boolean isHeatMap()
public boolean isSvgMap()
public void setHeatIndex(int heatIndex)
heatIndex
- 热力地图的titleValueIndexpublic void setMapType(ChartEnumDefinitions.MapType newType)
newType
- 新的类型public ChartEnumDefinitions.MapType getMapType()
public void setBubblePlotGlyph(BubblePlotGlyph bubblePlotGlyph)
bubblePlotGlyph
- 气泡图的绘图对象public void setPiePlotGlyph(PiePlotGlyph piePlotGlyph)
piePlotGlyph
- 饼图的绘图对象public void setBar2DPlotGlyph(Bar2DPlotGlyph bar2DPlotGlyph)
bar2DPlotGlyph
- 柱形图的绘图对象public void draw(java.awt.Graphics g, int resolution)
public JSONObject toJSONObject(Repository repo) throws JSONException
toJSONObject
在接口中 Glyph
toJSONObject
在类中 PlotGlyph
repo
- 请求JSONException
- 抛出问题public static void putPathMap2Json(Device device, MapAttr mapAttr, java.util.HashMap pathMap, JSONObject jo) throws JSONException
device
- 设备mapAttr
- 地图区域pathMap
- 路径jo
- json对象JSONException
- 抛错public static void putPathMap2Json(Device device, MapSvgAttr mapAttr, java.util.HashMap pathMap, JSONObject jo) throws JSONException
device
- 设备mapAttr
- 地图区域pathMap
- 路径jo
- json对象JSONException
- 抛错public DataPoint4Map getCurrentMapDataPoint()
public int getAdditionalCanvasCount()
getAdditionalCanvasCount
在类中 PlotGlyph
protected java.lang.String getExtraTooltipValue()
getExtraTooltipValue
在类中 PlotGlyph
public java.lang.String getChartType()
getChartType
在类中 PlotGlyph