Charts - code styling and completed JSDoc