rewrite session graph with hchart