adapting new chart form to stackchart module