mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-08-17 14:44:43 +00:00
Final Tweak (I Think)
This commit is contained in:
Binary file not shown.
@@ -306,7 +306,7 @@ class StringTable extends WriterPart
|
||||
$objWriter->writeAttribute('val', $value);
|
||||
$alpha = $underlineColor->getAlpha();
|
||||
if (is_numeric($alpha)) {
|
||||
$objWriter->startElement('a:alpha');
|
||||
$objWriter->startElement($prefix . 'alpha');
|
||||
$objWriter->writeAttribute('val', ChartColor::alphaToXml((int) $alpha));
|
||||
$objWriter->endElement();
|
||||
}
|
||||
|
||||
@@ -262,6 +262,7 @@ class Charts32ScatterTest extends AbstractFunctional
|
||||
self::assertNotNull($chartColor);
|
||||
self::assertSame('000000', $chartColor->getValue());
|
||||
self::assertSame('srgbClr', $chartColor->getType());
|
||||
self::assertSame(50, $chartColor->getAlpha());
|
||||
|
||||
$plotArea = $chart->getPlotArea();
|
||||
self::assertNotNull($plotArea);
|
||||
|
||||
Reference in New Issue
Block a user