Public 成员函数 | |
| 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) |
静态 Public 属性 | |
| static final int | NO_COLOR = 0 |
| static final int | BACKGROUND_COLOR = Color.BLACK |
| static final int | TEXT_COLOR = Color.LTGRAY |
Private 属性 | |
| String | mChartTitle = "" |
| float | mChartTitleTextSize = 15 |
| String | mTextTypefaceName = REGULAR_TEXT_FONT.toString() |
| int | mTextTypefaceStyle = Typeface.NORMAL |
| int | mBackgroundColor |
| boolean | mApplyBackgroundColor |
| boolean | mShowAxes = true |
| int | mAxesColor = TEXT_COLOR |
| boolean | mShowLabels = true |
| int | mLabelsColor = TEXT_COLOR |
| float | mLabelsTextSize = 10 |
| boolean | mShowLegend = true |
| float | mLegendTextSize = 12 |
| boolean | mFitLegend = false |
| boolean | mShowGridX = false |
| boolean | mShowGridY = false |
| boolean | mShowCustomTextGrid = false |
| List< SimpleSeriesRenderer > | mRenderers = new ArrayList<SimpleSeriesRenderer>() |
| boolean | mAntialiasing = true |
| int | mLegendHeight = 0 |
| int[] | mMargins = new int[] { 20, 30, 10, 20 } |
| float | mScale = 1 |
| boolean | mPanEnabled = true |
| boolean | mZoomEnabled = true |
| boolean | mZoomButtonsVisible = false |
| float | mZoomRate = 1.5f |
| boolean | mExternalZoomEnabled = false |
| float | mOriginalScale = mScale |
| boolean | mClickEnabled = false |
| int | selectableBuffer = 15 |
| boolean | mDisplayValues |
| boolean | mInScroll |
| float | mStartAngle = 0 |
静态 Private 属性 | |
| static final Typeface | REGULAR_TEXT_FONT |
An abstract renderer to be extended by the multiple series classes.
|
inline |
Adds a simple renderer to the multiple renderer.
| renderer | the renderer to be added |
|
inline |
Adds a simple renderer to the multiple renderer.
| index | the index in the renderers list |
| renderer | the renderer to be added |
|
inline |
Returns the axes color.
|
inline |
Returns the background color.
|
inline |
Returns the chart title.
|
inline |
Returns the chart title text size.
|
inline |
Returns the labels color. 获取图表上标题与X轴与Y轴的说明文字颜色
|
inline |
Returns the labels text size.
|
inline |
Returns the legend height.
|
inline |
Returns the legend text size.
|
inline |
Returns the margin sizes. An array containing the margins in this order: top, left, bottom, right
|
inline |
Returns the original value to be used for scaling the chart.
|
inline |
Returns the value to be used for scaling the chart.
|
inline |
Returns the selectable radius value around clickable points.
|
inline |
Returns the simple renderer from the multiple renderer list.
| index | the index in the simple renderers list |
|
inline |
Returns the simple renderers count in the multiple renderer list.
|
inline |
Returns an array of the simple renderers in the multiple renderer list.
|
inline |
Returns the start angle for circular charts such as pie, doughnut. An angle of 0 degrees correspond to the geometric angle of 0 degrees (3 o'clock on a watch.)
|
inline |
Returns the text typeface name.
|
inline |
Returns the text typeface style.
|
inline |
Returns the zoom rate.
|
inline |
Returns the antialiasing flag value.
|
inline |
Returns if the background color should be applied.
|
inline |
Returns the enabled state of the click.
|
inline |
Returns if the values should be displayed as text.
|
inline |
Returns the enabled state of the external (application implemented) zoom.
|
inline |
Returns if the legend should size to fit.
|
inline |
Returns if the chart is inside a scroll view and doesn't need to shrink.
|
inline |
Returns the enabled state of the pan.
|
inline |
Returns if the axes should be visible.
|
inline |
Returns if the grid should be visible for custom X or Y labels.
|
inline |
Returns if the X axis grid should be visible.
|
inline |
Returns if the Y axis grid should be visible.
|
inline |
Returns if the labels should be visible.
|
inline |
Returns if the legend should be visible.
|
inline |
Returns the visible state of the zoom buttons.
|
inline |
Returns the enabled state of the zoom.
|
inline |
Removes all renderers from the multiple renderer.
|
inline |
Removes a simple renderer from the multiple renderer.
| renderer | the renderer to be removed |
|
inline |
Sets the antialiasing value.
| antialiasing | the antialiasing |
|
inline |
Sets if the background color should be applied.
| apply | the apply flag for the background color |
|
inline |
Sets the axes color.
| color | the axes color |
|
inline |
Sets the background color.
| color | the background color |
|
inline |
Sets the chart title.
| title | the chart title |
|
inline |
Sets the chart title text size.
| textSize | the chart title text size |
|
inline |
Sets the enabled state of the click.
| enabled | click enabled |
|
inline |
Sets if the values should be displayed as text (supported by pie chart).
| display | if the values should be displayed as text |
|
inline |
Sets the enabled state of the external (application implemented) zoom.
| enabled | external zoom enabled |
|
inline |
Sets if the legend should size to fit.
| fit | the fit behavior |
|
inline |
To be set if the chart is inside a scroll view and doesn't need to shrink when not enough space.
| inScroll | if it is inside a scroll view |
|
inline |
Sets the labels color. 设置图表上标题与X轴与Y轴的说明文字颜色
| color | the labels color |
|
inline |
Sets the labels text size.
| textSize | the labels text size |
|
inline |
Sets the legend height, in pixels.
| height | the legend height |
|
inline |
Sets the legend text size.
| textSize | the legend text size |
|
inline |
Sets the margins, in pixels.
| margins | an array containing the margin size values, in this order: top, left, bottom, right |
|
inline |
Sets the enabled state of the pan.
| enabled | pan enabled |
|
inline |
Sets the value to be used for scaling the chart. It works on some charts like pie, doughnut, dial.
| scale | the scale value |
|
inline |
Sets the selectable radius value around clickable points.
| buffer | the selectable radius |
|
inline |
Sets if the axes should be visible.
| showAxes | the visibility flag for the axes |
|
inline |
Sets if the grid for custom X or Y labels should be visible.
| showGrid | the visibility flag for the custom text grid |
|
inline |
Sets if the grid should be visible.
| showGrid | the visibility flag for the grid |
|
inline |
Sets if the X axis grid should be visible.
| showGrid | the visibility flag for the X axis grid |
|
inline |
Sets if the Y axis grid should be visible.
| showGrid | the visibility flag for the Y axis grid |
|
inline |
Sets if the labels should be visible.
| showLabels | the visibility flag for the labels |
|
inline |
Sets if the legend should be visible.
| showLegend | the visibility flag for the legend |
|
inline |
Sets the start angle for circular charts such as pie, doughnut, etc. An angle of 0 degrees correspond to the geometric angle of 0 degrees (3 o'clock on a watch.)
| startAngle | the start angle in degrees |
|
inline |
Sets the text typeface name and style.
| typefaceName | the text typeface name |
| style | the text typeface style |
|
inline |
Sets the visible state of the zoom buttons.
| visible | if the zoom buttons are visible |
|
inline |
Sets the enabled state of the zoom. 缩放打开默认拖动也打开
| enabled | zoom enabled |
|
inline |
Sets the zoom rate.
| rate | the zoom rate |
|
static |
The default background color.
|
private |
The antialiasing flag.
|
private |
If the background color is applied.
|
private |
The axes color.
|
private |
The chart background color.
|
private |
The chart title.
|
private |
The chart title text size.
|
private |
A flag for enabling the click on elements.
|
private |
If the chart should display the values (available for pie chart).
|
private |
A flag for enabling the external zoom.
|
private |
If the legend should size to fit.
|
private |
A flag to be set if the chart is inside a scroll and doesn't need to shrink when not enough space.
|
private |
The labels color.
|
private |
The labels text size.
|
private |
The legend height.
|
private |
The legend text size.
|
private |
The margins size.
|
private |
The original chart scale.
|
private |
A flag for enabling the pan.
|
private |
The simple renderers that are included in this multiple series renderer.
|
private |
A value to be used for scaling the chart.
|
private |
If the axes are visible.
|
private |
If the custom text grid should be displayed.
|
private |
If the X axis grid should be displayed.
|
private |
If the Y axis grid should be displayed.
|
private |
If the labels are visible.
|
private |
If the legend is visible.
|
private |
The start angle for circular charts such as pie, doughnut, etc.
|
private |
The typeface name for the texts.
|
private |
The typeface style for the texts.
|
private |
A flag for enabling the visibility of the zoom buttons.
|
private |
A flag for enabling the zoom.
|
private |
The zoom rate.
|
static |
A no color constant.
|
staticprivate |
A text font for regular text, like the chart labels.
|
private |
The selectable radius around a clickable point.
|
static |
The default color for text.
1.8.8