dynamic values to chart