The Graph example code in the public domain has error

Hi. Hello. I'm using arduino 1.0 I try a few examples in the arduino software itself. However, i got error when compiling the sketch. I think it might be due to arduino library itself. Because i've experienced it before. Here i attached the source code together with screen shot of the error while compiling the sketch. With all, regards.