refactor HighchartsGrapher