Update base-chart.js

Docs are generated from the source files.