B4A Library GraphView Library (Source Code Added)

walterf25

Expert
Licensed User
Longtime User
Hello walterf25
The attachment is the source code of my decompilation, but no matter how it is repackaged, it will not be used. It turns out that this line is missing.
@DependsOn(values={"GraphView-4.0.0"})
Next I can try to modify the code.
What are you trying to add/modify exactly, maybe i can make some time and try to add the changes you are trying to make.

Walter
 

kuosda

Active Member
Licensed User
Longtime User
1. Modify the upper and lower limits of the setting graph or automatically
2. If the Y value is the same, it cannot be displayed.
3. Modify https://www.b4x.com/android/forum/t...ry-source-code-added.34995/page-4#post-357862
Graphic display problem
I am not very familiar with JAVA, but I will modify the simple code to suit my needs. I have asked you very early, but you don't have a lot of time to modify the code.
No "Debug" is distressed!
 
Last edited:

walterf25

Expert
Licensed User
Longtime User
I don't really understand the issue, if i remember correctly the graphview should automatically adjust the Y axis to fit the smaller and bigger values, can you give me an example of what you are referring to.

Walter
 

kuosda

Active Member
Licensed User
Longtime User
Hello walterf25
Yes, it is automatically adjusted, but if the array y values are the same, it can't be displayed. The 1st and 2nd problems are similar.
 

walterf25

Expert
Licensed User
Longtime User
Hello walterf25
Yes, it is automatically adjusted, but if the y value is the same, it cannot be displayed. The 1st and 2nd problems are similar.
can you show me, can you take a picture and show me.

Walter
 

kuosda

Active Member
Licensed User
Longtime User
This is the display under the Android x86 emulator
Please use the first page of "B4AGraphView.jar" and "B4AGraphView.xml"
P1.jpg is the original data
You can also try it yourself.
 

Attachments

  • P1.jpg
    146.5 KB · Views: 310
  • P2.jpg
    16 KB · Views: 314
  • P3.jpg
    43.5 KB · Views: 318

walterf25

Expert
Licensed User
Longtime User
This is the display under the Android x86 emulator
Please use the first page of "B4AGraphView.jar" and "B4AGraphView.xml"
P1.jpg is the original data
You can also try it yourself.
I'm sorry but either i'm brain dead but i just don't understand what the issue is, i don't see an issue with what you are posting or your are not explaining yourself clearly, if you can be more specific in what you are asking maybe i can find some time to update the library but until then there's nothing i can do if i don't understand what the "issue" is.

Walter
 

kuosda

Active Member
Licensed User
Longtime User
Hello walterf25
Do you see that p2.jpg is blank? Even if it is the same data, it will not be blank. The upper limit = data = lower limit should be wrong!
I added a judgment.
 

walterf25

Expert
Licensed User
Longtime User
Hello walterf25
Do you see that p2.jpg is blank? Even if it is the same data, it will not be blank. The upper limit = data = lower limit should be wrong!
I added a judgment.
Can you upload your project so i can see what you are talking about, sorry but i still don't understand, are you using google translator to post?

Walter
 

kuosda

Active Member
Licensed User
Longtime User
I use google translation
I haven't added a judgment yet. I don't know the result yet.
 

walterf25

Expert
Licensed User
Longtime User
I use google translation
I haven't added a judgment yet. I don't know the result yet.
Ok, i'm sorry but i think your english is part of why i'm having a hard time understanding the issue you are trying to explain, please load a project or at least the relevant parts of your code so i can take a look.

Walter
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…