edit charts_controller add def show
edit charts_controller add def update
edit charts_controller add private def fix_color