Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic How to disable shadows (Read 2188 times)
Al
Junior Member
**
Offline


I Love MindFusion!

Posts: 56
Joined: Sep 3rd, 2014
How to disable shadows
Oct 13th, 2014 at 12:17pm
Print Post  
I would like to have no shadows on any of my diagram items. I have tried setting shadowOffsetX/Y to 0 but that still shows a faint shadow.

Setting the setShadowColor to my background isn't really an option either because eg. arrow lines go across items with different colours.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: How to disable shadows
Reply #1 - Oct 13th, 2014 at 1:15pm
Print Post  
We have just implemented a ShadowStyle property that lets you hide shadows and will be releasing it with a new version in a couple of weeks. You can try it with the diagramming.js script from this beta version of our ASP.NET MVC library:
http://mindfusion.eu/Forum/YaBB.pl?num=1413204800

In older versions you could set diagram.style.shadowColor to null to hide shadows.

I hope that helps,
Stoyan
« Last Edit: Oct 14th, 2014 at 6:45am by Stoyo »  
Back to top
 
IP Logged
 
Al
Junior Member
**
Offline


I Love MindFusion!

Posts: 56
Joined: Sep 3rd, 2014
Re: How to disable shadows
Reply #2 - Oct 13th, 2014 at 1:19pm
Print Post  
Thanks Stoyo, setting this worked perfectly for me:

Code (Javascript)
Select All
style.shadowColor(null);
 


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