1.05
mpandroidchartwrapper.barChartWrapper
BarChart
com.github.mikephil.charting.charts.BarChart
process
bar_value(val As Float, index As Int)
clearValues
Clears this data object from all DataSets and removes all Entries. Don't
forget to invalidate the chart after this.
void
setDescriptionPosition
Sets a custom position for the description text in pixels on the screen.
x: - xcoordinate
y: - ycoordinate
void
x
float
y
float
DesignerCreateView
void
base
anywheresoftware.b4a.objects.PanelWrapper
lw
anywheresoftware.b4a.objects.LabelWrapper
props
anywheresoftware.b4a.objects.collections.Map
IsInitialized
boolean
Initialize
void
ba
anywheresoftware.b4a.BA
EventName
java.lang.String
BringToFront
void
SetLayout
void
arg0
int
arg1
int
arg2
int
arg3
int
SendToBack
void
SetVisibleAnimated
void
arg0
int
arg1
boolean
RemoveView
void
Invalidate3
void
arg0
int
arg1
int
arg2
int
arg3
int
Invalidate2
void
arg0
android.graphics.Rect
setTheLegendPositionAndForm
void
legendpos
java.lang.String
legendform
java.lang.String
SetColorAnimated
void
arg0
int
arg1
int
arg2
int
SetBackgroundImageNew
anywheresoftware.b4a.objects.drawable.BitmapDrawable
arg0
android.graphics.Bitmap
enableScroll
enables intercept touchevents
void
saveToGallery
Saves the current state of the chart to the gallery as a JPEG image. The
filename and compression can be set. 0 == maximum compression, 100 = low
compression (high quality). NOTE: Needs permission WRITE_EXTERNAL_STORAGE
fileName e.g. "my_image"
quality e.g. 50, min = 0, max = 100
void
fileName
java.lang.String
quality
int
disableScroll
disables intercept touchevents
void
saveToPath
Saves the current chart state with the given name to the given path on
the sdcard leaving the path empty "" will put the saved file directly on
the SD card chart is saved as a PNG image, example:
saveToPath("myfilename", "foldername1/foldername2");
fileName e.g. "my_image"
pathOnSD e.g. "folder1/folder2/folder3"
void
fileName
java.lang.String
pathOnSD
java.lang.String
Invalidate
void
SetLayoutAnimated
void
arg0
int
arg1
int
arg2
int
arg3
int
arg4
int
RequestFocus
boolean
YaxisTextColor
ycolor
int
set Y-Axis text color
Left
int
left
int
ChartDescriptionTextSize
size
float
NoOfMarkerDigits
NoOfMarkerDigits
int
set the number of insignificant digits to appear in the markers
BorderColor
color
int
Sets the color of the chart border lines.
ChartAnimationTime
at
int
LegendTitle
lt
java.lang.String
DrawBorders
enabled
boolean
Sets drawing the borders rectangle to true. If this is enabled, there is
no point drawing the axis-lines of x- and y-axis.
DrawXaxisGridLines
dxagl
boolean
set draw x-axis grid lines
TheLegendColor
lcolor
int
ChartDescription
descrip
java.lang.String
DragEnabled
enabled
boolean
Set this to true to enable dragging (moving the chart with the finger)
for the chart (this does not effect scaling).
ChartDescriptionColor
color
int
XaxisTextSize
size
float
set X-Axis text size
DoubleTapToZoomEnabled
enabled
boolean
Set this to true to enable zooming in by double-tap on the chart.
Default: enabled
ShowYaxisLeftLabels
slyal
boolean
Show or don't show the left Y-Axis labels.
YaxisTextSize
size
float
set Y-Axis text size
ChartData
cdata
float[]
Background
android.graphics.drawable.Drawable
arg0
android.graphics.drawable.Drawable
YAnimate
ya
boolean
GridBackgroundColor
color
int
Sets the color for the background of the chart-drawing area (everything
behind the grid lines).
Color
arg0
int
DrawHighlightArrow
enabled
boolean
set this to true to draw the highlightning arrow
ScaleYEnabled
enabled
boolean
TheLegendTextSize
ltextsize
float
Top
int
top
int
DrawBarShadow
dbs
boolean
MarkerToUse
mtu
int
Set the marker (image)to be used.
An int value from 1 to 4
See the res/drawable and res/layout folders of the B4A project
LegendShapeSize
fsize
float
DrawGridBackground
enabled
boolean
set this to true to draw the grid background, false if not
MaxVisibleValueCount
mvvc
int
XaxisTextColor
xcolor
int
set X-Axis text color
ValueTextColor
valuecolor
int
Parent
java.lang.Object
SavedImageBackgroundColor
color
int
BorderWidth
width
float
Sets the width of the border lines in dp.
XaxisLabelPosition
xalp
java.lang.String
set x-axis label position
DrawYaxisGridLines
dyagl
boolean
set draw y-axis grid lines
ShowYaxisRightLabels
sryal
boolean
Show or don't show the right Y-Axis labels.
DrawAxisLine
dxal
boolean
set draw x-axis line
XYAnimate
xya
boolean
DrawValueAboveBar
dvab
boolean
ValueTextSize
vts
int
ChartBitmap
android.graphics.Bitmap
Returns the bitmap that represents the chart.
Visible
boolean
arg0
boolean
Padding
int[]
arg0
int[]
Height
int
height
int
Width
int
Width
int
BarColors
piecolor
int[]
LegendText
ltext
java.lang.String[]
XAnimate
xa
boolean
Enabled
boolean
arg0
boolean
ScaleEnabled
enabled
boolean
Set this to true to enable scaling (zooming in and out by gesture) for
the chart (this does not effect dragging) on both X- and Y-Axis.
PinchZoom
pz
boolean
if set to true, both x and y axis can be scaled with 2 fingers, if false,
x and y axis can be scaled separately. default: false
ScaleXEnabled
enabled
boolean
BarData
count
int
YAxisMaxValue
max
float
Set a custom maximum value for this axis.
YAxisMinValue
min
float
Set a custom minimum value for this axis.
Tag
java.lang.Object
arg0
java.lang.Object
mpandroidchartwrapper.candleStickChartWrapper
CandleStickChart
com.github.mikephil.charting.charts.CandleStickChart
process
clearValues
Clears this data object from all DataSets and removes all Entries. Don't
forget to invalidate the chart after this.
void
setDescriptionPosition
Sets a custom position for the description text in pixels on the screen.
x: - xcoordinate
y: - ycoordinate
void
x
float
y
float
DesignerCreateView
void
base
anywheresoftware.b4a.objects.PanelWrapper
lw
anywheresoftware.b4a.objects.LabelWrapper
props
anywheresoftware.b4a.objects.collections.Map
IsInitialized
boolean
Initialize
void
ba
anywheresoftware.b4a.BA
EventName
java.lang.String
BringToFront
void
SetLayout
void
arg0
int
arg1
int
arg2
int
arg3
int
SendToBack
void
SetVisibleAnimated
void
arg0
int
arg1
boolean
RemoveView
void
Invalidate3
void
arg0
int
arg1
int
arg2
int
arg3
int
Invalidate2
void
arg0
android.graphics.Rect
setTheLegendPositionAndForm
void
legendpos
java.lang.String
legendform
java.lang.String
SetColorAnimated
void
arg0
int
arg1
int
arg2
int
SetBackgroundImageNew
anywheresoftware.b4a.objects.drawable.BitmapDrawable
arg0
android.graphics.Bitmap
enableScroll
enables intercept touchevents
void
saveToGallery
Saves the current state of the chart to the gallery as a JPEG image. The
filename and compression can be set. 0 == maximum compression, 100 = low
compression (high quality). NOTE: Needs permission WRITE_EXTERNAL_STORAGE
fileName e.g. "my_image"
quality e.g. 50, min = 0, max = 100
void
fileName
java.lang.String
quality
int
disableScroll
disables intercept touchevents
void
saveToPath
Saves the current chart state with the given name to the given path on
the sdcard leaving the path empty "" will put the saved file directly on
the SD card chart is saved as a PNG image, example:
saveToPath("myfilename", "foldername1/foldername2");
fileName e.g. "my_image"
pathOnSD e.g. "folder1/folder2/folder3"
void
fileName
java.lang.String
pathOnSD
java.lang.String
Invalidate
void
SetLayoutAnimated
void
arg0
int
arg1
int
arg2
int
arg3
int
arg4
int
RequestFocus
boolean
YaxisTextColor
ycolor
int
set Y-Axis text color
Left
int
left
int
ChartDescriptionTextSize
size
float
NoOfMarkerDigits
NoOfMarkerDigits
int
set the number of insignificant digits to appear in the markers
BorderColor
color
int
Sets the color of the chart border lines.
ChartAnimationTime
at
int
DrawBorders
enabled
boolean
Sets drawing the borders rectangle to true. If this is enabled, there is
no point drawing the axis-lines of x- and y-axis.
DrawXaxisGridLines
dxagl
boolean
set draw x-axis grid lines
ChartDescription
descrip
java.lang.String
DragEnabled
enabled
boolean
Set this to true to enable dragging (moving the chart with the finger)
for the chart (this does not effect scaling).
MarkerHighText
hightext
java.lang.String
Chart_Open_Data
c3d
float[]
ChartDescriptionColor
color
int
YaxisMaxVal
yamv
float
Set the maximum value for the y axis
If a value is not set then it will be calculated automatically
XaxisTextSize
size
float
set X-Axis text size
Chart_Close_Data
c4d
float[]
DoubleTapToZoomEnabled
enabled
boolean
Set this to true to enable zooming in by double-tap on the chart.
Default: enabled
ShowYaxisLeftLabels
slyal
boolean
Show or don't show the left Y-Axis labels.
YaxisMinVal
yamv
float
Set the minimum value for the y axis
If a value is not set then it will be calculated automatically
YaxisTextSize
size
float
set Y-Axis text size
ChartData
cdata
float[]
Background
android.graphics.drawable.Drawable
arg0
android.graphics.drawable.Drawable
CandleData
numberOfEntries
int
YAnimate
ya
boolean
GridBackgroundColor
color
int
Sets the color for the background of the chart-drawing area (everything
behind the grid lines).
Color
arg0
int
ShadowColor
sc
int
ScaleYEnabled
enabled
boolean
TheLegendTextSize
ltextsize
float
Top
int
top
int
MarkerToUse
mtu
int
Set the marker (image)to be used.
An int value from 1 to 4
See the res/drawable and res/layout folders of the B4A project
LegendShapeSize
fsize
float
DrawGridBackground
enabled
boolean
set this to true to draw the grid background, false if not
DrawValues
dv
boolean
MaxVisibleValueCount
mvvc
int
XaxisTextColor
xcolor
int
set X-Axis text color
ValueTextColor
valuecolor
int
MarkerDateText
datetext
java.lang.String
XaxisLables
xal
java.lang.String[]
Set the X-Axis labels.
Parent
java.lang.Object
SavedImageBackgroundColor
color
int
CurrentValue
cv
float[]
LegendCustomText
lct
java.lang.String[]
MarkerCloseText
closetext
java.lang.String
BorderWidth
width
float
Sets the width of the border lines in dp.
XaxisLabelPosition
xalp
java.lang.String
set x-axis label position
DrawYaxisGridLines
dyagl
boolean
set draw y-axis grid lines
ShowYaxisRightLabels
sryal
boolean
Show or don't show the right Y-Axis labels.
DrawAxisLine
dxal
boolean
set draw x-axis line
XYAnimate
xya
boolean
MarkerOpenText
opentext
java.lang.String
ValueTextSize
vts
float
LegendCustomColor
lcc
int[]
ChartBitmap
android.graphics.Bitmap
Returns the bitmap that represents the chart.
Visible
boolean
arg0
boolean
ShadowWidth
sw
float
Padding
int[]
arg0
int[]
Height
int
height
int
Width
int
Width
int
Chart_High_Data
c1d
float[]
FillColor
fc
int[]
Set the color to fill the area between the graph and the X axis with.
Chart_Low_Data
c2d
float[]
DecreasingColor
dec_color
int
THIS DOES NOT WORK FOR STACKED BAR CHARTS
set this to true to draw the highlightning arrow
XAnimate
xa
boolean
IncreasingColor
inc_color
int
MarkerLowText
lowtext
java.lang.String
Enabled
boolean
arg0
boolean
ScaleEnabled
enabled
boolean
Set this to true to enable scaling (zooming in and out by gesture) for
the chart (this does not effect dragging) on both X- and Y-Axis.
PinchZoom
pz
boolean
if set to true, both x and y axis can be scaled with 2 fingers, if false,
x and y axis can be scaled separately. default: false
ScaleXEnabled
enabled
boolean
TheLegendTextColor
lcolor
int
Tag
java.lang.Object
arg0
java.lang.Object
ba
anywheresoftware.b4a.BA
mpandroidchartwrapper.combinedLineBarChartWrapper
CombinedChart
com.github.mikephil.charting.charts.CombinedChart
process
clearValues
Clears this data object from all DataSets and removes all Entries. Don't
forget to invalidate the chart after this.
void
setCombinedData
void
setDescriptionPosition
Sets a custom position for the description text in pixels on the screen.
x: - xcoordinate
y: - ycoordinate
void
x
float
y
float
DesignerCreateView
void
base
anywheresoftware.b4a.objects.PanelWrapper
lw
anywheresoftware.b4a.objects.LabelWrapper
props
anywheresoftware.b4a.objects.collections.Map
generateCandleData
com.github.mikephil.charting.data.CandleData
IsInitialized
boolean
Initialize
void
ba
anywheresoftware.b4a.BA
EventName
java.lang.String
BringToFront
void
SetLayout
void
arg0
int
arg1
int
arg2
int
arg3
int
SendToBack
void
SetVisibleAnimated
void
arg0
int
arg1
boolean
RemoveView
void
Invalidate3
void
arg0
int
arg1
int
arg2
int
arg3
int
Invalidate2
void
arg0
android.graphics.Rect
setTheLegendPositionAndForm
void
legendpos
java.lang.String
legendform
java.lang.String
SetColorAnimated
void
arg0
int
arg1
int
arg2
int
SetBackgroundImageNew
anywheresoftware.b4a.objects.drawable.BitmapDrawable
arg0
android.graphics.Bitmap
enableScroll
enables intercept touchevents
void
saveToGallery
Saves the current state of the chart to the gallery as a JPEG image. The
filename and compression can be set. 0 == maximum compression, 100 = low
compression (high quality). NOTE: Needs permission WRITE_EXTERNAL_STORAGE
fileName e.g. "my_image"
quality e.g. 50, min = 0, max = 100
void
fileName
java.lang.String
quality
int
generateBubbleData
com.github.mikephil.charting.data.BubbleData
disableScroll
disables intercept touchevents
void
saveToPath
Saves the current chart state with the given name to the given path on
the sdcard leaving the path empty "" will put the saved file directly on
the SD card chart is saved as a PNG image, example:
saveToPath("myfilename", "foldername1/foldername2");
fileName e.g. "my_image"
pathOnSD e.g. "folder1/folder2/folder3"
void
fileName
java.lang.String
pathOnSD
java.lang.String
Invalidate
void
generateScatterData
com.github.mikephil.charting.data.ScatterData
SetLayoutAnimated
void
arg0
int
arg1
int
arg2
int
arg3
int
arg4
int
RequestFocus
boolean
Left
int
left
int
ChartDescriptionTextSize
size
float
BarColor
barcolor
int
BorderColor
color
int
Sets the color of the chart border lines.
ChartAnimationTime
at
int
LegendTitle
lt
java.lang.String
DrawBorders
enabled
boolean
Sets drawing the borders rectangle to true. If this is enabled, there is
no point drawing the axis-lines of x- and y-axis.
DrawXaxisGridLines
dxagl
boolean
set draw x-axis grid lines
YaxisTextAngle
angle
float
Sets the angle to rotate the Y-axis labels by
Suggest rotation of between -30.0 and 30.0 where 0.0 will be no rotation (i.e text horizontal)
TheLegendColor
lcolor
int
ChartDescription
descrip
java.lang.String
DragEnabled
enabled
boolean
Set this to true to enable dragging (moving the chart with the finger)
for the chart (this does not effect scaling).
ChartDescriptionColor
color
int
DrawMarkerViews
enabled
boolean
Set this to true to draw a user specified marker-view when tapping on
chart values (use the setMarkerView(MarkerView mv) method to specify a
marker view). Default: true
XaxisTextSize
size
float
set X-Axis text size
RightYaxisTextColor
rycolor
int
set the right Y-Axis text color
DoubleTapToZoomEnabled
enabled
boolean
Set this to true to enable zooming in by double-tap on the chart.
Default: enabled
ShowYaxisLeftLabels
slyal
boolean
Show or don't show the left Y-Axis labels.
DrawLineValues
dgv
boolean
Draw or don't draw line values on the graph.
YaxisTextSize
size
float
set Y-Axis text size
YaxisRightMinVal
yamv
float
Set the minimum value for the y axis (Right)
If a value is not set then it will be calculated automatically
Background
android.graphics.drawable.Drawable
arg0
android.graphics.drawable.Drawable
YAnimate
ya
boolean
BarLegendText
btext
java.lang.String
LineValueTextColor
valuecolor
int
GridBackgroundColor
color
int
Sets the color for the background of the chart-drawing area (everything
behind the grid lines).
BarChartData
bcd
float[]
DrawCubicGraph
dcg
boolean
Draw or don't draw a cubic line graph.
Color
arg0
int
LineLegendText
ltext
java.lang.String
ScaleYEnabled
enabled
boolean
TheLegendTextSize
ltextsize
float
Top
int
top
int
MarkerToUse
mtu
int
Set the marker (image)to be used.
An int value from 1 to 4
See the res/drawable and res/layout folders of the B4A project
DrawDashedLine
ddl
boolean
Disables the line to be drawn in dashed mode.
LegendShapeSize
fsize
float
LegendEntrySpace
space
float
Sets the space between the legend entries on a horizontal axis in pixels,
converts to dp internally
Default value is 6.0f
DrawGridBackground
enabled
boolean
set this to true to draw the grid background, false if not
DrawGraphHollowCircles
ghc
boolean
Draw hollow or solid graph circles.
MaxVisibleValueCount
mvvc
int
XaxisTextColor
xcolor
int
set X-Axis text color
YaxisLeftMaxVal
yamv
float
Set the maximum value for the y axis (Left)
If a value is not set then it will be calculated automatically
GraphCircleSize
gcs
float
Set the size of the graph small circles.
XaxisLables
xal
java.lang.String[]
Set the X-Axis labels.
BarValueTextSize
vts
float
BarAxisDependency
bad
java.lang.String
Sets the axis dependency for the Bar Chart
LEFT or RIGHT
Parent
java.lang.Object
SavedImageBackgroundColor
color
int
XaxisTextAngle
angle
float
Sets the angle to rotate the X-axis labels by
Suggest rotation of between -30.0 and 30.0 where 0.0 will be no rotation (i.e text horizontal)
BorderWidth
width
float
Sets the width of the border lines in dp.
XaxisLabelPosition
xalp
java.lang.String
set x-axis label position
DrawYaxisGridLines
dyagl
boolean
set draw y-axis grid lines
LineAxisDependency
lad
java.lang.String
Sets the axis dependency for the Line Chart
LEFT or RIGHT
ShowYaxisRightLabels
sryal
boolean
Show or don't show the right Y-Axis labels.
DrawAxisLine
dxal
boolean
set draw x-axis line
XYAnimate
xya
boolean
LineChartData
lcd
float[]
ChartBitmap
android.graphics.Bitmap
Returns the bitmap that represents the chart.
Visible
boolean
arg0
boolean
Padding
int[]
arg0
int[]
Height
int
height
int
LineValueTextSize
vts
float
GraphLineWidth
glw
float
Set the width of the graph line.
Width
int
Width
int
FillColor
fc
int[]
Set the color to fill the area between the graph and the X axis with.
XAnimate
xa
boolean
HighlightEnabled
enabled
boolean
If set to true, value highlighting is enabled for all underlying data of
the chart which means that all values can be highlighted programmatically
or by touch gesture.
Enabled
boolean
arg0
boolean
ScaleEnabled
enabled
boolean
Set this to true to enable scaling (zooming in and out by gesture) for
the chart (this does not effect dragging) on both X- and Y-Axis.
DrawBarValues
dgv
boolean
Draw or don't draw bar values on the graph.
CrossHairColor
cc
int
Set the color of the cross hair that appears
when the graph is touched
CubicIntensity
ci
float
Set the intensity of the cubic line graph.
A value from 0.0 to 1.0
PinchZoom
pz
boolean
if set to true, both x and y axis can be scaled with 2 fingers, if false,
x and y axis can be scaled separately. default: false
GraphCircleColor
gcc
int
Set the color of the graph small circles.
BarValueTextColor
valuecolor
int
ScaleXEnabled
enabled
boolean
InitialValues
boolean
LineColor
linecolor
int
YaxisRightMaxVal
yamv
float
Set the maximum value for the y axis (Right)
If a value is not set then it will be calculated automatically
Tag
java.lang.Object
arg0
java.lang.Object
YaxisLeftMinVal
yamv
float
Set the minimum value for the y axis (Left)
If a value is not set then it will be calculated automatically
LeftYaxisTextColor
lycolor
int
set the left Y-Axis text color
ba
anywheresoftware.b4a.BA
mpandroidchartwrapper.horizontalBarChartWrapper
HorizontalBarChart
com.github.mikephil.charting.charts.HorizontalBarChart
process
clearValues
Clears this data object from all DataSets and removes all Entries. Don't
forget to invalidate the chart after this.
void
setDescriptionPosition
Sets a custom position for the description text in pixels on the screen.
x: - xcoordinate
y: - ycoordinate
void
x
float
y
float
DesignerCreateView
void
base
anywheresoftware.b4a.objects.PanelWrapper
lw
anywheresoftware.b4a.objects.LabelWrapper
props
anywheresoftware.b4a.objects.collections.Map
IsInitialized
boolean
Initialize
void
ba
anywheresoftware.b4a.BA
EventName
java.lang.String
BringToFront
void
SetLayout
void
arg0
int
arg1
int
arg2
int
arg3
int
SendToBack
void
SetVisibleAnimated
void
arg0
int
arg1
boolean
RemoveView
void
Invalidate3
void
arg0
int
arg1
int
arg2
int
arg3
int
Invalidate2
void
arg0
android.graphics.Rect
setTheLegendPositionAndForm
void
legendpos
java.lang.String
legendform
java.lang.String
SetColorAnimated
void
arg0
int
arg1
int
arg2
int
SetBackgroundImageNew
anywheresoftware.b4a.objects.drawable.BitmapDrawable
arg0
android.graphics.Bitmap
enableScroll
enables intercept touchevents
void
saveToGallery
Saves the current state of the chart to the gallery as a JPEG image. The
filename and compression can be set. 0 == maximum compression, 100 = low
compression (high quality). NOTE: Needs permission WRITE_EXTERNAL_STORAGE
fileName e.g. "my_image"
quality e.g. 50, min = 0, max = 100
void
fileName
java.lang.String
quality
int
disableScroll
disables intercept touchevents
void
saveToPath
Saves the current chart state with the given name to the given path on
the sdcard leaving the path empty "" will put the saved file directly on
the SD card chart is saved as a PNG image, example:
saveToPath("myfilename", "foldername1/foldername2");
fileName e.g. "my_image"
pathOnSD e.g. "folder1/folder2/folder3"
void
fileName
java.lang.String
pathOnSD
java.lang.String
Invalidate
void
SetLayoutAnimated
void
arg0
int
arg1
int
arg2
int
arg3
int
arg4
int
RequestFocus
boolean
YaxisTextColor
ycolor
int
set Y-Axis text color
Left
int
left
int
ChartDescriptionTextSize
size
float
NoOfMarkerDigits
NoOfMarkerDigits
int
set the number of insignificant digits to appear in the markers
BorderColor
color
int
Sets the color of the chart border lines.
ChartAnimationTime
at
int
LegendTitle
lt
java.lang.String
DrawBorders
enabled
boolean
Sets drawing the borders rectangle to true. If this is enabled, there is
no point drawing the axis-lines of x- and y-axis.
DrawXaxisGridLines
dxagl
boolean
set draw x-axis grid lines
TheLegendColor
lcolor
int
ChartDescription
descrip
java.lang.String
DragEnabled
enabled
boolean
Set this to true to enable dragging (moving the chart with the finger)
for the chart (this does not effect scaling).
YaxisLeftLabelCount
mlyalc
int
Set the label count for the left Y Axis
ChartDescriptionColor
color
int
XaxisTextSize
size
float
set X-Axis text size
DoubleTapToZoomEnabled
enabled
boolean
Set this to true to enable zooming in by double-tap on the chart.
Default: enabled
ShowYaxisLeftLabels
slyal
boolean
Show or don't show the left Y-Axis labels.
YaxisTextSize
size
float
set Y-Axis text size
YaxisRightMinVal
yamv
float
Set the minimum value for the y axis (Right)
If a value is not set then it will be calculated automatically
ChartData
cdata
float[]
Background
android.graphics.drawable.Drawable
arg0
android.graphics.drawable.Drawable
YAnimate
ya
boolean
GridBackgroundColor
color
int
Sets the color for the background of the chart-drawing area (everything
behind the grid lines).
Color
arg0
int
ScaleYEnabled
enabled
boolean
TheLegendTextSize
ltextsize
float
Top
int
top
int
DrawBarShadow
dbs
boolean
MarkerToUse
mtu
int
Set the marker (image)to be used.
An int value from 1 to 4
See the res/drawable and res/layout folders of the B4A project
YaxisLeftStartAtZero
lxsaz
boolean
LegendShapeSize
fsize
float
DrawGridBackground
enabled
boolean
set this to true to draw the grid background, false if not
MaxVisibleValueCount
mvvc
int
XaxisTextColor
xcolor
int
set X-Axis text color
YaxisLeftNumberOfDigits
YaxisLeftNumberOfDigits
int
YaxisLeftMaxVal
yamv
float
Set the maximum value for the y axis (Left)
If a value is not set then it will be calculated automatically
YaxisRightStartAtZero
rxsaz
boolean
ValueTextColor
valuecolor
int
YaxisRightLabelCount
mryalc
int
Set the label count for the right Y Axis
Parent
java.lang.Object
SavedImageBackgroundColor
color
int
BorderWidth
width
float
Sets the width of the border lines in dp.
XaxisLabelPosition
xalp
java.lang.String
set x-axis label position
DrawYaxisGridLines
dyagl
boolean
set draw y-axis grid lines
ShowYaxisRightLabels
sryal
boolean
Show or don't show the right Y-Axis labels.
GraphValueDigits
displayvaluedigits
int
set the number of insignificant digits to appear in the graph values
DrawAxisLine
dxal
boolean
set draw x-axis line
XYAnimate
xya
boolean
DrawValueAboveBar
dvab
boolean
ValueTextSize
vts
int
ChartBitmap
android.graphics.Bitmap
Returns the bitmap that represents the chart.
Visible
boolean
arg0
boolean
Padding
int[]
arg0
int[]
Height
int
height
int
Width
int
Width
int
YaxisRightNumberOfDigits
YaxisRightNumberOfDigits
int
BarColors
piecolor
int[]
LegendText
ltext
java.lang.String[]
LegendVisible
legendvisible
boolean
show or don't show the legend
XAnimate
xa
boolean
Enabled
boolean
arg0
boolean
ScaleEnabled
enabled
boolean
Set this to true to enable scaling (zooming in and out by gesture) for
the chart (this does not effect dragging) on both X- and Y-Axis.
PinchZoom
pz
boolean
if set to true, both x and y axis can be scaled with 2 fingers, if false,
x and y axis can be scaled separately. default: false
ScaleXEnabled
enabled
boolean
BarData
count
int
YaxisRightMaxVal
yamv
float
Set the maximum value for the y axis (Right)
If a value is not set then it will be calculated automatically
Tag
java.lang.Object
arg0
java.lang.Object
YaxisLeftMinVal
yamv
float
Set the minimum value for the y axis (Left)
If a value is not set then it will be calculated automatically
ba
anywheresoftware.b4a.BA
mpandroidchartwrapper.lineChartWrapper
LineChart
com.github.mikephil.charting.charts.LineChart
process
value_selected(index As Int, value As Float)
clearValues
Clears this data object from all DataSets and removes all Entries. Don't
forget to invalidate the chart after this.
void
onNothingSelected
void
setDescriptionPosition
Sets a custom position for the description text in pixels on the screen.
x: - xcoordinate
y: - ycoordinate
void
x
float
y
float
DesignerCreateView
void
base
anywheresoftware.b4a.objects.PanelWrapper
lw
anywheresoftware.b4a.objects.LabelWrapper
props
anywheresoftware.b4a.objects.collections.Map
IsInitialized
boolean
Initialize
void
ba
anywheresoftware.b4a.BA
EventName
java.lang.String
BringToFront
void
SetLayout
void
arg0
int
arg1
int
arg2
int
arg3
int
SendToBack
void
SetVisibleAnimated
void
arg0
int
arg1
boolean
onValueSelected
void
e
com.github.mikephil.charting.data.Entry
dataSetIndex
int
h
com.github.mikephil.charting.highlight.Highlight
RemoveView
void
Invalidate3
void
arg0
int
arg1
int
arg2
int
arg3
int
Invalidate2
void
arg0
android.graphics.Rect
setTheLegendPositionAndForm
void
legendpos
java.lang.String
legendform
java.lang.String
SetColorAnimated
void
arg0
int
arg1
int
arg2
int
SetBackgroundImageNew
anywheresoftware.b4a.objects.drawable.BitmapDrawable
arg0
android.graphics.Bitmap
enableScroll
enables intercept touchevents
void
saveToGallery
Saves the current state of the chart to the gallery as a JPEG image. The
filename and compression can be set. 0 == maximum compression, 100 = low
compression (high quality). NOTE: Needs permission WRITE_EXTERNAL_STORAGE
fileName e.g. "my_image"
quality e.g. 50, min = 0, max = 100
void
fileName
java.lang.String
quality
int
disableScroll
disables intercept touchevents
void
saveToPath
Saves the current chart state with the given name to the given path on
the sdcard leaving the path empty "" will put the saved file directly on
the SD card chart is saved as a PNG image, example:
saveToPath("myfilename", "foldername1/foldername2");
fileName e.g. "my_image"
pathOnSD e.g. "folder1/folder2/folder3"
void
fileName
java.lang.String
pathOnSD
java.lang.String
Invalidate
void
SetLayoutAnimated
void
arg0
int
arg1
int
arg2
int
arg3
int
arg4
int
RequestFocus
boolean
YaxisTextColor
ycolor
int
set Y-Axis text color
Left
int
left
int
ChartDescriptionTextSize
size
float
NoOfMarkerDigits
NoOfMarkerDigits
int
set the number of insignificant digits to appear in the markers
BorderColor
color
int
Sets the color of the chart border lines.
ChartAnimationTime
at
int
LegendTitle
lt
java.lang.String
DrawBorders
enabled
boolean
Sets drawing the borders rectangle to true. If this is enabled, there is
no point drawing the axis-lines of x- and y-axis.
DrawXaxisGridLines
dxagl
boolean
set draw x-axis grid lines
YaxisTextAngle
angle
float
Sets the angle to rotate the Y-axis labels by
Suggest rotation of between -30.0 and 30.0 where 0.0 will be no rotation (i.e text horizontal)
TheLegendColor
lcolor
int
ChartDescription
descrip
java.lang.String
DragEnabled
enabled
boolean
Set this to true to enable dragging (moving the chart with the finger)
for the chart (this does not effect scaling).
ChartDescriptionColor
color
int
YaxisMaxVal
yamv
float
Set the maximum value for the y axis
If a value is not set then it will be calculated automatically
XaxisTextSize
size
float
set X-Axis text size
DoubleTapToZoomEnabled
enabled
boolean
Set this to true to enable zooming in by double-tap on the chart.
Default: enabled
ShowYaxisLeftLabels
slyal
boolean
Show or don't show the left Y-Axis labels.
YaxisMinVal
yamv
float
Set the minimum value for the y axis
If a value is not set then it will be calculated automatically
YaxisTextSize
size
float
set Y-Axis text size
ChartData
cdata
float[]
Background
android.graphics.drawable.Drawable
arg0
android.graphics.drawable.Drawable
YAnimate
ya
boolean
GridBackgroundColor
color
int
Sets the color for the background of the chart-drawing area (everything
behind the grid lines).
GraphLineColor
glc
int
Set the color of the graph line.
DrawFilled
df
boolean
Fill or don't fill the area between the graph and the X axis.
DrawGraphValues
dgv
boolean
Draw or don't draw values on the graph.
DrawCubicGraph
dcg
boolean
Draw or don't draw a cubic line graph.
Color
arg0
int
ScaleYEnabled
enabled
boolean
TheLegendTextSize
ltextsize
float
Top
int
top
int
MarkerToUse
mtu
int
Set the marker (image)to be used.
An int value from 1 to 4
See the res/drawable and res/layout folders of the B4A project
DrawDashedLine
ddl
boolean
Disables the line to be drawn in dashed mode.
LegendShapeSize
fsize
float
YaxisLeftStartAtZero
lxsaz
boolean
DrawGridBackground
enabled
boolean
set this to true to draw the grid background, false if not
DrawGraphHollowCircles
ghc
boolean
Draw hollow or solid graph circles.
MaxVisibleValueCount
mvvc
int
LineColors
piecolor
int[]
XaxisTextColor
xcolor
int
set X-Axis text color
YaxisLeftNumberOfDigits
YaxisLeftNumberOfDigits
int
YaxisRightStartAtZero
rxsaz
boolean
ValueTextColor
valuecolor
int
GraphCircleSize
gcs
float
Set the size of the graph small circles.
Parent
java.lang.Object
SavedImageBackgroundColor
color
int
XaxisTextAngle
angle
float
Sets the angle to rotate the X-axis labels by
Suggest rotation of between -30.0 and 30.0 where 0.0 will be no rotation (i.e text horizontal)
BorderWidth
width
float
Sets the width of the border lines in dp.
XaxisLabelPosition
xalp
java.lang.String
set x-axis label position
DrawYaxisGridLines
dyagl
boolean
set draw y-axis grid lines
ShowYaxisRightLabels
sryal
boolean
Show or don't show the right Y-Axis labels.
GraphValueDigits
displayvaluedigits
int
set the number of insignificant digits to appear in the graph values
DrawAxisLine
dxal
boolean
set draw x-axis line
XYAnimate
xya
boolean
ValueTextSize
vts
int
ChartBitmap
android.graphics.Bitmap
Returns the bitmap that represents the chart.
Visible
boolean
arg0
boolean
Padding
int[]
arg0
int[]
Height
int
height
int
GraphLineWidth
glw
float
Set the width of the graph line.
Width
int
Width
int
YaxisRightNumberOfDigits
YaxisRightNumberOfDigits
int
FillColor
fc
int
Set the color to fill the area between the graph and the X axis with.
LegendText
ltext
java.lang.String[]
LegendVisible
legendvisible
boolean
show or don't show the legend
XAnimate
xa
boolean
Enabled
boolean
arg0
boolean
ScaleEnabled
enabled
boolean
Set this to true to enable scaling (zooming in and out by gesture) for
the chart (this does not effect dragging) on both X- and Y-Axis.
CrossHairColor
cc
int
Set the color of the cross hair that appears
when the graph is touched
CubicIntensity
ci
float
Set the intensity of the cubic line graph.
A value from 0.0 to 1.0
LineData
count
int
PinchZoom
pz
boolean
if set to true, both x and y axis can be scaled with 2 fingers, if false,
x and y axis can be scaled separately. default: false
GraphCircleColor
gcc
int
Set the color of the graph small circles.
ScaleXEnabled
enabled
boolean
Tag
java.lang.Object
arg0
java.lang.Object
ba
anywheresoftware.b4a.BA
mpandroidchartwrapper.multiBarChartWrapper
MultiBarChart
com.github.mikephil.charting.charts.BarChart
process
clearValues
Clears this data object from all DataSets and removes all Entries. Don't
forget to invalidate the chart after this.
void
setDescriptionPosition
Sets a custom position for the description text in pixels on the screen.
x: - xcoordinate
y: - ycoordinate
void
x
float
y
float
DesignerCreateView
void
base
anywheresoftware.b4a.objects.PanelWrapper
lw
anywheresoftware.b4a.objects.LabelWrapper
props
anywheresoftware.b4a.objects.collections.Map
IsInitialized
boolean
Initialize
void
ba
anywheresoftware.b4a.BA
EventName
java.lang.String
setBarData
void
numberOfCharts
int
numberOfEntriesPerChart
int
BringToFront
void
SetLayout
void
arg0
int
arg1
int
arg2
int
arg3
int
SendToBack
void
SetVisibleAnimated
void
arg0
int
arg1
boolean
RemoveView
void
Invalidate3
void
arg0
int
arg1
int
arg2
int
arg3
int
Invalidate2
void
arg0
android.graphics.Rect
setTheLegendPositionAndForm
void
legendpos
java.lang.String
legendform
java.lang.String
SetColorAnimated
void
arg0
int
arg1
int
arg2
int
SetBackgroundImageNew
anywheresoftware.b4a.objects.drawable.BitmapDrawable
arg0
android.graphics.Bitmap
enableScroll
enables intercept touchevents
void
saveToGallery
Saves the current state of the chart to the gallery as a JPEG image. The
filename and compression can be set. 0 == maximum compression, 100 = low
compression (high quality). NOTE: Needs permission WRITE_EXTERNAL_STORAGE
fileName e.g. "my_image"
quality e.g. 50, min = 0, max = 100
void
fileName
java.lang.String
quality
int
disableScroll
disables intercept touchevents
void
saveToPath
Saves the current chart state with the given name to the given path on
the sdcard leaving the path empty "" will put the saved file directly on
the SD card chart is saved as a PNG image, example:
saveToPath("myfilename", "foldername1/foldername2");
fileName e.g. "my_image"
pathOnSD e.g. "folder1/folder2/folder3"
void
fileName
java.lang.String
pathOnSD
java.lang.String
Invalidate
void
SetLayoutAnimated
void
arg0
int
arg1
int
arg2
int
arg3
int
arg4
int
RequestFocus
boolean
Chart_2_Data
c2d
float[]
YaxisTextColor
ycolor
int
set Y-Axis text color
Left
int
left
int
ChartDescriptionTextSize
size
float
NoOfMarkerDigits
NoOfMarkerDigits
int
set the number of insignificant digits to appear in the markers
BorderColor
color
int
Sets the color of the chart border lines.
ChartAnimationTime
at
int
LegendTitle
lt
java.lang.String
DrawBorders
enabled
boolean
Sets drawing the borders rectangle to true. If this is enabled, there is
no point drawing the axis-lines of x- and y-axis.
DrawXaxisGridLines
dxagl
boolean
set draw x-axis grid lines
TheLegendColor
lcolor
int
ChartDescription
descrip
java.lang.String
DragEnabled
enabled
boolean
Set this to true to enable dragging (moving the chart with the finger)
for the chart (this does not effect scaling).
Chart_7_Data
c7d
float[]
ChartDescriptionColor
color
int
YaxisMaxVal
yamv
float
Set the maximum value for the y axis
If a value is not set then it will be calculated automatically
XaxisTextSize
size
float
set X-Axis text size
DoubleTapToZoomEnabled
enabled
boolean
Set this to true to enable zooming in by double-tap on the chart.
Default: enabled
ShowYaxisLeftLabels
slyal
boolean
Show or don't show the left Y-Axis labels.
YaxisMinVal
yamv
float
Set the minimum value for the y axis
If a value is not set then it will be calculated automatically
Chart_1_Data
c1d
float[]
YaxisTextSize
size
float
set Y-Axis text size
ChartData
cdata
float[]
Background
android.graphics.drawable.Drawable
arg0
android.graphics.drawable.Drawable
YAnimate
ya
boolean
GridBackgroundColor
color
int
Sets the color for the background of the chart-drawing area (everything
behind the grid lines).
DrawGraphValues
dgv
boolean[]
Draw or don't draw values on the graph.
Color
arg0
int
ScaleYEnabled
enabled
boolean
TheLegendTextSize
ltextsize
float
Top
int
top
int
MarkerToUse
mtu
int
Set the marker (image)to be used.
An int value from 1 to 4
See the res/drawable and res/layout folders of the B4A project
LegendShapeSize
fsize
float
LegendEntrySpace
space
float
sets the space between the legend entries on a horizontal axis in pixels,
converts to dp internally
Default value is 6.0f
DrawGridBackground
enabled
boolean
set this to true to draw the grid background, false if not
MaxVisibleValueCount
mvvc
int
XaxisTextColor
xcolor
int
set X-Axis text color
ValueTextColor
valuecolor
int[]
XaxisLables
xal
java.lang.String[]
Set the X-Axis labels.
Parent
java.lang.Object
SavedImageBackgroundColor
color
int
BorderWidth
width
float
Sets the width of the border lines in dp.
Chart_5_Data
c5d
float[]
XaxisLabelPosition
xalp
java.lang.String
set x-axis label position
DrawYaxisGridLines
dyagl
boolean
set draw y-axis grid lines
ShowYaxisRightLabels
sryal
boolean
Show or don't show the right Y-Axis labels.
DrawAxisLine
dxal
boolean
set draw x-axis line
XYAnimate
xya
boolean
Chart_4_Data
c4d
float[]
ValueTextSize
vts
float[]
ChartBitmap
android.graphics.Bitmap
Returns the bitmap that represents the chart.
Visible
boolean
arg0
boolean
Padding
int[]
arg0
int[]
Height
int
height
int
Width
int
Width
int
FillColor
fc
int[]
Set the color to fill the area between the graph and the X axis with.
BarColors
barcolor
int[]
LegendText
ltext
java.lang.String[]
XAnimate
xa
boolean
Enabled
boolean
arg0
boolean
ScaleEnabled
enabled
boolean
Set this to true to enable scaling (zooming in and out by gesture) for
the chart (this does not effect dragging) on both X- and Y-Axis.
PinchZoom
pz
boolean
if set to true, both x and y axis can be scaled with 2 fingers, if false,
x and y axis can be scaled separately. default: false
ScaleXEnabled
enabled
boolean
Chart_3_Data
c3d
float[]
Chart_6_Data
c6d
float[]
Tag
java.lang.Object
arg0
java.lang.Object
ba
anywheresoftware.b4a.BA
mpandroidchartwrapper.multiBubbleChartWrapper
MultiBubbleChart
com.github.mikephil.charting.charts.BubbleChart
process
clearValues
Clears this data object from all DataSets and removes all Entries. Don't
forget to invalidate the chart after this.
void
setBubbleData
void
numberOfCharts
int
numberOfEntriesPerChart
int
setDescriptionPosition
Sets a custom position for the description text in pixels on the screen.
x: - xcoordinate
y: - ycoordinate
void
x
float
y
float
DesignerCreateView
void
base
anywheresoftware.b4a.objects.PanelWrapper
lw
anywheresoftware.b4a.objects.LabelWrapper
props
anywheresoftware.b4a.objects.collections.Map
IsInitialized
boolean
Initialize
void
ba
anywheresoftware.b4a.BA
EventName
java.lang.String
BringToFront
void
SetLayout
void
arg0
int
arg1
int
arg2
int
arg3
int
SendToBack
void
SetVisibleAnimated
void
arg0
int
arg1
boolean
RemoveView
void
Invalidate3
void
arg0
int
arg1
int
arg2
int
arg3
int
Invalidate2
void
arg0
android.graphics.Rect
setTheLegendPositionAndForm
void
legendpos
java.lang.String
legendform
java.lang.String
SetColorAnimated
void
arg0
int
arg1
int
arg2
int
SetBackgroundImageNew
anywheresoftware.b4a.objects.drawable.BitmapDrawable
arg0
android.graphics.Bitmap
enableScroll
enables intercept touchevents
void
saveToGallery
Saves the current state of the chart to the gallery as a JPEG image. The
filename and compression can be set. 0 == maximum compression, 100 = low
compression (high quality). NOTE: Needs permission WRITE_EXTERNAL_STORAGE
fileName e.g. "my_image"
quality e.g. 50, min = 0, max = 100
void
fileName
java.lang.String
quality
int
disableScroll
disables intercept touchevents
void
saveToPath
Saves the current chart state with the given name to the given path on
the sdcard leaving the path empty "" will put the saved file directly on
the SD card chart is saved as a PNG image, example:
saveToPath("myfilename", "foldername1/foldername2");
fileName e.g. "my_image"
pathOnSD e.g. "folder1/folder2/folder3"
void
fileName
java.lang.String
pathOnSD
java.lang.String
Invalidate
void
SetLayoutAnimated
void
arg0
int
arg1
int
arg2
int
arg3
int
arg4
int
RequestFocus
boolean
Chart_2_Data
c2d
float[]
YaxisTextColor
ycolor
int
set Y-Axis text color
Left
int
left
int
ChartDescriptionTextSize
size
float
BorderColor
color
int
Sets the color of the chart border lines.
ChartAnimationTime
at
int
LegendTitle
lt
java.lang.String
DrawBorders
enabled
boolean
Sets drawing the borders rectangle to true. If this is enabled, there is
no point drawing the axis-lines of x- and y-axis.
DrawXaxisGridLines
dxagl
boolean
set draw x-axis grid lines
TheLegendColor
lcolor
int
ChartDescription
descrip
java.lang.String
DragEnabled
enabled
boolean
Set this to true to enable dragging (moving the chart with the finger)
for the chart (this does not effect scaling).
ChartDescriptionColor
color
int
YaxisMaxVal
yamv
float
Set the maximum value for the y axis
If a value is not set then it will be calculated automatically
XaxisTextSize
size
float
set X-Axis text size
DoubleTapToZoomEnabled
enabled
boolean
Set this to true to enable zooming in by double-tap on the chart.
Default: enabled
ShowYaxisLeftLabels
slyal
boolean
Show or don't show the left Y-Axis labels.
YaxisMinVal
yamv
float
Set the minimum value for the y axis
If a value is not set then it will be calculated automatically
Chart_1_Data
c1d
float[]
YaxisTextSize
size
float
set Y-Axis text size
ChartData
cdata
float[]
Background
android.graphics.drawable.Drawable
arg0
android.graphics.drawable.Drawable
YAnimate
ya
boolean
BubbleColors
bubblecolor
int[]
GridBackgroundColor
color
int
Sets the color for the background of the chart-drawing area (everything
behind the grid lines).
DrawGraphValues
dgv
boolean[]
Draw or don't draw values on the graph.
Color
arg0
int
ScaleYEnabled
enabled
boolean
TheLegendTextSize
ltextsize
float
Top
int
top
int
MarkerToUse
mtu
int
Set the marker (image)to be used.
An int value from 1 to 4
See the res/drawable and res/layout folders of the B4A project
LegendShapeSize
fsize
float
LegendEntrySpace
space
float
sets the space between the legend entries on a horizontal axis in pixels,
converts to dp internally
Default value is 6.0f
DrawGridBackground
enabled
boolean
set this to true to draw the grid background, false if not
MaxVisibleValueCount
mvvc
int
XaxisTextColor
xcolor
int
set X-Axis text color
ValueTextColor
valuecolor
int[]
XaxisLables
xal
java.lang.String[]
Set the X-Axis labels.
Parent
java.lang.Object
SavedImageBackgroundColor
color
int
BorderWidth
width
float
Sets the width of the border lines in dp.
Chart_5_Data
c5d
float[]
XaxisLabelPosition
xalp
java.lang.String
set x-axis label position
DrawYaxisGridLines
dyagl
boolean
set draw y-axis grid lines
ShowYaxisRightLabels
sryal
boolean
Show or don't show the right Y-Axis labels.
DrawAxisLine
dxal
boolean
set draw x-axis line
XYAnimate
xya
boolean
Chart_4_Data
c4d
float[]
ValueTextSize
vts
float[]
ChartBitmap
android.graphics.Bitmap
Returns the bitmap that represents the chart.
Visible
boolean
arg0
boolean
Padding
int[]
arg0
int[]
Height
int
height
int
Width
int
Width
int
LegendText
ltext
java.lang.String[]
XAnimate
xa
boolean
Enabled
boolean
arg0
boolean
ScaleEnabled
enabled
boolean
Set this to true to enable scaling (zooming in and out by gesture) for
the chart (this does not effect dragging) on both X- and Y-Axis.
PinchZoom
pz
boolean
if set to true, both x and y axis can be scaled with 2 fingers, if false,
x and y axis can be scaled separately. default: false
ScaleXEnabled
enabled
boolean
Chart_3_Data
c3d
float[]
Tag
java.lang.Object
arg0
java.lang.Object
ba
anywheresoftware.b4a.BA
mpandroidchartwrapper.multiHorizontalBarChartWrapper
MultiHorizontalBarChart
com.github.mikephil.charting.charts.HorizontalBarChart
process
clearValues
Clears this data object from all DataSets and removes all Entries. Don't
forget to invalidate the chart after this.
void
setDescriptionPosition
Sets a custom position for the description text in pixels on the screen.
x: - xcoordinate
y: - ycoordinate
void
x
float
y
float
DesignerCreateView
void
base
anywheresoftware.b4a.objects.PanelWrapper
lw
anywheresoftware.b4a.objects.LabelWrapper
props
anywheresoftware.b4a.objects.collections.Map
IsInitialized
boolean
Initialize
void
ba
anywheresoftware.b4a.BA
EventName
java.lang.String
setBarData
void
numberOfCharts
int
numberOfEntriesPerChart
int
BringToFront
void
SetLayout
void
arg0
int
arg1
int
arg2
int
arg3
int
SendToBack
void
SetVisibleAnimated
void
arg0
int
arg1
boolean
RemoveView
void
Invalidate3
void
arg0
int
arg1
int
arg2
int
arg3
int
Invalidate2
void
arg0
android.graphics.Rect
setTheLegendPositionAndForm
void
legendpos
java.lang.String
legendform
java.lang.String
SetColorAnimated
void
arg0
int
arg1
int
arg2
int
SetBackgroundImageNew
anywheresoftware.b4a.objects.drawable.BitmapDrawable
arg0
android.graphics.Bitmap
enableScroll
enables intercept touchevents
void
saveToGallery
Saves the current state of the chart to the gallery as a JPEG image. The
filename and compression can be set. 0 == maximum compression, 100 = low
compression (high quality). NOTE: Needs permission WRITE_EXTERNAL_STORAGE
fileName e.g. "my_image"
quality e.g. 50, min = 0, max = 100
void
fileName
java.lang.String
quality
int
disableScroll
disables intercept touchevents
void
saveToPath
Saves the current chart state with the given name to the given path on
the sdcard leaving the path empty "" will put the saved file directly on
the SD card chart is saved as a PNG image, example:
saveToPath("myfilename", "foldername1/foldername2");
fileName e.g. "my_image"
pathOnSD e.g. "folder1/folder2/folder3"
void
fileName
java.lang.String
pathOnSD
java.lang.String
Invalidate
void
SetLayoutAnimated
void
arg0
int
arg1
int
arg2
int
arg3
int
arg4
int
RequestFocus
boolean
Chart_2_Data
c2d
float[]
YaxisTextColor
ycolor
int
set Y-Axis text color
Left
int
left
int
ChartDescriptionTextSize
size
float
NoOfMarkerDigits
NoOfMarkerDigits
int
set the number of insignificant digits to appear in the markers
BorderColor
color
int
Sets the color of the chart border lines.
ChartAnimationTime
at
int
LegendTitle
lt
java.lang.String
DrawBorders
enabled
boolean
Sets drawing the borders rectangle to true. If this is enabled, there is
no point drawing the axis-lines of x- and y-axis.
DrawXaxisGridLines
dxagl
boolean
set draw x-axis grid lines
TheLegendColor
lcolor
int
ChartDescription
descrip
java.lang.String
DragEnabled
enabled
boolean
Set this to true to enable dragging (moving the chart with the finger)
for the chart (this does not effect scaling).
YaxisLeftLabelCount
mlyalc
int
Set the label count for the left Y Axis
ChartDescriptionColor
color
int
XaxisTextSize
size
float
set X-Axis text size
DoubleTapToZoomEnabled
enabled
boolean
Set this to true to enable zooming in by double-tap on the chart.
Default: enabled
ShowYaxisLeftLabels
slyal
boolean
Show or don't show the left Y-Axis labels.
Chart_1_Data
c1d
float[]
YaxisTextSize
size
float
set Y-Axis text size
YaxisRightMinVal
yamv
float
Set the minimum value for the y axis (Right)
If a value is not set then it will be calculated automatically
ChartData
cdata
float[]
Background
android.graphics.drawable.Drawable
arg0
android.graphics.drawable.Drawable
YAnimate
ya
boolean
GridBackgroundColor
color
int
Sets the color for the background of the chart-drawing area (everything
behind the grid lines).
DrawGraphValues
dgv
boolean[]
Draw or don't draw values on the graph.
Color
arg0
int
ScaleYEnabled
enabled
boolean
TheLegendTextSize
ltextsize
float
Top
int
top
int
MarkerToUse
mtu
int
Set the marker (image)to be used.
An int value from 1 to 4
See the res/drawable and res/layout folders of the B4A project
LegendShapeSize
fsize
float
YaxisLeftStartAtZero
lxsaz
boolean
LegendEntrySpace
space
float
sets the space between the legend entries on a horizontal axis in pixels,
converts to dp internally
Default value is 6.0f
DrawGridBackground
enabled
boolean
set this to true to draw the grid background, false if not
MaxVisibleValueCount
mvvc
int
XaxisTextColor
xcolor
int
set X-Axis text color
YaxisLeftNumberOfDigits
YaxisLeftNumberOfDigits
int
YaxisLeftMaxVal
yamv
float
Set the maximum value for the y axis (Left)
If a value is not set then it will be calculated automatically
YaxisRightStartAtZero
rxsaz
boolean
ValueTextColor
valuecolor
int[]
YaxisRightLabelCount
mryalc
int
Set the label count for the right Y Axis
XaxisLables
xal
java.lang.String[]
Set the X-Axis labels.
Parent
java.lang.Object
SavedImageBackgroundColor
color
int
BorderWidth
width
float
Sets the width of the border lines in dp.
Chart_5_Data
c5d
float[]
XaxisLabelPosition
xalp
java.lang.String
set x-axis label position
DrawYaxisGridLines
dyagl
boolean
set draw y-axis grid lines
ShowYaxisRightLabels
sryal
boolean
Show or don't show the right Y-Axis labels.
GraphValueDigits
displayvaluedigits
int[]
set the number of insignificant digits to appear in the graph values
DrawAxisLine
dxal
boolean
set draw x-axis line
XYAnimate
xya
boolean
Chart_4_Data
c4d
float[]
ValueTextSize
vts
float[]
ChartBitmap
android.graphics.Bitmap
Returns the bitmap that represents the chart.
Visible
boolean
arg0
boolean
Padding
int[]
arg0
int[]
Height
int
height
int
Width
int
Width
int
YaxisRightNumberOfDigits
YaxisRightNumberOfDigits
int
FillColor
fc
int[]
Set the color to fill the area between the graph and the X axis with.
BarColors
barcolor
int[]
LegendText
ltext
java.lang.String[]
LegendVisible
legendvisible
boolean
show or don't show the legend
XAnimate
xa
boolean
Enabled
boolean
arg0
boolean
ScaleEnabled
enabled
boolean
Set this to true to enable scaling (zooming in and out by gesture) for
the chart (this does not effect dragging) on both X- and Y-Axis.
PinchZoom
pz
boolean
if set to true, both x and y axis can be scaled with 2 fingers, if false,
x and y axis can be scaled separately. default: false
ScaleXEnabled
enabled
boolean
Chart_3_Data
c3d
float[]
YaxisRightMaxVal
yamv
float
Set the maximum value for the y axis (Right)
If a value is not set then it will be calculated automatically
Tag
java.lang.Object
arg0
java.lang.Object
YaxisLeftMinVal
yamv
float
Set the minimum value for the y axis (Left)
If a value is not set then it will be calculated automatically
ba
anywheresoftware.b4a.BA
mpandroidchartwrapper.multiLineBarChartWrapper
MultiLineBarChart
com.github.mikephil.charting.charts.CombinedChart
process
clearValues
Clears this data object from all DataSets and removes all Entries. Don't
forget to invalidate the chart after this.
void
setDescriptionPosition
Sets a custom position for the description text in pixels on the screen.
x: - xcoordinate
y: - ycoordinate
void
x
float
y
float
DesignerCreateView
void
base
anywheresoftware.b4a.objects.PanelWrapper
lw
anywheresoftware.b4a.objects.LabelWrapper
props
anywheresoftware.b4a.objects.collections.Map
IsInitialized
boolean
Initialize
void
ba
anywheresoftware.b4a.BA
EventName
java.lang.String
BringToFront
void
SetLayout
void
arg0
int
arg1
int
arg2
int
arg3
int
DrawCharts
void
SendToBack
void
SetVisibleAnimated
void
arg0
int
arg1
boolean
RemoveView
void
Invalidate3
void
arg0
int
arg1
int
arg2
int
arg3
int
Invalidate2
void
arg0
android.graphics.Rect
setTheLegendPositionAndForm
void
legendpos
java.lang.String
legendform
java.lang.String
SetColorAnimated
void
arg0
int
arg1
int
arg2
int
SetBackgroundImageNew
anywheresoftware.b4a.objects.drawable.BitmapDrawable
arg0
android.graphics.Bitmap
enableScroll
enables intercept touchevents
void
saveToGallery
Saves the current state of the chart to the gallery as a JPEG image. The
filename and compression can be set. 0 == maximum compression, 100 = low
compression (high quality). NOTE: Needs permission WRITE_EXTERNAL_STORAGE
fileName e.g. "my_image"
quality e.g. 50, min = 0, max = 100
void
fileName
java.lang.String
quality
int
disableScroll
disables intercept touchevents
void
saveToPath
Saves the current chart state with the given name to the given path on
the sdcard leaving the path empty "" will put the saved file directly on
the SD card chart is saved as a PNG image, example:
saveToPath("myfilename", "foldername1/foldername2");
fileName e.g. "my_image"
pathOnSD e.g. "folder1/folder2/folder3"
void
fileName
java.lang.String
pathOnSD
java.lang.String
Invalidate
void
SetLayoutAnimated
void
arg0
int
arg1
int
arg2
int
arg3
int
arg4
int
RequestFocus
boolean
Left
int
left
int
ChartDescriptionTextSize
size
float
NumberOfLineCharts
nolc
int
Sets the number of line charts that will be drawn (maximum 5)
BarColor
barcolor
int
Line_1_Data
c1d
float[]
Set the Y-Values for Line Chart 1
BorderColor
color
int
Sets the color of the chart border lines.
ChartAnimationTime
at
int
DrawXaxisGridLines
dxagl
boolean
set draw x-axis grid lines (perpendicular to the X-axis)
DrawBorders
enabled
boolean
Sets drawing the borders rectangle to true. If this is enabled, there is
no point drawing the axis-lines of x- and y-axis.
Line_6_Data
c6d
float[]
Set the Y-Values for Line Chart 6
YaxisTextAngle
angle
float
Sets the angle to rotate the Y-axis labels by
Suggest rotation of between -30.0 and 30.0 where 0.0 will be no rotation (i.e text horizontal)
ChartDescription
descrip
java.lang.String
DragEnabled
enabled
boolean
Set this to true to enable dragging (moving the chart with the finger)
for the chart (this does not effect scaling).
ChartDescriptionColor
color
int
YaxisMaxVal
yamv
float
Set the maximum value for the y axis
If a value is not set then it will be calculated automatically
XaxisTextSize
size
float
set X-Axis text size
DrawMarkerViews
enabled
boolean
Set this to true to draw a user specified marker-view when tapping on
chart values (use the setMarkerView(MarkerView mv) method to specify a
marker view). Default: true
RightYaxisTextColor
rycolor
int
set the right Y-Axis text color
DoubleTapToZoomEnabled
enabled
boolean
Set this to true to enable zooming in by double-tap on the chart.
Default: enabled
ShowYaxisLeftLabels
slyal
boolean
Show or don't show the left Y-Axis labels.
YaxisMinVal
yamv
float
Set the minimum value for the y axis
If a value is not set then it will be calculated automatically
DrawLineValues
dgv
boolean[]
Draw or don't draw line values on the graph.
HorizontalGridColorLeft
hgcl
int
Sets the Horizontal grid color for the Left Y axis
Line_2_Data
c2d
float[]
Set the Y-Values for Line Chart 2
Background
android.graphics.drawable.Drawable
arg0
android.graphics.drawable.Drawable
YAnimate
ya
boolean
BarLegendText
btext
java.lang.String
GridBackgroundColor
color
int
Sets the color for the background of the chart-drawing area (everything
behind the grid lines).
LineValueTextColor
valuecolor
int[]
DrawCubicGraph
dcg
boolean[]
Draw or don't draw a cubic line graph.
Color
arg0
int
DrawRightGridDashed
drgd
boolean
Sets the Right Y axis grid to be drawn dashed or solid
ScaleYEnabled
enabled
boolean
LineLegendText
ltext
java.lang.String[]
TheLegendTextSize
ltextsize
float
Top
int
top
int
MarkerToUse
mtu
int
Set the marker (image)to be used.
An int value from 1 to 4
See the res/drawable and res/layout folders of the B4A project
Line_7_Data
c7d
float[]
Set the Y-Values for Line Chart 7
DrawDashedLine
ddl
boolean[]
Disables the line to be drawn in dashed mode.
LegendShapeSize
fsize
float
LegendEntrySpace
space
float
Sets the space between the legend entries on a horizontal axis in pixels,
converts to dp internally
Default value is 6.0f
DrawGraphHollowCircles
ghc
boolean[]
Draw hollow or solid graph circles.
Bar_Data
c1d
float[]
Set the Y-Values for the Bar Chart
MaxVisibleValueCount
mvvc
int
XaxisTextColor
xcolor
int
set X-Axis text color
GraphCircleSize
gcs
float[]
Set the size of the graph small circles.
Line_10_Data
c10d
float[]
Set the Y-Values for Line Chart 10
RightYaxisTextSize
size
float
set right Y-Axis text size
XaxisLables
xal
java.lang.String[]
Set the X-Axis labels.
BarAxisDependency
bad
java.lang.String
Sets the axis dependency for the Bar Chart
LEFT or RIGHT
BarValueTextSize
vts
float
DrawYaxisRightGridLines
dyagl
boolean
set draw y-axis right grid lines
Parent
java.lang.Object
SavedImageBackgroundColor
color
int
DrawYaxisLeftGridLines
dyagl
boolean
set draw y-axis left grid lines
XaxisTextAngle
angle
float
Sets the angle to rotate the X-axis labels by
Suggest rotation of between -30.0 and 30.0 where 0.0 will be no rotation (i.e text horizontal)
Line_4_Data
c4d
float[]
Set the Y-Values for Line Chart 4
Line_9_Data
c9d
float[]
Set the Y-Values for Line Chart 9
BorderWidth
width
float
Sets the width of the border lines in dp.
LineAxisDependency
lad
java.lang.String
Sets the axis dependency for the Line Chart
LEFT or RIGHT
XaxisLabelPosition
xalp
java.lang.String
set x-axis label position
ShowYaxisRightLabels
sryal
boolean
Show or don't show the right Y-Axis labels.
DrawAxisLine
dxal
boolean
set draw x-axis line
DrawBarChart
dbc
boolean
Sets the number of bar charts that will be drawn (maximum 5)
DrawLeftGridDashed
dlgd
boolean
Sets the Left Y axis grid to be drawn dashed or solid
XYAnimate
xya
boolean
ChartBitmap
android.graphics.Bitmap
Returns the bitmap that represents the chart.
Visible
boolean
arg0
boolean
Padding
int[]
arg0
int[]
Height
int
height
int
GraphLineWidth
glw
float[]
Set the width of the graph line.
LineValueTextSize
vts
float
VerticalGridColor
vgc
int
Sets the Vertical grid color
Width
int
Width
int
Line_5_Data
c5d
float[]
Set the Y-Values for Line Chart 5
Line_8_Data
c8d
float[]
Set the Y-Values for Line Chart 8
XAnimate
xa
boolean
set this to true to draw the grid background, false if not
Enabled
boolean
arg0
boolean
ScaleEnabled
enabled
boolean
Set this to true to enable scaling (zooming in and out by gesture) for
the chart (this does not effect dragging) on both X- and Y-Axis.
DrawBarValues
dgv
boolean
Draw or don't draw bar values on the graph.
CubicIntensity
ci
float[]
Set the intensity of the cubic line graph.
A value from 0.0 to 1.0
PinchZoom
pz
boolean
if set to true, both x and y axis can be scaled with 2 fingers, if false,
x and y axis can be scaled separately. default: false
GraphCircleColor
gcc
int[]
Set the color of the graph small circles.
ScaleXEnabled
enabled
boolean
BarValueTextColor
valuecolor
int
Line_3_Data
c3d
float[]
Set the Y-Values for Line Chart 3
LineColor
linecolor
int[]
TheLegendTextColor
lcolor
int
LeftYaxisTextSize
size
float
set left Y-Axis text size
Tag
java.lang.Object
arg0
java.lang.Object
LeftYaxisTextColor
lycolor
int
set the left Y-Axis text color
HorizontalGridColorRight
hgcr
int
Sets the Horizontal grid color for the Right Y axis
ba
anywheresoftware.b4a.BA
mpandroidchartwrapper.multiLineChartWrapper
MultiLineChart
com.github.mikephil.charting.charts.LineChart
process
value_selected(index As Int, value As Float)
clearValues
Clears this chart from all DataSets and removes all Entries.
void
onNothingSelected
void
setDescriptionPosition
Sets a custom position for the description text in pixels on the screen.
void
x
float
y
float
DesignerCreateView
void
base
anywheresoftware.b4a.objects.PanelWrapper
lw
anywheresoftware.b4a.objects.LabelWrapper
props
anywheresoftware.b4a.objects.collections.Map
IsInitialized
boolean
Initialize
void
ba
anywheresoftware.b4a.BA
EventName
java.lang.String
BringToFront
void
SetLayout
void
arg0
int
arg1
int
arg2
int
arg3
int
SendToBack
void
SetVisibleAnimated
void
arg0
int
arg1
boolean
onValueSelected
void
e
com.github.mikephil.charting.data.Entry
dataSetIndex
int
h
com.github.mikephil.charting.highlight.Highlight
setLineData
Draw the line chart(s) once all data has been set up
Mamimum number of simultaneous line charts is 5
variable numberOfCharts:
1 = draw only the first line chart of all line charts that data has been set up for
2 = draw only line charts 1 and 2 of all line charts that data has been set up for
3 = draw only line charts 1, 2, and 3 of all line charts that data has been set up for
numberOfEntriesPerChart:
draw only the first x number of entries for each line chart that data has been set up for
eg if data are passed for months of Jan to Dec and numberOfEntriesPerChart = 6
then each line chart will be drawn showing only data for Jan to Jun
void
numberOfCharts
int
numberOfEntriesPerChart
int
RemoveView
void
Invalidate3
void
arg0
int
arg1
int
arg2
int
arg3
int
Invalidate2
void
arg0
android.graphics.Rect
setTheLegendPositionAndForm
Set the legend Position and Form
Position can be one of the following:
"RIGHT_OF_CHART", "RIGHT_OF_CHART_CENTER", "RIGHT_OF_CHART_INSIDE",
"LEFT_OF_CHART", "LEFT_OF_CHART_CENTER", "LEFT_OF_CHART_INSIDE",
"BELOW_CHART_LEFT", "BELOW_CHART_RIGHT", "BELOW_CHART_CENTER".
Form can be one of the following:
"SQUARE", "CIRCLE", "LINE"
void
legendpos
java.lang.String
legendform
java.lang.String
SetColorAnimated
void
arg0
int
arg1
int
arg2
int
SetBackgroundImageNew
anywheresoftware.b4a.objects.drawable.BitmapDrawable
arg0
android.graphics.Bitmap
enableScroll
enables intercept touchevents
void
saveToGallery
Saves the current state of the chart to the gallery as a JPEG image. The
filename and compression can be set. 0 == maximum compression, 100 = low
compression (high quality). NOTE: Needs permission WRITE_EXTERNAL_STORAGE
fileName e.g. "my_image"
quality e.g. 50, min = 0, max = 100
void
fileName
java.lang.String
quality
int
disableScroll
disables intercept touchevents
void
saveToPath
Saves the current chart state with the given name to the given path on
the sdcard leaving the path empty "" will put the saved file directly on
the SD card chart is saved as a PNG image, example:
saveToPath("myfilename", "foldername1/foldername2");
fileName e.g. "my_image"
pathOnSD e.g. "folder1/folder2/folder3"
void
fileName
java.lang.String
pathOnSD
java.lang.String
Invalidate
void
SetLayoutAnimated
void
arg0
int
arg1
int
arg2
int
arg3
int
arg4
int
RequestFocus
boolean
Left
int
left
int
Chart_8_Data
c8d
float[]
Set the data for line chart 8
BorderColor
color
int
Sets the color of the chart border line.
ChartAnimationTime
at
int
Set the chart drawing animation time
DragEnabled
enabled
boolean
Set this to true to enable dragging (moving the chart with the finger)
for the chart (this does not effect scaling).
ShowCrossHair
sch
boolean
Show or don't show the cross hair
when the graph is touched
YaxisLeftTextColor
ycolor
int
set Y-Axis Left text color
Chart_7_Data
c7d
float[]
Set the data for line chart 7
ChartDescriptionColor
color
int
Set the color of the chart description / main title
DoubleTapToZoomEnabled
enabled
boolean
Set this to true to enable zooming in by double-tap on the chart.
Default: enabled
ShowYaxisLeftLabels
slyal
boolean
Show or don't show the left Y-Axis labels.
Background
android.graphics.drawable.Drawable
arg0
android.graphics.drawable.Drawable
YAnimate
ya
boolean
Set wether Animation in Y direction should be enable when drawing the charts
DrawFilled
df
boolean[]
Fill or don't fill the area between the line charts and the X axis.
DrawRightGridDashed
drgd
boolean
Sets the Right Y axis grid to be drawn dashed or solid
Top
int
top
int
DrawDashedLine
ddl
boolean[]
Enable or Disable the line to be drawn in dashed mode.
YaxisLeftStartAtZero
lxsaz
boolean
MaxVisibleValueCount
mvvc
int
XaxisTextColor
xcolor
int
set X-Axis text color
YaxisLeftMaxVal
yamv
float
Set the maximum value for the y axis (Left)
If a value is not set then it will be calculated automatically
ValueTextColor
valuecolor
int[]
Set the color of the values for each line chart
These are the values that are displayed inside the chart
when DrawGraphValues are set to true
XaxisLables
xal
java.lang.String[]
Set the X-Axis labels.
DrawYaxisRightGridLines
dyagl
boolean
set draw y-axis right grid lines
DrawYaxisLeftGridLines
dyagl
boolean
set draw y-axis left grid lines
XaxisTextAngle
angle
float
Sets the angle to rotate the X-axis labels by
Suggest rotation of between -30.0 and 30.0 where 0.0 will be no rotation (i.e text horizontal)
BorderWidth
width
float
Sets the width of the border lines in dp.
XaxisLabelPosition
mXaxisLabelPosition
java.lang.String
set x-axis label position
XaxisLabelPosition can be one of the following:
TOP, BOTTOM, BOTH_SIDED, TOP_INSIDE, BOTTOM_INSIDE
ShowYaxisRightLabels
sryal
boolean
Show or don't show the right Y-Axis labels.
GraphValueDigits
displayvaluedigits
int[]
set the number of insignificant digits to appear in the graph values
XYAnimate
xya
boolean
Set wether Animation in X and Y directions should be enable when drawing the charts
ValueTextSize
vts
float[]
Set the text size of the values for each line chart
These are the values that are displayed inside the chart
when DrawGraphValues are set to true
LegendYEntrySpace
space
float
sets the space between the legend entries on a vertical axis in pixels,
converts to dp internally
Default value is 10.0f
ChartBitmap
android.graphics.Bitmap
Returns the bitmap that represents the chart.
Visible
boolean
arg0
boolean
GraphLineWidth
glw
float[]
Set the width of the graph lines.
Width
int
Width
int
YaxisRightNumberOfDigits
YaxisRightNumberOfDigits
int
LegendText
ltext
java.lang.String[]
Set the legend text for the individual line charts
A maximum of 5 legend texts can be set (one for each of max 5 line charts)
Enabled
boolean
arg0
boolean
ScaleEnabled
enabled
boolean
Set this to true to enable scaling (zooming in and out by gesture) for
the chart (this does not effect dragging) on both X- and Y-Axis.
CubicIntensity
ci
float[]
Set the intensity of the cubic line graph.
A value from 0.0 to 1.0
ScaleXEnabled
enabled
boolean
Set this to true to enable scaling (zooming in and out by gesture) for
the chart (this does not effect dragging) in X direction
Chart_3_Data
c3d
float[]
Set the data for line chart 3
Chart_6_Data
c6d
float[]
Set the data for line chart 6
YaxisRightMaxVal
yamv
float
Set the maximum value for the y axis (Right)
If a value is not set then it will be calculated automatically
Chart_9_Data
c9d
float[]
Set the data for line chart 9
Tag
java.lang.Object
arg0
java.lang.Object
YaxisDependancy
yad
java.lang.String[]
Sets the Y axis dependancy
Pass an array of strings (maximum 5) of "LEFT"'s and "RIGHT"'s
HorizontalGridColorRight
hgcr
int
Sets the Horizontal grid color for the Right Y axis
Chart_2_Data
c2d
float[]
Set the data for line chart 2
ChartDescriptionTextSize
size
float
Set the text size of the chart description / main title
NoOfMarkerDigits
NoOfMarkerDigits
int
set the number of insignificant digits to appear in the markers
DrawBorders
enabled
boolean
Sets drawing the border to true or false. If this is enabled, there is
no point drawing the axis-lines of x- and y-axis.
DrawXaxisGridLines
dxagl
boolean
set draw x-axis grid lines
YaxisTextAngle
angle
float
Sets the angle to rotate the Y-axis labels by
Suggest rotation of between -30.0 and 30.0 where 0.0 will be no rotation (i.e text horizontal)
TheLegendColor
lcolor
int
Set the legend text color
This will be overridden if LegendTextColorsToMatchLineColors = True in
which case the legend text color will match the corresponding line color
ChartDescription
descrip
java.lang.String
Set the chart description / chart main title
YaxisLeftLabelCount
mlyalc
int
Set the label count for the left Y Axis
YaxisRightTextColor
ycolor
int
set Y-Axis Right text color
XaxisTextSize
size
float
set X-Axis text size
Chart_1_Data
c1d
float[]
Set the data for line chart 1
HorizontalGridColorLeft
hgcl
int
Sets the Horizontal grid color for the Left Y axis
YaxisTextSize
size
float
set Y-Axis text size
YaxisRightMinVal
yamv
float
Set the minimum value for the y axis (Right)
If a value is not set then it will be calculated automatically
GridBackgroundColor
color
int
Sets the color for the background of the chart-drawing area (everything
behind the grid lines).
DrawGraphValues
dgv
boolean[]
Draw or don't draw values on the graph.
DrawCubicGraph
dcg
boolean[]
Draw or don't draw a cubic line graph.
Color
arg0
int
ScaleYEnabled
enabled
boolean
Set this to true to enable scaling (zooming in and out by gesture) for
the chart (this does not effect dragging) in Y direction
TheLegendTextSize
ltextsize
float
Set the legend text size
MarkerToUse
mtu
int
Set the marker (image)to be used.
An int value from 1 to 4
See the res/drawable and res/layout folders of the B4A project
LegendShapeSize
fsize
float
set the size of the legend SQUARE, CIRCLE, or LINE
DrawGridBackground
enabled
boolean
set this to true to draw the grid background, false if not
DrawGraphHollowCircles
ghc
boolean[]
Draw hollow or solid graph circles.
LineColors
linecolor
int[]
Set the colors of the individual line charts
A maximum of 5 colors can be set (one for each of max 5 line charts)
YaxisLeftNumberOfDigits
YaxisLeftNumberOfDigits
int
YaxisRightStartAtZero
rxsaz
boolean
GraphCircleSize
gcs
float[]
Set the size of the graph small circles.
YaxisRightLabelCount
mryalc
int
Set the label count for the right Y Axis
Parent
java.lang.Object
SavedImageBackgroundColor
color
int
Set the outer zone color for the chart being saved
LegendXEntrySpace
space
float
sets the space between the legend entries on a horizontal axis in pixels,
converts to dp internally
Default value is 6.0f
XaxisLabelsToSkip
sxalts
int
Sets the number of labels that should be skipped on the axis before the
next label is drawn. This will disable the feature that automatically
calculates an adequate space between the axis labels and set the number
of labels to be skipped to the fixed number provided by this method.
Chart_5_Data
c5d
float[]
Set the data for line chart 5
Chart_10_Data
c10d
float[]
Set the data for line chart 10
DrawAxisLine
dxal
boolean
set draw x-axis line
DrawLeftGridDashed
dlgd
boolean
Sets the Left Y axis grid to be drawn dashed or solid
Chart_4_Data
c4d
float[]
Set the data for line chart 4
Padding
int[]
arg0
int[]
Height
int
height
int
VerticalGridColor
vgc
int
Sets the Vertical grid color
FillColor
fc
int[]
Set the color to fill the area between the line charts and the X axis with.
LegendVisible
legendvisible
boolean
show or don't show the legend
XAnimate
xa
boolean
Set wether Animation in X direction should be enable when drawing the charts
PinchZoom
pz
boolean
if set to true, both x and y axis can be scaled with 2 fingers, if false,
x and y axis can be scaled separately. default: false
GraphCircleColor
gcc
int[]
Set the color of the graph small circles.
LegendTextColorsToMatchLineColors
LegendTextColorsToMatchLineColors
boolean
YaxisLeftMinVal
yamv
float
Set the minimum value for the y axis (Left)
If a value is not set then it will be calculated automatically
ba
anywheresoftware.b4a.BA
mpandroidchartwrapper.multiScatterChartWrapper
MultiScatterChart
com.github.mikephil.charting.charts.ScatterChart
process
clearValues
Clears this data object from all DataSets and removes all Entries. Don't
forget to invalidate the chart after this.
void
setDescriptionPosition
Sets a custom position for the description text in pixels on the screen.
x: - xcoordinate
y: - ycoordinate
void
x
float
y
float
DesignerCreateView
void
base
anywheresoftware.b4a.objects.PanelWrapper
lw
anywheresoftware.b4a.objects.LabelWrapper
props
anywheresoftware.b4a.objects.collections.Map
IsInitialized
boolean
Initialize
void
ba
anywheresoftware.b4a.BA
EventName
java.lang.String
BringToFront
void
SetLayout
void
arg0
int
arg1
int
arg2
int
arg3
int
SendToBack
void
SetVisibleAnimated
void
arg0
int
arg1
boolean
RemoveView
void
Invalidate3
void
arg0
int
arg1
int
arg2
int
arg3
int
Invalidate2
void
arg0
android.graphics.Rect
setTheLegendPositionAndForm
void
legendpos
java.lang.String
legendform
java.lang.String
SetColorAnimated
void
arg0
int
arg1
int
arg2
int
SetBackgroundImageNew
anywheresoftware.b4a.objects.drawable.BitmapDrawable
arg0
android.graphics.Bitmap
setScatterData
void
numberOfCharts
int
numberOfEntriesPerChart
int
enableScroll
enables intercept touchevents
void
saveToGallery
Saves the current state of the chart to the gallery as a JPEG image. The
filename and compression can be set. 0 == maximum compression, 100 = low
compression (high quality). NOTE: Needs permission WRITE_EXTERNAL_STORAGE
fileName e.g. "my_image"
quality e.g. 50, min = 0, max = 100
void
fileName
java.lang.String
quality
int
disableScroll
disables intercept touchevents
void
saveToPath
Saves the current chart state with the given name to the given path on
the sdcard leaving the path empty "" will put the saved file directly on
the SD card chart is saved as a PNG image, example:
saveToPath("myfilename", "foldername1/foldername2");
fileName e.g. "my_image"
pathOnSD e.g. "folder1/folder2/folder3"
void
fileName
java.lang.String
pathOnSD
java.lang.String
Invalidate
void
SetLayoutAnimated
void
arg0
int
arg1
int
arg2
int
arg3
int
arg4
int
RequestFocus
boolean
Chart_2_Data
c2d
float[]
YaxisTextColor
ycolor
int
set Y-Axis text color
Left
int
left
int
ChartDescriptionTextSize
size
float
BorderColor
color
int
Sets the color of the chart border lines.
ChartAnimationTime
at
int
LegendTitle
lt
java.lang.String
DrawBorders
enabled
boolean
Sets drawing the borders rectangle to true. If this is enabled, there is
no point drawing the axis-lines of x- and y-axis.
DrawXaxisGridLines
dxagl
boolean
set draw x-axis grid lines
TheLegendColor
lcolor
int
ChartDescription
descrip
java.lang.String
ScatterColors
scattercolor
int[]
DragEnabled
enabled
boolean
Set this to true to enable dragging (moving the chart with the finger)
for the chart (this does not effect scaling).
ChartDescriptionColor
color
int
YaxisMaxVal
yamv
float
Set the maximum value for the y axis
If a value is not set then it will be calculated automatically
XaxisTextSize
size
float
set X-Axis text size
DoubleTapToZoomEnabled
enabled
boolean
Set this to true to enable zooming in by double-tap on the chart.
Default: enabled
ShowYaxisLeftLabels
slyal
boolean
Show or don't show the left Y-Axis labels.
YaxisMinVal
yamv
float
Set the minimum value for the y axis
If a value is not set then it will be calculated automatically
Chart_1_Data
c1d
float[]
YaxisTextSize
size
float
set Y-Axis text size
ChartData
cdata
float[]
Background
android.graphics.drawable.Drawable
arg0
android.graphics.drawable.Drawable
YAnimate
ya
boolean
GridBackgroundColor
color
int
Sets the color for the background of the chart-drawing area (everything
behind the grid lines).
DrawGraphValues
dgv
boolean[]
Draw or don't draw values on the graph.
Color
arg0
int
ScatterShape
shape
java.lang.String[]
sets the shape of the scatter graphs
Can be CIRCLE, SQUARE, TRIANGLE, CROSS
ScaleYEnabled
enabled
boolean
TheLegendTextSize
ltextsize
float
Top
int
top
int
MarkerToUse
mtu
int
Set the marker (image)to be used.
An int value from 1 to 4
See the res/drawable and res/layout folders of the B4A project
LegendShapeSize
fsize
float
LegendEntrySpace
space
float
sets the space between the legend entries on a horizontal axis in pixels,
converts to dp internally
Default value is 6.0f
DrawGridBackground
enabled
boolean
set this to true to draw the grid background, false if not
MaxVisibleValueCount
mvvc
int
XaxisTextColor
xcolor
int
set X-Axis text color
ValueTextColor
valuecolor
int[]
XaxisLables
xal
java.lang.String[]
Set the X-Axis labels.
Parent
java.lang.Object
SavedImageBackgroundColor
color
int
BorderWidth
width
float
Sets the width of the border lines in dp.
Chart_5_Data
c5d
float[]
XaxisLabelPosition
xalp
java.lang.String
set x-axis label position
DrawYaxisGridLines
dyagl
boolean
set draw y-axis grid lines
ShowYaxisRightLabels
sryal
boolean
Show or don't show the right Y-Axis labels.
DrawAxisLine
dxal
boolean
set draw x-axis line
XYAnimate
xya
boolean
Chart_4_Data
c4d
float[]
ValueTextSize
vts
float[]
ChartBitmap
android.graphics.Bitmap
Returns the bitmap that represents the chart.
Visible
boolean
arg0
boolean
Padding
int[]
arg0
int[]
Height
int
height
int
Width
int
Width
int
FillColor
fc
int[]
Set the color to fill the area between the graph and the X axis with.
LegendText
ltext
java.lang.String[]
XAnimate
xa
boolean
Enabled
boolean
arg0
boolean
ScaleEnabled
enabled
boolean
Set this to true to enable scaling (zooming in and out by gesture) for
the chart (this does not effect dragging) on both X- and Y-Axis.
PinchZoom
pz
boolean
if set to true, both x and y axis can be scaled with 2 fingers, if false,
x and y axis can be scaled separately. default: false
ScaleXEnabled
enabled
boolean
ScatterShapeSize
size
float[]
sets the size of the scatter shapes
Chart_3_Data
c3d
float[]
Tag
java.lang.Object
arg0
java.lang.Object
ba
anywheresoftware.b4a.BA
mpandroidchartwrapper.pieChartWrapper
PieChart
com.github.mikephil.charting.charts.PieChart
process
value_selected(index As Int, value As Float)
long_pressed()
clearValues
Clears this data object from all DataSets and removes all Entries. Don't
forget to invalidate the chart after this.
void
onNothingSelected
void
DesignerCreateView
void
base
anywheresoftware.b4a.objects.PanelWrapper
lw
anywheresoftware.b4a.objects.LabelWrapper
props
anywheresoftware.b4a.objects.collections.Map
IsInitialized
boolean
Initialize
void
ba
anywheresoftware.b4a.BA
EventName
java.lang.String
onChartScale
Callbacks when the chart is scaled / zoomed via pinch zoom gesture.
me:
scaleX: scalefactor on the x-axis
scaleY: scalefactor on the y-axis
void
me
android.view.MotionEvent
scaleX
float
scaleY
float
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
onChartSingleTapped
Callbacks when the chart is single-tapped.
me:
void
me
android.view.MotionEvent
BringToFront
void
SetLayout
void
arg0
int
arg1
int
arg2
int
arg3
int
SendToBack
void
isDrawRoundedSlicesEnabled
Returns true if the chart is set to draw each end of a pie-slice
"rounded".
Return type: @return:
boolean
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
SetVisibleAnimated
void
arg0
int
arg1
boolean
onChartTranslate
Callbacks when the chart is moved / translated via drag gesture.
me:
dX: translation distance on the x-axis
dY: translation distance on the y-axis
void
me
android.view.MotionEvent
dX
float
dY
float
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
onValueSelected
void
e
com.github.mikephil.charting.data.Entry
dataSetIndex
int
h
com.github.mikephil.charting.highlight.Highlight
RemoveView
void
Invalidate3
void
arg0
int
arg1
int
arg2
int
arg3
int
Invalidate2
void
arg0
android.graphics.Rect
onChartLongPressed
Callbacks when the chart is longpressed.
me:
void
me
android.view.MotionEvent
isDrawCenterTextEnabled
returns true if drawing the center text is enabled
Return type: @return:
boolean
SetColorAnimated
void
arg0
int
arg1
int
arg2
int
isUsePercentValuesEnabled
Returns true if using percentage values is enabled for the chart.
Return type: @return:
boolean
SetBackgroundImageNew
anywheresoftware.b4a.objects.drawable.BitmapDrawable
arg0
android.graphics.Bitmap
saveToGallery
Saves the current state of the chart to the gallery as a JPEG image. The
filename and compression can be set. 0 == maximum compression, 100 = low
compression (high quality). NOTE: Needs permission WRITE_EXTERNAL_STORAGE
fileName e.g. "my_image"
quality e.g. 50, min = 0, max = 100
void
fileName
java.lang.String
quality
int
onChartFling
Callbacks then a fling gesture is made on the chart.
me1:
me2:
velocityX:
velocityY:
void
me1
android.view.MotionEvent
me2
android.view.MotionEvent
velocityX
float
velocityY
float
isDrawSliceTextEnabled
returns true if drawing x-values is enabled, false if not
Return type: @return:
boolean
saveToPath
Saves the current chart state with the given name to the given path on
the sdcard leaving the path empty "" will put the saved file directly on
the SD card chart is saved as a PNG image, example:
saveToPath("myfilename", "foldername1/foldername2");
fileName e.g. "my_image"
pathOnSD e.g. "folder1/folder2/folder3"
void
fileName
java.lang.String
pathOnSD
java.lang.String
Invalidate
void
onChartDoubleTapped
void
me
android.view.MotionEvent
SetLayoutAnimated
void
arg0
int
arg1
int
arg2
int
arg3
int
arg4
int
RequestFocus
boolean
ValueTextColor
valuecolor
int
Left
int
left
int
TheLegendPosition
legendpos
java.lang.String
ChartDescriptionTextSize
size
float
UsePercentValues
enabled
boolean
If this is enabled, values inside the PieChart are drawn in percent and
not with their original value. Values provided for the ValueFormatter to
format are then provided in percent.
Parent
java.lang.Object
SavedImageBackgroundColor
color
int
HoleRadius
float
percent
float
Returns the size of the hole radius in percent of the total radius.
LegendTitle
lt
java.lang.String
PieColors
piecolor
int[]
CenterTextSize
sizeDp
float
Sets the size of the center text of the PieChart in dp.
TheLegendColor
lcolor
int
ChartDescription
descrip
java.lang.String
ChartDescriptionColor
color
int
DrawCenterText
enabled
boolean
set this to true to draw the text that is displayed in the center of the
pie chart
CenterTextSizePixels
sizePixels
float
Sets the size of the center text of the PieChart in pixels.
RotationEnabled
enabled
boolean
CenterText
java.lang.String
text
java.lang.String
returns the text that is drawn in the center of the pie-chart
ValueTextSize
vts
int
ChartBitmap
android.graphics.Bitmap
Returns the bitmap that represents the chart.
Visible
boolean
arg0
boolean
Padding
int[]
arg0
int[]
Height
int
height
int
Width
int
Width
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.
DrawSliceText
enabled
boolean
set this to true to draw the x-value text into the pie slices
LegendText
ltext
java.lang.String[]
ChartData
cdata
float[]
Background
android.graphics.drawable.Drawable
arg0
android.graphics.drawable.Drawable
Color
arg0
int
HoleColorTransparent
enable
boolean
Set the hole in the center of the PieChart transparent. Thank you, code
provided by:
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
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
Enabled
boolean
arg0
boolean
TransparentCircleColor
color
int
Sets the color the transparent-circle should have.
TransparentCircleAlpha
alpha
int
Sets the amount of transparency the transparent circle should have 0 = fully transparent, 255 = fully opaque.
Default value is 100.
DrawHoleEnabled
enabled
boolean
set this to true to draw the pie center empty
TheLegendTextSize
ltextsize
float
Top
int
top
int
CenterTextColor
color
int
Sets the color of the center text of the PieChart.
PieData
count
int
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%)
Tag
java.lang.Object
arg0
java.lang.Object
ba
anywheresoftware.b4a.BA
mpandroidchartwrapper.radarChartWrapper
RadarChart
com.github.mikephil.charting.charts.RadarChart
process
value_selected(index As Int, value As Float)
clearValues
Clears this data object from all DataSets and removes all Entries. Don't
forget to invalidate the chart after this.
void
onNothingSelected
void
DesignerCreateView
void
base
anywheresoftware.b4a.objects.PanelWrapper
lw
anywheresoftware.b4a.objects.LabelWrapper
props
anywheresoftware.b4a.objects.collections.Map
IsInitialized
boolean
Initialize
void
ba
anywheresoftware.b4a.BA
EventName
java.lang.String
BringToFront
void
SetLayout
void
arg0
int
arg1
int
arg2
int
arg3
int
SendToBack
void
SetVisibleAnimated
void
arg0
int
arg1
boolean
onValueSelected
void
e
com.github.mikephil.charting.data.Entry
dataSetIndex
int
h
com.github.mikephil.charting.highlight.Highlight
RemoveView
void
setRadarData
void
numberOfCharts
int
numberOfEntriesPerChart
int
Invalidate3
void
arg0
int
arg1
int
arg2
int
arg3
int
Invalidate2
void
arg0
android.graphics.Rect
setTheLegendPositionAndForm
void
legendpos
java.lang.String
legendform
java.lang.String
SetColorAnimated
void
arg0
int
arg1
int
arg2
int
SetBackgroundImageNew
anywheresoftware.b4a.objects.drawable.BitmapDrawable
arg0
android.graphics.Bitmap
saveToGallery
Saves the current state of the chart to the gallery as a JPEG image. The
filename and compression can be set. 0 == maximum compression, 100 = low
compression (high quality). NOTE: Needs permission WRITE_EXTERNAL_STORAGE
fileName e.g. "my_image"
quality e.g. 50, min = 0, max = 100
void
fileName
java.lang.String
quality
int
saveToPath
Saves the current chart state with the given name to the given path on
the sdcard leaving the path empty "" will put the saved file directly on
the SD card chart is saved as a PNG image, example:
saveToPath("myfilename", "foldername1/foldername2");
fileName e.g. "my_image"
pathOnSD e.g. "folder1/folder2/folder3"
void
fileName
java.lang.String
pathOnSD
java.lang.String
Invalidate
void
SetLayoutAnimated
void
arg0
int
arg1
int
arg2
int
arg3
int
arg4
int
RequestFocus
boolean
Chart_2_Data
c2d
float[]
YaxisTextColor
ycolor
int
set Y-Axis text color
Left
int
left
int
ChartDescriptionTextSize
size
float
NoOfMarkerDigits
NoOfMarkerDigits
int
set the number of insignificant digits to appear in the markers
ChartAnimationTime
at
int
TheLegendColor
lcolor
int
ChartDescription
descrip
java.lang.String
ShowCrossHair
sch
boolean
Show or don't show the cross hair
when the graph is touched
ChartDescriptionColor
color
int
YaxisMaxVal
yamv
float
Set the maximum value for the y axis
If a value is not set then it will be calculated automatically
XaxisTextSize
size
float
set X-Axis text size
WebRadialColor
wrc
int
YaxisMinVal
yamv
float
Set the minimum value for the y axis
If a value is not set then it will be calculated automatically
Chart_1_Data
c1d
float[]
YaxisTextSize
size
float
set Y-Axis text size
Background
android.graphics.drawable.Drawable
arg0
android.graphics.drawable.Drawable
DrawFilled
df
boolean
Fill or don't fill the area between the graph and the X axis.
GraphLineColor
glc
int[]
Set the color to fill the area between the graph and the X axis with.
DrawGraphValues
dgv
boolean
Draw or don't draw values on the graph.
Color
arg0
int
ConcentricLineWidth
clw
float
TheLegendTextSize
ltextsize
float
Top
int
top
int
MarkerToUse
mtu
int
Set the marker (image)to be used.
An int value from 1 to 4
See the res/drawable and res/layout folders of the B4A project
LegendShapeSize
fsize
float
XaxisTextColor
xcolor
int
set X-Axis text color
ValueTextColor
valuecolor
int
XaxisLables
xal
java.lang.String[]
Set the X-Axis labels.
Parent
java.lang.Object
SavedImageBackgroundColor
color
int
Chart_5_Data
c5d
float[]
GraphValueDigits
displayvaluedigits
int[]
set the number of insignificant digits to appear in the graph values
RotationEnabled
enabled
boolean
Chart_4_Data
c4d
float[]
WebConcentricColor
wcc
int
WebAlpha
wa
int
ValueTextSize
vts
int
ChartBitmap
android.graphics.Bitmap
Returns the bitmap that represents the chart.
Visible
boolean
arg0
boolean
Padding
int[]
arg0
int[]
Height
int
height
int
GraphLineWidth
glw
float
Set the width of the graph line.
Width
int
Width
int
RadialLineWidth
rlw
float
LegendText
lt
java.lang.String[]
LegendVisible
legendvisible
boolean
show or don't show the legend
Enabled
boolean
arg0
boolean
DrawWeb
dw
boolean
YaxisNumberOfDigits
YaxisNumberOfDigits
int
Chart_3_Data
c3d
float[]
Tag
java.lang.Object
arg0
java.lang.Object
ba
anywheresoftware.b4a.BA
mpandroidchartwrapper.stackedBarChartWrapper
StackedBarChart
com.github.mikephil.charting.charts.BarChart
process
clearValues
Clears this data object from all DataSets and removes all Entries. Don't
forget to invalidate the chart after this.
void
setDescriptionPosition
Sets a custom position for the description text in pixels on the screen.
x: - xcoordinate
y: - ycoordinate
void
x
float
y
float
DesignerCreateView
void
base
anywheresoftware.b4a.objects.PanelWrapper
lw
anywheresoftware.b4a.objects.LabelWrapper
props
anywheresoftware.b4a.objects.collections.Map
IsInitialized
boolean
Initialize
void
ba
anywheresoftware.b4a.BA
EventName
java.lang.String
setBarData
void
numberOfCharts
int
numberOfEntriesPerChart
int
BringToFront
void
SetLayout
void
arg0
int
arg1
int
arg2
int
arg3
int
SendToBack
void
SetVisibleAnimated
void
arg0
int
arg1
boolean
RemoveView
void
Invalidate3
void
arg0
int
arg1
int
arg2
int
arg3
int
Invalidate2
void
arg0
android.graphics.Rect
setTheLegendPositionAndForm
void
legendpos
java.lang.String
legendform
java.lang.String
SetColorAnimated
void
arg0
int
arg1
int
arg2
int
SetBackgroundImageNew
anywheresoftware.b4a.objects.drawable.BitmapDrawable
arg0
android.graphics.Bitmap
enableScroll
enables intercept touchevents
void
saveToGallery
Saves the current state of the chart to the gallery as a JPEG image. The
filename and compression can be set. 0 == maximum compression, 100 = low
compression (high quality). NOTE: Needs permission WRITE_EXTERNAL_STORAGE
fileName e.g. "my_image"
quality e.g. 50, min = 0, max = 100
void
fileName
java.lang.String
quality
int
disableScroll
disables intercept touchevents
void
saveToPath
Saves the current chart state with the given name to the given path on
the sdcard leaving the path empty "" will put the saved file directly on
the SD card chart is saved as a PNG image, example:
saveToPath("myfilename", "foldername1/foldername2");
fileName e.g. "my_image"
pathOnSD e.g. "folder1/folder2/folder3"
void
fileName
java.lang.String
pathOnSD
java.lang.String
Invalidate
void
SetLayoutAnimated
void
arg0
int
arg1
int
arg2
int
arg3
int
arg4
int
RequestFocus
boolean
Chart_2_Data
c2d
float[]
YaxisTextColor
ycolor
int
set Y-Axis text color
Left
int
left
int
ChartDescriptionTextSize
size
float
BorderColor
color
int
Sets the color of the chart border lines.
ChartAnimationTime
at
int
LegendTitle
lt
java.lang.String
DrawBorders
enabled
boolean
Sets drawing the borders rectangle to true. If this is enabled, there is
no point drawing the axis-lines of x- and y-axis.
DrawXaxisGridLines
dxagl
boolean
set draw x-axis grid lines
TheLegendColor
lcolor
int
ChartDescription
descrip
java.lang.String
DragEnabled
enabled
boolean
Set this to true to enable dragging (moving the chart with the finger)
for the chart (this does not effect scaling).
ChartDescriptionColor
color
int
YaxisMaxVal
yamv
float
Set the maximum value for the y axis
If a value is not set then it will be calculated automatically
XaxisTextSize
size
float
set X-Axis text size
DoubleTapToZoomEnabled
enabled
boolean
Set this to true to enable zooming in by double-tap on the chart.
Default: enabled
ShowYaxisLeftLabels
slyal
boolean
Show or don't show the left Y-Axis labels.
YaxisMinVal
yamv
float
Set the minimum value for the y axis
If a value is not set then it will be calculated automatically
Chart_1_Data
c1d
float[]
YaxisTextSize
size
float
set Y-Axis text size
ChartData
cdata
float[]
Background
android.graphics.drawable.Drawable
arg0
android.graphics.drawable.Drawable
YAnimate
ya
boolean
GridBackgroundColor
color
int
Sets the color for the background of the chart-drawing area (everything
behind the grid lines).
DrawGraphValues
dgv
boolean
Draw or don't draw values on the graph.
Color
arg0
int
ScaleYEnabled
enabled
boolean
TheLegendTextSize
ltextsize
float
Top
int
top
int
MarkerToUse
mtu
int
Set the marker (image)to be used.
An int value from 1 to 4
See the res/drawable and res/layout folders of the B4A project
LegendShapeSize
fsize
float
LegendEntrySpace
space
float
sets the space between the legend entries on a horizontal axis in pixels,
converts to dp internally
Default value is 6.0f
DrawGridBackground
enabled
boolean
set this to true to draw the grid background, false if not
MaxVisibleValueCount
mvvc
int
XaxisTextColor
xcolor
int
set X-Axis text color
ValueTextColor
valuecolor
int
XaxisLables
xal
java.lang.String[]
Set the X-Axis labels.
Parent
java.lang.Object
SavedImageBackgroundColor
color
int
BorderWidth
width
float
Sets the width of the border lines in dp.
Chart_5_Data
c5d
float[]
XaxisLabelPosition
xalp
java.lang.String
set x-axis label position
DrawYaxisGridLines
dyagl
boolean
set draw y-axis grid lines
ShowYaxisRightLabels
sryal
boolean
Show or don't show the right Y-Axis labels.
DrawAxisLine
dxal
boolean
set draw x-axis line
XYAnimate
xya
boolean
Chart_4_Data
c4d
float[]
ValueTextSize
vts
float
ChartBitmap
android.graphics.Bitmap
Returns the bitmap that represents the chart.
Visible
boolean
arg0
boolean
Padding
int[]
arg0
int[]
Height
int
height
int
Width
int
Width
int
FillColor
fc
int[]
Set the color to fill the area between the graph and the X axis with.
BarColors
barcolor
int[]
LegendText
ltext
java.lang.String[]
XAnimate
xa
boolean
Enabled
boolean
arg0
boolean
ScaleEnabled
enabled
boolean
Set this to true to enable scaling (zooming in and out by gesture) for
the chart (this does not effect dragging) on both X- and Y-Axis.
PinchZoom
pz
boolean
if set to true, both x and y axis can be scaled with 2 fingers, if false,
x and y axis can be scaled separately. default: false
ScaleXEnabled
enabled
boolean
Chart_3_Data
c3d
float[]
Tag
java.lang.Object
arg0
java.lang.Object
ba
anywheresoftware.b4a.BA
1.12
Johan Schoeman