How to make the corner of SideLin(Two segments) rounded by code ???

Hi Sergey
I wish I could have SlideLin with rounded corner. I assume I need to override some method from TcustomDiagramLine. Would you please put me on on right way to do that?
Thanks In advance

If you want to paint the line yourself, you will have to override DrawLine method. You can check the existing implementation in atDiagram unit source code, then maybe copy/paste and adapt it for your needs.

Thank you for your reply
I found that if I override the Procedure
procedure RecalcLinePoints(AHandles: TStretchHandles);Virtual; (in atdiagram unit)
Then I can accomplish what I need.
Thank you

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.