The Chart example shows how to create a custom view for the model/view framework.