Android Question error with the mpChart lib library ver 1.0

samperizal

Active Member
Licensed User
Longtime User
Hi.
I am trying to make a line graph with the mpChart lib ver 1.0 library and it gives an error on this line
Private d1, d2, d3, d4 As LineChart

and if I can make a piechart chart.

What is this about?

Thanks in advance.
P.s Sorry for English
 

walterf25

Expert
Licensed User
Longtime User
Hi.
I am trying to make a line graph with the mpChart lib ver 1.0 library and it gives an error on this line
Private d1, d2, d3, d4 As LineChart

and if I can make a piechart chart.

What is this about?

Thanks in advance.
P.s Sorry for English
it would be helpful if you post what the error you are seeing is.

Walter
 
Upvote 0

samperizal

Active Member
Licensed User
Longtime User
UnknowUnknow typetype linechart
AreAre youyou missingmissing aa library reference?

LIbraryIbrary MpchartlibMpchartlib isis notnot used
 
Upvote 0

Johan Schoeman

Expert
Licensed User
Longtime User
UnknowUnknow typetype linechart
AreAre youyou missingmissing aa library reference?

LIbraryIbrary MpchartlibMpchartlib isis notnot used
Upload your sample project and I will see if I can help.
 
Upvote 0

samperizal

Active Member
Licensed User
Longtime User
Hello I attached the example that gives error and the library
 

Attachments

  • ejemplo_librerias.zip
    229.7 KB · Views: 293
Upvote 0

Johan Schoeman

Expert
Licensed User
Longtime User
Hello I attached the example that gives error and the library
Get the latest library (v1.14) that I have posted from this posting:
https://www.b4x.com/android/forum/t...y-files-in-post-362.58017/page-19#post-652517

Your project in post #5 above are missing some files. Extract the attached res folder from the attached res.zip file and then replace your /Objects/res folder in your B4A project with the res folder that you have extracted from the attached file.

Once you have done the above and BEFORE you compile the B4A project, make sure that all the files in the /Objects/res/drawable and Objects/res/layout folder are set to READ ONLY - else they will be deleted when you compile the B4A project and it will create an error.

The library that you have posted (v1.00) only has PieView wrapped. The library files from the link above (v1.14) has 14 different charts that are wrapped.

Once you have done the above it should work for you....:)
 

Attachments

  • res.zip
    24.3 KB · Views: 271
Upvote 0
Top