Bar Chart does not Resize Correctly

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
lilo
Newbie
Newbie
Posts: 18
Joined: Thu Sep 12, 2013 12:00 am

Bar Chart does not Resize Correctly

Post by lilo » Fri Jan 31, 2014 6:24 pm

If a Bar Chart is resized on a form interactively by dragging the form handle bars and resizing the bar chart on the fly in code, a gap appears on the left of the chart between the y-axis and first sample.
BarChart1.jpg
BarChart1.jpg (67.56 KiB) Viewed 6814 times

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

Re: Bar Chart does not Resize Correctly

Post by Christopher » Mon Feb 03, 2014 12:51 pm

Hello,

Running this code:

Code: Select all

   
    private void InitializeChart()
    {
      tChart1.Aspect.View3D = false;
      tChart1.Series.Add(typeof(Bar)).FillSampleValues();
      tChart1.Series.Add(typeof(Bar)).FillSampleValues();
    }
and then resizing the chart by resizing the form does not reproduce the problem here. Could you please modify the above code snippet so I can reproduce the problem at my end?
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

lilo
Newbie
Newbie
Posts: 18
Joined: Thu Sep 12, 2013 12:00 am

Re: Bar Chart does not Resize Correctly

Post by lilo » Tue Feb 04, 2014 2:13 am

I changed some of my code and it started working correctly...

Thanks,

Post Reply