Page 1 of 1

How could i enlarge distance between dots in gridlines

Posted: Thu May 10, 2007 12:23 pm
by 9638762
I have vertical grid lines on Bottom Axis ..
How could i enlarge distance between dots in gridlines ?
Is it possible?

Posted: Thu May 10, 2007 1:30 pm
by narcis
Hi glikoz,

You can set axes grid style like this:

Code: Select all

			tChart1.Axes.Bottom.Grid.Style = System.Drawing.Drawing2D.DashStyle.Dash;
If none of defined styles fits your needs you can also use DashPattern as shown here.

Posted: Thu May 10, 2007 3:40 pm
by 9638762
I tried to redound space between two dashes ..Although i try different pattern
i couldn't change space between two dashes. ..

Posted: Fri May 11, 2007 9:57 am
by narcis
Hi glikoz,

Have you tried using DashPattern as in the example I posted at the thread I pointed you?

Please notice that this features was implemented in one of latest maintenance releases so this will only be supported Build 2.0.2546.16098/9 from 21st December 2006 or newer versions.

Posted: Fri May 11, 2007 10:54 am
by 9638762
Ok it seems work...
Thx..