Source code
Download source archive ↓src/openpyxl/drawing/relation.py
1# Copyright (c) 2010-2024 openpyxl
2
3from openpyxl.xml.constants import CHART_NS
4
5from openpyxl.descriptors.serialisable import Serialisable
6from openpyxl.descriptors.excel import Relation
7
8
9class ChartRelation(Serialisable):
10
11 tagname = "chart"
12 namespace = CHART_NS
13
14 id = Relation()
15
16 def __init__(self, id):
17 self.id = id