How to fill in ISOSurface seriese for android

TeeChart for Java (NetBeans, Eclipse, Android Studio, etc)
Post Reply
rishad
Newbie
Newbie
Posts: 3
Joined: Wed Mar 27, 2013 12:00 am

How to fill in ISOSurface seriese for android

Post by rishad » Mon Jun 10, 2013 11:03 am

Hi,
I am using TChart Java fro Android.
I cant figure out how to fill in the values in the ISOSurface series.
For .Net there is a method available addxyz() but i couldn't find a method like this in TChart for android.
Basically I want date one axis, time on other and the respective values on the z-axis.
Thanks,

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: How to fill in ISOSurface seriese for android

Post by Yeray » Mon Jun 10, 2013 2:47 pm

Hi,

Both the .NET and the Java versions have add() overrides accepting 3 parameters: x, y and z. It seems to work fine for me here:

Code: Select all

        IsoSurface iso1 = new IsoSurface(tChart1.getChart());
        for (int x = 0; x < 10; x++)
        {
            for (int z = 0; z < 10; z++)
            {
                iso1.add(x, x+z, z);
            }
        }
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

rishad
Newbie
Newbie
Posts: 3
Joined: Wed Mar 27, 2013 12:00 am

Re: How to fill in ISOSurface seriese for android

Post by rishad » Thu Jun 13, 2013 9:18 am

Thanks, It worked for me.
I was creating Series object and populating the series. This is even more easy.
Thanks again.

Post Reply