add return values from draw for custom drawing
Merge pull request #36 from piti118/plotdata

Add return values from draw for custom drawing