Add support for charts to ASCII driver. Bug #16364.