added card ui for widget
drawing method of line chart and bar chart changed for avoid memory leak.

remove nvd3 from dashboard