Adding chart.js library and sample method.
Added method to generat line chart
Adde method to generate pie chart.
Added option sort data, added quantity to legend.
Code refactoring, changes in genereting line chart.