it check selected columns its validness before binding chart

some modules separated from dashboard.js
widget can pause/resume refresh query