adds post on chart.js