Recent

Author Topic: [LAMW] Ask for Chart component  (Read 1171 times)

Sirius Black

  • New Member
  • *
  • Posts: 22
[LAMW] Ask for Chart component
« on: April 09, 2020, 01:45:34 am »
Hi Guys,

How to add chart in android applications? AFAIK, there are:
1. Create html+javascript in the assets folder, load the HTML using jwebview
2. Using chart that have JAR file
3. ....... (please add the alternative method)

How to use the jar file in LAMW (method #2)? or maybe there are easy method to using chart in android application?

jmpessoa

  • Hero Member
  • *****
  • Posts: 2297
Re: [LAMW] Ask for Chart component
« Reply #1 on: April 09, 2020, 02:54:42 am »

You can try "jDrawingView" component
[there are somo demos....]

What ".jar"??? Where can I find it?
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

Sirius Black

  • New Member
  • *
  • Posts: 22
Re: [LAMW] Ask for Chart component
« Reply #2 on: April 09, 2020, 03:01:23 am »

You can try "jDrawingView" component
[there are somo demos....]


Thanks, I'll look the demos.

What ".jar"??? Where can I find it?

Sorry, am I do a mistake? I download MPAndroidChart, there is java dan jar file, but it work on Android studio. So, I guess that I can import the jar (or the java?) into LAMW to use the function. Just CMIIW

jmpessoa

  • Hero Member
  • *****
  • Posts: 2297
Re: [LAMW] Ask for Chart component
« Reply #3 on: April 09, 2020, 03:12:06 am »


Yes. We can try make a LAMW component to wrapper the .jar file...
send me some link about....
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

Sirius Black

  • New Member
  • *
  • Posts: 22
Re: [LAMW] Ask for Chart component
« Reply #4 on: April 09, 2020, 03:49:03 am »


Yes. We can try make a LAMW component to wrapper the .jar file...
send me some link about....

Here is the link https://github.com/PhilJay/MPAndroidChart

btw, thanks for the information about jDrawingView. I can use jDrawingView for the chart for now.

 

TinyPortal © 2005-2018