Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Diagram origin (Read 837 times)
PeteWhite
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 13
Joined: Apr 7th, 2020
Diagram origin
Apr 30th, 2023 at 7:38pm
Print Post  
is it possible to have the origin of a diagram at the bottom left and the y-axis increasing in value upwards?

Cheers,

Pete
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3204
Joined: Oct 19th, 2005
Re: Diagram origin
Reply #1 - May 1st, 2023 at 6:49am
Print Post  
Items' internal coordinates always increase top to bottom. You could still report them to your users in whatever other coordinate system needed. For example, set diagram.Bounds so it extends from negative Y at top side to 0 at bottom. Then show absolute-value Y coordinates for items in the UI, and apply negated Y if user enters coordinates somewhere.

It seems we also added a Ruler.NegatedY property at some point for scenario just like yours -
https://mindfusion.eu/Forum/YaBB.pl?num=1329995525

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint