use global configuration in linechart.js