1.04
mpandroidchartwrapper.barChartWrapper
BarChart
com.github.mikephil.charting.charts.BarChart
process
RequestFocus
boolean
BringToFront
void
setTheLegendPositionAndForm
void
legendpos
java.lang.String
legendform
java.lang.String
RemoveView
void
SetBackgroundImage
void
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
Invalidate3
void
arg0
int
arg1
int
arg2
int
arg3
int
Invalidate2
void
arg0
android.graphics.Rect
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
disableScroll
disables intercept touchevents
void
clearValues
Clears this data object from all DataSets and removes all Entries. Don't
forget to invalidate the chart after this.
void
IsInitialized
boolean
Initialize
void
ba
anywheresoftware.b4a.BA
EventName
java.lang.String
Invalidate
void
SetLayout
void
arg0
int
arg1
int
arg2
int
arg3
int
DesignerCreateView
void
base
anywheresoftware.b4a.objects.PanelWrapper
lw
anywheresoftware.b4a.objects.LabelWrapper
props
anywheresoftware.b4a.objects.collections.Map
SetColorAnimated
void
arg0
int
arg1
int
arg2
int
SetLayoutAnimated
void
arg0
int
arg1
int
arg2
int
arg3
int
arg4
int
SetVisibleAnimated
void
arg0
int
arg1
boolean
setDescriptionPosition
Sets a custom position for the description text in pixels on the screen.
x: - xcoordinate
y: - ycoordinate
void
x
float
y
float
SendToBack
void
enableScroll
enables intercept touchevents
void
ChartData
cdata
float[]
Visible
boolean
arg0
boolean
NoOfMarkerDigits
NoOfMarkerDigits
int
set the number of insignificant digits to appear in the markers
TheLegendTextSize
ltextsize
float
ChartAnimationTime
at
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).
ShowYaxisLeftLabels
slyal
boolean
Show or don't show the left Y-Axis labels.
DrawValueAboveBar
dvab
boolean
YAxisMinValue
min
float
Set a custom minimum value for this axis.
DoubleTapToZoomEnabled
enabled
boolean
Set this to true to enable zooming in by double-tap on the chart.
Default: enabled
Tag
java.lang.Object
arg0
java.lang.Object
LegendTitle
lt
java.lang.String
XaxisLabelPosition
xalp
java.lang.String
set x-axis label position
Width
int
Width
int
DrawXaxisGridLines
dxagl
boolean
set draw x-axis grid lines
YaxisTextSize
size
float
set Y-Axis text size
Parent
java.lang.Object
LegendText
ltext
java.lang.String[]
Top
int
top
int
BarData
count
int
DrawBarShadow
dbs
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.
ValueTextSize
vts
int
XYAnimate
xya
boolean
Height
int
height
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
Left
int
left
int
XAnimate
xa
boolean
Color
arg0
int
BorderWidth
width
float
Sets the width of the border lines in dp.
ChartDescription
descrip
java.lang.String
ValueTextColor
valuecolor
int
DrawYaxisGridLines
dyagl
boolean
set draw y-axis grid lines
SavedImageBackgroundColor
color
int
MaxVisibleValueCount
mvvc
int
ShowYaxisRightLabels
sryal
boolean
Show or don't show the right Y-Axis labels.
DrawAxisLine
dxal
boolean
set draw x-axis line
YAnimate
ya
boolean
Enabled
boolean
arg0
boolean
YaxisTextColor
ycolor
int
set Y-Axis text color
ScaleXEnabled
enabled
boolean
ChartDescriptionTextSize
size
float
Background
android.graphics.drawable.Drawable
arg0
android.graphics.drawable.Drawable
YAxisMaxValue
max
float
Set a custom maximum value for this axis.
ScaleYEnabled
enabled
boolean
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.
LegendShapeSize
fsize
float
XaxisTextSize
size
float
set X-Axis text size
ChartBitmap
android.graphics.Bitmap
Returns the bitmap that represents the chart.
ChartDescriptionColor
color
int
GridBackgroundColor
color
int
Sets the color for the background of the chart-drawing area (everything
behind the grid lines).
TheLegendColor
lcolor
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
DrawHighlightArrow
enabled
boolean
set this to true to draw the highlightning arrow
BarColors
piecolor
int[]
XaxisTextColor
xcolor
int
set X-Axis text color
DrawGridBackground
enabled
boolean
set this to true to draw the grid background, false if not
BorderColor
color
int
Sets the color of the chart border lines.
ba
anywheresoftware.b4a.BA
mpandroidchartwrapper.candleStickChartWrapper
CandleStickChart
com.github.mikephil.charting.charts.CandleStickChart
process
RequestFocus
boolean
BringToFront
void
setTheLegendPositionAndForm
void
legendpos
java.lang.String
legendform
java.lang.String
RemoveView
void
SetBackgroundImage
void
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
Invalidate3
void
arg0
int
arg1
int
arg2
int
arg3
int
Invalidate2
void
arg0
android.graphics.Rect
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
disableScroll
disables intercept touchevents
void
clearValues
Clears this data object from all DataSets and removes all Entries. Don't
forget to invalidate the chart after this.
void
IsInitialized
boolean
Initialize
void
ba
anywheresoftware.b4a.BA
EventName
java.lang.String
Invalidate
void
SetLayout
void
arg0
int
arg1
int
arg2
int
arg3
int
DesignerCreateView
void
base
anywheresoftware.b4a.objects.PanelWrapper
lw
anywheresoftware.b4a.objects.LabelWrapper
props
anywheresoftware.b4a.objects.collections.Map
SetColorAnimated
void
arg0
int
arg1
int
arg2
int
SetLayoutAnimated
void
arg0
int
arg1
int
arg2
int
arg3
int
arg4
int
SetVisibleAnimated
void
arg0
int
arg1
boolean
setDescriptionPosition
Sets a custom position for the description text in pixels on the screen.
x: - xcoordinate
y: - ycoordinate
void
x
float
y
float
SendToBack
void
enableScroll
enables intercept touchevents
void
ChartData
cdata
float[]
Visible
boolean
arg0
boolean
ShadowWidth
sw
float
TheLegendTextSize
ltextsize
float
ChartAnimationTime
at
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).
ShowYaxisLeftLabels
slyal
boolean
Show or don't show the left Y-Axis labels.
LegendCustomText
lct
java.lang.String[]
TheLegendTextColor
lcolor
int
DoubleTapToZoomEnabled
enabled
boolean
Set this to true to enable zooming in by double-tap on the chart.
Default: enabled
Chart_High_Data
c1d
float[]
Tag
java.lang.Object
arg0
java.lang.Object
ShadowColor
sc
int
DrawValues
dv
boolean
XaxisLabelPosition
xalp
java.lang.String
set x-axis label position
Width
int
Width
int
DrawXaxisGridLines
dxagl
boolean
set draw x-axis grid lines
YaxisTextSize
size
float
set Y-Axis text size
Chart_Low_Data
c2d
float[]
Parent
java.lang.Object
Top
int
top
int
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.
ValueTextSize
vts
float
XYAnimate
xya
boolean
Height
int
height
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
CandleData
numberOfEntries
int
Left
int
left
int
XAnimate
xa
boolean
Color
arg0
int
BorderWidth
width
float
Sets the width of the border lines in dp.
YaxisMinVal
yamv
float
Set the minimum value for the y axis
If a value is not set then it will be calculated automatically
ChartDescription
descrip
java.lang.String
ValueTextColor
valuecolor
int
DrawYaxisGridLines
dyagl
boolean
set draw y-axis grid lines
SavedImageBackgroundColor
color
int
MaxVisibleValueCount
mvvc
int
XaxisLables
xal
java.lang.String[]
Set the X-Axis labels.
ShowYaxisRightLabels
sryal
boolean
Show or don't show the right Y-Axis labels.
DrawAxisLine
dxal
boolean
set draw x-axis line
YAnimate
ya
boolean
Enabled
boolean
arg0
boolean
YaxisTextColor
ycolor
int
set Y-Axis text color
Chart_Close_Data
c4d
float[]
ScaleXEnabled
enabled
boolean
ChartDescriptionTextSize
size
float
Background
android.graphics.drawable.Drawable
arg0
android.graphics.drawable.Drawable
ScaleYEnabled
enabled
boolean
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.
LegendShapeSize
fsize
float
FillColor
fc
int[]
Set the color to fill the area between the graph and the X axis with.
XaxisTextSize
size
float
set X-Axis text size
ChartBitmap
android.graphics.Bitmap
Returns the bitmap that represents the chart.
ChartDescriptionColor
color
int
Chart_Open_Data
c3d
float[]
CurrentValue
cv
float[]
GridBackgroundColor
color
int
Sets the color for the background of the chart-drawing area (everything
behind the grid lines).
LegendCustomColor
lcc
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
YaxisMaxVal
yamv
float
Set the maximum value for the y axis
If a value is not set then it will be calculated automatically
XaxisTextColor
xcolor
int
set X-Axis text color
DrawGridBackground
enabled
boolean
set this to true to draw the grid background, false if not
BorderColor
color
int
Sets the color of the chart border lines.
DecreasingColor
dec_color
int
THIS DOES NOT WORK FOR STACKED BAR CHARTS
set this to true to draw the highlightning arrow
IncreasingColor
inc_color
int
ba
anywheresoftware.b4a.BA
mpandroidchartwrapper.combinedLineBarChartWrapper
CombinedChart
com.github.mikephil.charting.charts.CombinedChart
process
RequestFocus
boolean
BringToFront
void
setTheLegendPositionAndForm
void
legendpos
java.lang.String
legendform
java.lang.String
RemoveView
void
SetBackgroundImage
void
arg0
android.graphics.Bitmap
setCombinedData
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
Invalidate3
void
arg0
int
arg1
int
arg2
int
arg3
int
generateCandleData
com.github.mikephil.charting.data.CandleData
Invalidate2
void
arg0
android.graphics.Rect
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
disableScroll
disables intercept touchevents
void
clearValues
Clears this data object from all DataSets and removes all Entries. Don't
forget to invalidate the chart after this.
void
IsInitialized
boolean
Initialize
void
ba
anywheresoftware.b4a.BA
EventName
java.lang.String
generateScatterData
com.github.mikephil.charting.data.ScatterData
generateBubbleData
com.github.mikephil.charting.data.BubbleData
Invalidate
void
SetLayout
void
arg0
int
arg1
int
arg2
int
arg3
int
DesignerCreateView
void
base
anywheresoftware.b4a.objects.PanelWrapper
lw
anywheresoftware.b4a.objects.LabelWrapper
props
anywheresoftware.b4a.objects.collections.Map
SetColorAnimated
void
arg0
int
arg1
int
arg2
int
SetLayoutAnimated
void
arg0
int
arg1
int
arg2
int
arg3
int
arg4
int
SetVisibleAnimated
void
arg0
int
arg1
boolean
setDescriptionPosition
Sets a custom position for the description text in pixels on the screen.
x: - xcoordinate
y: - ycoordinate
void
x
float
y
float
SendToBack
void
enableScroll
enables intercept touchevents
void
LineChartData
lcd
float[]
DrawDashedLine
ddl
boolean
Disables the line to be drawn in dashed mode.
Visible
boolean
arg0
boolean
TheLegendTextSize
ltextsize
float
ChartAnimationTime
at
int
ShowYaxisLeftLabels
slyal
boolean
Show or don't show the left Y-Axis labels.
LineColor
linecolor
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).
BarColor
barcolor
int
DoubleTapToZoomEnabled
enabled
boolean
Set this to true to enable zooming in by double-tap on the chart.
Default: enabled
Tag
java.lang.Object
arg0
java.lang.Object
LegendTitle
lt
java.lang.String
XaxisLabelPosition
xalp
java.lang.String
set x-axis label position
LineLegendText
ltext
java.lang.String
Width
int
Width
int
YaxisLeftMinVal
yamv
float
Set the minimum value for the y axis (Left)
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.
DrawXaxisGridLines
dxagl
boolean
set draw x-axis grid lines
BarValueTextSize
vts
float
YaxisTextSize
size
float
set Y-Axis text size
Parent
java.lang.Object
Top
int
top
int
BarAxisDependency
bad
java.lang.String
Sets the axis dependency for the Bar Chart
LEFT or RIGHT
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.
GraphCircleColor
gcc
int
Set the color of the graph small circles.
XYAnimate
xya
boolean
BarChartData
bcd
float[]
CubicIntensity
ci
float
Set the intensity of the cubic line graph.
A value from 0.0 to 1.0
GraphLineWidth
glw
float
Set the width of the graph line.
Height
int
height
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
Left
int
left
int
XAnimate
xa
boolean
Color
arg0
int
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
BorderWidth
width
float
Sets the width of the border lines in dp.
RightYaxisTextColor
rycolor
int
set the right Y-Axis text color
ChartDescription
descrip
java.lang.String
YaxisRightMinVal
yamv
float
Set the minimum value for the y axis (Right)
If a value is not set then it will be calculated automatically
DrawGraphHollowCircles
ghc
boolean
Draw hollow or solid graph circles.
DrawYaxisGridLines
dyagl
boolean
set draw y-axis grid lines
SavedImageBackgroundColor
color
int
XaxisLables
xal
java.lang.String[]
Set the X-Axis labels.
MaxVisibleValueCount
mvvc
int
ShowYaxisRightLabels
sryal
boolean
Show or don't show the right Y-Axis labels.
DrawAxisLine
dxal
boolean
set draw x-axis line
YAnimate
ya
boolean
Enabled
boolean
arg0
boolean
ScaleXEnabled
enabled
boolean
DrawCubicGraph
dcg
boolean
Draw or don't draw a cubic line graph.
LineValueTextColor
valuecolor
int
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.
ChartDescriptionTextSize
size
float
Background
android.graphics.drawable.Drawable
arg0
android.graphics.drawable.Drawable
YaxisRightMaxVal
yamv
float
Set the maximum value for the y axis (Right)
If a value is not set then it will be calculated automatically
ScaleYEnabled
enabled
boolean
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)
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
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.
LegendShapeSize
fsize
float
FillColor
fc
int[]
Set the color to fill the area between the graph and the X axis with.
XaxisTextSize
size
float
set X-Axis text size
ChartBitmap
android.graphics.Bitmap
Returns the bitmap that represents the chart.
LineAxisDependency
lad
java.lang.String
Sets the axis dependency for the Line Chart
LEFT or RIGHT
ChartDescriptionColor
color
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
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)
LeftYaxisTextColor
lycolor
int
set the left Y-Axis text color
GridBackgroundColor
color
int
Sets the color for the background of the chart-drawing area (everything
behind the grid lines).
TheLegendColor
lcolor
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
BarValueTextColor
valuecolor
int
LineValueTextSize
vts
float
DrawBarValues
dgv
boolean
Draw or don't draw bar values on the graph.
BarLegendText
btext
java.lang.String
GraphCircleSize
gcs
float
Set the size of the graph small circles.
XaxisTextColor
xcolor
int
set X-Axis text color
DrawGridBackground
enabled
boolean
set this to true to draw the grid background, false if not
BorderColor
color
int
Sets the color of the chart border lines.
CrossHairColor
cc
int
Set the color of the cross hair that appears
when the graph is touched
ba
anywheresoftware.b4a.BA
mpandroidchartwrapper.horizontalBarChartWrapper
HorizontalBarChart
com.github.mikephil.charting.charts.HorizontalBarChart
process
RequestFocus
boolean
BringToFront
void
setTheLegendPositionAndForm
void
legendpos
java.lang.String
legendform
java.lang.String
RemoveView
void
SetBackgroundImage
void
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
Invalidate3
void
arg0
int
arg1
int
arg2
int
arg3
int
Invalidate2
void
arg0
android.graphics.Rect
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
disableScroll
disables intercept touchevents
void
clearValues
Clears this data object from all DataSets and removes all Entries. Don't
forget to invalidate the chart after this.
void
IsInitialized
boolean
Initialize
void
ba
anywheresoftware.b4a.BA
EventName
java.lang.String
Invalidate
void
SetLayout
void
arg0
int
arg1
int
arg2
int
arg3
int
DesignerCreateView
void
base
anywheresoftware.b4a.objects.PanelWrapper
lw
anywheresoftware.b4a.objects.LabelWrapper
props
anywheresoftware.b4a.objects.collections.Map
SetColorAnimated
void
arg0
int
arg1
int
arg2
int
SetLayoutAnimated
void
arg0
int
arg1
int
arg2
int
arg3
int
arg4
int
SetVisibleAnimated
void
arg0
int
arg1
boolean
setDescriptionPosition
Sets a custom position for the description text in pixels on the screen.
x: - xcoordinate
y: - ycoordinate
void
x
float
y
float
SendToBack
void
enableScroll
enables intercept touchevents
void
ChartData
cdata
float[]
Visible
boolean
arg0
boolean
NoOfMarkerDigits
NoOfMarkerDigits
int
set the number of insignificant digits to appear in the markers
TheLegendTextSize
ltextsize
float
ChartAnimationTime
at
int
ShowYaxisLeftLabels
slyal
boolean
Show or don't show the left Y-Axis labels.
DragEnabled
enabled
boolean
Set this to true to enable dragging (moving the chart with the finger)
for the chart (this does not effect scaling).
DrawValueAboveBar
dvab
boolean
DoubleTapToZoomEnabled
enabled
boolean
Set this to true to enable zooming in by double-tap on the chart.
Default: enabled
YaxisLeftNumberOfDigits
YaxisLeftNumberOfDigits
int
Tag
java.lang.Object
arg0
java.lang.Object
LegendTitle
lt
java.lang.String
XaxisLabelPosition
xalp
java.lang.String
set x-axis label position
Width
int
Width
int
YaxisLeftMinVal
yamv
float
Set the minimum value for the y axis (Left)
If a value is not set then it will be calculated automatically
DrawXaxisGridLines
dxagl
boolean
set draw x-axis grid lines
YaxisTextSize
size
float
set Y-Axis text size
Parent
java.lang.Object
Top
int
top
int
LegendText
ltext
java.lang.String[]
BarData
count
int
DrawBarShadow
dbs
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.
XYAnimate
xya
boolean
ValueTextSize
vts
int
Height
int
height
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
Left
int
left
int
XAnimate
xa
boolean
Color
arg0
int
BorderWidth
width
float
Sets the width of the border lines in dp.
ChartDescription
descrip
java.lang.String
YaxisRightMinVal
yamv
float
Set the minimum value for the y axis (Right)
If a value is not set then it will be calculated automatically
GraphValueDigits
displayvaluedigits
int
set the number of insignificant digits to appear in the graph values
YaxisLeftStartAtZero
lxsaz
boolean
ValueTextColor
valuecolor
int
DrawYaxisGridLines
dyagl
boolean
set draw y-axis grid lines
SavedImageBackgroundColor
color
int
MaxVisibleValueCount
mvvc
int
ShowYaxisRightLabels
sryal
boolean
Show or don't show the right Y-Axis labels.
DrawAxisLine
dxal
boolean
set draw x-axis line
YaxisRightStartAtZero
rxsaz
boolean
YAnimate
ya
boolean
Enabled
boolean
arg0
boolean
YaxisTextColor
ycolor
int
set Y-Axis text color
ScaleXEnabled
enabled
boolean
ChartDescriptionTextSize
size
float
Background
android.graphics.drawable.Drawable
arg0
android.graphics.drawable.Drawable
YaxisRightMaxVal
yamv
float
Set the maximum value for the y axis (Right)
If a value is not set then it will be calculated automatically
ScaleYEnabled
enabled
boolean
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.
LegendShapeSize
fsize
float
XaxisTextSize
size
float
set X-Axis text size
ChartBitmap
android.graphics.Bitmap
Returns the bitmap that represents the chart.
ChartDescriptionColor
color
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
GridBackgroundColor
color
int
Sets the color for the background of the chart-drawing area (everything
behind the grid lines).
TheLegendColor
lcolor
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
YaxisRightLabelCount
mryalc
int
Set the label count for the right Y Axis
LegendVisible
legendvisible
boolean
show or don't show the legend
XaxisTextColor
xcolor
int
set X-Axis text color
BarColors
piecolor
int[]
DrawGridBackground
enabled
boolean
set this to true to draw the grid background, false if not
BorderColor
color
int
Sets the color of the chart border lines.
YaxisLeftLabelCount
mlyalc
int
Set the label count for the left Y Axis
YaxisRightNumberOfDigits
YaxisRightNumberOfDigits
int
ba
anywheresoftware.b4a.BA
mpandroidchartwrapper.lineChartWrapper
LineChart
com.github.mikephil.charting.charts.LineChart
process
value_selected(index As Int, value As Float)
RequestFocus
boolean
BringToFront
void
setTheLegendPositionAndForm
void
legendpos
java.lang.String
legendform
java.lang.String
RemoveView
void
SetBackgroundImage
void
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
Invalidate3
void
arg0
int
arg1
int
arg2
int
arg3
int
onValueSelected
void
e
com.github.mikephil.charting.data.Entry
dataSetIndex
int
h
com.github.mikephil.charting.highlight.Highlight
Invalidate2
void
arg0
android.graphics.Rect
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
disableScroll
disables intercept touchevents
void
clearValues
Clears this data object from all DataSets and removes all Entries. Don't
forget to invalidate the chart after this.
void
IsInitialized
boolean
Initialize
void
ba
anywheresoftware.b4a.BA
EventName
java.lang.String
Invalidate
void
SetLayout
void
arg0
int
arg1
int
arg2
int
arg3
int
DesignerCreateView
void
base
anywheresoftware.b4a.objects.PanelWrapper
lw
anywheresoftware.b4a.objects.LabelWrapper
props
anywheresoftware.b4a.objects.collections.Map
SetColorAnimated
void
arg0
int
arg1
int
arg2
int
onNothingSelected
void
SetLayoutAnimated
void
arg0
int
arg1
int
arg2
int
arg3
int
arg4
int
SetVisibleAnimated
void
arg0
int
arg1
boolean
setDescriptionPosition
Sets a custom position for the description text in pixels on the screen.
x: - xcoordinate
y: - ycoordinate
void
x
float
y
float
SendToBack
void
enableScroll
enables intercept touchevents
void
DrawDashedLine
ddl
boolean
Disables the line to be drawn in dashed mode.
ChartData
cdata
float[]
Visible
boolean
arg0
boolean
NoOfMarkerDigits
NoOfMarkerDigits
int
set the number of insignificant digits to appear in the markers
TheLegendTextSize
ltextsize
float
ChartAnimationTime
at
int
DrawGraphValues
dgv
boolean
Draw or don't draw values on the graph.
ShowYaxisLeftLabels
slyal
boolean
Show or don't show the left Y-Axis labels.
DragEnabled
enabled
boolean
Set this to true to enable dragging (moving the chart with the finger)
for the chart (this does not effect scaling).
DoubleTapToZoomEnabled
enabled
boolean
Set this to true to enable zooming in by double-tap on the chart.
Default: enabled
Tag
java.lang.Object
arg0
java.lang.Object
LegendTitle
lt
java.lang.String
XaxisLabelPosition
xalp
java.lang.String
set x-axis label position
Width
int
Width
int
DrawXaxisGridLines
dxagl
boolean
set draw x-axis grid lines
YaxisTextSize
size
float
set Y-Axis text size
Parent
java.lang.Object
LegendText
ltext
java.lang.String[]
Top
int
top
int
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.
GraphCircleColor
gcc
int
Set the color of the graph small circles.
ValueTextSize
vts
int
XYAnimate
xya
boolean
CubicIntensity
ci
float
Set the intensity of the cubic line graph.
A value from 0.0 to 1.0
GraphLineWidth
glw
float
Set the width of the graph line.
Height
int
height
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
Left
int
left
int
XAnimate
xa
boolean
Color
arg0
int
BorderWidth
width
float
Sets the width of the border lines in dp.
YaxisMinVal
yamv
float
Set the minimum value for the y axis
If a value is not set then it will be calculated automatically
GraphLineColor
glc
int
Set the color of the graph line.
ChartDescription
descrip
java.lang.String
DrawGraphHollowCircles
ghc
boolean
Draw hollow or solid graph circles.
ValueTextColor
valuecolor
int
DrawYaxisGridLines
dyagl
boolean
set draw y-axis grid lines
SavedImageBackgroundColor
color
int
MaxVisibleValueCount
mvvc
int
ShowYaxisRightLabels
sryal
boolean
Show or don't show the right Y-Axis labels.
DrawAxisLine
dxal
boolean
set draw x-axis line
YAnimate
ya
boolean
Enabled
boolean
arg0
boolean
YaxisTextColor
ycolor
int
set Y-Axis text color
LineColors
piecolor
int[]
ScaleXEnabled
enabled
boolean
DrawCubicGraph
dcg
boolean
Draw or don't draw a cubic line graph.
ChartDescriptionTextSize
size
float
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.
ScaleYEnabled
enabled
boolean
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.
LegendShapeSize
fsize
float
FillColor
fc
int
Set the color to fill the area between the graph and the X axis with.
XaxisTextSize
size
float
set X-Axis text size
ChartBitmap
android.graphics.Bitmap
Returns the bitmap that represents the chart.
ChartDescriptionColor
color
int
GridBackgroundColor
color
int
Sets the color for the background of the chart-drawing area (everything
behind the grid lines).
TheLegendColor
lcolor
int
LineData
count
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
YaxisMaxVal
yamv
float
Set the maximum value for the y axis
If a value is not set then it will be calculated automatically
LegendVisible
legendvisible
boolean
show or don't show the legend
XaxisTextColor
xcolor
int
set X-Axis text color
GraphCircleSize
gcs
float
Set the size of the graph small circles.
DrawGridBackground
enabled
boolean
set this to true to draw the grid background, false if not
BorderColor
color
int
Sets the color of the chart border lines.
CrossHairColor
cc
int
Set the color of the cross hair that appears
when the graph is touched
ba
anywheresoftware.b4a.BA
mpandroidchartwrapper.multiBarChartWrapper
MultiBarChart
com.github.mikephil.charting.charts.BarChart
process
RequestFocus
boolean
BringToFront
void
setTheLegendPositionAndForm
void
legendpos
java.lang.String
legendform
java.lang.String
RemoveView
void
SetBackgroundImage
void
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
Invalidate3
void
arg0
int
arg1
int
arg2
int
arg3
int
Invalidate2
void
arg0
android.graphics.Rect
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
disableScroll
disables intercept touchevents
void
clearValues
Clears this data object from all DataSets and removes all Entries. Don't
forget to invalidate the chart after this.
void
IsInitialized
boolean
Initialize
void
ba
anywheresoftware.b4a.BA
EventName
java.lang.String
Invalidate
void
SetLayout
void
arg0
int
arg1
int
arg2
int
arg3
int
setBarData
void
numberOfCharts
int
numberOfEntriesPerChart
int
DesignerCreateView
void
base
anywheresoftware.b4a.objects.PanelWrapper
lw
anywheresoftware.b4a.objects.LabelWrapper
props
anywheresoftware.b4a.objects.collections.Map
SetColorAnimated
void
arg0
int
arg1
int
arg2
int
SetLayoutAnimated
void
arg0
int
arg1
int
arg2
int
arg3
int
arg4
int
SetVisibleAnimated
void
arg0
int
arg1
boolean
setDescriptionPosition
Sets a custom position for the description text in pixels on the screen.
x: - xcoordinate
y: - ycoordinate
void
x
float
y
float
SendToBack
void
enableScroll
enables intercept touchevents
void
ChartData
cdata
float[]
Visible
boolean
arg0
boolean
NoOfMarkerDigits
NoOfMarkerDigits
int
set the number of insignificant digits to appear in the markers
TheLegendTextSize
ltextsize
float
Chart_4_Data
c4d
float[]
ChartAnimationTime
at
int
DrawGraphValues
dgv
boolean[]
Draw or don't draw values on the graph.
DragEnabled
enabled
boolean
Set this to true to enable dragging (moving the chart with the finger)
for the chart (this does not effect scaling).
ShowYaxisLeftLabels
slyal
boolean
Show or don't show the left Y-Axis labels.
Chart_7_Data
c7d
float[]
DoubleTapToZoomEnabled
enabled
boolean
Set this to true to enable zooming in by double-tap on the chart.
Default: enabled
Tag
java.lang.Object
arg0
java.lang.Object
LegendTitle
lt
java.lang.String
XaxisLabelPosition
xalp
java.lang.String
set x-axis label position
Width
int
Width
int
DrawXaxisGridLines
dxagl
boolean
set draw x-axis grid lines
YaxisTextSize
size
float
set Y-Axis text size
Parent
java.lang.Object
LegendText
ltext
java.lang.String[]
Top
int
top
int
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.
ValueTextSize
vts
float[]
XYAnimate
xya
boolean
Chart_5_Data
c5d
float[]
Height
int
height
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
Left
int
left
int
XAnimate
xa
boolean
Color
arg0
int
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
BorderWidth
width
float
Sets the width of the border lines in dp.
YaxisMinVal
yamv
float
Set the minimum value for the y axis
If a value is not set then it will be calculated automatically
ChartDescription
descrip
java.lang.String
ValueTextColor
valuecolor
int[]
DrawYaxisGridLines
dyagl
boolean
set draw y-axis grid lines
SavedImageBackgroundColor
color
int
MaxVisibleValueCount
mvvc
int
XaxisLables
xal
java.lang.String[]
Set the X-Axis labels.
ShowYaxisRightLabels
sryal
boolean
Show or don't show the right Y-Axis labels.
DrawAxisLine
dxal
boolean
set draw x-axis line
YAnimate
ya
boolean
Enabled
boolean
arg0
boolean
YaxisTextColor
ycolor
int
set Y-Axis text color
Chart_2_Data
c2d
float[]
ScaleXEnabled
enabled
boolean
ChartDescriptionTextSize
size
float
Background
android.graphics.drawable.Drawable
arg0
android.graphics.drawable.Drawable
ScaleYEnabled
enabled
boolean
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.
LegendShapeSize
fsize
float
FillColor
fc
int[]
Set the color to fill the area between the graph and the X axis with.
XaxisTextSize
size
float
set X-Axis text size
ChartBitmap
android.graphics.Bitmap
Returns the bitmap that represents the chart.
ChartDescriptionColor
color
int
GridBackgroundColor
color
int
Sets the color for the background of the chart-drawing area (everything
behind the grid lines).
TheLegendColor
lcolor
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
YaxisMaxVal
yamv
float
Set the maximum value for the y axis
If a value is not set then it will be calculated automatically
Chart_6_Data
c6d
float[]
BarColors
barcolor
int[]
XaxisTextColor
xcolor
int
set X-Axis text color
DrawGridBackground
enabled
boolean
set this to true to draw the grid background, false if not
BorderColor
color
int
Sets the color of the chart border lines.
Chart_1_Data
c1d
float[]
Chart_3_Data
c3d
float[]
ba
anywheresoftware.b4a.BA
mpandroidchartwrapper.multiBubbleChartWrapper
MultiBubbleChart
com.github.mikephil.charting.charts.BubbleChart
process
RequestFocus
boolean
BringToFront
void
setTheLegendPositionAndForm
void
legendpos
java.lang.String
legendform
java.lang.String
RemoveView
void
SetBackgroundImage
void
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
Invalidate3
void
arg0
int
arg1
int
arg2
int
arg3
int
Invalidate2
void
arg0
android.graphics.Rect
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
disableScroll
disables intercept touchevents
void
clearValues
Clears this data object from all DataSets and removes all Entries. Don't
forget to invalidate the chart after this.
void
IsInitialized
boolean
Initialize
void
ba
anywheresoftware.b4a.BA
EventName
java.lang.String
setBubbleData
void
numberOfCharts
int
numberOfEntriesPerChart
int
Invalidate
void
SetLayout
void
arg0
int
arg1
int
arg2
int
arg3
int
DesignerCreateView
void
base
anywheresoftware.b4a.objects.PanelWrapper
lw
anywheresoftware.b4a.objects.LabelWrapper
props
anywheresoftware.b4a.objects.collections.Map
SetColorAnimated
void
arg0
int
arg1
int
arg2
int
SetLayoutAnimated
void
arg0
int
arg1
int
arg2
int
arg3
int
arg4
int
SetVisibleAnimated
void
arg0
int
arg1
boolean
setDescriptionPosition
Sets a custom position for the description text in pixels on the screen.
x: - xcoordinate
y: - ycoordinate
void
x
float
y
float
SendToBack
void
enableScroll
enables intercept touchevents
void
ChartData
cdata
float[]
Visible
boolean
arg0
boolean
TheLegendTextSize
ltextsize
float
Chart_4_Data
c4d
float[]
ChartAnimationTime
at
int
DrawGraphValues
dgv
boolean[]
Draw or don't draw values on the graph.
DragEnabled
enabled
boolean
Set this to true to enable dragging (moving the chart with the finger)
for the chart (this does not effect scaling).
ShowYaxisLeftLabels
slyal
boolean
Show or don't show the left Y-Axis labels.
DoubleTapToZoomEnabled
enabled
boolean
Set this to true to enable zooming in by double-tap on the chart.
Default: enabled
Tag
java.lang.Object
arg0
java.lang.Object
LegendTitle
lt
java.lang.String
XaxisLabelPosition
xalp
java.lang.String
set x-axis label position
Width
int
Width
int
DrawXaxisGridLines
dxagl
boolean
set draw x-axis grid lines
YaxisTextSize
size
float
set Y-Axis text size
Parent
java.lang.Object
LegendText
ltext
java.lang.String[]
Top
int
top
int
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.
ValueTextSize
vts
float[]
XYAnimate
xya
boolean
Chart_5_Data
c5d
float[]
Height
int
height
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
Left
int
left
int
XAnimate
xa
boolean
Color
arg0
int
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
BorderWidth
width
float
Sets the width of the border lines in dp.
YaxisMinVal
yamv
float
Set the minimum value for the y axis
If a value is not set then it will be calculated automatically
ChartDescription
descrip
java.lang.String
ValueTextColor
valuecolor
int[]
DrawYaxisGridLines
dyagl
boolean
set draw y-axis grid lines
SavedImageBackgroundColor
color
int
MaxVisibleValueCount
mvvc
int
XaxisLables
xal
java.lang.String[]
Set the X-Axis labels.
ShowYaxisRightLabels
sryal
boolean
Show or don't show the right Y-Axis labels.
DrawAxisLine
dxal
boolean
set draw x-axis line
YAnimate
ya
boolean
Enabled
boolean
arg0
boolean
YaxisTextColor
ycolor
int
set Y-Axis text color
Chart_2_Data
c2d
float[]
ScaleXEnabled
enabled
boolean
ChartDescriptionTextSize
size
float
Background
android.graphics.drawable.Drawable
arg0
android.graphics.drawable.Drawable
ScaleYEnabled
enabled
boolean
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.
LegendShapeSize
fsize
float
XaxisTextSize
size
float
set X-Axis text size
ChartBitmap
android.graphics.Bitmap
Returns the bitmap that represents the chart.
ChartDescriptionColor
color
int
BubbleColors
bubblecolor
int[]
GridBackgroundColor
color
int
Sets the color for the background of the chart-drawing area (everything
behind the grid lines).
TheLegendColor
lcolor
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
YaxisMaxVal
yamv
float
Set the maximum value for the y axis
If a value is not set then it will be calculated automatically
XaxisTextColor
xcolor
int
set X-Axis text color
DrawGridBackground
enabled
boolean
set this to true to draw the grid background, false if not
BorderColor
color
int
Sets the color of the chart border lines.
Chart_1_Data
c1d
float[]
Chart_3_Data
c3d
float[]
ba
anywheresoftware.b4a.BA
mpandroidchartwrapper.multiHorizontalBarChartWrapper
MultiHorizontalBarChart
com.github.mikephil.charting.charts.HorizontalBarChart
process
RequestFocus
boolean
BringToFront
void
setTheLegendPositionAndForm
void
legendpos
java.lang.String
legendform
java.lang.String
RemoveView
void
SetBackgroundImage
void
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
Invalidate3
void
arg0
int
arg1
int
arg2
int
arg3
int
Invalidate2
void
arg0
android.graphics.Rect
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
disableScroll
disables intercept touchevents
void
clearValues
Clears this data object from all DataSets and removes all Entries. Don't
forget to invalidate the chart after this.
void
IsInitialized
boolean
Initialize
void
ba
anywheresoftware.b4a.BA
EventName
java.lang.String
Invalidate
void
SetLayout
void
arg0
int
arg1
int
arg2
int
arg3
int
setBarData
void
numberOfCharts
int
numberOfEntriesPerChart
int
DesignerCreateView
void
base
anywheresoftware.b4a.objects.PanelWrapper
lw
anywheresoftware.b4a.objects.LabelWrapper
props
anywheresoftware.b4a.objects.collections.Map
SetColorAnimated
void
arg0
int
arg1
int
arg2
int
SetLayoutAnimated
void
arg0
int
arg1
int
arg2
int
arg3
int
arg4
int
SetVisibleAnimated
void
arg0
int
arg1
boolean
setDescriptionPosition
Sets a custom position for the description text in pixels on the screen.
x: - xcoordinate
y: - ycoordinate
void
x
float
y
float
SendToBack
void
enableScroll
enables intercept touchevents
void
ChartData
cdata
float[]
Visible
boolean
arg0
boolean
NoOfMarkerDigits
NoOfMarkerDigits
int
set the number of insignificant digits to appear in the markers
TheLegendTextSize
ltextsize
float
Chart_4_Data
c4d
float[]
ChartAnimationTime
at
int
DrawGraphValues
dgv
boolean[]
Draw or don't draw values on the graph.
ShowYaxisLeftLabels
slyal
boolean
Show or don't show the left Y-Axis labels.
DragEnabled
enabled
boolean
Set this to true to enable dragging (moving the chart with the finger)
for the chart (this does not effect scaling).
DoubleTapToZoomEnabled
enabled
boolean
Set this to true to enable zooming in by double-tap on the chart.
Default: enabled
YaxisLeftNumberOfDigits
YaxisLeftNumberOfDigits
int
Tag
java.lang.Object
arg0
java.lang.Object
LegendTitle
lt
java.lang.String
XaxisLabelPosition
xalp
java.lang.String
set x-axis label position
Width
int
Width
int
YaxisLeftMinVal
yamv
float
Set the minimum value for the y axis (Left)
If a value is not set then it will be calculated automatically
DrawXaxisGridLines
dxagl
boolean
set draw x-axis grid lines
YaxisTextSize
size
float
set Y-Axis text size
Parent
java.lang.Object
Top
int
top
int
LegendText
ltext
java.lang.String[]
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.
XYAnimate
xya
boolean
ValueTextSize
vts
float[]
Chart_5_Data
c5d
float[]
Height
int
height
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
XAnimate
xa
boolean
Left
int
left
int
Color
arg0
int
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
BorderWidth
width
float
Sets the width of the border lines in dp.
ChartDescription
descrip
java.lang.String
GraphValueDigits
displayvaluedigits
int[]
set the number of insignificant digits to appear in the graph values
YaxisRightMinVal
yamv
float
Set the minimum value for the y axis (Right)
If a value is not set then it will be calculated automatically
YaxisLeftStartAtZero
lxsaz
boolean
ValueTextColor
valuecolor
int[]
DrawYaxisGridLines
dyagl
boolean
set draw y-axis grid lines
SavedImageBackgroundColor
color
int
XaxisLables
xal
java.lang.String[]
Set the X-Axis labels.
MaxVisibleValueCount
mvvc
int
ShowYaxisRightLabels
sryal
boolean
Show or don't show the right Y-Axis labels.
DrawAxisLine
dxal
boolean
set draw x-axis line
YaxisRightStartAtZero
rxsaz
boolean
YAnimate
ya
boolean
Enabled
boolean
arg0
boolean
YaxisTextColor
ycolor
int
set Y-Axis text color
Chart_2_Data
c2d
float[]
ScaleXEnabled
enabled
boolean
ChartDescriptionTextSize
size
float
Background
android.graphics.drawable.Drawable
arg0
android.graphics.drawable.Drawable
YaxisRightMaxVal
yamv
float
Set the maximum value for the y axis (Right)
If a value is not set then it will be calculated automatically
ScaleYEnabled
enabled
boolean
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.
LegendShapeSize
fsize
float
FillColor
fc
int[]
Set the color to fill the area between the graph and the X axis with.
XaxisTextSize
size
float
set X-Axis text size
ChartBitmap
android.graphics.Bitmap
Returns the bitmap that represents the chart.
ChartDescriptionColor
color
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
GridBackgroundColor
color
int
Sets the color for the background of the chart-drawing area (everything
behind the grid lines).
TheLegendColor
lcolor
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
YaxisRightLabelCount
mryalc
int
Set the label count for the right Y Axis
LegendVisible
legendvisible
boolean
show or don't show the legend
BarColors
barcolor
int[]
XaxisTextColor
xcolor
int
set X-Axis text color
DrawGridBackground
enabled
boolean
set this to true to draw the grid background, false if not
BorderColor
color
int
Sets the color of the chart border lines.
YaxisLeftLabelCount
mlyalc
int
Set the label count for the left Y Axis
YaxisRightNumberOfDigits
YaxisRightNumberOfDigits
int
Chart_1_Data
c1d
float[]
Chart_3_Data
c3d
float[]
ba
anywheresoftware.b4a.BA
mpandroidchartwrapper.multiLineBarChartWrapper
MultiLineBarChart
com.github.mikephil.charting.charts.CombinedChart
process
RequestFocus
boolean
BringToFront
void
setTheLegendPositionAndForm
void
legendpos
java.lang.String
legendform
java.lang.String
RemoveView
void
SetBackgroundImage
void
arg0
android.graphics.Bitmap
DrawCharts
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
Invalidate3
void
arg0
int
arg1
int
arg2
int
arg3
int
Invalidate2
void
arg0
android.graphics.Rect
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
clearValues
Clears this data object from all DataSets and removes all Entries. Don't
forget to invalidate the chart after this.
void
disableScroll
disables intercept touchevents
void
IsInitialized
boolean
Initialize
void
ba
anywheresoftware.b4a.BA
EventName
java.lang.String
Invalidate
void
SetLayout
void
arg0
int
arg1
int
arg2
int
arg3
int
DesignerCreateView
void
base
anywheresoftware.b4a.objects.PanelWrapper
lw
anywheresoftware.b4a.objects.LabelWrapper
props
anywheresoftware.b4a.objects.collections.Map
SetColorAnimated
void
arg0
int
arg1
int
arg2
int
SetLayoutAnimated
void
arg0
int
arg1
int
arg2
int
arg3
int
arg4
int
SetVisibleAnimated
void
arg0
int
arg1
boolean
setDescriptionPosition
Sets a custom position for the description text in pixels on the screen.
x: - xcoordinate
y: - ycoordinate
void
x
float
y
float
SendToBack
void
enableScroll
enables intercept touchevents
void
DrawDashedLine
ddl
boolean[]
Disables the line to be drawn in dashed mode.
Line_1_Data
c1d
float[]
Set the Y-Values for Line Chart 1
Visible
boolean
arg0
boolean
Line_2_Data
c2d
float[]
Set the Y-Values for Line Chart 2
Bar_Data
c1d
float[]
Set the Y-Values for the Bar Chart
TheLegendTextSize
ltextsize
float
ChartAnimationTime
at
int
DrawRightGridDashed
drgd
boolean
Sets the Right Y axis grid to be drawn dashed or solid
LineColor
linecolor
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).
ShowYaxisLeftLabels
slyal
boolean
Show or don't show the left Y-Axis labels.
TheLegendTextColor
lcolor
int
BarColor
barcolor
int
Line_6_Data
c6d
float[]
Set the Y-Values for Line Chart 6
DoubleTapToZoomEnabled
enabled
boolean
Set this to true to enable zooming in by double-tap on the chart.
Default: enabled
Line_3_Data
c3d
float[]
Set the Y-Values for Line Chart 3
Tag
java.lang.Object
arg0
java.lang.Object
XaxisLabelPosition
xalp
java.lang.String
set x-axis label position
LineLegendText
ltext
java.lang.String[]
Width
int
Width
int
DrawXaxisGridLines
dxagl
boolean
set draw x-axis grid lines (perpendicular to the X-axis)
Line_10_Data
c10d
float[]
Set the Y-Values for Line Chart 10
DrawLineValues
dgv
boolean[]
Draw or don't draw line values on the graph.
BarValueTextSize
vts
float
LeftYaxisTextSize
size
float
set left Y-Axis text size
Parent
java.lang.Object
Top
int
top
int
BarAxisDependency
bad
java.lang.String
Sets the axis dependency for the Bar Chart
LEFT or RIGHT
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.
GraphCircleColor
gcc
int[]
Set the color of the graph small circles.
DrawLeftGridDashed
dlgd
boolean
Sets the Left Y axis grid to be drawn dashed or solid
XYAnimate
xya
boolean
Line_9_Data
c9d
float[]
Set the Y-Values for Line Chart 9
CubicIntensity
ci
float[]
Set the intensity of the cubic line graph.
A value from 0.0 to 1.0
GraphLineWidth
glw
float[]
Set the width of the graph line.
DrawBarChart
dbc
boolean
Sets the number of bar charts that will be drawn (maximum 5)
Height
int
height
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
XAnimate
xa
boolean
set this to true to draw the grid background, false if not
Left
int
left
int
Color
arg0
int
BorderWidth
width
float
Sets the width of the border lines in dp.
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
RightYaxisTextColor
rycolor
int
set the right Y-Axis text color
YaxisMinVal
yamv
float
Set the minimum value for the y axis
If a value is not set then it will be calculated automatically
ChartDescription
descrip
java.lang.String
DrawGraphHollowCircles
ghc
boolean[]
Draw hollow or solid graph circles.
SavedImageBackgroundColor
color
int
MaxVisibleValueCount
mvvc
int
XaxisLables
xal
java.lang.String[]
Set the X-Axis labels.
ShowYaxisRightLabels
sryal
boolean
Show or don't show the right Y-Axis labels.
HorizontalGridColorRight
hgcr
int
Sets the Horizontal grid color for the Right Y axis
Line_5_Data
c5d
float[]
Set the Y-Values for Line Chart 5
DrawAxisLine
dxal
boolean
set draw x-axis line
DrawYaxisRightGridLines
dyagl
boolean
set draw y-axis right grid lines
YAnimate
ya
boolean
Enabled
boolean
arg0
boolean
ScaleXEnabled
enabled
boolean
LineValueTextColor
valuecolor
int[]
DrawCubicGraph
dcg
boolean[]
Draw or don't draw a cubic line graph.
RightYaxisTextSize
size
float
set right Y-Axis text size
ChartDescriptionTextSize
size
float
Background
android.graphics.drawable.Drawable
arg0
android.graphics.drawable.Drawable
ScaleYEnabled
enabled
boolean
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)
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
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.
LegendShapeSize
fsize
float
VerticalGridColor
vgc
int
Sets the Vertical grid color
DrawYaxisLeftGridLines
dyagl
boolean
set draw y-axis left grid lines
XaxisTextSize
size
float
set X-Axis text size
NumberOfLineCharts
nolc
int
Sets the number of line charts that will be drawn (maximum 5)
ChartBitmap
android.graphics.Bitmap
Returns the bitmap that represents the chart.
LineAxisDependency
lad
java.lang.String
Sets the axis dependency for the Line Chart
LEFT or RIGHT
Line_4_Data
c4d
float[]
Set the Y-Values for Line Chart 4
ChartDescriptionColor
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)
LeftYaxisTextColor
lycolor
int
set the left Y-Axis text color
HorizontalGridColorLeft
hgcl
int
Sets the Horizontal grid color for the Left Y axis
GridBackgroundColor
color
int
Sets the color for the background of the chart-drawing area (everything
behind the grid lines).
Line_8_Data
c8d
float[]
Set the Y-Values for Line Chart 8
BarValueTextColor
valuecolor
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
LineValueTextSize
vts
float
BarLegendText
btext
java.lang.String
Line_7_Data
c7d
float[]
Set the Y-Values for Line Chart 7
DrawBarValues
dgv
boolean
Draw or don't draw bar values on the graph.
YaxisMaxVal
yamv
float
Set the maximum value for the y axis
If a value is not set then it will be calculated automatically
XaxisTextColor
xcolor
int
set X-Axis text color
GraphCircleSize
gcs
float[]
Set the size of the graph small circles.
BorderColor
color
int
Sets the color of the chart border lines.
ba
anywheresoftware.b4a.BA
mpandroidchartwrapper.multiLineChartWrapper
MultiLineChart
com.github.mikephil.charting.charts.LineChart
process
value_selected(index As Int, value As Float)
RequestFocus
boolean
BringToFront
void
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
RemoveView
void
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
SetBackgroundImage
void
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
Invalidate3
void
arg0
int
arg1
int
arg2
int
arg3
int
onValueSelected
void
e
com.github.mikephil.charting.data.Entry
dataSetIndex
int
h
com.github.mikephil.charting.highlight.Highlight
Invalidate2
void
arg0
android.graphics.Rect
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
disableScroll
disables intercept touchevents
void
clearValues
Clears this chart from all DataSets and removes all Entries.
void
IsInitialized
boolean
Initialize
void
ba
anywheresoftware.b4a.BA
EventName
java.lang.String
Invalidate
void
SetLayout
void
arg0
int
arg1
int
arg2
int
arg3
int
DesignerCreateView
void
base
anywheresoftware.b4a.objects.PanelWrapper
lw
anywheresoftware.b4a.objects.LabelWrapper
props
anywheresoftware.b4a.objects.collections.Map
SetColorAnimated
void
arg0
int
arg1
int
arg2
int
onNothingSelected
void
SetLayoutAnimated
void
arg0
int
arg1
int
arg2
int
arg3
int
arg4
int
SetVisibleAnimated
void
arg0
int
arg1
boolean
setDescriptionPosition
Sets a custom position for the description text in pixels on the screen.
void
x
float
y
float
SendToBack
void
enableScroll
enables intercept touchevents
void
DrawDashedLine
ddl
boolean[]
Enable or Disable the line to be drawn in dashed mode.
Visible
boolean
arg0
boolean
NoOfMarkerDigits
NoOfMarkerDigits
int
set the number of insignificant digits to appear in the markers
TheLegendTextSize
ltextsize
float
Set the legend text size
Chart_4_Data
c4d
float[]
Set the data for line chart 4
ChartAnimationTime
at
int
Set the chart drawing animation time
DrawGraphValues
dgv
boolean[]
Draw or don't draw values on the graph.
DrawRightGridDashed
drgd
boolean
Sets the Right Y axis grid to be drawn dashed or solid
ShowYaxisLeftLabels
slyal
boolean
Show or don't show the left Y-Axis labels.
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[]
Set the data for line chart 7
DoubleTapToZoomEnabled
enabled
boolean
Set this to true to enable zooming in by double-tap on the chart.
Default: enabled
YaxisLeftNumberOfDigits
YaxisLeftNumberOfDigits
int
YaxisRightTextColor
ycolor
int
set Y-Axis Right text color
Tag
java.lang.Object
arg0
java.lang.Object
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
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
Width
int
Width
int
YaxisLeftMinVal
yamv
float
Set the minimum value for the y axis (Left)
If a value is not set then it will be calculated automatically
DrawXaxisGridLines
dxagl
boolean
set draw x-axis grid lines
YaxisTextSize
size
float
set Y-Axis text size
Parent
java.lang.Object
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)
Top
int
top
int
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.
GraphCircleColor
gcc
int[]
Set the color of the graph small circles.
DrawLeftGridDashed
dlgd
boolean
Sets the Left Y axis grid to be drawn dashed or solid
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
CubicIntensity
ci
float[]
Set the intensity of the cubic line graph.
A value from 0.0 to 1.0
Chart_5_Data
c5d
float[]
Set the data for line chart 5
GraphLineWidth
glw
float[]
Set the width of the graph lines.
Height
int
height
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
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
XAnimate
xa
boolean
Set wether Animation in X direction should be enable when drawing the charts
Left
int
left
int
Color
arg0
int
BorderWidth
width
float
Sets the width of the border lines in dp.
ChartDescription
descrip
java.lang.String
Set the chart description / chart main title
YaxisRightMinVal
yamv
float
Set the minimum value for the y axis (Right)
If a value is not set then it will be calculated automatically
DrawGraphHollowCircles
ghc
boolean[]
Draw hollow or solid graph circles.
GraphValueDigits
displayvaluedigits
int[]
set the number of insignificant digits to appear in the graph values
YaxisLeftStartAtZero
lxsaz
boolean
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
SavedImageBackgroundColor
color
int
Set the outer zone color for the chart being saved
XaxisLables
xal
java.lang.String[]
Set the X-Axis labels.
MaxVisibleValueCount
mvvc
int
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.
ShowYaxisRightLabels
sryal
boolean
Show or don't show the right Y-Axis labels.
HorizontalGridColorRight
hgcr
int
Sets the Horizontal grid color for the Right Y axis
YaxisRightStartAtZero
rxsaz
boolean
DrawAxisLine
dxal
boolean
set draw x-axis line
YAnimate
ya
boolean
Set wether Animation in Y direction should be enable when drawing the charts
DrawYaxisRightGridLines
dyagl
boolean
set draw y-axis right grid lines
Enabled
boolean
arg0
boolean
Chart_2_Data
c2d
float[]
Set the data for line chart 2
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)
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
YaxisLeftTextColor
ycolor
int
set Y-Axis Left text color
DrawCubicGraph
dcg
boolean[]
Draw or don't draw a cubic line graph.
ChartDescriptionTextSize
size
float
Set the text size of the chart description / main title
Background
android.graphics.drawable.Drawable
arg0
android.graphics.drawable.Drawable
DrawFilled
df
boolean[]
Fill or don't fill the area between the line charts and the X axis.
YaxisRightMaxVal
yamv
float
Set the maximum value for the y axis (Right)
If a value is not set then it will be calculated automatically
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
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)
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.
LegendShapeSize
fsize
float
set the size of the legend SQUARE, CIRCLE, or LINE
VerticalGridColor
vgc
int
Sets the Vertical grid color
DrawYaxisLeftGridLines
dyagl
boolean
set draw y-axis left grid lines
FillColor
fc
int[]
Set the color to fill the area between the line charts and the X axis with.
XaxisTextSize
size
float
set X-Axis text size
ChartBitmap
android.graphics.Bitmap
Returns the bitmap that represents the chart.
LegendTextColorsToMatchLineColors
LegendTextColorsToMatchLineColors
boolean
ChartDescriptionColor
color
int
Set the color of the chart description / main title
YaxisDependancy
yad
java.lang.String[]
Sets the Y axis dependancy
Pass an array of strings (maximum 5) of "LEFT"'s and "RIGHT"'s
YaxisLeftMaxVal
yamv
float
Set the maximum value for the y axis (Left)
If a value is not set then it will be calculated automatically
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)
Chart_9_Data
c9d
float[]
Set the data for line chart 9
HorizontalGridColorLeft
hgcl
int
Sets the Horizontal grid color for the Left Y axis
GridBackgroundColor
color
int
Sets the color for the background of the chart-drawing area (everything
behind the grid lines).
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
YaxisRightLabelCount
mryalc
int
Set the label count for the right Y Axis
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
Chart_10_Data
c10d
float[]
Set the data for line chart 10
LegendVisible
legendvisible
boolean
show or don't show the legend
Chart_6_Data
c6d
float[]
Set the data for line chart 6
GraphCircleSize
gcs
float[]
Set the size of the graph small circles.
XaxisTextColor
xcolor
int
set X-Axis text color
DrawGridBackground
enabled
boolean
set this to true to draw the grid background, false if not
BorderColor
color
int
Sets the color of the chart border line.
YaxisLeftLabelCount
mlyalc
int
Set the label count for the left Y Axis
YaxisRightNumberOfDigits
YaxisRightNumberOfDigits
int
Chart_1_Data
c1d
float[]
Set the data for line chart 1
Chart_8_Data
c8d
float[]
Set the data for line chart 8
Chart_3_Data
c3d
float[]
Set the data for line chart 3
ba
anywheresoftware.b4a.BA
mpandroidchartwrapper.multiScatterChartWrapper
MultiScatterChart
com.github.mikephil.charting.charts.ScatterChart
process
RequestFocus
boolean
BringToFront
void
setTheLegendPositionAndForm
void
legendpos
java.lang.String
legendform
java.lang.String
RemoveView
void
SetBackgroundImage
void
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
Invalidate3
void
arg0
int
arg1
int
arg2
int
arg3
int
setScatterData
void
numberOfCharts
int
numberOfEntriesPerChart
int
Invalidate2
void
arg0
android.graphics.Rect
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
disableScroll
disables intercept touchevents
void
clearValues
Clears this data object from all DataSets and removes all Entries. Don't
forget to invalidate the chart after this.
void
IsInitialized
boolean
Initialize
void
ba
anywheresoftware.b4a.BA
EventName
java.lang.String
Invalidate
void
SetLayout
void
arg0
int
arg1
int
arg2
int
arg3
int
DesignerCreateView
void
base
anywheresoftware.b4a.objects.PanelWrapper
lw
anywheresoftware.b4a.objects.LabelWrapper
props
anywheresoftware.b4a.objects.collections.Map
SetColorAnimated
void
arg0
int
arg1
int
arg2
int
SetLayoutAnimated
void
arg0
int
arg1
int
arg2
int
arg3
int
arg4
int
SetVisibleAnimated
void
arg0
int
arg1
boolean
setDescriptionPosition
Sets a custom position for the description text in pixels on the screen.
x: - xcoordinate
y: - ycoordinate
void
x
float
y
float
SendToBack
void
enableScroll
enables intercept touchevents
void
ChartData
cdata
float[]
Visible
boolean
arg0
boolean
TheLegendTextSize
ltextsize
float
Chart_4_Data
c4d
float[]
ChartAnimationTime
at
int
DrawGraphValues
dgv
boolean[]
Draw or don't draw values on the graph.
DragEnabled
enabled
boolean
Set this to true to enable dragging (moving the chart with the finger)
for the chart (this does not effect scaling).
ShowYaxisLeftLabels
slyal
boolean
Show or don't show the left Y-Axis labels.
ScatterShape
shape
java.lang.String[]
sets the shape of the scatter graphs
Can be CIRCLE, SQUARE, TRIANGLE, CROSS
DoubleTapToZoomEnabled
enabled
boolean
Set this to true to enable zooming in by double-tap on the chart.
Default: enabled
Tag
java.lang.Object
arg0
java.lang.Object
LegendTitle
lt
java.lang.String
XaxisLabelPosition
xalp
java.lang.String
set x-axis label position
Width
int
Width
int
DrawXaxisGridLines
dxagl
boolean
set draw x-axis grid lines
YaxisTextSize
size
float
set Y-Axis text size
Parent
java.lang.Object
LegendText
ltext
java.lang.String[]
Top
int
top
int
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.
ValueTextSize
vts
float[]
XYAnimate
xya
boolean
Chart_5_Data
c5d
float[]
Height
int
height
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
Left
int
left
int
XAnimate
xa
boolean
Color
arg0
int
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
BorderWidth
width
float
Sets the width of the border lines in dp.
YaxisMinVal
yamv
float
Set the minimum value for the y axis
If a value is not set then it will be calculated automatically
ChartDescription
descrip
java.lang.String
ValueTextColor
valuecolor
int[]
DrawYaxisGridLines
dyagl
boolean
set draw y-axis grid lines
SavedImageBackgroundColor
color
int
MaxVisibleValueCount
mvvc
int
XaxisLables
xal
java.lang.String[]
Set the X-Axis labels.
ShowYaxisRightLabels
sryal
boolean
Show or don't show the right Y-Axis labels.
DrawAxisLine
dxal
boolean
set draw x-axis line
YAnimate
ya
boolean
Enabled
boolean
arg0
boolean
YaxisTextColor
ycolor
int
set Y-Axis text color
Chart_2_Data
c2d
float[]
ScaleXEnabled
enabled
boolean
ChartDescriptionTextSize
size
float
Background
android.graphics.drawable.Drawable
arg0
android.graphics.drawable.Drawable
ScaleYEnabled
enabled
boolean
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.
LegendShapeSize
fsize
float
FillColor
fc
int[]
Set the color to fill the area between the graph and the X axis with.
XaxisTextSize
size
float
set X-Axis text size
ChartBitmap
android.graphics.Bitmap
Returns the bitmap that represents the chart.
ChartDescriptionColor
color
int
ScatterShapeSize
size
float[]
sets the size of the scatter shapes
GridBackgroundColor
color
int
Sets the color for the background of the chart-drawing area (everything
behind the grid lines).
TheLegendColor
lcolor
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
ScatterColors
scattercolor
int[]
YaxisMaxVal
yamv
float
Set the maximum value for the y axis
If a value is not set then it will be calculated automatically
XaxisTextColor
xcolor
int
set X-Axis text color
DrawGridBackground
enabled
boolean
set this to true to draw the grid background, false if not
BorderColor
color
int
Sets the color of the chart border lines.
Chart_1_Data
c1d
float[]
Chart_3_Data
c3d
float[]
ba
anywheresoftware.b4a.BA
mpandroidchartwrapper.pieChartWrapper
PieChart
com.github.mikephil.charting.charts.PieChart
process
value_selected(index As Int, value As Float)
long_pressed()
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
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
RequestFocus
boolean
BringToFront
void
RemoveView
void
SetBackgroundImage
void
arg0
android.graphics.Bitmap
isCenterTextWordWrapEnabled
should the center text be word wrapped?
note that word wrapping takes a toll on performance
if word wrapping is disabled, newlines are still respected
boolean
isDrawCenterTextEnabled
returns true if drawing the center text is enabled
Return type: @return:
boolean
onChartDoubleTapped
void
me
android.view.MotionEvent
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
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
Invalidate3
void
arg0
int
arg1
int
arg2
int
arg3
int
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
onValueSelected
void
e
com.github.mikephil.charting.data.Entry
dataSetIndex
int
h
com.github.mikephil.charting.highlight.Highlight
Invalidate2
void
arg0
android.graphics.Rect
onChartLongPressed
Callbacks when the chart is longpressed.
me:
void
me
android.view.MotionEvent
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
clearValues
Clears this data object from all DataSets and removes all Entries. Don't
forget to invalidate the chart after this.
void
IsInitialized
boolean
isUsePercentValuesEnabled
Returns true if using percentage values is enabled for the chart.
Return type: @return:
boolean
Initialize
void
ba
anywheresoftware.b4a.BA
EventName
java.lang.String
isDrawRoundedSlicesEnabled
Returns true if the chart is set to draw each end of a pie-slice
"rounded".
Return type: @return:
boolean
isDrawSliceTextEnabled
returns true if drawing x-values is enabled, false if not
Return type: @return:
boolean
onChartSingleTapped
Callbacks when the chart is single-tapped.
me:
void
me
android.view.MotionEvent
SetLayout
void
arg0
int
arg1
int
arg2
int
arg3
int
Invalidate
void
DesignerCreateView
void
base
anywheresoftware.b4a.objects.PanelWrapper
lw
anywheresoftware.b4a.objects.LabelWrapper
props
anywheresoftware.b4a.objects.collections.Map
SetColorAnimated
void
arg0
int
arg1
int
arg2
int
isHoleTransparent
Returns true if the hole in the center of the PieChart is transparent,
false if not.
Return type: @return:true if hole is transparent.
boolean
onNothingSelected
void
SetLayoutAnimated
void
arg0
int
arg1
int
arg2
int
arg3
int
arg4
int
SetVisibleAnimated
void
arg0
int
arg1
boolean
SendToBack
void
CenterTextSize
sizeDp
float
Sets the size of the center text of the PieChart in dp.
Enabled
boolean
arg0
boolean
ChartData
cdata
float[]
Visible
boolean
arg0
boolean
TheLegendTextSize
ltextsize
float
RotationEnabled
enabled
boolean
CenterTextSizePixels
sizePixels
float
Sets the size of the center text of the PieChart in pixels.
ChartDescriptionTextSize
size
float
Background
android.graphics.drawable.Drawable
arg0
android.graphics.drawable.Drawable
DrawCenterText
enabled
boolean
set this to true to draw the text that is displayed in the center of the
pie chart
DrawSliceText
enabled
boolean
set this to true to draw the x-value text into the pie slices
TransparentCircleAlpha
alpha
int
Sets the amount of transparency the transparent circle should have 0 = fully transparent, 255 = fully opaque.
Default value is 100.
Tag
java.lang.Object
arg0
java.lang.Object
CenterText
java.lang.String
text
java.lang.String
returns the text that is drawn in the center of the pie-chart
LegendTitle
lt
java.lang.String
ChartBitmap
android.graphics.Bitmap
Returns the bitmap that represents the chart.
Width
int
Width
int
TheLegendPosition
legendpos
java.lang.String
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
Parent
java.lang.Object
LegendText
ltext
java.lang.String[]
PieColors
piecolor
int[]
ChartDescriptionColor
color
int
Top
int
top
int
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.
HoleColorTransparent
enable
boolean
Set the hole in the center of the PieChart transparent. Thank you, code
provided by:
ValueTextSize
vts
int
CenterTextColor
color
int
Sets the color of the center text of the PieChart.
PieData
count
int
Height
int
height
int
TheLegendColor
lcolor
int
DrawHoleEnabled
enabled
boolean
set this to true to draw the pie center empty
Left
int
left
int
Color
arg0
int
ChartDescription
descrip
java.lang.String
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.
CenterTextRadiusPercent
float
percent
float
the rectangular radius of the bounding box for the center text, as a percentage of the pie hole
default 1.f (100%)
ValueTextColor
valuecolor
int
TransparentCircleColor
color
int
Sets the color the transparent-circle should have.
SavedImageBackgroundColor
color
int
HoleRadius
float
percent
float
Returns the size of the hole radius in percent of the total radius.
CenterTextWordWrapEnabled
enabled
boolean
should the center text be word wrapped?
note that word wrapping takes a toll on performance
if word wrapping is disabled, newlines are still respected
ba
anywheresoftware.b4a.BA
mpandroidchartwrapper.radarChartWrapper
RadarChart
com.github.mikephil.charting.charts.RadarChart
process
value_selected(index As Int, value As Float)
setRadarData
void
numberOfCharts
int
numberOfEntriesPerChart
int
RequestFocus
boolean
BringToFront
void
setTheLegendPositionAndForm
void
legendpos
java.lang.String
legendform
java.lang.String
RemoveView
void
SetBackgroundImage
void
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
Invalidate3
void
arg0
int
arg1
int
arg2
int
arg3
int
onValueSelected
void
e
com.github.mikephil.charting.data.Entry
dataSetIndex
int
h
com.github.mikephil.charting.highlight.Highlight
Invalidate2
void
arg0
android.graphics.Rect
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
clearValues
Clears this data object from all DataSets and removes all Entries. Don't
forget to invalidate the chart after this.
void
IsInitialized
boolean
Initialize
void
ba
anywheresoftware.b4a.BA
EventName
java.lang.String
Invalidate
void
SetLayout
void
arg0
int
arg1
int
arg2
int
arg3
int
DesignerCreateView
void
base
anywheresoftware.b4a.objects.PanelWrapper
lw
anywheresoftware.b4a.objects.LabelWrapper
props
anywheresoftware.b4a.objects.collections.Map
SetColorAnimated
void
arg0
int
arg1
int
arg2
int
onNothingSelected
void
SetLayoutAnimated
void
arg0
int
arg1
int
arg2
int
arg3
int
arg4
int
SetVisibleAnimated
void
arg0
int
arg1
boolean
SendToBack
void
Visible
boolean
arg0
boolean
NoOfMarkerDigits
NoOfMarkerDigits
int
set the number of insignificant digits to appear in the markers
TheLegendTextSize
ltextsize
float
ChartAnimationTime
at
int
Chart_4_Data
c4d
float[]
DrawGraphValues
dgv
boolean
Draw or don't draw values on the graph.
RadialLineWidth
rlw
float
ConcentricLineWidth
clw
float
Tag
java.lang.Object
arg0
java.lang.Object
WebConcentricColor
wcc
int
Width
int
Width
int
YaxisTextSize
size
float
set Y-Axis text size
Parent
java.lang.Object
LegendText
lt
java.lang.String[]
Top
int
top
int
ValueTextSize
vts
int
WebAlpha
wa
int
GraphLineWidth
glw
float
Set the width of the graph line.
Chart_5_Data
c5d
float[]
Height
int
height
int
Left
int
left
int
Color
arg0
int
YaxisMinVal
yamv
float
Set the minimum value for the y axis
If a value is not set then it will be calculated automatically
GraphLineColor
glc
int[]
Set the color to fill the area between the graph and the X axis with.
ChartDescription
descrip
java.lang.String
GraphValueDigits
displayvaluedigits
int[]
set the number of insignificant digits to appear in the graph values
ValueTextColor
valuecolor
int
SavedImageBackgroundColor
color
int
XaxisLables
xal
java.lang.String[]
Set the X-Axis labels.
Enabled
boolean
arg0
boolean
YaxisTextColor
ycolor
int
set Y-Axis text color
Chart_2_Data
c2d
float[]
WebRadialColor
wrc
int
DrawWeb
dw
boolean
YaxisNumberOfDigits
YaxisNumberOfDigits
int
RotationEnabled
enabled
boolean
ChartDescriptionTextSize
size
float
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.
LegendShapeSize
fsize
float
XaxisTextSize
size
float
set X-Axis text size
ChartBitmap
android.graphics.Bitmap
Returns the bitmap that represents the chart.
ChartDescriptionColor
color
int
TheLegendColor
lcolor
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
YaxisMaxVal
yamv
float
Set the maximum value for the y axis
If a value is not set then it will be calculated automatically
LegendVisible
legendvisible
boolean
show or don't show the legend
XaxisTextColor
xcolor
int
set X-Axis text color
Chart_1_Data
c1d
float[]
CrossHairColor
cc
int
Set the color of the cross hair that appears
when the graph is touched
Chart_3_Data
c3d
float[]
ba
anywheresoftware.b4a.BA
mpandroidchartwrapper.stackedBarChartWrapper
StackedBarChart
com.github.mikephil.charting.charts.BarChart
process
RequestFocus
boolean
BringToFront
void
setTheLegendPositionAndForm
void
legendpos
java.lang.String
legendform
java.lang.String
RemoveView
void
SetBackgroundImage
void
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
Invalidate3
void
arg0
int
arg1
int
arg2
int
arg3
int
Invalidate2
void
arg0
android.graphics.Rect
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
disableScroll
disables intercept touchevents
void
clearValues
Clears this data object from all DataSets and removes all Entries. Don't
forget to invalidate the chart after this.
void
IsInitialized
boolean
Initialize
void
ba
anywheresoftware.b4a.BA
EventName
java.lang.String
Invalidate
void
SetLayout
void
arg0
int
arg1
int
arg2
int
arg3
int
setBarData
void
numberOfCharts
int
numberOfEntriesPerChart
int
DesignerCreateView
void
base
anywheresoftware.b4a.objects.PanelWrapper
lw
anywheresoftware.b4a.objects.LabelWrapper
props
anywheresoftware.b4a.objects.collections.Map
SetColorAnimated
void
arg0
int
arg1
int
arg2
int
SetLayoutAnimated
void
arg0
int
arg1
int
arg2
int
arg3
int
arg4
int
SetVisibleAnimated
void
arg0
int
arg1
boolean
setDescriptionPosition
Sets a custom position for the description text in pixels on the screen.
x: - xcoordinate
y: - ycoordinate
void
x
float
y
float
SendToBack
void
enableScroll
enables intercept touchevents
void
ChartData
cdata
float[]
Visible
boolean
arg0
boolean
TheLegendTextSize
ltextsize
float
Chart_4_Data
c4d
float[]
ChartAnimationTime
at
int
DrawGraphValues
dgv
boolean
Draw or don't draw values on the graph.
DragEnabled
enabled
boolean
Set this to true to enable dragging (moving the chart with the finger)
for the chart (this does not effect scaling).
ShowYaxisLeftLabels
slyal
boolean
Show or don't show the left Y-Axis labels.
DoubleTapToZoomEnabled
enabled
boolean
Set this to true to enable zooming in by double-tap on the chart.
Default: enabled
Tag
java.lang.Object
arg0
java.lang.Object
LegendTitle
lt
java.lang.String
XaxisLabelPosition
xalp
java.lang.String
set x-axis label position
Width
int
Width
int
DrawXaxisGridLines
dxagl
boolean
set draw x-axis grid lines
YaxisTextSize
size
float
set Y-Axis text size
Parent
java.lang.Object
LegendText
ltext
java.lang.String[]
Top
int
top
int
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.
ValueTextSize
vts
float
XYAnimate
xya
boolean
Chart_5_Data
c5d
float[]
Height
int
height
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
Left
int
left
int
XAnimate
xa
boolean
Color
arg0
int
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
BorderWidth
width
float
Sets the width of the border lines in dp.
YaxisMinVal
yamv
float
Set the minimum value for the y axis
If a value is not set then it will be calculated automatically
ChartDescription
descrip
java.lang.String
ValueTextColor
valuecolor
int
DrawYaxisGridLines
dyagl
boolean
set draw y-axis grid lines
SavedImageBackgroundColor
color
int
MaxVisibleValueCount
mvvc
int
XaxisLables
xal
java.lang.String[]
Set the X-Axis labels.
ShowYaxisRightLabels
sryal
boolean
Show or don't show the right Y-Axis labels.
DrawAxisLine
dxal
boolean
set draw x-axis line
YAnimate
ya
boolean
Enabled
boolean
arg0
boolean
YaxisTextColor
ycolor
int
set Y-Axis text color
Chart_2_Data
c2d
float[]
ScaleXEnabled
enabled
boolean
ChartDescriptionTextSize
size
float
Background
android.graphics.drawable.Drawable
arg0
android.graphics.drawable.Drawable
ScaleYEnabled
enabled
boolean
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.
LegendShapeSize
fsize
float
FillColor
fc
int[]
Set the color to fill the area between the graph and the X axis with.
XaxisTextSize
size
float
set X-Axis text size
ChartBitmap
android.graphics.Bitmap
Returns the bitmap that represents the chart.
ChartDescriptionColor
color
int
GridBackgroundColor
color
int
Sets the color for the background of the chart-drawing area (everything
behind the grid lines).
TheLegendColor
lcolor
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
YaxisMaxVal
yamv
float
Set the maximum value for the y axis
If a value is not set then it will be calculated automatically
BarColors
barcolor
int[]
XaxisTextColor
xcolor
int
set X-Axis text color
DrawGridBackground
enabled
boolean
set this to true to draw the grid background, false if not
BorderColor
color
int
Sets the color of the chart border lines.
Chart_1_Data
c1d
float[]
Chart_3_Data
c3d
float[]
ba
anywheresoftware.b4a.BA
1.06
Johan Schoeman