Attach the chart the the global.

Fixed the lint.