Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Background of Overview (Read 6941 times)
ymoran00
Full Member
***
Offline



Posts: 163
Joined: May 2nd, 2007
Background of Overview
May 31st, 2007 at 11:20am
Print Post  
Hi,

Two questions about the L&F of the Overview:
1. Is there a way to change the color of the background of the overview - the section that's outside of the square? It's allways greay, and setBackground doesn't seem to work.
2. Is there a way to change the color of the square? To increase it's wodth?

Thanks,
Yoav
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Background of Overview
Reply #1 - May 31st, 2007 at 12:11pm
Print Post  
Hi,

1. Use setDimColor().
2. That's hard-coded; we can add some properties for it in the next release.

Stoyan
  
Back to top
 
IP Logged
 
ymoran00
Full Member
***
Offline



Posts: 163
Joined: May 2nd, 2007
Re: Background of Overview
Reply #2 - May 31st, 2007 at 12:17pm
Print Post  
1. As I seen, the DimColor refers to the part of the Overview outside the chart. What I'm reffering to is the part that is inside the chart but not visible (outside of the rectangle).
2. That would be great, thanks!

Yoav
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Background of Overview
Reply #3 - May 31st, 2007 at 12:26pm
Print Post  
Ok, our Java developer hasn't ported correctly the DimColor property from the .NET version. He'll fix this tomorrow, and will add some properties for the tracking rectangle borders.

Stoyan
  
Back to top
 
IP Logged
 
ymoran00
Full Member
***
Offline



Posts: 163
Joined: May 2nd, 2007
Re: Background of Overview
Reply #4 - May 31st, 2007 at 12:27pm
Print Post  
Cheesy That would be great.

Thanks,
Yoav
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Background of Overview
Reply #5 - Jun 1st, 2007 at 9:20am
Print Post  
Hi,

http://mindfusion.org/_temp/JDiagram.jar

adds a setTrackingRectPen() method that lets you set the pen for the view tracker rectangle. With the Pen object you can define color, width and dash style. And now the dim-color should work as advertised.

Stoyan
  
Back to top
 
IP Logged
 
ymoran00
Full Member
***
Offline



Posts: 163
Joined: May 2nd, 2007
Re: Background of Overview
Reply #6 - Jun 3rd, 2007 at 4:50am
Print Post  
Thanks!
It now colors it white, and I can change the color of the tracking rect.
Yet with the new jar, something that looks like a bug happens: When I look at the overview, it seems that I can see there only what's inside the tracking rect. Outsed of it everything is blank. Do you know of this problem?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Background of Overview
Reply #7 - Jun 3rd, 2007 at 7:43am
Print Post  
The dim-color covers everything outside the tracking rect. You must set it to a transparent color, with an alpha value less than 255, if you want to see through it.

Stoyan
  
Back to top
 
IP Logged
 
ymoran00
Full Member
***
Offline



Posts: 163
Joined: May 2nd, 2007
Re: Background of Overview
Reply #8 - Jun 3rd, 2007 at 9:42am
Print Post  
It solved the problem - thanks!
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint