fixes #31577
small fix
Merge pull request #8 from atsapenko/master

chart bugs