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

enum  Orientation
 

Public 成员函数

 XYMultipleSeriesRenderer ()
 
 XYMultipleSeriesRenderer (int scaleNumber)
 
void initAxesRange (int scales)
 
void initAxesRangeForScale (int i)
 
Orientation getOrientation ()
 
void setOrientation (Orientation orientation)
 
String getXTitle ()
 
void setXTitle (String title)
 
String getYTitle ()
 
String getYTitle (int scale)
 
void setYTitle (String title)
 
void setYTitle (String title, int scale)
 
float getAxisTitleTextSize ()
 
void setAxisTitleTextSize (float textSize)
 
double getXAxisMin ()
 
void setXAxisMin (double min)
 
boolean isMinXSet ()
 
double getXAxisMax ()
 
void setXAxisMax (double max)
 
boolean isMaxXSet ()
 
double getYAxisMin ()
 
void setYAxisMin (double min)
 
boolean isMinYSet ()
 
double getYAxisMax ()
 
void setYAxisMax (double max)
 
boolean isMaxYSet ()
 
double getXAxisMin (int scale)
 
void setXAxisMin (double min, int scale)
 
boolean isMinXSet (int scale)
 
double getXAxisMax (int scale)
 
void setXAxisMax (double max, int scale)
 
boolean isMaxXSet (int scale)
 
double getYAxisMin (int scale)
 
void setYAxisMin (double min, int scale)
 
boolean isMinYSet (int scale)
 
double getYAxisMax (int scale)
 
void setYAxisMax (double max, int scale)
 
boolean isMaxYSet (int scale)
 
int getXLabels ()
 
void setXLabels (int xLabels)
 
void addTextLabel (double x, String text)
 
void addXTextLabel (double x, String text)
 
String getXTextLabel (Double x)
 
Double[] getXTextLabelLocations ()
 
void clearTextLabels ()
 
void clearXTextLabels ()
 
boolean isXRoundedLabels ()
 
void setXRoundedLabels (boolean rounded)
 
void addYTextLabel (double y, String text)
 
void addYTextLabel (double y, String text, int scale)
 
String getYTextLabel (Double y)
 
String getYTextLabel (Double y, int scale)
 
Double[] getYTextLabelLocations ()
 
Double[] getYTextLabelLocations (int scale)
 
void clearYTextLabels ()
 
void clearYTextLabels (int scale)
 
int getYLabels ()
 
void setYLabels (int yLabels)
 
void setDisplayChartValues (boolean display)
 
void setChartValuesTextSize (float textSize)
 
boolean isPanEnabled ()
 
boolean isPanXEnabled ()
 
boolean isPanYEnabled ()
 
void setPanEnabled (boolean enabledX, boolean enabledY)
 
boolean isZoomEnabled ()
 
boolean isZoomXEnabled ()
 
boolean isZoomYEnabled ()
 
void setZoomEnabled (boolean enabledX, boolean enabledY)
 
double getBarsSpacing ()
 
double getBarSpacing ()
 
void setBarSpacing (double spacing)
 
int getMarginsColor ()
 
void setMarginsColor (int color)
 
int getGridColor ()
 
void setGridColor (int color)
 
double[] getPanLimits ()
 
void setPanLimits (double[] panLimits)
 
double[] getZoomLimits ()
 
void setZoomLimits (double[] zoomLimits)
 
float getXLabelsAngle ()
 
void setXLabelsAngle (float angle)
 
float getYLabelsAngle ()
 
void setYLabelsAngle (float angle)
 
float getPointSize ()
 
void setPointSize (float size)
 
void setRange (double[] range)
 
void setRange (double[] range, int scale)
 
boolean isInitialRangeSet ()
 
boolean isInitialRangeSet (int scale)
 
double[] getInitialRange ()
 
double[] getInitialRange (int scale)
 
void setInitialRange (double[] range)
 
void setInitialRange (double[] range, int scale)
 
int getXLabelsColor ()
 
int getYLabelsColor (int scale)
 
void setXLabelsColor (int color)
 
void setYLabelsColor (int scale, int color)
 
Align getXLabelsAlign ()
 
void setXLabelsAlign (Align align)
 
Align getYLabelsAlign (int scale)
 
void setYLabelsAlign (Align align)
 
Align getYAxisAlign (int scale)
 
void setYAxisAlign (Align align, int scale)
 
void setYLabelsAlign (Align align, int scale)
 
int getScalesCount ()
 
double[] getmYLimitsLine ()
 
void setmYLimitsLine (double[] mYLimitsLine)
 
int[] getmYLimitsLineColor ()
 
void setmYLimitsLineColor (int[] mYLimitsLineColor)
 
void setScaleLineEnabled (boolean enabled)
 
boolean isScaleLineEnabled ()
 
int getScaleRectHeight ()
 
void setScaleRectHeight (int mScaleRectHeight)
 
int getScaleRectWidth ()
 
void setScaleRectWidth (int mScaleRectWidth)
 
int getScaleRectColor ()
 
void setScaleRectColor (int mScaleRectColor)
 
int getScaleLineColor ()
 
void setScaleLineColor (int mScaleLineColor)
 
int getExplainTextSize1 ()
 
void setExplainTextSize1 (int explainTextSize1)
 
int getExplainTextSize2 ()
 
void setExplainTextSize2 (int explainTextSize2)
 
int getScaleCircleRadius ()
 
void setScaleCircleRadius (int scaleCircleRadius)
 
boolean isDisplayValue0 ()
 
void setDisplayValue0 (boolean displayValue0)
 
- Public 成员函数 继承自 com.ab.view.chart.DefaultRenderer
String getChartTitle ()
 
void setChartTitle (String title)
 
float getChartTitleTextSize ()
 
void setChartTitleTextSize (float textSize)
 
void addSeriesRenderer (SimpleSeriesRenderer renderer)
 
void addSeriesRenderer (int index, SimpleSeriesRenderer renderer)
 
void removeSeriesRenderer (SimpleSeriesRenderer renderer)
 
void removeAllRenderers ()
 
SimpleSeriesRenderer getSeriesRendererAt (int index)
 
int getSeriesRendererCount ()
 
SimpleSeriesRenderer[] getSeriesRenderers ()
 
int getBackgroundColor ()
 
void setBackgroundColor (int color)
 
boolean isApplyBackgroundColor ()
 
void setApplyBackgroundColor (boolean apply)
 
int getAxesColor ()
 
void setAxesColor (int color)
 
int getLabelsColor ()
 
void setLabelsColor (int color)
 
float getLabelsTextSize ()
 
void setLabelsTextSize (float textSize)
 
boolean isShowAxes ()
 
void setShowAxes (boolean showAxes)
 
boolean isShowLabels ()
 
void setShowLabels (boolean showLabels)
 
boolean isShowGridX ()
 
boolean isShowGridY ()
 
void setShowGridX (boolean showGrid)
 
void setShowGridY (boolean showGrid)
 
void setShowGrid (boolean showGrid)
 
boolean isShowCustomTextGrid ()
 
void setShowCustomTextGrid (boolean showGrid)
 
boolean isShowLegend ()
 
void setShowLegend (boolean showLegend)
 
boolean isFitLegend ()
 
void setFitLegend (boolean fit)
 
String getTextTypefaceName ()
 
int getTextTypefaceStyle ()
 
float getLegendTextSize ()
 
void setLegendTextSize (float textSize)
 
void setTextTypeface (String typefaceName, int style)
 
boolean isAntialiasing ()
 
void setAntialiasing (boolean antialiasing)
 
float getScale ()
 
float getOriginalScale ()
 
void setScale (float scale)
 
boolean isZoomEnabled ()
 
void setZoomEnabled (boolean enabled)
 
boolean isZoomButtonsVisible ()
 
void setZoomButtonsVisible (boolean visible)
 
boolean isExternalZoomEnabled ()
 
void setExternalZoomEnabled (boolean enabled)
 
float getZoomRate ()
 
boolean isPanEnabled ()
 
void setPanEnabled (boolean enabled)
 
void setZoomRate (float rate)
 
boolean isClickEnabled ()
 
void setClickEnabled (boolean enabled)
 
int getSelectableBuffer ()
 
void setSelectableBuffer (int buffer)
 
int getLegendHeight ()
 
void setLegendHeight (int height)
 
int[] getMargins ()
 
void setMargins (int[] margins)
 
boolean isInScroll ()
 
void setInScroll (boolean inScroll)
 
float getStartAngle ()
 
void setStartAngle (float startAngle)
 
boolean isDisplayValues ()
 
void setDisplayValues (boolean display)
 

Private 属性

String mXTitle = ""
 
String[] mYTitle
 
float mAxisTitleTextSize = 12
 
double[] mMinX
 
double[] mMaxX
 
double[] mMinY
 
double[] mMaxY
 
int mXLabels = 5
 
int mYLabels = 5
 
Orientation mOrientation = Orientation.HORIZONTAL
 
Map< Double, String > mXTextLabels = new HashMap<Double, String>()
 
Map< Integer, Map< Double,
String > > 
mYTextLabels = new LinkedHashMap<Integer, Map<Double, String>>()
 
boolean mPanXEnabled = true
 
boolean mPanYEnabled = true
 
boolean mZoomXEnabled = true
 
boolean mZoomYEnabled = true
 
double mBarSpacing = 0
 
int mMarginsColor = NO_COLOR
 
double[] mPanLimits
 
double[] mZoomLimits
 
float mXLabelsAngle
 
float mYLabelsAngle
 
Map< Integer, double[]> initialRange = new LinkedHashMap<Integer, double[]>()
 
float mPointSize = 3
 
int mGridColor = Color.argb(75, 200, 200, 200)
 
int scalesCount
 
Align xLabelsAlign = Align.CENTER
 
Align[] yLabelsAlign
 
Align[] yAxisAlign
 
int mXLabelsColor = TEXT_COLOR
 
int[] mYLabelsColor = new int[] { TEXT_COLOR }
 
double[] mYLimitsLine
 
int[] mYLimitsLineColor = new int[] { TEXT_COLOR }
 
boolean mScaleLineEnabled = false
 
int mScaleRectHeight = 50
 
int mScaleRectWidth = 100
 
int mScaleLineColor = Color.argb(175, 150, 150, 150)
 
int mScaleRectColor = Color.argb(150, 52, 182, 232)
 
int explainTextSize1 = 14
 
int explainTextSize2 = 14
 
int scaleCircleRadius = 20
 
boolean displayValue0 = true
 
boolean mXRoundedLabels = true
 

额外继承的成员函数

- 静态 Public 属性 继承自 com.ab.view.chart.DefaultRenderer
static final int NO_COLOR = 0
 
static final int BACKGROUND_COLOR = Color.BLACK
 
static final int TEXT_COLOR = Color.LTGRAY
 

详细描述

Multiple XY series renderer.

构造及析构函数说明

com.ab.view.chart.XYMultipleSeriesRenderer.XYMultipleSeriesRenderer ( )
inline

Instantiates a new xY multiple series renderer.

com.ab.view.chart.XYMultipleSeriesRenderer.XYMultipleSeriesRenderer ( int  scaleNumber)
inline

Instantiates a new xY multiple series renderer.

参数
scaleNumberthe scale number

成员函数说明

void com.ab.view.chart.XYMultipleSeriesRenderer.addTextLabel ( double  x,
String  text 
)
inline

Adds a new text label for the specified X axis value.

参数
xthe X axis value
textthe text label
弃用:
use addXTextLabel instead
void com.ab.view.chart.XYMultipleSeriesRenderer.addXTextLabel ( double  x,
String  text 
)
inline

Adds a new text label for the specified X axis value.

参数
xthe X axis value
textthe text label
void com.ab.view.chart.XYMultipleSeriesRenderer.addYTextLabel ( double  y,
String  text 
)
inline

Adds a new text label for the specified Y axis value.

参数
ythe Y axis value
textthe text label
void com.ab.view.chart.XYMultipleSeriesRenderer.addYTextLabel ( double  y,
String  text,
int  scale 
)
inline

Adds a new text label for the specified Y axis value.

参数
ythe Y axis value
textthe text label
scalethe renderer scale
void com.ab.view.chart.XYMultipleSeriesRenderer.clearTextLabels ( )
inline

Clears the existing text labels.

弃用:
use clearXTextLabels instead
void com.ab.view.chart.XYMultipleSeriesRenderer.clearXTextLabels ( )
inline

Clears the existing text labels on the X axis.

void com.ab.view.chart.XYMultipleSeriesRenderer.clearYTextLabels ( )
inline

Clears the existing text labels on the Y axis.

void com.ab.view.chart.XYMultipleSeriesRenderer.clearYTextLabels ( int  scale)
inline

Clears the existing text labels on the Y axis.

参数
scalethe renderer scale
float com.ab.view.chart.XYMultipleSeriesRenderer.getAxisTitleTextSize ( )
inline

Returns the axis title text size.

返回
the axis title text size
double com.ab.view.chart.XYMultipleSeriesRenderer.getBarSpacing ( )
inline

Returns the spacing between bars, in bar charts.

返回
the spacing between bars
double com.ab.view.chart.XYMultipleSeriesRenderer.getBarsSpacing ( )
inline

Returns the spacing between bars, in bar charts.

返回
the spacing between bars
弃用:
use getBarSpacing instead
int com.ab.view.chart.XYMultipleSeriesRenderer.getExplainTextSize1 ( )
inline

Gets the explain text size1.

返回
the explain text size1
int com.ab.view.chart.XYMultipleSeriesRenderer.getExplainTextSize2 ( )
inline

Gets the explain text size2.

返回
the explain text size2
int com.ab.view.chart.XYMultipleSeriesRenderer.getGridColor ( )
inline

Returns the grid color.

返回
the grid color
double [] com.ab.view.chart.XYMultipleSeriesRenderer.getInitialRange ( )
inline

Returns the initial range.

返回
the initial range
double [] com.ab.view.chart.XYMultipleSeriesRenderer.getInitialRange ( int  scale)
inline

Returns the initial range.

参数
scalethe renderer scale
返回
the initial range
int com.ab.view.chart.XYMultipleSeriesRenderer.getMarginsColor ( )
inline

Returns the margins color.

返回
the margins color
double [] com.ab.view.chart.XYMultipleSeriesRenderer.getmYLimitsLine ( )
inline

Gets the m y limits line.

返回
the m y limits line
int [] com.ab.view.chart.XYMultipleSeriesRenderer.getmYLimitsLineColor ( )
inline

Gets the m y limits line color.

返回
the m y limits line color
Orientation com.ab.view.chart.XYMultipleSeriesRenderer.getOrientation ( )
inline

Returns the current orientation of the chart X axis.

返回
the chart orientation
double [] com.ab.view.chart.XYMultipleSeriesRenderer.getPanLimits ( )
inline

Returns the pan limits.

返回
the pan limits
float com.ab.view.chart.XYMultipleSeriesRenderer.getPointSize ( )
inline

Returns the size of the points, for charts displaying points.

返回
the point size
int com.ab.view.chart.XYMultipleSeriesRenderer.getScaleCircleRadius ( )
inline

Gets the scale circle radius.

返回
the scale circle radius
int com.ab.view.chart.XYMultipleSeriesRenderer.getScaleLineColor ( )
inline

描述:获取标尺线色.

返回
the scale line color
int com.ab.view.chart.XYMultipleSeriesRenderer.getScaleRectColor ( )
inline

描述:获取标尺提示框背景色.

返回
the scale rect color
int com.ab.view.chart.XYMultipleSeriesRenderer.getScaleRectHeight ( )
inline

描述:获取标尺提示框高.

返回
the scale rect height
int com.ab.view.chart.XYMultipleSeriesRenderer.getScaleRectWidth ( )
inline

描述:获取标尺提示框宽.

返回
the scale rect width
int com.ab.view.chart.XYMultipleSeriesRenderer.getScalesCount ( )
inline

Gets the scales count.

返回
the scales count
double com.ab.view.chart.XYMultipleSeriesRenderer.getXAxisMax ( )
inline

Returns the end value of the X axis range.

返回
the X axis range end value
double com.ab.view.chart.XYMultipleSeriesRenderer.getXAxisMax ( int  scale)
inline

Returns the end value of the X axis range.

参数
scalethe renderer scale
返回
the X axis range end value
double com.ab.view.chart.XYMultipleSeriesRenderer.getXAxisMin ( )
inline

Returns the start value of the X axis range.

返回
the X axis range start value
double com.ab.view.chart.XYMultipleSeriesRenderer.getXAxisMin ( int  scale)
inline

Returns the start value of the X axis range.

参数
scalethe renderer scale
返回
the X axis range start value
int com.ab.view.chart.XYMultipleSeriesRenderer.getXLabels ( )
inline

Returns the approximate number of labels for the X axis.

返回
the approximate number of labels for the X axis
Align com.ab.view.chart.XYMultipleSeriesRenderer.getXLabelsAlign ( )
inline

Returns the X axis labels alignment.

返回
X labels alignment
float com.ab.view.chart.XYMultipleSeriesRenderer.getXLabelsAngle ( )
inline

Returns the rotation angle of labels for the X axis.

返回
the rotation angle of labels for the X axis
int com.ab.view.chart.XYMultipleSeriesRenderer.getXLabelsColor ( )
inline

Returns the X axis labels color.

返回
the X axis labels color
String com.ab.view.chart.XYMultipleSeriesRenderer.getXTextLabel ( Double  x)
inline

Returns the X axis text label at the specified X axis value.

参数
xthe X axis value
返回
the X axis text label
Double [] com.ab.view.chart.XYMultipleSeriesRenderer.getXTextLabelLocations ( )
inline

Returns the X text label locations.

返回
the X text label locations
String com.ab.view.chart.XYMultipleSeriesRenderer.getXTitle ( )
inline

Returns the title for the X axis.

返回
the X axis title
Align com.ab.view.chart.XYMultipleSeriesRenderer.getYAxisAlign ( int  scale)
inline

Gets the y axis align.

参数
scalethe scale
返回
the y axis align
double com.ab.view.chart.XYMultipleSeriesRenderer.getYAxisMax ( )
inline

Returns the end value of the Y axis range.

返回
the Y axis range end value
double com.ab.view.chart.XYMultipleSeriesRenderer.getYAxisMax ( int  scale)
inline

Returns the end value of the Y axis range.

参数
scalethe renderer scale
返回
the Y axis range end value
double com.ab.view.chart.XYMultipleSeriesRenderer.getYAxisMin ( )
inline

Returns the start value of the Y axis range.

返回
the Y axis range end value
double com.ab.view.chart.XYMultipleSeriesRenderer.getYAxisMin ( int  scale)
inline

Returns the start value of the Y axis range.

参数
scalethe renderer scale
返回
the Y axis range end value
int com.ab.view.chart.XYMultipleSeriesRenderer.getYLabels ( )
inline

Returns the approximate number of labels for the Y axis.

返回
the approximate number of labels for the Y axis
Align com.ab.view.chart.XYMultipleSeriesRenderer.getYLabelsAlign ( int  scale)
inline

Returns the Y axis labels alignment.

参数
scalethe renderer scale
返回
Y labels alignment
float com.ab.view.chart.XYMultipleSeriesRenderer.getYLabelsAngle ( )
inline

Returns the rotation angle of labels for the Y axis.

返回
the approximate number of labels for the Y axis
int com.ab.view.chart.XYMultipleSeriesRenderer.getYLabelsColor ( int  scale)
inline

Returns the Y axis labels color.

参数
scalethe scale
返回
the Y axis labels color
String com.ab.view.chart.XYMultipleSeriesRenderer.getYTextLabel ( Double  y)
inline

Returns the Y axis text label at the specified Y axis value.

参数
ythe Y axis value
返回
the Y axis text label
String com.ab.view.chart.XYMultipleSeriesRenderer.getYTextLabel ( Double  y,
int  scale 
)
inline

Returns the Y axis text label at the specified Y axis value.

参数
ythe Y axis value
scalethe renderer scale
返回
the Y axis text label
Double [] com.ab.view.chart.XYMultipleSeriesRenderer.getYTextLabelLocations ( )
inline

Returns the Y text label locations.

返回
the Y text label locations
Double [] com.ab.view.chart.XYMultipleSeriesRenderer.getYTextLabelLocations ( int  scale)
inline

Returns the Y text label locations.

参数
scalethe renderer scale
返回
the Y text label locations
String com.ab.view.chart.XYMultipleSeriesRenderer.getYTitle ( )
inline

Returns the title for the Y axis.

返回
the Y axis title
String com.ab.view.chart.XYMultipleSeriesRenderer.getYTitle ( int  scale)
inline

Returns the title for the Y axis.

参数
scalethe renderer scale
返回
the Y axis title
double [] com.ab.view.chart.XYMultipleSeriesRenderer.getZoomLimits ( )
inline

Returns the zoom limits.

返回
the zoom limits
void com.ab.view.chart.XYMultipleSeriesRenderer.initAxesRange ( int  scales)
inline

Inits the axes range.

参数
scalesthe scales
void com.ab.view.chart.XYMultipleSeriesRenderer.initAxesRangeForScale ( int  i)
inline

Inits the axes range for scale.

参数
ithe i
boolean com.ab.view.chart.XYMultipleSeriesRenderer.isDisplayValue0 ( )
inline

Checks if is display value0.

返回
true, if is display value0
boolean com.ab.view.chart.XYMultipleSeriesRenderer.isInitialRangeSet ( )
inline

Checks if is initial range set.

返回
true, if is initial range set
boolean com.ab.view.chart.XYMultipleSeriesRenderer.isInitialRangeSet ( int  scale)
inline

Returns if the initial range is set.

参数
scalethe renderer scale
返回
the initial range was set or not
boolean com.ab.view.chart.XYMultipleSeriesRenderer.isMaxXSet ( )
inline

Returns if the maximum X value was set.

返回
the maxX was set or not
boolean com.ab.view.chart.XYMultipleSeriesRenderer.isMaxXSet ( int  scale)
inline

Returns if the maximum X value was set.

参数
scalethe renderer scale
返回
the maxX was set or not
boolean com.ab.view.chart.XYMultipleSeriesRenderer.isMaxYSet ( )
inline

Returns if the maximum Y value was set.

返回
the maxY was set or not
boolean com.ab.view.chart.XYMultipleSeriesRenderer.isMaxYSet ( int  scale)
inline

Returns if the maximum Y value was set.

参数
scalethe renderer scale
返回
the maxY was set or not
boolean com.ab.view.chart.XYMultipleSeriesRenderer.isMinXSet ( )
inline

Returns if the minimum X value was set.

返回
the minX was set or not
boolean com.ab.view.chart.XYMultipleSeriesRenderer.isMinXSet ( int  scale)
inline

Returns if the minimum X value was set.

参数
scalethe renderer scale
返回
the minX was set or not
boolean com.ab.view.chart.XYMultipleSeriesRenderer.isMinYSet ( )
inline

Returns if the minimum Y value was set.

返回
the minY was set or not
boolean com.ab.view.chart.XYMultipleSeriesRenderer.isMinYSet ( int  scale)
inline

Returns if the minimum Y value was set.

参数
scalethe renderer scale
返回
the minY was set or not
boolean com.ab.view.chart.XYMultipleSeriesRenderer.isPanEnabled ( )
inline

Returns the enabled state of the pan on at least one axis.

返回
if pan is enabled
boolean com.ab.view.chart.XYMultipleSeriesRenderer.isPanXEnabled ( )
inline

Returns the enabled state of the pan on X axis.

返回
if pan is enabled on X axis
boolean com.ab.view.chart.XYMultipleSeriesRenderer.isPanYEnabled ( )
inline

Returns the enabled state of the pan on Y axis.

返回
if pan is enabled on Y axis
boolean com.ab.view.chart.XYMultipleSeriesRenderer.isScaleLineEnabled ( )
inline

描述:是否显示标尺线.

返回
true, if is scale line enabled
boolean com.ab.view.chart.XYMultipleSeriesRenderer.isXRoundedLabels ( )
inline

If X axis labels should be rounded.

返回
if rounded time values to be used
boolean com.ab.view.chart.XYMultipleSeriesRenderer.isZoomEnabled ( )
inline

Returns the enabled state of the zoom on at least one axis.

返回
if zoom is enabled
boolean com.ab.view.chart.XYMultipleSeriesRenderer.isZoomXEnabled ( )
inline

Returns the enabled state of the zoom on X axis.

返回
if zoom is enabled on X axis
boolean com.ab.view.chart.XYMultipleSeriesRenderer.isZoomYEnabled ( )
inline

Returns the enabled state of the zoom on Y axis.

返回
if zoom is enabled on Y axis
void com.ab.view.chart.XYMultipleSeriesRenderer.setAxisTitleTextSize ( float  textSize)
inline

Sets the axis title text size.

参数
textSizethe chart axis text size
void com.ab.view.chart.XYMultipleSeriesRenderer.setBarSpacing ( double  spacing)
inline

Sets the spacing between bars, in bar charts. Only available for bar charts. This is a coefficient of the bar width. For instance, if you want the spacing to be a half of the bar width, set this value to 0.5.

参数
spacingthe spacing between bars coefficient
void com.ab.view.chart.XYMultipleSeriesRenderer.setChartValuesTextSize ( float  textSize)
inline

Sets the chart values text size.

参数
textSizethe chart values text size
弃用:
use SimpleSeriesRenderer.setChartValuesTextSize() instead
void com.ab.view.chart.XYMultipleSeriesRenderer.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
弃用:
use SimpleSeriesRenderer.setDisplayChartValues() instead
void com.ab.view.chart.XYMultipleSeriesRenderer.setDisplayValue0 ( boolean  displayValue0)
inline

描述:如果值是0是否要显示.

参数
displayValue0the new display value0
void com.ab.view.chart.XYMultipleSeriesRenderer.setExplainTextSize1 ( int  explainTextSize1)
inline

描述:设置第一行文字的颜色.

参数
explainTextSize1the new explain text size1
void com.ab.view.chart.XYMultipleSeriesRenderer.setExplainTextSize2 ( int  explainTextSize2)
inline

描述:设置第二行文字的颜色.

参数
explainTextSize2the new explain text size2
void com.ab.view.chart.XYMultipleSeriesRenderer.setGridColor ( int  color)
inline

Sets the color of the grid.

参数
colorthe grid color
void com.ab.view.chart.XYMultipleSeriesRenderer.setInitialRange ( double[]  range)
inline

Sets the axes initial range values. This will be used in the zoom fit tool.

参数
rangean array having the values in this order: minX, maxX, minY, maxY
void com.ab.view.chart.XYMultipleSeriesRenderer.setInitialRange ( double[]  range,
int  scale 
)
inline

Sets the axes initial range values. This will be used in the zoom fit tool.

参数
rangean array having the values in this order: minX, maxX, minY, maxY
scalethe renderer scale
void com.ab.view.chart.XYMultipleSeriesRenderer.setMarginsColor ( int  color)
inline

Sets the color of the margins.

参数
colorthe margins color
void com.ab.view.chart.XYMultipleSeriesRenderer.setmYLimitsLine ( double[]  mYLimitsLine)
inline

描述:设置临界值的线条.

参数
mYLimitsLinethe new m y limits line
void com.ab.view.chart.XYMultipleSeriesRenderer.setmYLimitsLineColor ( int[]  mYLimitsLineColor)
inline

描述:设置临界值的线条的颜色,颜色相同的合并为矩形填充.

参数
mYLimitsLineColorthe new m y limits line color
void com.ab.view.chart.XYMultipleSeriesRenderer.setOrientation ( Orientation  orientation)
inline

Sets the current orientation of the chart X axis.

参数
orientationthe chart orientation
void com.ab.view.chart.XYMultipleSeriesRenderer.setPanEnabled ( boolean  enabledX,
boolean  enabledY 
)
inline

Sets the enabled state of the pan. 设置图表的拖动

参数
enabledXpan enabled on X axis
enabledYpan enabled on Y axis
void com.ab.view.chart.XYMultipleSeriesRenderer.setPanLimits ( double[]  panLimits)
inline

Sets the pan limits as an array of 4 values. Setting it to null or a different size array will disable the panning limitation. Values: [panMinimumX, panMaximumX, panMinimumY, panMaximumY]

参数
panLimitsthe pan limits
void com.ab.view.chart.XYMultipleSeriesRenderer.setPointSize ( float  size)
inline

Sets the size of the points, for charts displaying points.

参数
sizethe point size
void com.ab.view.chart.XYMultipleSeriesRenderer.setRange ( double[]  range)
inline

Sets the range.

参数
rangethe new range
void com.ab.view.chart.XYMultipleSeriesRenderer.setRange ( double[]  range,
int  scale 
)
inline

Sets the axes range values.

参数
rangean array having the values in this order: minX, maxX, minY, maxY
scalethe renderer scale
void com.ab.view.chart.XYMultipleSeriesRenderer.setScaleCircleRadius ( int  scaleCircleRadius)
inline

描述:标尺手柄半径.

参数
scaleCircleRadiusthe new scale circle radius
void com.ab.view.chart.XYMultipleSeriesRenderer.setScaleLineColor ( int  mScaleLineColor)
inline

描述:设置标尺线色.

参数
mScaleLineColorthe new scale line color
void com.ab.view.chart.XYMultipleSeriesRenderer.setScaleLineEnabled ( boolean  enabled)
inline

描述:是否显示标尺线.

参数
enabledthe new scale line enabled
void com.ab.view.chart.XYMultipleSeriesRenderer.setScaleRectColor ( int  mScaleRectColor)
inline

描述:设置标尺提示框背景色.

参数
mScaleRectColorthe new scale rect color
void com.ab.view.chart.XYMultipleSeriesRenderer.setScaleRectHeight ( int  mScaleRectHeight)
inline

描述:设置标尺提示框高.

参数
mScaleRectHeightthe new scale rect height
void com.ab.view.chart.XYMultipleSeriesRenderer.setScaleRectWidth ( int  mScaleRectWidth)
inline

描述:设置标尺提示框宽.

参数
mScaleRectWidththe new scale rect width
void com.ab.view.chart.XYMultipleSeriesRenderer.setXAxisMax ( double  max)
inline

Sets the end value of the X axis range.

参数
maxthe X axis range end value
void com.ab.view.chart.XYMultipleSeriesRenderer.setXAxisMax ( double  max,
int  scale 
)
inline

Sets the end value of the X axis range.

参数
maxthe X axis range end value
scalethe renderer scale
void com.ab.view.chart.XYMultipleSeriesRenderer.setXAxisMin ( double  min)
inline

Sets the start value of the X axis range.

参数
minthe X axis range start value
void com.ab.view.chart.XYMultipleSeriesRenderer.setXAxisMin ( double  min,
int  scale 
)
inline

Sets the start value of the X axis range.

参数
minthe X axis range start value
scalethe renderer scale
void com.ab.view.chart.XYMultipleSeriesRenderer.setXLabels ( int  xLabels)
inline

Sets the approximate number of labels for the X axis.

参数
xLabelsthe approximate number of labels for the X axis
void com.ab.view.chart.XYMultipleSeriesRenderer.setXLabelsAlign ( Align  align)
inline

Sets the X axis labels alignment.

参数
alignthe X labels alignment
void com.ab.view.chart.XYMultipleSeriesRenderer.setXLabelsAngle ( float  angle)
inline

Sets the rotation angle (in degrees) of labels for the X axis.

参数
anglethe rotation angle of labels for the X axis
void com.ab.view.chart.XYMultipleSeriesRenderer.setXLabelsColor ( int  color)
inline

Sets the X axis labels color.

参数
colorthe X axis labels color
void com.ab.view.chart.XYMultipleSeriesRenderer.setXRoundedLabels ( boolean  rounded)
inline

Sets if X axis rounded time values to be used.

参数
roundedrounded values to be used
void com.ab.view.chart.XYMultipleSeriesRenderer.setXTitle ( String  title)
inline

Sets the title for the X axis.

参数
titlethe X axis title
void com.ab.view.chart.XYMultipleSeriesRenderer.setYAxisAlign ( Align  align,
int  scale 
)
inline

Sets the y axis align.

参数
alignthe align
scalethe scale
void com.ab.view.chart.XYMultipleSeriesRenderer.setYAxisMax ( double  max)
inline

Sets the end value of the Y axis range.

参数
maxthe Y axis range end value
void com.ab.view.chart.XYMultipleSeriesRenderer.setYAxisMax ( double  max,
int  scale 
)
inline

Sets the end value of the Y axis range.

参数
maxthe Y axis range end value
scalethe renderer scale
void com.ab.view.chart.XYMultipleSeriesRenderer.setYAxisMin ( double  min)
inline

Sets the start value of the Y axis range.

参数
minthe Y axis range start value
void com.ab.view.chart.XYMultipleSeriesRenderer.setYAxisMin ( double  min,
int  scale 
)
inline

Sets the start value of the Y axis range.

参数
minthe Y axis range start value
scalethe renderer scale
void com.ab.view.chart.XYMultipleSeriesRenderer.setYLabels ( int  yLabels)
inline

Sets the approximate number of labels for the Y axis.

参数
yLabelsthe approximate number of labels for the Y axis
void com.ab.view.chart.XYMultipleSeriesRenderer.setYLabelsAlign ( Align  align)
inline

Sets the y labels align.

参数
alignthe new y labels align
void com.ab.view.chart.XYMultipleSeriesRenderer.setYLabelsAlign ( Align  align,
int  scale 
)
inline

Sets the Y axis labels alignment.

参数
alignthe Y labels alignment
scalethe scale
void com.ab.view.chart.XYMultipleSeriesRenderer.setYLabelsAngle ( float  angle)
inline

Sets the rotation angle (in degrees) of labels for the Y axis.

参数
anglethe rotation angle of labels for the Y axis
void com.ab.view.chart.XYMultipleSeriesRenderer.setYLabelsColor ( int  scale,
int  color 
)
inline

Sets the Y axis labels color.

参数
scalethe renderer scale
colorthe Y axis labels color
void com.ab.view.chart.XYMultipleSeriesRenderer.setYTitle ( String  title)
inline

Sets the title for the Y axis.

参数
titlethe Y axis title
void com.ab.view.chart.XYMultipleSeriesRenderer.setYTitle ( String  title,
int  scale 
)
inline

Sets the title for the Y axis.

参数
titlethe Y axis title
scalethe renderer scale
void com.ab.view.chart.XYMultipleSeriesRenderer.setZoomEnabled ( boolean  enabledX,
boolean  enabledY 
)
inline

Sets the enabled state of the zoom. 缩放打开默认拖动也打开

参数
enabledXzoom enabled on X axis
enabledYzoom enabled on Y axis
void com.ab.view.chart.XYMultipleSeriesRenderer.setZoomLimits ( double[]  zoomLimits)
inline

Sets the zoom limits as an array of 4 values. Setting it to null or a different size array will disable the zooming limitation. Values: [zoomMinimumX, zoomMaximumX, zoomMinimumY, zoomMaximumY]

参数
zoomLimitsthe zoom limits

类成员变量说明

boolean com.ab.view.chart.XYMultipleSeriesRenderer.displayValue0 = true
private

显示0值吗.

int com.ab.view.chart.XYMultipleSeriesRenderer.explainTextSize1 = 14
private

说明文字1大小.

int com.ab.view.chart.XYMultipleSeriesRenderer.explainTextSize2 = 14
private

说明文字2大小.

Map<Integer, double[]> com.ab.view.chart.XYMultipleSeriesRenderer.initialRange = new LinkedHashMap<Integer, double[]>()
private

The initial axis range.

float com.ab.view.chart.XYMultipleSeriesRenderer.mAxisTitleTextSize = 12
private

The axis title text size.

double com.ab.view.chart.XYMultipleSeriesRenderer.mBarSpacing = 0
private

The spacing between bars, in bar charts.

int com.ab.view.chart.XYMultipleSeriesRenderer.mGridColor = Color.argb(75, 200, 200, 200)
private

The grid color.

int com.ab.view.chart.XYMultipleSeriesRenderer.mMarginsColor = NO_COLOR
private

The margins colors.

double [] com.ab.view.chart.XYMultipleSeriesRenderer.mMaxX
private

The end value in the X axis range.

double [] com.ab.view.chart.XYMultipleSeriesRenderer.mMaxY
private

The end value in the Y axis range.

double [] com.ab.view.chart.XYMultipleSeriesRenderer.mMinX
private

The start value in the X axis range.

double [] com.ab.view.chart.XYMultipleSeriesRenderer.mMinY
private

The start value in the Y axis range.

Orientation com.ab.view.chart.XYMultipleSeriesRenderer.mOrientation = Orientation.HORIZONTAL
private

The current orientation of the chart.

double [] com.ab.view.chart.XYMultipleSeriesRenderer.mPanLimits
private

The pan limits.

boolean com.ab.view.chart.XYMultipleSeriesRenderer.mPanXEnabled = true
private

A flag for enabling or not the pan on the X axis.

boolean com.ab.view.chart.XYMultipleSeriesRenderer.mPanYEnabled = true
private

A flag for enabling or not the pan on the Y axis.

float com.ab.view.chart.XYMultipleSeriesRenderer.mPointSize = 3
private

The point size for charts displaying points.

int com.ab.view.chart.XYMultipleSeriesRenderer.mScaleLineColor = Color.argb(175, 150, 150, 150)
private

标尺颜色.

boolean com.ab.view.chart.XYMultipleSeriesRenderer.mScaleLineEnabled = false
private

是否显示标尺线.

int com.ab.view.chart.XYMultipleSeriesRenderer.mScaleRectColor = Color.argb(150, 52, 182, 232)
private

标尺提示框背景色.

int com.ab.view.chart.XYMultipleSeriesRenderer.mScaleRectHeight = 50
private

标尺提示框高.

int com.ab.view.chart.XYMultipleSeriesRenderer.mScaleRectWidth = 100
private

标尺提示框宽.

int com.ab.view.chart.XYMultipleSeriesRenderer.mXLabels = 5
private

The approximative number of labels on the x axis.

float com.ab.view.chart.XYMultipleSeriesRenderer.mXLabelsAngle
private

The X axis labels rotation angle.

int com.ab.view.chart.XYMultipleSeriesRenderer.mXLabelsColor = TEXT_COLOR
private

The X axis labels color.

boolean com.ab.view.chart.XYMultipleSeriesRenderer.mXRoundedLabels = true
private

If X axis value selection algorithm to be used. Only used by the time charts.

Map<Double, String> com.ab.view.chart.XYMultipleSeriesRenderer.mXTextLabels = new HashMap<Double, String>()
private

The X axis text labels.

String com.ab.view.chart.XYMultipleSeriesRenderer.mXTitle = ""
private

The X axis title.

int com.ab.view.chart.XYMultipleSeriesRenderer.mYLabels = 5
private

The approximative number of labels on the y axis.

float com.ab.view.chart.XYMultipleSeriesRenderer.mYLabelsAngle
private

The Y axis labels rotation angle.

int [] com.ab.view.chart.XYMultipleSeriesRenderer.mYLabelsColor = new int[] { TEXT_COLOR }
private

The Y axis labels color.

double [] com.ab.view.chart.XYMultipleSeriesRenderer.mYLimitsLine
private

临界线条.

int [] com.ab.view.chart.XYMultipleSeriesRenderer.mYLimitsLineColor = new int[] { TEXT_COLOR }
private

临界线条颜色.

Map<Integer, Map<Double, String> > com.ab.view.chart.XYMultipleSeriesRenderer.mYTextLabels = new LinkedHashMap<Integer, Map<Double, String>>()
private

The Y axis text labels.

String [] com.ab.view.chart.XYMultipleSeriesRenderer.mYTitle
private

The Y axis title.

double [] com.ab.view.chart.XYMultipleSeriesRenderer.mZoomLimits
private

The zoom limits.

boolean com.ab.view.chart.XYMultipleSeriesRenderer.mZoomXEnabled = true
private

A flag for enabling or not the zoom on the X axis.

boolean com.ab.view.chart.XYMultipleSeriesRenderer.mZoomYEnabled = true
private

A flag for enabling or not the zoom on the Y axis .

int com.ab.view.chart.XYMultipleSeriesRenderer.scaleCircleRadius = 20
private

拖动手柄半径.

int com.ab.view.chart.XYMultipleSeriesRenderer.scalesCount
private

The number of scales.

Align com.ab.view.chart.XYMultipleSeriesRenderer.xLabelsAlign = Align.CENTER
private

The X axis labels alignment.

Align [] com.ab.view.chart.XYMultipleSeriesRenderer.yAxisAlign
private

The Y axis alignment.

Align [] com.ab.view.chart.XYMultipleSeriesRenderer.yLabelsAlign
private

The Y axis labels alignment.


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