fix #810 (PMG: overflow behaviour)
fix #809
Partial Chart improvement