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

208
Views
Amchart 5 : Align bottom a Sankey graph

I try used Sankey graph from Amcharts5. It's work, I filled my data, perfect.

But i want align the graph to bottom when i have white-spaces between 2 nodes. And i don't find how it's work. My objective is to have white space at the top and stacked data at the bottom.

I create my graph so that :

var root = am5.Root.new(idDiv);

root.setThemes([
    am5themes_Responsive.new(root)
]);

var series = root.container.children.push(
    am5flow.Sankey.new(root, {
        sourceIdField: "from",
        targetIdField: "to",
        valueField: "value",
        nodePadding: 0,
        nodeAlign: "justify"
    })
);

series.nodes.setAll({
    fillField: "color"
});
  
series.links.template.setAll({ 
    fillStyle: "source", 
    fillOpacity: 0.35 
});

series.appear();

See here how my graph look actualy : https://i.imgur.com/Q9P2rG7.png

Someone have a solution ?

Thank you

(Sorry, I don't speak english very well)

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!