be sure to try ikegami's method .. it does seem that '-' as the image name should work. Reference: RRDtool - rrdgraph (Make also check RRDTool::OO's source to see how directly it calls rrdgraph)
Comment on Re: Tricking a filename argument to use STDOUT