Help lines for X and Y scale in 3D

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
BeijerElectronics
Newbie
Newbie
Posts: 30
Joined: Tue Sep 13, 2011 12:00 am

Help lines for X and Y scale in 3D

Post by BeijerElectronics » Wed Nov 09, 2011 4:02 pm

Is there any way to get some grid help lines for the Y and X axis in 3D mode?
It is hard to read the actual value

See attached picture (where values are 10,10 & 18,18 for both series)
Attachments
No_3d_helpline.png
No_3d_helpline.png (18.71 KiB) Viewed 5326 times

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Help lines for X and Y scale in 3D

Post by Sandra » Thu Nov 10, 2011 10:18 am

Hello BeijerElectronics,

I recommend you use MinorGrid Axes property. You can do something as next code:

Code: Select all

private void InitializeChart()
         {
             
             Steema.TeeChart.Styles.Points Series1= new Points(tChart1.Chart);
             Steema.TeeChart.Styles.Points Series2 = new Points(tChart1.Chart);
             Series1.Add(10, 10);
             Series1.Add(18, 18);
             Series2.DataSource = Series1;
             Series2.RefreshSeries();
             tChart1.Axes.Bottom.SetMinMax(10, 100);
             tChart1.Axes.Left.SetMinMax(10, 100);
             tChart1.Axes.Bottom.MinorGrid.Visible = true;
             tChart1.Axes.Left.MinorGrid.Visible = true;
            
         }
Can you please, tell us if previous code works as you want?

I hope will helps.

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

BeijerElectronics
Newbie
Newbie
Posts: 30
Joined: Tue Sep 13, 2011 12:00 am

Re: Help lines for X and Y scale in 3D

Post by BeijerElectronics » Thu Nov 10, 2011 2:00 pm

Hello Sandra,

Thank you for a quick reply.
No, we do not want to have minor grids visible, but 3D lines for the major grid. See the picture below:
Attachments
No_3d_helpline.png
No_3d_helpline.png (22.22 KiB) Viewed 5263 times

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Help lines for X and Y scale in 3D

Post by Sandra » Fri Nov 11, 2011 7:57 am

Hello

I couldn't reproduce your problem with last version of TeeChart 2011 and next code:

Code: Select all

    private void InitializeChart()
        {

            Steema.TeeChart.Styles.Points points1 = new Points(tChart1.Chart);
            Steema.TeeChart.Styles.Points points2 = new Points(tChart1.Chart);
       
            points1.Add(10, 10);
            points1.Add(18, 18);
            points2.DataSource = points1;
            tChart1.Axes.Bottom.SetMinMax(0, 100);
            tChart1.Axes.Left.SetMinMax(0, 100);
       
        }
Please, can you tell us which version of TeeChart.Net are you using now?


Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

BeijerElectronics
Newbie
Newbie
Posts: 30
Joined: Tue Sep 13, 2011 12:00 am

Re: Help lines for X and Y scale in 3D

Post by BeijerElectronics » Wed Nov 16, 2011 10:30 am

Hi,

We use the latest release version, but I see now that they are there, but the lines are almost impossible to see since we use a grid color set as white, and white lines on the yellow 3D surface makes it almost impossible to see. Is there a seperate color setting for the 3D grid lines, so that we still can use white as the major grid line color?

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Help lines for X and Y scale in 3D

Post by Sandra » Thu Nov 17, 2011 3:23 pm

Hello
I think you can set the minor grid of a color and Grid of other color. You can do something as next code:

Code: Select all

private void InitializeChart()
        {

            Steema.TeeChart.Styles.Points Series1 = new Points(tChart1.Chart);
            Steema.TeeChart.Styles.Points Series2 = new Points(tChart1.Chart);
            Series1.Add(10, 10);
            Series1.Add(18, 18);
            Series2.DataSource = Series1;
            Series2.RefreshSeries();
            tChart1.Axes.Bottom.SetMinMax(10, 100);
            tChart1.Axes.Left.SetMinMax(10, 100);
            
            tChart1.Axes.Bottom.MinorGrid.Visible = true;
            tChart1.Axes.Left.MinorGrid.Visible = true;
            tChart1.Axes.Left.Grid.Color = Color.White;
            tChart1.Axes.Left.MinorGrid.Color = Color.Gray;
            tChart1.Axes.Bottom.Grid.Color = Color.White;
            tChart1.Axes.Bottom.MinorGrid.Color = Color.Gray;
            
            
            tChart1.Walls.Back.Gradient.Visible=false;
            tChart1.Walls.Back.Transparency = 100;
            tChart1.Panel.Color= Color.Black;
            tChart1.Panel.Gradient.Visible = false;

        }
Can you tell us if previous code works as you expected?

I hope will helps.

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply