com.supermap.mapping.imChart
Class ColorScheme
- java.lang.Object
-
- com.supermap.mapping.imChart.ColorScheme
-
public class ColorScheme extends java.lang.Object
The ColorScheme ClassIcons are mainly represented by color, and individual chart types support the use of pictures, so icons can be set to the picture, such as scatter charts. The label can be either a set string or a corresponding numeric string.
Icons and labels are stored in arrays, and they are used to correspond in order.
-
-
Constructor Summary
Constructors Constructor and Description ColorScheme()
The default constructor for constructing a newColorScheme
object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description Color[]
getColors()
Gets the segment color value.java.lang.String[]
getSegmentLable()
Gets the array of segmented labels.float[]
getSegmentValue()
Gets the array of segmented values.android.graphics.Bitmap[]
getSymbol()
Gets the segmented display symbol.void
setColors(Color[] colors)
Sets the segment color value.void
setSegmentLable(java.lang.String[] segmentLable)
Sets the array of segmented labels.void
setSegmentValue(float[] segmentValue)
Sets the array of segmented values.void
setSymbol(android.graphics.Bitmap[] symbols)
Sets the array of segmented symbols.
-
-
-
Constructor Detail
-
ColorScheme
public ColorScheme()
The default constructor for constructing a newColorScheme
object.
-
-
Method Detail
-
getColors
public Color[] getColors()
Gets the segment color value.- Returns:
- Color segmented array.
-
setColors
public void setColors(Color[] colors)
Sets the segment color value.- Parameters:
colors
- Segment color value.
-
getSegmentValue
public float[] getSegmentValue()
Gets the array of segmented values.- Returns:
- The array of segmented values.
-
setSegmentValue
public void setSegmentValue(float[] segmentValue)
Sets the array of segmented values.- Parameters:
segmentValue
- The array of segmented values.
-
getSegmentLable
public java.lang.String[] getSegmentLable()
Gets the array of segmented labels.- Returns:
- THe array of segmented labels.
-
setSegmentLable
public void setSegmentLable(java.lang.String[] segmentLable)
Sets the array of segmented labels. If set, the legend displays a label, or the segment value is displayed.- Parameters:
segmentLable
- The array of segmented labels.
-
getSymbol
public android.graphics.Bitmap[] getSymbol()
Gets the segmented display symbol.- Returns:
- Symbol array
-
setSymbol
public void setSymbol(android.graphics.Bitmap[] symbols)
Sets the array of segmented symbols. If set, is displayed, otherwise the color value is displayed. (Heat, grid, density setting is invalid).- Parameters:
symbols
- Symbol array
-
-