类 | |
| 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.
|
inline |
Instantiates a new xY multiple series renderer.
|
inline |
Instantiates a new xY multiple series renderer.
| scaleNumber | the scale number |
|
inline |
Adds a new text label for the specified X axis value.
| x | the X axis value |
| text | the text label |
|
inline |
Adds a new text label for the specified X axis value.
| x | the X axis value |
| text | the text label |
|
inline |
Adds a new text label for the specified Y axis value.
| y | the Y axis value |
| text | the text label |
|
inline |
Adds a new text label for the specified Y axis value.
| y | the Y axis value |
| text | the text label |
| scale | the renderer scale |
|
inline |
Clears the existing text labels.
|
inline |
Clears the existing text labels on the X axis.
|
inline |
Clears the existing text labels on the Y axis.
|
inline |
Clears the existing text labels on the Y axis.
| scale | the renderer scale |
|
inline |
Returns the axis title text size.
|
inline |
Returns the spacing between bars, in bar charts.
|
inline |
Returns the spacing between bars, in bar charts.
|
inline |
Gets the explain text size1.
|
inline |
Gets the explain text size2.
|
inline |
Returns the grid color.
|
inline |
Returns the initial range.
|
inline |
Returns the initial range.
| scale | the renderer scale |
|
inline |
Returns the margins color.
|
inline |
Gets the m y limits line.
|
inline |
Gets the m y limits line color.
|
inline |
Returns the current orientation of the chart X axis.
|
inline |
Returns the pan limits.
|
inline |
Returns the size of the points, for charts displaying points.
|
inline |
Gets the scale circle radius.
|
inline |
描述:获取标尺线色.
|
inline |
描述:获取标尺提示框背景色.
|
inline |
描述:获取标尺提示框高.
|
inline |
描述:获取标尺提示框宽.
|
inline |
Gets the scales count.
|
inline |
Returns the end value of the X axis range.
|
inline |
Returns the end value of the X axis range.
| scale | the renderer scale |
|
inline |
Returns the start value of the X axis range.
|
inline |
Returns the start value of the X axis range.
| scale | the renderer scale |
|
inline |
Returns the approximate number of labels for the X axis.
|
inline |
Returns the X axis labels alignment.
|
inline |
Returns the rotation angle of labels for the X axis.
|
inline |
Returns the X axis labels color.
|
inline |
Returns the X axis text label at the specified X axis value.
| x | the X axis value |
|
inline |
Returns the X text label locations.
|
inline |
Returns the title for the X axis.
|
inline |
Gets the y axis align.
| scale | the scale |
|
inline |
Returns the end value of the Y axis range.
|
inline |
Returns the end value of the Y axis range.
| scale | the renderer scale |
|
inline |
Returns the start value of the Y axis range.
|
inline |
Returns the start value of the Y axis range.
| scale | the renderer scale |
|
inline |
Returns the approximate number of labels for the Y axis.
|
inline |
Returns the Y axis labels alignment.
| scale | the renderer scale |
|
inline |
Returns the rotation angle of labels for the Y axis.
|
inline |
Returns the Y axis labels color.
| scale | the scale |
|
inline |
Returns the Y axis text label at the specified Y axis value.
| y | the Y axis value |
|
inline |
Returns the Y axis text label at the specified Y axis value.
| y | the Y axis value |
| scale | the renderer scale |
|
inline |
Returns the Y text label locations.
|
inline |
Returns the Y text label locations.
| scale | the renderer scale |
|
inline |
Returns the title for the Y axis.
|
inline |
Returns the title for the Y axis.
| scale | the renderer scale |
|
inline |
Returns the zoom limits.
|
inline |
Inits the axes range.
| scales | the scales |
|
inline |
Inits the axes range for scale.
| i | the i |
|
inline |
Checks if is display value0.
|
inline |
Checks if is initial range set.
|
inline |
Returns if the initial range is set.
| scale | the renderer scale |
|
inline |
Returns if the maximum X value was set.
|
inline |
Returns if the maximum X value was set.
| scale | the renderer scale |
|
inline |
Returns if the maximum Y value was set.
|
inline |
Returns if the maximum Y value was set.
| scale | the renderer scale |
|
inline |
Returns if the minimum X value was set.
|
inline |
Returns if the minimum X value was set.
| scale | the renderer scale |
|
inline |
Returns if the minimum Y value was set.
|
inline |
Returns if the minimum Y value was set.
| scale | the renderer scale |
|
inline |
Returns the enabled state of the pan on at least one axis.
|
inline |
Returns the enabled state of the pan on X axis.
|
inline |
Returns the enabled state of the pan on Y axis.
|
inline |
描述:是否显示标尺线.
|
inline |
If X axis labels should be rounded.
|
inline |
Returns the enabled state of the zoom on at least one axis.
|
inline |
Returns the enabled state of the zoom on X axis.
|
inline |
Returns the enabled state of the zoom on Y axis.
|
inline |
Sets the axis title text size.
| textSize | the chart axis text size |
|
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.
| spacing | the spacing between bars coefficient |
|
inline |
Sets the chart values text size.
| textSize | the chart values text size |
|
inline |
Sets if the chart point values should be displayed as text.
| display | if the chart point values should be displayed as text |
|
inline |
描述:如果值是0是否要显示.
| displayValue0 | the new display value0 |
|
inline |
描述:设置第一行文字的颜色.
| explainTextSize1 | the new explain text size1 |
|
inline |
描述:设置第二行文字的颜色.
| explainTextSize2 | the new explain text size2 |
|
inline |
Sets the color of the grid.
| color | the grid color |
|
inline |
Sets the axes initial range values. This will be used in the zoom fit tool.
| range | an array having the values in this order: minX, maxX, minY, maxY |
|
inline |
Sets the axes initial range values. This will be used in the zoom fit tool.
| range | an array having the values in this order: minX, maxX, minY, maxY |
| scale | the renderer scale |
|
inline |
Sets the color of the margins.
| color | the margins color |
|
inline |
描述:设置临界值的线条.
| mYLimitsLine | the new m y limits line |
|
inline |
描述:设置临界值的线条的颜色,颜色相同的合并为矩形填充.
| mYLimitsLineColor | the new m y limits line color |
|
inline |
Sets the current orientation of the chart X axis.
| orientation | the chart orientation |
|
inline |
Sets the enabled state of the pan. 设置图表的拖动
| enabledX | pan enabled on X axis |
| enabledY | pan enabled on Y axis |
|
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]
| panLimits | the pan limits |
|
inline |
Sets the size of the points, for charts displaying points.
| size | the point size |
|
inline |
Sets the range.
| range | the new range |
|
inline |
Sets the axes range values.
| range | an array having the values in this order: minX, maxX, minY, maxY |
| scale | the renderer scale |
|
inline |
描述:标尺手柄半径.
| scaleCircleRadius | the new scale circle radius |
|
inline |
描述:设置标尺线色.
| mScaleLineColor | the new scale line color |
|
inline |
描述:是否显示标尺线.
| enabled | the new scale line enabled |
|
inline |
描述:设置标尺提示框背景色.
| mScaleRectColor | the new scale rect color |
|
inline |
描述:设置标尺提示框高.
| mScaleRectHeight | the new scale rect height |
|
inline |
描述:设置标尺提示框宽.
| mScaleRectWidth | the new scale rect width |
|
inline |
Sets the end value of the X axis range.
| max | the X axis range end value |
|
inline |
Sets the end value of the X axis range.
| max | the X axis range end value |
| scale | the renderer scale |
|
inline |
Sets the start value of the X axis range.
| min | the X axis range start value |
|
inline |
Sets the start value of the X axis range.
| min | the X axis range start value |
| scale | the renderer scale |
|
inline |
Sets the approximate number of labels for the X axis.
| xLabels | the approximate number of labels for the X axis |
|
inline |
Sets the X axis labels alignment.
| align | the X labels alignment |
|
inline |
Sets the rotation angle (in degrees) of labels for the X axis.
| angle | the rotation angle of labels for the X axis |
|
inline |
Sets the X axis labels color.
| color | the X axis labels color |
|
inline |
Sets if X axis rounded time values to be used.
| rounded | rounded values to be used |
|
inline |
Sets the title for the X axis.
| title | the X axis title |
|
inline |
Sets the y axis align.
| align | the align |
| scale | the scale |
|
inline |
Sets the end value of the Y axis range.
| max | the Y axis range end value |
|
inline |
Sets the end value of the Y axis range.
| max | the Y axis range end value |
| scale | the renderer scale |
|
inline |
Sets the start value of the Y axis range.
| min | the Y axis range start value |
|
inline |
Sets the start value of the Y axis range.
| min | the Y axis range start value |
| scale | the renderer scale |
|
inline |
Sets the approximate number of labels for the Y axis.
| yLabels | the approximate number of labels for the Y axis |
|
inline |
Sets the y labels align.
| align | the new y labels align |
|
inline |
Sets the Y axis labels alignment.
| align | the Y labels alignment |
| scale | the scale |
|
inline |
Sets the rotation angle (in degrees) of labels for the Y axis.
| angle | the rotation angle of labels for the Y axis |
|
inline |
Sets the Y axis labels color.
| scale | the renderer scale |
| color | the Y axis labels color |
|
inline |
Sets the title for the Y axis.
| title | the Y axis title |
|
inline |
Sets the title for the Y axis.
| title | the Y axis title |
| scale | the renderer scale |
|
inline |
Sets the enabled state of the zoom. 缩放打开默认拖动也打开
| enabledX | zoom enabled on X axis |
| enabledY | zoom enabled on Y axis |
|
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]
| zoomLimits | the zoom limits |
|
private |
显示0值吗.
|
private |
说明文字1大小.
|
private |
说明文字2大小.
|
private |
The initial axis range.
|
private |
The axis title text size.
|
private |
The spacing between bars, in bar charts.
|
private |
The grid color.
|
private |
The margins colors.
|
private |
The end value in the X axis range.
|
private |
The end value in the Y axis range.
|
private |
The start value in the X axis range.
|
private |
The start value in the Y axis range.
|
private |
The current orientation of the chart.
|
private |
The pan limits.
|
private |
A flag for enabling or not the pan on the X axis.
|
private |
A flag for enabling or not the pan on the Y axis.
|
private |
The point size for charts displaying points.
|
private |
标尺颜色.
|
private |
是否显示标尺线.
|
private |
标尺提示框背景色.
|
private |
标尺提示框高.
|
private |
标尺提示框宽.
|
private |
The approximative number of labels on the x axis.
|
private |
The X axis labels rotation angle.
|
private |
The X axis labels color.
|
private |
If X axis value selection algorithm to be used. Only used by the time charts.
|
private |
The X axis text labels.
|
private |
The X axis title.
|
private |
The approximative number of labels on the y axis.
|
private |
The Y axis labels rotation angle.
|
private |
The Y axis labels color.
|
private |
临界线条.
|
private |
临界线条颜色.
|
private |
The Y axis text labels.
|
private |
The Y axis title.
|
private |
The zoom limits.
|
private |
A flag for enabling or not the zoom on the X axis.
|
private |
A flag for enabling or not the zoom on the Y axis .
|
private |
拖动手柄半径.
|
private |
The number of scales.
|
private |
The X axis labels alignment.
|
private |
The Y axis alignment.
|
private |
The Y axis labels alignment.
1.8.8