Bug in ChartImage.cs

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Glenn F. Henriksen
Newbie
Newbie
Posts: 52
Joined: Tue Mar 04, 2003 5:00 am

Bug in ChartImage.cs

Post by Glenn F. Henriksen » Fri Jul 02, 2004 3:19 pm

I think there is a bug in the current version of TeeChart.net:

In ChartImage.cs, line 75:

r.Height=GetVertAxis.CalcYPosValue(GetVertAxis.Minimum);

should read

r.Height=GetVertAxis.CalcYPosValue(GetVertAxis.Minimum)-r.Y;

This means that a chartimage is not quite in the right position when not associated with a series.

regards,
Richard Stratford

Marjan
Site Admin
Site Admin
Posts: 745
Joined: Fri Nov 07, 2003 5:00 am
Location: Slovenia
Contact:

Post by Marjan » Mon Jul 05, 2004 3:58 pm

Hi, Lancer.

True, the Height in original code was too big. Thanks for the fix. It will be included in next maintenance release.
Marjan Slatinek,
http://www.steema.com

Post Reply