Skip to main content

All Questions

0 votes
1 answer
80 views

Amchart 4 Legend In Arabic not Showing Properly

I want To start the Legend marker from the right side I already used these three Properties. chart.legend.reverseOrder = true; chart.legend.itemContainers.template.reverseOrder = true;chart.rtl = true;...
wajiha siddiqui's user avatar
1 vote
1 answer
920 views

Amcharts4 legend label not truncated when value is right aligned

I am creating a pie chart with the legend at the bottom. I have added the config to truncate the legend label by passing chart.legend.labels.template.maxWidth = 120; chart.legend.labels.template....
Pragatheeswaran's user avatar
3 votes
0 answers
2k views

Show only top 5 values in legend for Pie Chart (Am4 charts)

I have a pie chart with legends made using Am4 charts but I need to display only the top 5 legend values. I wrote the following code: var chart = am4core.create("chartdiv2", am4charts.PieChart); ...
Thanatos's user avatar
  • 292
6 votes
1 answer
3k views

Remove space between name and percentage in pie chart legend (amcharts4)

I want to get rid of that space in the legend between the name and the percentage. In the pic, I have highlighted the space in yellow. For example, I want the first legend item to be "Lithuania (30....
Thanatos's user avatar
  • 292