relation.py 383 B

123456789101112131415161718
  1. from __future__ import absolute_import
  2. # Copyright (c) 2010-2019 openpyxl
  3. from openpyxl.xml.constants import CHART_NS
  4. from openpyxl.descriptors.serialisable import Serialisable
  5. from openpyxl.descriptors.excel import Relation
  6. class ChartRelation(Serialisable):
  7. tagname = "chart"
  8. namespace = CHART_NS
  9. id = Relation()
  10. def __init__(self, id):
  11. self.id = id