Example One:
Outputs an image (png) to a folder, the image is referenced using an img tag in a view
Plot to file and display view
Example Two:
Outputs an image to http stream, the chart is displayed in a new browser window
Example Three:
Dynamically source the chart image from an img tag
Dynamically display in a view