I googled and found no way to draw line plots or histogram via gtk from vala. Is there a ready-made solution to not write your own on cairo? I can't believe there's no way.
You use Caroline or LibDazzle Charts.
Gnome System Monitor also uses the LibDazzle to display graphs of CPU load.