Android,Hichart how to show percentage on top of the pie chart?Please have look on my code.And correct me if anything wrong in my code [on hold]
HIPlotOptions plotOptions = new HIPlotOptions();
plotOptions.setPie(new HIPie());
plotOptions.getPie().setAllowPointSelect(true);//For slicing the pie quard
plotOptions.getPie().setCursor("pointer");
plotOptions.getPie().setDataLabels(new HIDataLabels());
plotOptions.getPie().getDataLabels().setEnabled(true);
plotOptions.getPie().getDataLabels().setFormat("{point.percentage:.1f} %");
//here i'm added to show the 5 on the top of the pie chart plotOptions.getPie().getDataLabels().setStyle(new HICSSObject());
plotOptions.getPie().getDataLabels().getStyle().setColor("black");
plotOptions.getPie().setShowInLegend(true);
options.setPlotOptions(plotOptions);enter preformatted text here