com.supermap.mapping.imChart
Class ChartData
- java.lang.Object
-
- com.supermap.mapping.imChart.ChartData
-
- Direct Known Subclasses:
- BarChartData, LineChartData, PieChartData
public abstract class ChartData extends java.lang.Object
chart data base class, defined the basic property of chart data. Different subclass constructors are used by different chart
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
setColor(int color)
Sets chart sub-object colorvoid
setGeoID(int geoID)
Sets the geometry object SmID associated with the chart sub-object, which corresponds to the layer dataset associated with the chartvoid
setLabel(java.lang.String label)
Sets chart sub-object label
-
-
-
Method Detail
-
setLabel
public void setLabel(java.lang.String label)
Sets chart sub-object label- Parameters:
label
- label text of icon sub-object.
-
setGeoID
public void setGeoID(int geoID)
Sets the geometry object SmID associated with the chart sub-object, which corresponds to the layer dataset associated with the chart- Parameters:
geoID
- the geometry object SmID associated with the chart sub-object
-
setColor
public void setColor(int color)
Sets chart sub-object color- Parameters:
color
- chart sub-object color
-
-