bones of simpleCharts.js