Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Changing diagram attributes in Canvas mode (Read 2893 times)
lenix
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 31
Joined: Apr 6th, 2011
Changing diagram attributes in Canvas mode
Apr 30th, 2012 at 8:41pm
Print Post  
Hello,
I'm trying the asp.net component and I got a question, I'm running the component in 'Canvas' mode ( Html5 ) and I'm trying to change some stuff like the Background color of the diagram and the AdjustmentHandlesSize.
Whenever I set such attributes, they don't get applied to the diagram... the diagram seems to fall back to default values every time I run it.

I tried changing the component to JavaApplet mode and my attributes started working.

What am I missing here? Any help would be appreciated.

Thanks,
  
Back to top
 
IP Logged
 
lenix
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 31
Joined: Apr 6th, 2011
Re: Changing diagram attributes in Canvas mode
Reply #1 - May 1st, 2012 at 2:30pm
Print Post  
Anyone can help please?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Changing diagram attributes in Canvas mode
Reply #2 - May 2nd, 2012 at 6:08am
Print Post  
The Canvas library is still work in progress and implements only a small part of the APIs available in the older modes. E.g. there's only the ShapeNode type available, you can't customize selection handles yet, etc. You can see what features are available in the client side reference for canvas mode at http://www.mindfusion.eu/onlinehelp/netdiagram/index.htm?CC_refMindFusion_Diagra....
  
Back to top
 
IP Logged
 
lenix
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 31
Joined: Apr 6th, 2011
Re: Changing diagram attributes in Canvas mode
Reply #3 - May 2nd, 2012 at 6:58am
Print Post  
Alright thanks a lot Stoyo. I will try my luck with another mode because I need all the features.

Thanks again
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint