Search code examples
amcharts

Amcharts - Increase gap between legend name & value


In the graph generated with amcharts, the legend name & the value are overlapping. I've tried adding a non-breaking space to increase padding, added new line, added just spaces, tried many properties from the amcharts manual related to legend. None of these have helped thus far.

Could I please request ideas/the property (if one exists) to increase the distance between the legend name & it's value?


Solution

  • Use valueWidth property

    "legend": {
      "autoMargins": false,
      "valueWidth": 90
    },