Call back doesnot update

I am using a drop down menu and I want the graph to be update based on the choice. The drop down contains the features of the data set(column names of the data set). I have been able to display the drop down, I can also see that the call back is also triggered but no graph appears and hence no changes in the graph. help would be appreciated