AndBase开发框架  1.6
 全部  命名空间 文件 函数 变量 枚举值 
Public 成员函数 | Private 属性 | 所有成员列表
com.ab.view.chart.SimpleSeriesRenderer类 参考
类 com.ab.view.chart.SimpleSeriesRenderer 继承关系图:
com.ab.view.chart.XYSeriesRenderer

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.

成员函数说明

float com.ab.view.chart.SimpleSeriesRenderer.getChartValuesSpacing ( )
inline

Returns the chart values spacing from the data point.

返回
the chart values spacing
Align com.ab.view.chart.SimpleSeriesRenderer.getChartValuesTextAlign ( )
inline

Returns the chart values text align.

返回
the chart values text align
float com.ab.view.chart.SimpleSeriesRenderer.getChartValuesTextSize ( )
inline

Returns the chart values text size.

返回
the chart values text size
int com.ab.view.chart.SimpleSeriesRenderer.getColor ( )
inline

Returns the series color.

返回
the series color
int com.ab.view.chart.SimpleSeriesRenderer.getGradientStartColor ( )
inline

Returns the gradient start color.

返回
the gradient start color
double com.ab.view.chart.SimpleSeriesRenderer.getGradientStartValue ( )
inline

Returns the gradient start value.

返回
the gradient start value
int com.ab.view.chart.SimpleSeriesRenderer.getGradientStopColor ( )
inline

Returns the gradient stop color.

返回
the gradient stop color
double com.ab.view.chart.SimpleSeriesRenderer.getGradientStopValue ( )
inline

Returns the gradient stop value.

返回
the gradient stop value
BasicStroke com.ab.view.chart.SimpleSeriesRenderer.getStroke ( )
inline

Returns the stroke style.

返回
the stroke style
boolean com.ab.view.chart.SimpleSeriesRenderer.isDisplayChartValues ( )
inline

Returns if the chart point values should be displayed as text.

返回
if the chart point values should be displayed as text
boolean com.ab.view.chart.SimpleSeriesRenderer.isGradientEnabled ( )
inline

Returns the gradient is enabled value.

返回
the gradient enabled
void com.ab.view.chart.SimpleSeriesRenderer.setChartValuesSpacing ( float  spacing)
inline

Sets the chart values spacing from the data point.

参数
spacingthe chart values spacing (in pixels) from the chart data point
void com.ab.view.chart.SimpleSeriesRenderer.setChartValuesTextAlign ( Align  align)
inline

Sets the chart values text align.

参数
alignthe chart values text align
void com.ab.view.chart.SimpleSeriesRenderer.setChartValuesTextSize ( float  textSize)
inline

Sets the chart values text size.

参数
textSizethe chart values text size
void com.ab.view.chart.SimpleSeriesRenderer.setColor ( int  color)
inline

Sets the series color.

参数
colorthe series color
void com.ab.view.chart.SimpleSeriesRenderer.setDisplayChartValues ( boolean  display)
inline

Sets if the chart point values should be displayed as text.

参数
displayif the chart point values should be displayed as text
void com.ab.view.chart.SimpleSeriesRenderer.setGradientEnabled ( boolean  enabled)
inline

Sets the gradient enabled value.

参数
enabledthe gradient enabled
void com.ab.view.chart.SimpleSeriesRenderer.setGradientStart ( double  start,
int  color 
)
inline

Sets the gradient start value and color.

参数
startthe gradient start value
colorthe gradient start color
void com.ab.view.chart.SimpleSeriesRenderer.setGradientStop ( double  start,
int  color 
)
inline

Sets the gradient stop value and color.

参数
startthe gradient stop value
colorthe gradient stop color
void com.ab.view.chart.SimpleSeriesRenderer.setStroke ( BasicStroke  stroke)
inline

Sets the stroke style.

参数
strokethe stroke style

类成员变量说明

float com.ab.view.chart.SimpleSeriesRenderer.mChartValuesSpacing = 5f
private

The chart values spacing from the data point.

Align com.ab.view.chart.SimpleSeriesRenderer.mChartValuesTextAlign = Align.CENTER
private

The chart values text alignment.

float com.ab.view.chart.SimpleSeriesRenderer.mChartValuesTextSize = 10
private

The chart values text size.

int com.ab.view.chart.SimpleSeriesRenderer.mColor = Color.BLUE
private

The series color.

boolean com.ab.view.chart.SimpleSeriesRenderer.mDisplayChartValues
private

If the values should be displayed above the chart points.

boolean com.ab.view.chart.SimpleSeriesRenderer.mGradientEnabled = false
private

If gradient is enabled.

int com.ab.view.chart.SimpleSeriesRenderer.mGradientStartColor
private

The gradient start color.

double com.ab.view.chart.SimpleSeriesRenderer.mGradientStartValue
private

The gradient start value.

int com.ab.view.chart.SimpleSeriesRenderer.mGradientStopColor
private

The gradient stop color.

double com.ab.view.chart.SimpleSeriesRenderer.mGradientStopValue
private

The gradient stop value.

BasicStroke com.ab.view.chart.SimpleSeriesRenderer.mStroke
private

The stroke style.


该类的文档由以下文件生成: