def generate_client_charting_page(self, data_sources):
if not os.path.exists(self.resource_directory):<EOL><INDENT>os.makedirs(self.resource_directory)<EOL><DEDENT>self.copy_local_includes()<EOL>template_loader = FileSystemLoader(self.get_resources_location())<EOL>template_environment = Environment(loader=template_loader)<EOL>client_html = template_environment.get_template(CONSTANTS.TEMPLATE_HEADER).render(custom_stylesheet_includes=CONSTANTS.STYLESHEET_INCLUDES,<EOL>custom_javascript_includes=CONSTANTS.JAVASCRIPT_INCLUDES,<EOL>resource_path=self.resource_path,<EOL>report_title='<STR_LIT>') + '<STR_LIT:\n>'<EOL>client_html += template_environment.get_template(CONSTANTS.TEMPLATE_DIFF_CLIENT_CHARTING).render(data_series=data_sources,<EOL>resource_path=self.resource_path) + '<STR_LIT:\n>'<EOL>client_html += template_environment.get_template(CONSTANTS.TEMPLATE_FOOTER).render()<EOL>return client_html<EOL>
Create the client charting page for the diff report, with time series data from the two diffed reports.
:return: generated html to be written to disk