public class ChartSeries
extends java.lang.Object
Chart
.Constructor and Description |
---|
ChartSeries()
Initializes a new instance of the
ChartSeries class. |
Modifier and Type | Method and Description |
---|---|
void |
addSeriesListener(com.mindfusion.charting.SettingsListener toAdd)
Adds the specified
SettingsListener . |
java.util.ArrayList<java.lang.Integer> |
getFillColors()
Gets the colors used when filling the
ChartElement s of this ChartSeries . |
int |
getIndex()
Gets the index of the current
ChartSeries in the
series collections. |
java.util.ArrayList<java.lang.Integer> |
getStrokeColors()
Gets the colors used when stroking the
ChartElement s of this ChartSeries . |
android.graphics.PathEffect |
getStrokeEffect()
Gets the PathEffect used with the
strokes for this
ChartSeries . |
float |
getStrokeWidth()
Gets the width of the
strokes
for this ChartSeries . |
void |
removeSeriesListener(com.mindfusion.charting.SettingsListener toRemove)
Removes the specified
SettingsListener . |
void |
setFillColors(java.util.ArrayList<java.lang.Integer> colors)
Sets the colors used when filling the
ChartElement s of this ChartSeries . |
void |
setStrokeColors(java.util.ArrayList<java.lang.Integer> colors)
Sets the colors used when stroking the
ChartElement s of this ChartSeries . |
void |
setStrokeEffect(android.graphics.PathEffect effect)
Applies the specified PathEffect on the
strokes for this
ChartSeries . |
void |
setStrokeWidth(float strokeWidth)
Sets the width of the
strokes
for this ChartSeries . |
void |
UpdateLayout()
Updates the layout of the chart.
|
public ChartSeries()
ChartSeries
class.public void addSeriesListener(com.mindfusion.charting.SettingsListener toAdd)
SettingsListener
.toAdd
- The SettingsListener
to add.public void removeSeriesListener(com.mindfusion.charting.SettingsListener toRemove)
SettingsListener
.toRemove
- The SettingsListener
to remove.public void UpdateLayout()
public int getIndex()
ChartSeries
in the
series collections.public void setStrokeEffect(android.graphics.PathEffect effect)
ChartSeries
.effect
- The PathEffect to use.public android.graphics.PathEffect getStrokeEffect()
ChartSeries
.ChartSeries
.public void setFillColors(java.util.ArrayList<java.lang.Integer> colors)
ChartElement
s of this ChartSeries
.colors
- An ArrayList with the colors.public java.util.ArrayList<java.lang.Integer> getFillColors()
ChartElement
s of this ChartSeries
.public void setStrokeColors(java.util.ArrayList<java.lang.Integer> colors)
ChartElement
s of this ChartSeries
.colors
- An ArrayList with the colors.public java.util.ArrayList<java.lang.Integer> getStrokeColors()
ChartElement
s of this ChartSeries
.public void setStrokeWidth(float strokeWidth)
strokes
for this ChartSeries
.strokeWidth
- A float that represents the width of the
strokes
.public float getStrokeWidth()
strokes
for this ChartSeries
.strokes
.