Page 1 of 1

Can I reduce the number of vertical grid lines on chart?

Posted: Thu Dec 07, 2006 6:45 am
by IanMcCarthy
The chart on my databand can display anything from two or three points to several hundred.
The vertical grid lines seem to be drawn for every data point displayed (likewise with major ticks).

The x-axis labels get drawn at regular intervals where space permits.

Is there a way to only have the grid line (tick) drawn if a label is displayed?

Charts with several hundred data points have five or six labels across the x-axis, hundreds of ticks (looks like a millipede) and the chart data area has a hatch
pattern from all the grid lines.

One grid line (tick) for each visible label would be clearer, can this be done?

Ian


Can I reduce the number of vertical grid lines on chart?

Posted: Thu Dec 07, 2006 8:06 am
by Edward
Please use the Step property of the Chart component.

Image

Thank you.

Can I reduce the number of vertical grid lines on chart?

Posted: Thu Dec 07, 2006 9:54 am
by IanMcCarthy
What that does is change the number of data points (and hence grid lines and ticks) between each displayed x-axis label.
If I have 100 data points and set step to 10, then I still see 100 grid lines (and ticks) but only 10 x-labels (one every 10 data points).

What I would like to see is one one grid line, one tick and one label every 10 data points.

So with Step = 0, display grid line and tick for each point with visible label.

Changing the setting for Step doesn't change the number of grid lines or ticks displayed, only labels.

Ian

Can I reduce the number of vertical grid lines on chart?

Posted: Thu Dec 07, 2006 1:31 pm
by Vital
We can provide solution for you, but it take some time.

Can I reduce the number of vertical grid lines on chart?

Posted: Mon Dec 11, 2006 2:45 am
by IanMcCarthy
Always gratefull for new features.

Excellent work.

Ian

Can I reduce the number of vertical grid lines on chart?

Posted: Sun Dec 17, 2006 5:29 am
by Vital
We have added new property Step to Chart.Area.XAxis.Ticks and to Chart.Area.YAxis.Ticks
Patch will be available on our website at Dec, 18.

Thank you.

Can I reduce the number of vertical grid lines on chart?

Posted: Tue Dec 19, 2006 4:53 am
by IanMcCarthy
Downloaded latest dll pack and I am able to match the number of ticks and grid lines to the labels, many thanks.

However...

I now notice that the vertical axis draws extra tick marks from the bottom of the chart area, down to the edge of the chart object.

No labels, just ticks.

I didn't get these before.

I'm not setting any step for the vertical axis, it's the default zero value.

Are you getting the same?

Can I reduce the number of vertical grid lines on chart?

Posted: Wed Dec 20, 2006 3:55 am
by Vital
We can't reproduce this problem. Please send screenshot and report to support [at] stimulsoft [dot] com

Thank you.

Can I reduce the number of vertical grid lines on chart?

Posted: Wed Dec 20, 2006 11:22 am
by Vital
Fixed. Will be available in build from Dec, 20.

Thank you.