Integrating charts and graphs