Lazarus

Programming => Graphics and Multimedia => TAChart => Topic started by: arneolav on January 03, 2016, 11:29:43 am

Title: TChart.BottomAxis.Title
Post by: arneolav on January 03, 2016, 11:29:43 am
BottomAxis.Title Seems not to use Alignment;
taCenter, ...Left, ...Right; same result.
Title: Re: TChart.BottomAxis.Title
Post by: wp on January 03, 2016, 11:45:57 am
In TAChart, the axis title is always centered with respect to the axis. The property Alignment refers the alignment inf the individual lines of multi-line titles. Try this to see the difference:
Code: Pascal  [Select][+][-]
  1.   Chart1.BottomAxis.Title.Caption := 'Distance' + LineEnding + '(cm)';
TinyPortal © 2005-2018