Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

138
Views
Amcharts5 legend vertical align doesn't work

I am new to Amcharts5. This is my XY chart which has 3 series:

var chart3 = root3.container.children.push(
  am5xy.XYChart.new(root3, {
    layout: root3.horizontalLayout
  }),
);

I'm trying to put a legend on the top right of my XY chart, and I followed an official doc. This is my configuration for a vertical alignment( which is exactly the same as in the offical doc):

var legend = chart3.children.push(
  am5.Legend.new(root3, {
    centerY: am5.percent(0),
    y: am5.percent(0),
  })
);

And here is the output: XY Chart with Legend I really don't know why it doesn't work...

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!