Is there any documentation for the frappe chart?

Hello,

I want to use Frappe Charts but the lack of documentation makes it very difficult for me to use it.
Is there any documentation. I tried to get code samples from sources but still, it is very difficult to read sometimes. I want to switch from Chart.js to frappe charts .

i saw the documentation but i didn’t understand where to put the code for the chart.
on which file write a code for the charts?

It should be placed in your JS file