bugfix: chart colour was not working

use number_format