Suraj Report post Posted January 30, 2019 In Doughnut 2d Graph for printing labels on Arc of is there any attribute to do so.if not so how can we create annotation category with dynamic values according to the labels present in data. PF screenshot for the same Share this post Link to post Share on other sites
Suraj Report post Posted January 31, 2019 I am using annotation.update for the same but what how to define reference points of these points in terms of X,Y,dx,dY. Share this post Link to post Share on other sites
Akash Biswas Report post Posted January 31, 2019 Hi Suraj, FusionCharts does not support displaying the labels or values on the Doughnut slices. You need to use annotations to achieve this. However, since annotations are static in nature, you need to provide the "x" and "y" attributes of the text annotations accordingly with pixel values to get the text positioned on top of the slices. For further reference check the below links : Text annotations : https://www.fusioncharts.com/dev/chart-guide/chart-configurations/annotations#create-text-annotations Positioning Macros : https://www.fusioncharts.com/dev/chart-guide/chart-configurations/annotations#positioning-annotations Thanks, Akash. Share this post Link to post Share on other sites
Suraj Report post Posted January 31, 2019 Hi Akash, Thanks for the quick response, can you please provide sample fiddle for this. Thanks, Suraj Share this post Link to post Share on other sites
Akash Biswas Report post Posted January 31, 2019 Hi Suraj, Please find a sample fiddle using Text annotations to place labels and values as strings on top of the Doughnut slices : http://jsfiddle.net/xm4ofav2/ Thanks, Akash. Share this post Link to post Share on other sites
Suraj Report post Posted February 1, 2019 (edited) HI Akash, Please could you provide the same annotation(dynamic implementation) depending upon data input or data Sample. According to our implementation we want to plot data depending upon dynamic input from backend. So could you help me and tell how to find start angle and end angle of arcs in doughnut charts. Thanks Suraj Edited February 1, 2019 by Suraj Share this post Link to post Share on other sites
Akash Biswas Report post Posted February 1, 2019 Hi Suraj, It is not possible to set the annotations position with respect to the starting and the ending arcs of the slices in a Doughnut chart. The available macro options with respect to the dataset are in the below documentation link :https://www.fusioncharts.com/dev/chart-guide/chart-configurations/annotations#use-macros Please note : Annotations are static in nature. Though, you can dynamically set the annotation configurations using the supported API, but the "x" and "y" values for the text annotations have to be set according to your requirement to place them on top of the slices. Because, fetching the slice or arc starting and ending angles are not possible using macros. Thanks, Akash. Share this post Link to post Share on other sites