fixed a bug when serializing a chart with showPercentages set to true

git-svn-id: http://svn.code.sf.net/p/dynamicreports/code/trunk@793 bf0c503b-2351-4f66-9eae-aa52f3279a3f