Bar series and marks on bar

TeeChart for ActiveX, COM and ASP
Post Reply
jhameenniemi
Newbie
Newbie
Posts: 17
Joined: Mon Apr 15, 2013 12:00 am

Bar series and marks on bar

Post by jhameenniemi » Thu Nov 21, 2013 1:37 pm

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 14924 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 14924 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

jhameenniemi
Newbie
Newbie
Posts: 17
Joined: Mon Apr 15, 2013 12:00 am

Re: Bar series and marks on bar

Post by jhameenniemi » Thu Nov 21, 2013 2:02 pm

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 14968 times

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Bar series and marks on bar

Post by Narcís » Thu Nov 21, 2013 3:05 pm

Hello,

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

Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

jhameenniemi
Newbie
Newbie
Posts: 17
Joined: Mon Apr 15, 2013 12:00 am

Re: Bar series and marks on bar

Post by jhameenniemi » Fri Nov 22, 2013 8:41 am

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.
Attachments
TeeTest.zip
(81.43 KiB) Downloaded 1033 times

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Bar series and marks on bar

Post by Narcís » Fri Nov 22, 2013 11:26 am

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Bar series and marks on bar

Post by Narcís » Fri Nov 22, 2013 3:18 pm

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply