ASE Home Page Products Download Purchase Support About ASE
ChartDirector General
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  BAR graph separation
Posted by Mojibul on Aug-26-2009 13:10
Hi,

Is it possible to control the separation between consecutive BARS. If possible, please let me know how to do that.

BR// Mojibul

  Re: BAR graph separation
Posted by Peter Kwan on Aug-26-2009 17:37
Hi Mojibul,

You may use BarLayer.setBarGap or BarLayer.setBarWidth. You may look for BarLayer.setBarGap and BarLayer.setBarWidth in the ChartDirector documentation index for details.

For example, in VB/VBScript:

'layer = BarLayer object
'set bar gap to 10% of the total slot width for the bar (so the bar itself is 90% of the slot)
Call layer.setBarGap(0.1)

Hope this can help.

Regards
Peter Kwan