Padding an annotation

TeeChart for JavaScript for the HTML5 Canvas
Post Reply
Bruce
Newbie
Newbie
Posts: 10
Joined: Wed Aug 26, 2020 12:00 am

Padding an annotation

Post by Bruce » Fri Dec 11, 2020 1:54 pm

How do I do this please?

a2.padding=100 does nothing.
Bruce

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

Re: Padding an annotation

Post by Yeray » Wed Dec 16, 2020 2:42 pm

Hello,

Try with margins property. Ie:

Code: Select all

  a1.margins.left = 50;
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

Bruce
Newbie
Newbie
Posts: 10
Joined: Wed Aug 26, 2020 12:00 am

Re: Padding an annotation

Post by Bruce » Thu Dec 17, 2020 10:46 am

Thanks.
Bruce

Post Reply