refactored dasboard and chart_item