More work on getting chart to work