improved constructor / render separation so charts can be refreshed without causing page jumps.