Default 2d view

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
TelventUser
Newbie
Newbie
Posts: 14
Joined: Mon Sep 12, 2011 12:00 am

Default 2d view

Post by TelventUser » Thu Jun 14, 2012 9:46 pm

Hi ,
Anyone know, how to create a new chartbook in 2d mode. Everythime I open it it shows up in 3d mode.
FYI: I tried tchart1.aspect.view3d=false but no luck. Any ideas.

Thanks
Telvent User.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Default 2d view

Post by Narcís » Fri Jun 15, 2012 1:45 pm

Hi Telvent User.,

Code snippet below works fine for me here with latest Teechart for .NET 2012 release available. Can you please check if it works fine at your end?

Code: Select all

    public Form1()
    {
      InitializeComponent();
      InitializeChart();
    }
    
    private void InitializeChart()
    {
      Steema.TeeChart.ChartBook chartBook1 = new Steema.TeeChart.ChartBook();

      chartBook1.Dock = DockStyle.Fill;

      this.Controls.Add(chartBook1);

      Steema.TeeChart.TChart tChart1 = chartBook1.AddChart();
      tChart1.Aspect.View3D = false;
      tChart1.Series.Add(new Steema.TeeChart.Styles.Bar()).FillSampleValues();
    }
Thanks in advance.
Best Regards,
Narcís Calvet / 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

TelventUser
Newbie
Newbie
Posts: 14
Joined: Mon Sep 12, 2011 12:00 am

Re: Default 2d view

Post by TelventUser » Thu Jun 21, 2012 10:59 pm

Hi Narcis,

When I right click on chart, using context menu to add a new tab chart I am still getting new chart in 3d.

Thanks for your help.

Telvent User

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

Re: Default 2d view

Post by Sandra » Mon Jun 25, 2012 3:21 pm

Hello TeleventUser,

Can you send us a simple project that we can reproduce your problem? If you prefer you can explain us, step to step as we can reproduce your problem, so I can reproduce it here.

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