Making charting work