androidplot

Charts and plots for Android

View the Project on GitHub halfhp/androidplot

This documentation is auto generated from attrs.xml.

Androidplot XML Attributes

Attributes are broken down by element followed by either their type or list of accepted values. Supported Elements:

Plot

Plot’s attrs are available in all Plot types.

markupEnabled

boolean

renderMode

marginTop

dimension

marginBottom

dimension

marginLeft

dimension

marginRight

dimension

paddingTop

dimension

paddingBottom

dimension

paddingLeft

dimension

paddingRight

dimension

title

dimension

titleTextSize

string

titleTextColor

dimension

backgroundColor

color

borderColor

color

borderThickness

color

XYPlot

XML attributes for the XYPlot class.

previewMode

TODO

domainStepMode

domainStep

dimension|float|integer

rangeStepMode

rangeStep

dimension|float|integer

domainTitle

string

domainTitleTextColor

color

domainTitleTextSize

dimension

domainTitleHeightMode

domainTitleWidthMode

domainTitleHeight

dimension|float|integer

domainTitleWidth

dimension|float|integer

domainTitleHorizontalPositioning

HorizontalPositioning component of the HorizontalPosition of the TextLabelWidget that displays the domain title. See Positioning Widgets documentation.

domainTitleVerticalPositioning

VerticalPositioning component of the VerticalPosition of the TextLabelWidget that displays the domain title. See Positioning Widgets documentation.

domainTitleHorizontalPosition

dimension|float|integer

float value component of the HorizontalPosition of the TextLabelWidget that displays the domain title. See Positioning Widgets documentation.

domainTitleVerticalPosition

dimension|float|integer

float value component of the VerticalPosition of the TextLabelWidget that displays the domain title. See Positioning Widgets documentation.

domainTitleAnchor

domainTitleVisible

boolean

rangeTitle

string

rangeTitleTextColor

color

rangeTitleTextSize

dimension

rangeTitleHeightMode

rangeTitleWidthMode

rangeTitleHeight

dimension|float|integer

rangeTitleWidth

dimension|float|integer

rangeTitleHorizontalPositioning

rangeTitleVerticalPositioning

rangeTitleHorizontalPosition

dimension|float|integer

rangeTitleVerticalPosition

dimension|float|integer

rangeTitleAnchor

rangeTitleVisible

boolean

drawGridOnTop

boolean
(default is false) When set to true, grid lines are drawn on top of rendered series data instead of underneath.

graphHeightMode

graphWidthMode

graphHeight

dimension|float|integer

graphWidth

dimension|float|integer

graphRotation

graphHorizontalPositioning

HorizontalPositioning component of the HorizontalPosition of the XYGraphWidget. See Positioning Widgets documentation.

graphVerticalPositioning

VerticalPositioning component of the VerticalPosition of the XYGraphWidget. See Positioning Widgets documentation.

graphHorizontalPosition

dimension|float|integer

float value component of the HorizontalPosition of the XYGraphWidget. See Positioning Widgets documentation.

graphVerticalPosition

dimension|float|integer

float value component of the VerticalPosition of the XYGraphWidget. See Positioning Widgets documentation.

graphAnchor

graphVisible

boolean

graphMarginTop

dimension

graphMarginBottom

dimension

graphMarginLeft

dimension

graphMarginRight

dimension

graphPaddingTop

dimension

graphPaddingBottom

dimension

graphPaddingLeft

dimension

graphPaddinRight

dimension

gridClippingEnabled

boolean

gridInsetTop

dimension

gridInsetBottom

dimension

gridInsetLeft

dimension

gridInsetRight

dimension

lineLabelInsetTop

dimension
Top edge of a rectangle relative to the XYGraphWidget border upon which line labels will be anchored.

lineLabelInsetBottom

dimension
Bottom edge of a rectangle relative to the XYGraphWidget border upon which line labels will be anchored.

lineLabelInsetLeft

dimension
Left edge of a rectangle relative to the XYGraphWidget border upon which line labels will be anchored.

lineLabelInsetRight

dimension
Right edge of a rectangle relative to the XYGraphWidget border upon which line labels will be anchored.

lineLabels

Enable line labels on one or more edge of the graph. For example, to enable labels on the left and bottom edges:

ap:lineLabels="left|bottom"

lineLabelAlignTop

Text alignment of line labels drawn on top edge of the plot. This alignment is applied relative to the line label insets defined by lineLabelInsetTop.

lineLabelAlignBottom

Text alignment of line labels drawn on bottom edge of the plot. This alignment is applied relative to the line label insets defined by lineLabelInsetBottom.

lineLabelAlignLeft

Text alignment of line labels drawn on left edge of the plot. This alignment is applied relative to the line label insets defined by lineLabelInsetLeft.

lineLabelAlignRight

Text alignment of line labels drawn on right edge of the plot. This alignment is applied relative to the line label insets defined by lineLabelInsetRight.

lineLabelRotationTop

float
Angle at which line labels on the plot’s top edge are drawn.

lineLabelRotationBottom

float
Angle at which line labels on the plot’s bottom edge are drawn.

lineLabelRotationLet

float
Angle at which line labels on the plot’s left edge are drawn.

lineLabelRotationRight

float
Angle at which line labels on the plot’s right edge are drawn.

domainLineThickness

dimension

rangeLineThickness

dimension

domainLineColor

color

rangeLineColor

color

domainOriginLineThickness

dimension

rangeOriginLineThickness

dimension

domainOriginLineColor

color

rangeOriginLineColor

color

lineLabelTextSizeTop

dimension

lineLabelTextSizeBottom

dimension

lineLabelTextSizeLeft

dimension

lineLabelTextSizeRight

dimension

lineLabelTextColorTop

color

lineLabelTextColorBottom

color

lineLabelTextColorLeft

color

lineLabelTextColorRight

color

lineExtensionTop

dimension

lineExtensionBottom

dimension

lineExtensionLeft

dimension

lineExtensionRight

dimension

gridBackgroundColor

color
background color of the grid portion of the XYGraphWidget

graphBackgroundColor

color
background color of the XYGraphWidget

legendHeightMode

legendWidthMode

legendHeight

dimension|float|integer

legendWidth

dimension|float|integer

legendHorizontalPositioning

HorizontalPositioning component of the HorizontalPosition of the XYLegendWidget. See Positioning Widgets documentation.

legendVerticalPositioning

VerticalPositioning component of the VerticalPosition of the XYLegendWidget. See Positioning Widgets documentation.

legendHorizontalPosition

dimension|float|integer

float value component of the HorizontalPosition of the XYLegendWidget. See Positioning Widgets documentation.

legendVerticalPosition

dimension|float|integer

float value component of the VerticalPosition of the XYLegendWidget. See Positioning Widgets documentation.

legendAnchor

legendTextSize

dimension

legendTextColor

color

legendIconHeightMode

legendIconWidthMode

legendIconHeight

dimension|float|integer

legendIconWidth

dimension|float|integer

legendVisible

boolean

pieBorderThickness

dimension
Determines how far beyond the graph’s edge each domain grid line will extend.

pieBorderThickness

dimension
Determines how far beyond the graph’s edge each range grid line will extend.

PieChart

TODO

pieBorderColor

color

pieBorderThickness

dimension