Update phpchartdir
This commit is contained in:
parent
4d3a3d02d2
commit
1a2588b087
@ -2529,7 +2529,7 @@ class XYChart extends BaseChart {
|
||||
}
|
||||
|
||||
function addBarLayer($data = Null, $color = -1, $name = "", $depth = 0) {
|
||||
if ($data != Null)
|
||||
if (!is_null($data))
|
||||
return new BarLayer(callmethod("XYChart.addBarLayer", $this->ptr, $data, $color, $name, $depth));
|
||||
else
|
||||
return $this->addBarLayer2();
|
||||
@ -2541,7 +2541,7 @@ class XYChart extends BaseChart {
|
||||
return new BarLayer(callmethod("XYChart.addBarLayer3", $this->ptr, $data, $colors, $names, $depth));
|
||||
}
|
||||
function addLineLayer($data = Null, $color = -1, $name = "", $depth = 0) {
|
||||
if ($data != Null)
|
||||
if (!is_null($data))
|
||||
return new LineLayer(callmethod("XYChart.addLineLayer", $this->ptr, $data, $color, $name, $depth));
|
||||
else
|
||||
return $this->addLineLayer2();
|
||||
@ -2550,7 +2550,7 @@ class XYChart extends BaseChart {
|
||||
return new LineLayer(callmethod("XYChart.addLineLayer2", $this->ptr, $dataCombineMethod, $depth));
|
||||
}
|
||||
function addAreaLayer($data = Null, $color = -1, $name = "", $depth = 0) {
|
||||
if ($data != Null)
|
||||
if (!is_null($data))
|
||||
return new AreaLayer(callmethod("XYChart.addAreaLayer", $this->ptr, $data, $color, $name, $depth));
|
||||
else
|
||||
return $this->addAreaLayer2();
|
||||
@ -2559,7 +2559,7 @@ class XYChart extends BaseChart {
|
||||
return new AreaLayer(callmethod("XYChart.addAreaLayer2", $this->ptr, $dataCombineMethod, $depth));
|
||||
}
|
||||
function addHLOCLayer($highData = Null, $lowData = Null, $openData = Null, $closeData = Null, $color = -1) {
|
||||
if ($highData != Null)
|
||||
if (!is_null($highData))
|
||||
return $this->addHLOCLayer3($highData, $lowData, $openData, $closeData, $color, $color);
|
||||
else
|
||||
return $this->addHLOCLayer2();
|
||||
|
Loading…
Reference in New Issue
Block a user