下面只讲解一个Renderer和一个DataSet,更多内容参看官方文档

DefaultRenderer:

void

addSeriesRenderer(intindex,SimpleSeriesRendererrenderer)
增加一个renderermultiple renderer中,index是指定的位置.

void

addSeriesRenderer(SimpleSeriesRendererrenderer)

增加一个renderermultiple renderer

int

getAxesColor()
得到X轴的颜色.

int

getBackgroundColor()
得到背景色

java.lang.String

getChartTitle()
得到图表的标题

float

getChartTitleTextSize()
得到图表标题的字号

int

getLabelsColor()
得到Y轴的颜色.

float

getLabelsTextSize()
得到Y轴的字号.

int

getLegendHeight()
得到图例的高度.

float

getLegendTextSize()
得到图例的字号.

int[]

getMargins()
得到图表外边框的大小.

float

getOriginalScale()
Returns the original value to be used for scaling the chart.

float

getScale()
Returns the value to be used for scaling the chart.

int

getSelectableBuffer()
得到点的缓冲半径值(在某点附件点击时,多大范围内都算点击这个点)

Returns the selectable radius value around clickable points.

SimpleSeriesRenderer

getSeriesRendererAt(intindex)
在multiple renderer中得到指定位置的 renderer.

int

getSeriesRendererCount()得到multiple renderer集合中renderer的个数.

SimpleSeriesRenderer[]

getSeriesRenderers()
得到 multiple renderer 中的renderer数组.

float

getStartAngle()
得到圆形图(例如:饼图/圆环图等)的开始角度.

java.lang.String

getTextTypefaceName()

得到字体名.

int

getTextTypefaceStyle()

得到字体类型.

float

getZoomRate()

得到放大缩小的倍率.

boolean

isAntialiasing()
Returns the antialiasing flag value.

boolean

isApplyBackgroundColor()

得到是否应用背景色的设置结果(true/false).

boolean

isClickEnabled()

得到是否启用点击事件.

boolean

isExternalZoomEnabled()
Returns the enabled state of the external (application implemented) zoom.

boolean

isFitLegend()

得到是否设置图例大小自适应.

boolean

isInScroll()
Returns if the chart is inside a scroll view and doesn't need to shrink.

boolean

isPanEnabled()
得到是否允许拖动

Returns the enabled state of the pan.

boolean

isShowAxes()

得到是否显示X轴.

boolean

isShowCustomTextGrid()

得到是否显示X轴和Y轴网格.

boolean

isShowGridX()

得到是否显示X轴网格.

boolean

isShowGridY()

得到是否显示Y轴网格.

boolean

isShowLabels()

得到是否显示刻度.

boolean

isShowLegend()

得到是否显示图例.

boolean

isZoomButtonsVisible()

得到是否显示放到缩小按钮.

boolean

isZoomEnabled()

是否支持放大缩小.

void

removeSeriesRenderer(SimpleSeriesRendererrenderer)
在multiple renderer中移除一个renderer.

void

setAntialiasing(booleanantialiasing)
Sets the antialiasing value.

void

setApplyBackgroundColor(booleanapply)

设置是否应用背景色.

void

setAxesColor(intcolor)

设置X轴的颜色.

void

setBackgroundColor(intcolor)

设置背景色.

void

setChartTitle(java.lang.Stringtitle)

设置图表的标题.

void

setChartTitleTextSize(floattextSize)

设置图表标题字号.

void

setClickEnabled(booleanenabled)

设置是否允许单击事件.

void

setExternalZoomEnabled(booleanenabled)
Sets the enabled state of the external (application implemented) zoom.

void

setFitLegend(booleanfit)

设置图例字号自适应.

void

setInScroll(booleaninScroll)
To be set if the chart is inside a scroll view and doesn't need to shrink when not enough space.

void

setLabelsColor(intcolor)

设置坐标颜色.

void

setLabelsTextSize(floattextSize)
设置坐标字号.

void

setLegendHeight(intheight)
设置图例高度(单位: pixels).

void

setLegendTextSize(floattextSize)

设置图例字号.

void

setMargins(int[]margins)

设置外边框(单位:pixels)上/左/下/右.

void

setPanEnabled(booleanenabled)
设置是否允许拖动Sets the enabled state of the pan.

void

setScale(floatscale)
Sets the value to be used for scaling the chart.

void

setSelectableBuffer(intbuffer)
设置点的缓冲半径值(在某点附件点击时,多大范围内都算点击这个点)Sets the selectable radius value around clickable points.

void

setShowAxes(booleanshowAxes)

设置是否显示X轴.

void

setShowCustomTextGrid(booleanshowGrid)
设置X轴和Y轴网格是否显示.

void

setShowGrid(booleanshowGrid)

设置是否显示网格.

void

setShowGridX(booleanshowGrid)

设置是否显示X轴网格.

void

setShowGridY(booleanshowGrid)

设置是否显示Y轴网格.

void

setShowLabels(booleanshowLabels)

设置是否显示坐标.

void

setShowLegend(booleanshowLegend)

设置是否显示图例.

void

setStartAngle(floatstartAngle)
设置圆形图(例如:饼图/圆环图等)的开始角度.

void

setTextTypeface(java.lang.StringtypefaceName, intstyle)

设置字体名和类型.

void

setZoomButtonsVisible(booleanvisible)

设置是否显示放大缩小按钮.

void

setZoomEnabled(booleanenabled)

设置是否允许放大和缩小.

void

setZoomRate(floatrate)
设置放大缩小的倍率.

XYMultipleSeriesDataset:

void

addSeries(intindex,XYSeriesseries)
在指定位置增加一个序列.

void

addSeries(XYSeriesseries)
增加一个序列.

XYSeries[]

getSeries()
得到序列的数组

XYSeries

getSeriesAt(intindex)
得到指定位置的序列.

int

getSeriesCount()
得到序列的个数.

void

removeSeries(intindex)
移除指定位置的序列.

void

removeSeries(XYSeriesseries)
移除一个序列


更多相关文章

  1. UI组件之AdapterView及其子类(二)GridView网格视图的使用
  2. Android序列化
  3. Android序列化Parcelable
  4. Android Intent 序列化和反序列化
  5. 【Android】关于序列化分析的一些好文分享
  6. android中json的序列化与反序列化
  7. Qt for Android获取手机序列号/手机型号/手机制造商
  8. android 应用程序不出现在最近打开程序列表里
  9. Android 8、Android 9获取手机序列号的兼容写法

随机推荐

  1. android中国风笔记源码,金鱼游动动画源码
  2. 使用Vitamio打造自己的Android万能播放器
  3. Android原生(Native)C开发之二 framebuff
  4. 【Android(安卓)开发】:UI控件之拖动条控
  5. Android(安卓)面试题(2)
  6. android中Parcelable接口的使用
  7. android中下载文件到sdcard和进度条小结
  8. Android(安卓)ImageView图片显示点击背景
  9. Android(安卓)支持网络协议以及简单用法
  10. android开发资料(DEVELOPER.ANDROID.COM/