fix bug where graph does not show preperly when receiving values as stri...

...ngs