Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

202
Visualizações
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
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda