下面只讲解一个Renderer和一个DataSet,更多内容参看官方文档
DefaultRenderer:
void | addSeriesRenderer(int index, SimpleSeriesRenderer renderer) |
void | addSeriesRenderer(SimpleSeriesRenderer renderer)增加一个renderer到multiple renderer中 |
int | getAxesColor() |
int | getBackgroundColor() |
java.lang.String | getChartTitle() |
float | getChartTitleTextSize() |
int | getLabelsColor() |
float | getLabelsTextSize() |
int | getLegendHeight() |
float | getLegendTextSize() |
int[] | getMargins() |
float | getOriginalScale() |
float | getScale() |
int | getSelectableBuffer() |
SimpleSeriesRenderer | getSeriesRendererAt(int index) |
int | getSeriesRendererCount() 得到multiple renderer集合中renderer的个数. |
SimpleSeriesRenderer[] | getSeriesRenderers() |
float | getStartAngle() |
java.lang.String | getTextTypefaceName() 得到字体名. |
int | getTextTypefaceStyle() 得到字体类型. |
float | getZoomRate() 得到放大缩小的倍率. |
boolean | isAntialiasing() |
boolean | isApplyBackgroundColor() 得到是否应用背景色的设置结果(true/false). |
boolean | isClickEnabled() 得到是否启用点击事件. |
boolean | isExternalZoomEnabled() |
boolean | isFitLegend() 得到是否设置图例大小自适应. |
boolean | isInScroll() |
boolean | isPanEnabled() |
boolean | isShowAxes() 得到是否显示X轴. |
boolean | isShowCustomTextGrid() 得到是否显示X轴和Y轴网格. |
boolean | isShowGridX() 得到是否显示X轴网格. |
boolean | isShowGridY() 得到是否显示Y轴网格. |
boolean | isShowLabels() 得到是否显示刻度. |
boolean | isShowLegend() 得到是否显示图例. |
boolean | isZoomButtonsVisible() 得到是否显示放到缩小按钮. |
boolean | isZoomEnabled() 是否支持放大缩小. |
void | removeSeriesRenderer(SimpleSeriesRenderer renderer) |
void | setAntialiasing(boolean antialiasing) |
void | setApplyBackgroundColor(boolean apply) 设置是否应用背景色. |
void | setAxesColor(int color) 设置X轴的颜色. |
void | setBackgroundColor(int color) 设置背景色. |
void | setChartTitle(java.lang.String title) 设置图表的标题. |
void | setChartTitleTextSize(float textSize) 设置图表标题字号. |
void | setClickEnabled(boolean enabled) 设置是否允许单击事件. |
void | setExternalZoomEnabled(boolean enabled) |
void | setFitLegend(boolean fit) 设置图例字号自适应. |
void | setInScroll(boolean inScroll) |
void | setLabelsColor(int color) 设置坐标颜色. |
void | setLabelsTextSize(float textSize) |
void | setLegendHeight(int height) |
void | setLegendTextSize(float textSize) 设置图例字号. |
void | [url=file:///E:/04%C3%A5%C2%BC%E2%82%AC%C3%A6%C2%BA%C2%90%C3%A6%C2%A1%E2%80%A0%C3%A6%C5%BE%C2%B6/android/chart4android/achartengine-1.0.0-javadocs/org/achartengine/renderer/DefaultRenderer.html#setMargins(int[])]setMargins[/url](int[] margins) 设置外边框(单位:pixels)上/左/下/右. |
void | setPanEnabled(boolean enabled) |
void | setScale(float scale) |
void | setSelectableBuffer(int buffer) |
void | setShowAxes(boolean showAxes) 设置是否显示X轴. |
void | setShowCustomTextGrid(boolean showGrid) |
void | setShowGrid(boolean showGrid) 设置是否显示网格. |
void | setShowGridX(boolean showGrid) 设置是否显示X轴网格. |
void | setShowGridY(boolean showGrid) 设置是否显示Y轴网格. |
void | setShowLabels(boolean showLabels) 设置是否显示坐标. |
void | setShowLegend(boolean showLegend) 设置是否显示图例. |
void | setStartAngle(float startAngle) |
void | setTextTypeface(java.lang.String typefaceName, int style) 设置字体名和类型. |
void | setZoomButtonsVisible(boolean visible) 设置是否显示放大缩小按钮. |
void | setZoomEnabled(boolean enabled) 设置是否允许放大和缩小. |
void | setZoomRate(float rate) |
XYMultipleSeriesDataset:
void | addSeries(int index, XYSeries series) |
void | addSeries(XYSeries series) |
XYSeries[] | getSeries() |
XYSeries | getSeriesAt(int index) |
int | getSeriesCount() |
void | removeSeries(int index) |
void | removeSeries(XYSeries series) |