Процент процентной доли круговой диаграммы Android Hichart
Как отобразить процент в верхней части круговой диаграммы
> 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("<b>{point.percentage:.1f}
> %</b>");
>
> //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);*
В уровнях данных я установил процент для отображения, но он отображается за пределами круговой диаграммыа не в верхней части круговой диаграммы.
Заранее спасибо