BackgroundColor not as expected

0 votes
asked Sep 8, 2016 in Bug by Serge Wenger Work (15,680 points)
Hello,

I run one sample of the documentation between version 8029 ..8047):

http://plantuml.com/plantuml/png/TO_13e8m44Jl_Ohz1JqJ4i34Wp7nQeY7fMsWQUdYKkB1-EyYg23gPREPpEoRpPFa157K1Wn6WZC5nB78qtGGAsIjtcAMVJizAGsFiPhMzHGTjDwcC621hOO3a-faCEH5QurlaB46INL3Nli0Lr6Wj2LJvrL6ZdW9X0sotLLepI_dl2ziMMilRZFEqAP742lDOsWqBKyTjNDq-KzulWLxBFlM-05vlPekmicvmpi0

and the backgroundColor is not correct (and not the same as the sample in the documentation)

Best Regards

1 Answer

+1 vote
answered Sep 9, 2016 by plantuml (295,760 points)

Hi,

There is an extra space in your skinparam definition.

You should use:
backgroundColor<<static lib >> DarkKhaki

Insteaf of:
backgroundColor <<static lib >> DarkKhaki

Result here:
http://plantuml.com/plantuml/uml/TO_12i8m44Jl-Ohz1JsNGbl1WmXUfNZO9g4DIREwJV4W_hirL5khNfPbcDqtKsRP2PAa2nYC16SgI5DHvdaK6sIjtc9HV3izAGtFiPhMzNGQjS6cC625dOO3a-fbCEH5Puq_8sCBajepUUq3t4I5qjPClLS5EU853pR8TjUWDJ-CyxImPQszkCyeCSi085QQuyreMdo2etQEhdy1OoVOOpr4nW_6gsU-U9bTUdm0

 

commented Sep 9, 2016 by Serge Wenger Work (15,680 points)
I do a copy paste from the pdf and acrobat add a space. GRRRRRR.

Thanks for your help
...