Fix bug with None y-values for charts with a secondary y-axis.

Otherwise the following exception is thrown:

```
Exception: unsupported operand type(s) for -: 'NoneType' and 'float'
```