relation.py 344 B

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