Page 1 of 1

Allowdrag in Tchart as property in tools.subchart

Posted: Wed May 10, 2023 2:55 pm
by 16592373
in tools.subchart I can find in the gui "allowdrag" checkbox , but I cant find this for a main chart in a Tform?

Is there a similar property in object inspector or how to do? ( I have unchecked Anchor etd)

Re: Allowdrag in Tchart as property in tools.subchart

Posted: Tue May 16, 2023 12:48 pm
by yeray
Hello,

Indeed, AllowDrag and AllowResize are properties in TSubChart class, not in TChart class.
TSubChart_properties.png
TSubChart_properties.png (8.13 KiB) Viewed 15765 times
The TChart can be positioned as a regular TControl. If you leave the Align property set to alNone as per default, then you can position it using Left and Top properties, and size it with Width and Height properties.