Hi Fazzi,
This is another one of those times where the easiest way is to download and use the Generico filter plugin. It includes two filter bundles for creating line and pie charts. It allows anyone who can edit a text area, to add a pie or bar chart.