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

Message ListMessage List     Post MessagePost Message

  PHP ChartDirector Has Two Undefined Identifiers
Posted by Jared Ririe on Jan-28-2020 02:45
BarLayer::setMinImageMapSize and BaseBoxLayer::setMinImageMapSize both take in an argument ($s) yet reference it as s, without the $.

function setMinImageMapSize($s) {
callmethod("BaseBoxLayer.setMinImageMapSize", $this->ptr, s);
}

  Re: PHP ChartDirector Has Two Undefined Identifiers
Posted by Peter Kwan on Jan-28-2020 16:35
Attachments:
Hi Jared,

Thank you very much for reporting this issue to us. We confirm it is a bug in ChartDirector. The 's' should be '$s'.

Calling this API will have no effect to the chart, and will cause PHP to issue a warning message.

If it is necessary to use this API, please use the attached phpchartdir.php, which changes the 's' to '$s'. The attached phpchartdir.php is for ChartDirector 6.x.

Regards
Peter Kwan
phpchartdir.zip
phpchartdir.zip

23.05 Kb