Page 1 of 1

v8.06 vs v8.07 Data Table issue

Posted: Fri Apr 16, 2010 10:46 am
by 16455722
The Data Table on v8.06 and v8.07 seems behave differently. Below image shows a TeeChart of the same program. Upper one is TeeChart v8.06 on D2007. Lower one is v8.07 on D2007.

After upgraded to v8.07, Data Table with more number of columns seems okay, but if number of columns is smaller, like 3, the Data Table grid falled out of the TChart boundary. Some charts even worse.

Image

Re: v8.06 vs v8.07 Data Table issue

Posted: Fri Apr 16, 2010 10:59 am
by 16455722
If I double the size of the TChart by codes, below is the result.

As my program will detect the client environment and determine if to double the size or not, v8.07 affects me badly.

Image

Re: v8.06 vs v8.07 Data Table issue

Posted: Fri Apr 16, 2010 2:13 pm
by narcis
Hi Chula,

Can you please attach a simple example project we can run "as-is" to reproduce the problem here?

Thanks in advance.

Re: v8.06 vs v8.07 Data Table issue

Posted: Mon Apr 19, 2010 5:19 am
by 16455722
I have created a sample and attached. When you try 3 columns (bars), the data table will exceed boundary when enlarged. But if the number of columns is larger, no such issue.

I am not sure why, my live project (released) has no such problem. But by developmetnt environment has such issue after upgraded to v2010 and rollbacked.

Re: v8.06 vs v8.07 Data Table issue

Posted: Mon Apr 19, 2010 6:15 am
by 16455722
One more thing.

Even I fine-tuned the layout with enlarged size in design-time with 3 columns of random data and put everything well in place. Once I started drawing the Data Table still expanded out of boundary.

Re: v8.06 vs v8.07 Data Table issue

Posted: Mon Apr 19, 2010 9:06 am
by narcis
Hi Chula,

Thanks for the information. I have added the issue to the defect list (TV52014808) to be fixed for future releases.

Re: v8.06 vs v8.07 Data Table issue

Posted: Tue Apr 20, 2010 4:10 am
by 16455722
My temporary solution is add these two statement everytime I change or enlarge the chart:

Chart1.BottomAxis.MinimumOffset := 0;
Chart1.BottomAxis.MaximumOffset := 0;

So, the problem was not related to the Data Table. v8.07 will alter the above two properties automatically. Sometimes even I set it in the Edtior during design-time, these two properteis will automatically changed to whatever it wants.