move export function from chart.js to view.
Merge branch 'master' of https://github.com/YiiTeam/resource

Conflicts:
	js/chart.js