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

Message ListMessage List     Post MessagePost Message

  margin b/w indicators
Posted by icasper on Feb-21-2012 01:31
I am using Interactive Finance Chart example. Can u provide the php code on how to have
a margin or space b/w different indicators on graph. Basically I want to have a space b/w
indicators.
I m using the method as in FinanceChart to add indicators via;

addIndicator($c, $_REQUEST["Indicator1"], $indicatorHeight);

Thanks..

  Re: margin b/w indicators
Posted by Peter Kwan on Feb-22-2012 00:50
Hi icasper,

The API to control the gap between indicator charts is FinanceChart.setPlotAreaBorder. For example:

#plot area border color = 0x000000, gap between indicator charts = 10 pixels
$myFinanceChart->setPlotAreaBorder(0x000000, 10);

Hope this can help.

Regards
Peter Kwan