InflateMargins property issue

TeeChart for ActiveX, COM and ASP
Post Reply
OptUser
Newbie
Newbie
Posts: 20
Joined: Mon Nov 21, 2005 12:00 am

InflateMargins property issue

Post by OptUser » Tue Apr 27, 2010 8:24 pm

Hello,

The TeeChart v8.0.0.6 version has a problem with the "InflateMargins" property, when that property is "False" some parts of the graphic disappear.

There's sample attached that reproduces the problem, this problem does not happen in the TeeChart v7.0.1.3.

Steps to reproduce the problem:
- Run the sample.
- The initial window will display a chart.
- Resize the dialog window.
- Notice that a part of the chart appears.

I would appreciate some insight about this issue and if there's some workaround or fix for it.

Thank you in advance.
Attachments
teechart00.zip
VB6 project that reproduces the issue.
Uses the TeeChart v8.0.0.6 ActiveX control.
(5.76 KiB) Downloaded 509 times

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

Re: InflateMargins property issue

Post by Yeray » Thu Apr 29, 2010 10:06 am

Hi OptUser,

I can see nothing strange in your application. Could you please send us a screenshot of the problem you seeing after resizing the application?
Also note that the latest ActiveX version is 8.0.0.8.
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

OptUser
Newbie
Newbie
Posts: 20
Joined: Mon Nov 21, 2005 12:00 am

Re: InflateMargins property issue

Post by OptUser » Thu Apr 29, 2010 7:20 pm

Hi,

I checked the ActiveX 8.0.0.8 version and it still has the problem.
Depending on the PC tested the control's size has to be slightly different to reproduce the issue.

In order to reproduce successfully you have to resize the dialog slowly until the value point disappears.
This time the sample project is binded with the 8.0.0.8 version and added two screenshots.

Notice the value point "a1" in "Init.jpg" is shown correctly but in "resize.jpg" the point is missing.
Attachments
teechart00.zip
Sample project plus two screenshots
(57.25 KiB) Downloaded 553 times

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

Re: InflateMargins property issue

Post by Yeray » Fri Apr 30, 2010 3:30 pm

Hi OptUser,

I could reproduce the problem. Note that it is reproducible with simpler code:

Code: Select all

Private Sub Form_Load()
  TChart1.Align = vbAlignBottom

  TChart1.AddSeries scPoint
  TChart1.Series(0).FillSampleValues 1

  TChart1.AddSeries scLine
  TChart1.Series(1).FillSampleValues 3
  TChart1.Series(1).asLine.Pointer.Visible = True
End Sub
I've added it to the defect list to be fixed in future releases (TV52014842)
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

OptUser
Newbie
Newbie
Posts: 20
Joined: Mon Nov 21, 2005 12:00 am

Re: InflateMargins property issue

Post by OptUser » Mon May 03, 2010 7:14 pm

Hi,

I couldn't reproduce the bug with your code so I suggest you use our version in case there are two different bugs.

Thank you.

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

Re: InflateMargins property issue

Post by Yeray » Fri May 07, 2010 2:09 pm

Hi OptUser,

Okay, thanks for your observations. They will be useful when we'll try to fix it.
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

Post Reply