fix up percentage option for chart_json