Adding some points to a graph programmatically