Page 1 of 1

Bar series and marks on bar

Posted: Thu Nov 21, 2013 1:37 pm
by 16665635
TeeChart ActiveX 2013 and GDI rendering.

I am trying to put marks on bars. I have mark's text at 90 degrees and style is set to smsLabel (default). If some of the bars have labels set some of the marks do not show correctly:
smsLabel and labels on bar start.png
smsLabel and labels on bar start.png (9.54 KiB) Viewed 14690 times
If same bars have no labels set marks show better:
smsLabel and values on bar start.png
smsLabel and values on bar start.png (9.23 KiB) Viewed 14690 times
I tried tinkering with alignment and other usual suspects but found nothing that helped. Only the mark on the first bar is drawn like it should be.

BR,

Tero

Re: Bar series and marks on bar

Posted: Thu Nov 21, 2013 2:02 pm
by 16665635
Ok. I made a mistake. Text alignment helps so that marks' text is not clipped but still marks do not start at the same position on the bar.
text align set to left.png
text align set to left.png (9.26 KiB) Viewed 14734 times

Re: Bar series and marks on bar

Posted: Thu Nov 21, 2013 3:05 pm
by narcis
Hello,

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

Thanks in advance.

Re: Bar series and marks on bar

Posted: Fri Nov 22, 2013 8:41 am
by 16665635
Test application. You can try different text alignment options by changing the code. Anyway, regardless of the text alignment selected labels do not start at the same position on the bar.

Re: Bar series and marks on bar

Posted: Fri Nov 22, 2013 11:26 am
by narcis
Hi jhameenniemi,

Thanks for the example project. I could narrow it down to a simple Delphi example and added it to the bug list [ID466] to be enhanced for future releases. Please bear in mind that TeeChart Pro ActiveX is a COM wrapper of TeeChart Pro VCL, written in Delphi. Therefore the issue needs to be fixed in the VCL version to get to the ActiveX version. Also, if you sign up at the bugzilla platform you'll be able to receive automatic notifications about the status of the issue.

Re: Bar series and marks on bar

Posted: Fri Nov 22, 2013 3:18 pm
by narcis
Hello,

As an update, the issue has been implemented: http://bugs.teechart.net/show_bug.cgi?id=466#c1. it will be included in the next maintenance release.