correct processing of zero values in chart series