code: def _rewrite_ser_data(self, ser, series_data, date_1904):
          
          ser._remove_tx()
          ser._remove_cat()
          ser._remove_val()
  
          xml_writer = _CategorySeriesXmlWriter(series_data, date_1904)
  
          ser._insert_tx(xml_writer.tx)
          ser._insert_cat(xml_writer.cat)
          ser._insert_val(xml_writer.val)
docs: Rewrite the ``<c:tx>``, ``<c:cat>`` and ``<c:val>`` child elements
          of *ser* based on the values in *series_data*.