Android Question Draw Surface Mesh Chart

Sia

Member
Licensed User
Hello every one,
How can draw a surface chart like this


every one only said use opengl and libgdx but no one tell how !
please tell me and if you can please give me example

i want after it complete try to add options to this app like ( zoom , fade , change color , etc..)

thanks
 
Last edited:

Sia

Member
Licensed User
@KitCarlson very thanks , but before this post i try with it ( https://code.google.com/p/javascript-surface-plot/ ) and understand webview can't run and support webgl , maybe i can't work with it.

can you run webgl and javascript with webview ?
please give me example if you can .

i don't know why b4a don't want try to make good library for chart
i saw chart framework it's cool but it's not enough and complete.
i think b4a must imagine about future and try to strong this base it's very important in business.
b4a can take all the Android Market
 
Last edited:

KitCarlson

Active Member
Licensed User
I have tried the example on PC using jsFiddle, it worked. I have a similar need like you.
 
  • Like
Reactions: Sia

KitCarlson

Active Member
Licensed User
PC only.

My need is for a hobby, but I am considering $100 USD in job offer forum, for b4a, b4j ways to do it. I will share with all members.

I think someone might have the skills to do it.
 
Last edited:
  • Like
Reactions: Sia

Sia

Member
Licensed User
very very thank you
i wish b4a do it before another one
we are not alone , maybe someone need it before we said and maybe will need in future
 

Sia

Member
Licensed User
@Informatix very thanks , it's very very good

but how can add axis titles, grids and plot color intensity?
Is it possible and can you help everyone in this forum need it?
 

Informatix

Expert
Licensed User
@Informatix very thanks , it's very very good

but how can add axis titles, grids and plot color intensity?
Is it possible and can you help everyone in this forum need it?
I don't have the time to improve my example. Drawing the axis can be done with the same method used to draw the landscape, and drawing the title can be done with a bitmapfont, as usual. If you want to fill the grid with colors, either you draw a colored mesh between lines but that requires some knowledge of OpenGL, or you draw points to fill the empty space between lines but that will be horribly slow.
 
Top