|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.achartengine.renderer.SimpleSeriesRenderer
public class SimpleSeriesRenderer
A simple series renderer.
Constructor Summary | |
---|---|
SimpleSeriesRenderer()
|
Method Summary | |
---|---|
float |
getChartValuesSpacing()
Returns the chart values spacing from the data point. |
android.graphics.Paint.Align |
getChartValuesTextAlign()
Returns the chart values text align. |
float |
getChartValuesTextSize()
Returns the chart values text size. |
int |
getColor()
Returns the series color. |
int |
getGradientStartColor()
Returns the gradient start color. |
double |
getGradientStartValue()
Returns the gradient start value. |
int |
getGradientStopColor()
Returns the gradient stop color. |
double |
getGradientStopValue()
Returns the gradient stop value. |
BasicStroke |
getStroke()
Returns the stroke style. |
boolean |
isDisplayChartValues()
Returns if the chart point values should be displayed as text. |
boolean |
isGradientEnabled()
Returns the gradient is enabled value. |
void |
setChartValuesSpacing(float spacing)
Sets the chart values spacing from the data point. |
void |
setChartValuesTextAlign(android.graphics.Paint.Align align)
Sets the chart values text align. |
void |
setChartValuesTextSize(float textSize)
Sets the chart values text size. |
void |
setColor(int color)
Sets the series color. |
void |
setDisplayChartValues(boolean display)
Sets if the chart point values should be displayed as text. |
void |
setGradientEnabled(boolean enabled)
Sets the gradient enabled value. |
void |
setGradientStart(double start,
int color)
Sets the gradient start value and color. |
void |
setGradientStop(double start,
int color)
Sets the gradient stop value and color. |
void |
setStroke(BasicStroke stroke)
Sets the stroke style. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleSeriesRenderer()
Method Detail |
---|
public int getColor()
public void setColor(int color)
color
- the series colorpublic boolean isDisplayChartValues()
public void setDisplayChartValues(boolean display)
display
- if the chart point values should be displayed as textpublic float getChartValuesTextSize()
public void setChartValuesTextSize(float textSize)
textSize
- the chart values text sizepublic android.graphics.Paint.Align getChartValuesTextAlign()
public void setChartValuesTextAlign(android.graphics.Paint.Align align)
align
- the chart values text alignpublic float getChartValuesSpacing()
public void setChartValuesSpacing(float spacing)
spacing
- the chart values spacing (in pixels) from the chart data pointpublic BasicStroke getStroke()
public void setStroke(BasicStroke stroke)
stroke
- the stroke stylepublic boolean isGradientEnabled()
public void setGradientEnabled(boolean enabled)
enabled
- the gradient enabledpublic double getGradientStartValue()
public int getGradientStartColor()
public void setGradientStart(double start, int color)
start
- the gradient start valuecolor
- the gradient start colorpublic double getGradientStopValue()
public int getGradientStopColor()
public void setGradientStop(double start, int color)
start
- the gradient stop valuecolor
- the gradient stop color
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |