refactored spreadsheet chart builders