1.04
mpandroidchartwrapper.pieViewWrapper
PieChart
com.github.mikephil.charting.charts.PieChart
process
isDrawHoleEnabled
returns true if the hole in the center of the pie-chart is set to be
visible, false if not
Return type: @return:
boolean
RequestFocus
boolean
BringToFront
void
setTheLegendPosition
void
RemoveView
void
SetBackgroundImage
void
arg0
android.graphics.Bitmap
isCenterTextWordWrapEnabled
should the center text be word wrapped?
note that word wrapping takes a toll on performance
if word wrapping is disabled, newlines are still respected
boolean
isDrawCenterTextEnabled
returns true if drawing the center text is enabled
Return type: @return:
boolean
Invalidate3
void
arg0
int
arg1
int
arg2
int
arg3
int
Invalidate2
void
arg0
android.graphics.Rect
IsInitialized
boolean
isUsePercentValuesEnabled
Returns true if using percentage values is enabled for the chart.
Return type: @return:
boolean
Initialize
void
ba
anywheresoftware.b4a.BA
EventName
java.lang.String
isDrawRoundedSlicesEnabled
Returns true if the chart is set to draw each end of a pie-slice
"rounded".
Return type: @return:
boolean
isDrawSliceTextEnabled
returns true if drawing x-values is enabled, false if not
Return type: @return:
boolean
Invalidate
void
SetLayout
void
arg0
int
arg1
int
arg2
int
arg3
int
DesignerCreateView
void
base
anywheresoftware.b4a.objects.PanelWrapper
lw
anywheresoftware.b4a.objects.LabelWrapper
props
anywheresoftware.b4a.objects.collections.Map
SetColorAnimated
void
arg0
int
arg1
int
arg2
int
isHoleTransparent
Returns true if the hole in the center of the PieChart is transparent,
false if not.
Return type: @return:true if hole is transparent.
boolean
SetLayoutAnimated
void
arg0
int
arg1
int
arg2
int
arg3
int
arg4
int
SetVisibleAnimated
void
arg0
int
arg1
boolean
SendToBack
void
CenterTextSize
sizeDp
float
Sets the size of the center text of the PieChart in dp.
Enabled
boolean
arg0
boolean
ChartData
cdata
float[]
Visible
boolean
arg0
boolean
TheLegendTextSize
ltextsize
float
CenterTextSizePixels
sizePixels
float
Sets the size of the center text of the PieChart in pixels.
ChartDescriptionTextSize
size
float
Background
android.graphics.drawable.Drawable
arg0
android.graphics.drawable.Drawable
DrawCenterText
enabled
boolean
set this to true to draw the text that is displayed in the center of the
pie chart
DrawSliceText
enabled
boolean
set this to true to draw the x-value text into the pie slices
TransparentCircleAlpha
alpha
int
Sets the amount of transparency the transparent circle should have 0 = fully transparent, 255 = fully opaque.
Default value is 100.
Tag
java.lang.Object
arg0
java.lang.Object
CenterText
java.lang.String
text
java.lang.String
returns the text that is drawn in the center of the pie-chart
LegendTitle
lt
java.lang.String
Width
int
Width
int
TransparentCircleRadius
float
percent
float
sets the radius of the transparent circle that is drawn next to the hole
in the piechart in percent of the maximum radius (max = the radius of the
whole chart), default 55% -> means 5% larger than the center-hole by
default
LegendText
ltext
java.lang.String[]
PieColors
piecolor
int[]
Top
int
top
int
ChartDescriptionColor
color
int
HoleColorTransparent
enable
boolean
Set the hole in the center of the PieChart transparent. Thank you, code
provided by:
ValueTextSize
vts
int
CenterTextColor
color
int
Sets the color of the center text of the PieChart.
PieData
count
int
Height
int
height
int
TheLegendColor
lcolor
int
DrawHoleEnabled
enabled
boolean
set this to true to draw the pie center empty
Left
int
left
int
Color
arg0
int
HoleColor
color
int
Sets the color for the hole that is drawn in the center of the PieChart
(if enabled). NOTE: Use setHoleColorTransparent(boolean enabled) to make
the hole transparent.
ChartDescription
descrip
java.lang.String
CenterTextRadiusPercent
float
percent
float
the rectangular radius of the bounding box for the center text, as a percentage of the pie hole
default 1.f (100%)
ValueTextColor
valuecolor
int
TransparentCircleColor
color
int
Sets the color the transparent-circle should have.
HoleRadius
float
percent
float
Returns the size of the hole radius in percent of the total radius.
CenterTextWordWrapEnabled
enabled
boolean
should the center text be word wrapped?
note that word wrapping takes a toll on performance
if word wrapping is disabled, newlines are still respected
ba
anywheresoftware.b4a.BA
1.0
Johan Schoeman