adding examples for charts in foreach and linechart