How to incorporate any chart in a rails application

i just want to incorporate a chat in a my rails application...
please help me how to incorporate a chart in my rails application