B4A Library Google Charts

iamfanghan

Member
Licensed User
Longtime User
Good day, as from the link, can you briefly explain how to use the curveType:function in B4A? I'm new to this and i always got in a confusion between Java codes and B4A codes
 

iamfanghan

Member
Licensed User
Longtime User
Sir, how did you create the SavedChart.png chart? Can i have a look at the codes?
 

iamfanghan

Member
Licensed User
Longtime User
Thank you sir. However, is it possible to do so with ScatterChart?
 

iamfanghan

Member
Licensed User
Longtime User
Have you seen the example I attached to the first post?
Yes sir, for ScatterChart the polynomial function was used. Wonder if there is any other function available?
By the way, sir, if you would, is it possible for 2 values in 1 column?

means at x, y=15
x, y=-5

gChart.ComboChartSetColumnValues(x, comboData5)
 

incendio

Well-Known Member
Licensed User
Longtime User
Thanks for the library.

Just tested on the apk, clicked different charts, but after clicked for a few times, chart didn't showed, just blank screen.

Restarted app again fix the problem, but after a few clicked again, same problem came, blank screen.
 

Mahares

Expert
Licensed User
Longtime User
@Mashiane:
I created a small project for you using NJDude Google Charts Lib 100 that shows you how to have a line graph with 2 Y axes plotted versus the X axis. I generate a small SQLite table from which the data is plotted. I hope it helps.
Thank you
 

Attachments

  • GoogleChartsUsingNJDudeLib100SentToMachiane.zip
    19.7 KB · Views: 190

TheMightySwe

Active Member
Licensed User
Longtime User
java.io.FileNotFoundException: /mnt/sdcard/Android/data/se.iqpd.checkout.plus/files/NJDudeTempChart.png: open failed: ENOENT (No such file or directory)

Hi, am i lacking some kind of permission?

I trying to save the generated Graph inside...

B4X:
Sub Chart_ChartGenerated_Response

    ProgressDialogHide
    Chart.SaveChart(FileHandling.CheckoutFolder & "/Charts/", "SavedChart.png")

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