3D grid

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
amol
Advanced
Posts: 231
Joined: Tue Mar 29, 2005 5:00 am

3D grid

Post by amol » Fri Sep 30, 2016 12:59 pm

Hi steema support,
We are waiting for reply. Please provide me any solution ASAP.
We want to draw curve like below image
3QYcXL.png
3QYcXL.png (39.06 KiB) Viewed 6655 times
It contains five layers as shown in different color.
Thanks
Planoresearch

Christopher
Guru
Posts: 1603
Joined: Fri Nov 15, 2002 12:00 am

Re: 3D grid

Post by Christopher » Mon Oct 03, 2016 9:42 am

Hello,

Many apologies for the delay in replying to your question. You could use the Tower Series, e.g.

Code: Select all

    private void InitializeChart()
    {
      for (int i = 0; i < 5; i++)
      {
        Tower s = (Tower)tChart1.Series.Add(typeof(Tower));
        s.UseColorRange = false;
        s.UsePalette = false;
        s.UseOrigin = true;
        s.Origin = i;
        s.Stacked = true;
      }

      tChart1[0].Color = Color.Red;
      tChart1[1].Color = Color.Orange;
      tChart1[2].Color = Color.LightGreen;
      tChart1[3].Color = Color.Green;
      tChart1[4].Color = Color.Blue;

      for (int x = 0; x < 10; x++)
      {
        for (int z = 0; z < 10; z++)
        {
          for (int i = 0; i < tChart1.Series.Count; i++)
          {
            ((Tower)tChart1[i]).Add(x, 1, z);
          }
        }
      }

      tChart1.Tools.Add(typeof(Rotate));
    }
which can give you:
636110916028096767.jpg
636110916028096767.jpg (75.49 KiB) Viewed 6607 times
Best Regards,
Christopher Ireland / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Instructions - How to post in this forum

Post Reply