The sample below showcases implementation of macros in annotations
Angular gauge with circle annotations placed at the center of the gauge
Resizing the above gauge to a bigger size. The annotations are automatically placed at the center.
Using macro expression to place a rectangle annotation 10 pixels away from the borders