[dynamicCharts] use  service
[dynamicCharts] make sure to really resize the svg tag