corrected initializer for BarChartModel.  cleaned up examples.