Updated for simple chart.