Relative Size Anchoring
Relative Anchoring describes the placement of the drawing within the chart based upon relative chart coordinates. For instance, if the chart increases in size then the shape will grow as well. This positioning information includes <from>
and <to>
elements which specify a percentage-based coordinate within the chart bounding box. The <relSizeAnchor>
element is what specifies this anchoring behavior and a sample usage is shown below.
<cdr:relSizeAnchor> <cdr:from> <cdr:x>0.125</cdr:x> <cdr:y>0.13194</cdr:y> </cdr:from> <cdr:to> <cdr:x>0.36042</cdr:x> <cdr:y>0.53472</cdr:y> </cdr:to> … </cdr:sp> </cdr:relSizeAnchor>
In this example, there is a single shape specified using relative anchoring as its anchoring method.