Revert "Improve performance of chart rendering by eliminating implicit use of BigInteger."

This reverts commit b54b9311d4ee0fc9b3744bf1e4575a6e75cd17dd.