Optimized code for datachanges, added % values in tooltip