Page 1 of 1

InflateMargins property issue

Posted: Tue Apr 27, 2010 8:24 pm
by 9529272
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.

Re: InflateMargins property issue

Posted: Thu Apr 29, 2010 10:06 am
by yeray
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.

Re: InflateMargins property issue

Posted: Thu Apr 29, 2010 7:20 pm
by 9529272
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.

Re: InflateMargins property issue

Posted: Fri Apr 30, 2010 3:30 pm
by yeray
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)

Re: InflateMargins property issue

Posted: Mon May 03, 2010 7:14 pm
by 9529272
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.

Re: InflateMargins property issue

Posted: Fri May 07, 2010 2:09 pm
by yeray
Hi OptUser,

Okay, thanks for your observations. They will be useful when we'll try to fix it.