Recent

Author Topic: Labels on the X axis with an angle of 45  (Read 1019 times)

cpalx

  • Hero Member
  • *****
  • Posts: 692
Labels on the X axis with an angle of 45
« on: May 22, 2021, 06:37:57 pm »
Hello,

Well, i would like to know how to put the Labels on the X axis with an angle of 45.

The problem is in the image.

Thanks

wp

  • Hero Member
  • *****
  • Posts: 8743
Re: Labels on the X axis with an angle of 45
« Reply #1 on: May 22, 2021, 07:01:25 pm »
Set the axis' Marks.LabelFont.Orientation to 450 (value is in tenths of degrees).

Or increate the Increments.MaxLength of the axis to move the tick marks further apart; this way you maybe can keep horizontal labels for better readability.
« Last Edit: May 22, 2021, 08:06:55 pm by wp »
Mainly Lazarus trunk / fpc 3.2.0 / all 32-bit on Win-10, but many more...

NickyTi

  • Newbie
  • Posts: 4
Re: Labels on the X axis with an angle of 45
« Reply #2 on: May 22, 2021, 07:23:07 pm »
Chart -> BottomAxis -> Marks -> LabelFont -> Orientation = 300

cpalx

  • Hero Member
  • *****
  • Posts: 692
Re: Labels on the X axis with an angle of 45
« Reply #3 on: May 22, 2021, 08:16:12 pm »
thanks

 

TinyPortal © 2005-2018