Changing startShade to darkShade does not seem to have worked.
Because it has not been changed. Check through 'Show Page Source'. The caching is screwing up things.
[Edit] OK, with ?nocache=true it does seem changed, and indeed it does not work. I will check it out.
[Edit2] OK, should work now. It was interaction between the two diagrams (the one in the Comments is on the same page), where one remembered the 'realColor' of the other. Which was not reset, because startColor and darkColor were not both defined in this diagram. I moved the initialization of realColor to an invalid value from the globals to the routine that parses the diagram definition now.
Because it has not been changed. Check through 'Show Page Source'. The caching is screwing up things.
[Edit] OK, with ?nocache=true it does seem changed, and indeed it does not work. I will check it out.
[Edit2] OK, should work now. It was interaction between the two diagrams (the one in the Comments is on the same page), where one remembered the 'realColor' of the other. Which was not reset, because startColor and darkColor were not both defined in this diagram. I moved the initialization of realColor to an invalid value from the globals to the routine that parses the diagram definition now.