Page 1 of 1

How to fill in ISOSurface seriese for android

Posted: Mon Jun 10, 2013 11:03 am
by 17065522
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,

Re: How to fill in ISOSurface seriese for android

Posted: Mon Jun 10, 2013 2:47 pm
by yeray
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);
            }
        }

Re: How to fill in ISOSurface seriese for android

Posted: Thu Jun 13, 2013 9:18 am
by 17065522
Thanks, It worked for me.
I was creating Series object and populating the series. This is even more easy.
Thanks again.