init bargraph module