Relative Polygon in Chart Annotations

Posted by: marcus.nixon on 1 May 2019, 11:29 am EST

  • Posted 1 May 2019, 11:29 am EST

    Hi there. Is there a way to draw a polygon in an annotation but not have it positioned absolutely? I need to draw one positioned relative to the data point index, in the same way the ellipse is in your sample.

    https://www.grapecity.com/wijmo/demos/Chart/Features/Annotations/purejs

  • Posted 2 May 2019, 8:38 am EST

    Hello,

    In order to create a polygon annotation with a relative position, you need to set the attachment property to Relative. You also need to provide the coordinates of all the points of the polygon relative to the chart.

    Please refer to the sample attached.

    ~Sharad

    Annotations pure js.zip

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels