add stackchart module with preferences