mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-09-16 21:16:57 +00:00
Read axis line styles correctly
This commit is contained in:
@@ -150,6 +150,7 @@ class Chart
|
||||
}
|
||||
$xAxis->setAxisType($chartDetailKey);
|
||||
$this->readEffects($chartDetail, $xAxis);
|
||||
$this->readLineStyle($chartDetail, $xAxis);
|
||||
if (isset($chartDetail->spPr)) {
|
||||
$sppr = $chartDetail->spPr->children($this->aNamespace);
|
||||
if (isset($sppr->solidFill)) {
|
||||
@@ -219,6 +220,7 @@ class Chart
|
||||
}
|
||||
}
|
||||
$this->readEffects($chartDetail, $whichAxis);
|
||||
$this->readLineStyle($chartDetail, $whichAxis);
|
||||
if ($whichAxis !== null && isset($chartDetail->spPr)) {
|
||||
$sppr = $chartDetail->spPr->children($this->aNamespace);
|
||||
if (isset($sppr->solidFill)) {
|
||||
|
||||
Reference in New Issue
Block a user