Hi All,
I'm trying to add the data label inside the pie chart which is similar to the below excel graph snap.
Below is the AdvanceFormat which is used.
AdvancedFormat_Init(DataPointFormats:,DataSeriesFormats:,XAxisJSON:,YAxisJSON:,HighchartsJSON:
"{
tooltip:
{
enabled: false,
},
plotOptions:
series:
dataLabels:
enabled: true,
format: '{point.name}: {y}'+'%',
}
pie:
showInLegend: false,
allowPointSelect: false,
cursor: 'pointer',
}")
OutPut:
Regards,
Vinod
I think you need to put a negative distance to go inside of the pie chart
https://www.highcharts.com/forum/viewtopic.php?t=42724
https://jsfiddle.net/okpc6uag/
https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/plotoptions/pie-datalabels-distance/
Any further questions you can also look up to the definitions/options of highcharts:
https://api.highcharts.com/highcharts/plotOptions.pie.dataLabels.distance
Kind regards,
Márcio
Thanks, Marcio for your response.
I was able to modify the Pie chart with the above references.
Perfect. Glad that I helped you, @Vinod Kumar !!
Hi @Vinod Kumar
Please check it below oml file:
Thanks
Mansur
The module you have uploaded for pie chart it has nothing in it.
Waste of time don't Download it.