Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Grid Styles (Read 5052 times)
dolfandon
Junior Member
**
Offline



Posts: 51
Location: Northern Virginia
Joined: Mar 12th, 2009
Grid Styles
Dec 14th, 2009 at 2:29pm
Print Post  
The current grid style enumeration contains two styles, lines and points. Can I change the pen associated with this. So if I set it to lines, can I change the line to be dashed or dash dot?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Grid Styles
Reply #1 - Dec 14th, 2009 at 2:42pm
Print Post  
You can't change the line style at this time. We'll add some property for this in a couple of days.
  
Back to top
 
IP Logged
 
dolfandon
Junior Member
**
Offline



Posts: 51
Location: Northern Virginia
Joined: Mar 12th, 2009
Re: Grid Styles
Reply #2 - Dec 14th, 2009 at 4:05pm
Print Post  
That would be great. Could one of those styles be cross? so every place it displays a dot right now, it would display a cross. Thanks.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Grid Styles
Reply #3 - Dec 18th, 2009 at 8:01am
Print Post  
This version adds a Crosses member to the GridStyle enum, and a GridDashArray property used when GridStyle is set to Lines:
https://mindfusion.eu/_beta/diaglite13.zip

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
dolfandon
Junior Member
**
Offline



Posts: 51
Location: Northern Virginia
Joined: Mar 12th, 2009
Re: Grid Styles
Reply #4 - Dec 18th, 2009 at 3:32pm
Print Post  
Cool, Thanks Stoyan

Don
  
Back to top
 
IP Logged
 
dolfandon
Junior Member
**
Offline



Posts: 51
Location: Northern Virginia
Joined: Mar 12th, 2009
Re: Grid Styles
Reply #5 - Dec 22nd, 2009 at 2:43pm
Print Post  
I can't seem to make the crosses work. Do I have to do anything with the GridDashArray when I set the style to crosses? Thanks.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Grid Styles
Reply #6 - Dec 22nd, 2009 at 2:57pm
Print Post  
You should only set GridStyle. The control ignores the grid size though, and the cross segments are always 5 points long. What GridSizeX/Y values are you using?
  
Back to top
 
IP Logged
 
dolfandon
Junior Member
**
Offline



Posts: 51
Location: Northern Virginia
Joined: Mar 12th, 2009
Re: Grid Styles
Reply #7 - Dec 22nd, 2009 at 3:30pm
Print Post  
I created a little test app and the crosses work so it must be something in my main app. It would be nice to control the length of the cross lines. We set the default grid size to 50 so they are a little small. Smiley

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Grid Styles
Reply #8 - Dec 22nd, 2009 at 3:42pm
Print Post  
Hi Don,

If you are calling LoadFromXml at some point in the main app, that might be applying the previous style you were using.

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Grid Styles
Reply #9 - Jan 10th, 2010 at 11:58am
Print Post  
Hi Don,

This version adds the GridPointSize property, which lets you change the crosses size:
https://mindfusion.eu/_beta/diaglite_cross_size.zip

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint