How to center marks on horizontalbars

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
carsten
Newbie
Newbie
Posts: 1
Joined: Fri Dec 07, 2007 12:00 am

How to center marks on horizontalbars

Post by carsten » Thu Aug 12, 2010 7:13 am

I want to make a graph with some stacked horizontal bars, and the value (Marks) should be centers in each series (bar with different colors). See the picture:

Image

How do I do that?

Is it allso possible to have the left axis labels centers as on the example picture?

Thanks in advance!

Carsten Heinmann

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

Re: How to center marks on horizontalbars

Post by Yeray » Thu Aug 12, 2010 5:06 pm

Hi Carsten,

There is a new feature to do this. You can set MarksOnBar to true and MarksLocation to mlCenter.
But I'm afraid this new feature doesn't work fine with Stacked Bars. I've added it to the wish list to be implemented in a future release (TV52015085).

In the meanwhile you could do it manually with custom drawing methods.
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

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

Re: How to center marks on horizontalbars

Post by Yeray » Fri Sep 14, 2012 10:54 am

Hi,

This is to let you know the item TV52015085 has just been reviewed and now the marks are correctly aligned in the start/center/end of the bars, also when the bars are stacked.
This will be included in the next maintenance release (and it is already included in the SourceCode Pre-Release just published).
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