Public 成员函数 | |
| int | getColor () |
| void | setColor (int color) |
| boolean | isDisplayChartValues () |
| void | setDisplayChartValues (boolean display) |
| float | getChartValuesTextSize () |
| void | setChartValuesTextSize (float textSize) |
| Align | getChartValuesTextAlign () |
| void | setChartValuesTextAlign (Align align) |
| float | getChartValuesSpacing () |
| void | setChartValuesSpacing (float spacing) |
| BasicStroke | getStroke () |
| void | setStroke (BasicStroke stroke) |
| boolean | isGradientEnabled () |
| void | setGradientEnabled (boolean enabled) |
| double | getGradientStartValue () |
| int | getGradientStartColor () |
| void | setGradientStart (double start, int color) |
| double | getGradientStopValue () |
| int | getGradientStopColor () |
| void | setGradientStop (double start, int color) |
Private 属性 | |
| int | mColor = Color.BLUE |
| boolean | mDisplayChartValues |
| float | mChartValuesTextSize = 10 |
| Align | mChartValuesTextAlign = Align.CENTER |
| float | mChartValuesSpacing = 5f |
| BasicStroke | mStroke |
| boolean | mGradientEnabled = false |
| double | mGradientStartValue |
| int | mGradientStartColor |
| double | mGradientStopValue |
| int | mGradientStopColor |
A simple series renderer.
|
inline |
Returns the chart values spacing from the data point.
|
inline |
Returns the chart values text align.
|
inline |
Returns the chart values text size.
|
inline |
Returns the series color.
|
inline |
Returns the gradient start color.
|
inline |
Returns the gradient start value.
|
inline |
Returns the gradient stop color.
|
inline |
Returns the gradient stop value.
|
inline |
Returns the stroke style.
|
inline |
Returns if the chart point values should be displayed as text.
|
inline |
Returns the gradient is enabled value.
|
inline |
Sets the chart values spacing from the data point.
| spacing | the chart values spacing (in pixels) from the chart data point |
|
inline |
Sets the chart values text align.
| align | the chart values text align |
|
inline |
Sets the chart values text size.
| textSize | the chart values text size |
|
inline |
Sets the series color.
| color | the series color |
|
inline |
Sets if the chart point values should be displayed as text.
| display | if the chart point values should be displayed as text |
|
inline |
Sets the gradient enabled value.
| enabled | the gradient enabled |
|
inline |
Sets the gradient start value and color.
| start | the gradient start value |
| color | the gradient start color |
|
inline |
Sets the gradient stop value and color.
| start | the gradient stop value |
| color | the gradient stop color |
|
inline |
Sets the stroke style.
| stroke | the stroke style |
|
private |
The chart values spacing from the data point.
|
private |
The chart values text alignment.
|
private |
The chart values text size.
|
private |
The series color.
|
private |
If the values should be displayed above the chart points.
|
private |
If gradient is enabled.
|
private |
The gradient start color.
|
private |
The gradient start value.
|
private |
The gradient stop color.
|
private |
The gradient stop value.
|
private |
The stroke style.
1.8.8