How to Create a new report and charts?

Hello @Yacine.dz

Have a look at this, and specifically at the comments by peterg.

[Tutorial] Script Report / Chart