The thing that jumped out at me as I read your code was that you weren't specifying what colors to use. So, whatever the 'default' color was, in this case, as you say, it appears that color is black, the background, text and graphed information (points, lines, bars, whatever) will all be black...
-Scott