typo fix
adapted legent container selctor to jQuery
fix of bug of internationalized values
ported to jquery ajax update of graphs