Posted 4 July 2019, 3:35 am EST
Hello,
I’m currently developing a donut chart with wj-flex-pie.
I would like to modify the legend so that it contains the labels located in the “bindingName” column and the associated values located in the “binding” column.
For the moment i can only modify the position or title of the legend.
Here is my chart code.
<wj-flex-pie
#flexPie
[header]="''"
[itemsSource]="listeMontantParPeriode"
[binding]="'montant'"
[bindingName]="'periode'"
[startAngle]="90">
<wj-flex-chart-animation
[animationMode]="'All'"
[duration]="1000">
</wj-flex-chart-animation>
<wj-flex-chart-legend
[title]="getNomCategorie()">
</wj-flex-chart-legend>
</wj-flex-pie>
Thx for your help.
Flavien.