code: def replace_data(self, chart_data):
          
          rewriter = SeriesXmlRewriterFactory(self.chart_type, chart_data)
          rewriter.replace_series_data(self._chartSpace)
          self._workbook.update_from_xlsx_blob(chart_data.xlsx_blob)
docs: Use the categories and series values in the |ChartData| object
          *chart_data* to replace those in the XML and Excel worksheet for this
          chart.