Pie in TChart disappears

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
qcrnd
Advanced
Posts: 214
Joined: Mon Sep 04, 2006 12:00 am

Pie in TChart disappears

Post by qcrnd » Wed Mar 03, 2010 1:30 pm

Hello,

I have TChart embedded within a control displaying a pie. When the control becomes smaller the pie disappears, this wasn't a problem in Delphi what should i do

Jonathan

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

Re: Pie in TChart disappears

Post by Yeray » Thu Mar 04, 2010 9:05 am

Hi jonathan,

At what size are you seeing this? Or could you please tell us if I'm missing to set any important property to reproduce the problem here?

Code: Select all

		private void InitializeChart()
		{
            tChart1.Dock = DockStyle.Fill;

            tChart1.Legend.Visible = false;
            Steema.TeeChart.Styles.Pie pie1 = new Steema.TeeChart.Styles.Pie(tChart1.Chart);
            pie1.Marks.Visible = false;            
            pie1.FillSampleValues();

            tChart1.DoubleClick += new EventHandler(tChart1_DoubleClick);
        }

        void tChart1_DoubleClick(object sender, EventArgs e)
        {
            this.Width = 100;
            this.Height = 100;
        }
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

qcrnd
Advanced
Posts: 214
Joined: Mon Sep 04, 2006 12:00 am

Re: Pie in TChart disappears

Post by qcrnd » Sun Mar 07, 2010 8:21 am

Hi,

I don't know what properties need to be set in order for pie chart to not disappear. That is what I need the help with. I checked our delphi code, there is not code handeling of the pie, so it most be something to do with the settings of properties. Please help me as this is very urgent.

Thank you jonathan

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

Re: Pie in TChart disappears

Post by Narcís » Mon Mar 08, 2010 8:25 am

Hi jonathan,

Could you please attach a simple example project we can run "as-is" to reproduce the problem here and let us know the exact TeeChart build you are using?

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

Post Reply