Page 1 of 1

Custom Grid

Posted: Mon Oct 04, 2010 7:06 pm
by 15351453
Hi,
I need to make a 2D chart with grid lines behind that are not evenly-spaced.
For instance, daily x values with monthly grid lines (31 days in Jan, 28 days in Feb etc).
It gets a bit more complicated as there may be missing data, so I want to be able to determine which points have grid lines based on the x-values.

How can I do this please?
Are there any handy examples among the samples?

I am using the SWT Java version.

Many thanks
Roger

Re: Custom Grid

Posted: Wed Oct 06, 2010 9:59 am
by narcis
Hi Roger,

The easiest way to do that is setting axis labels style being set to points text labels. Therefore you'll only get grid lines for those points.

Re: Custom Grid

Posted: Thu Oct 07, 2010 12:13 pm
by 15351453
Thanks NarcĂ­s,
That worked well.