I need help with the Chart Widget

Hello , I am trying to use Chart Widget in my application. I am not able to understand how i can bind data with the chart widget. By Default there are some values. When I try to bind my variable with the cart, the chart does not show anything. I am confused as to how we can bind values to chart widget. Please share some detailed steps or example which i can follow.