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

230
Visualizações
Cannot Offline-Exporting highchart Treemap to PDF

I can't Offline-Exporting highchart Treemap to PDF, but PNG, JPEG, SVG can work well. (version 9.3.0)

Use Online-Exporting can works well too.

There has an error in Console:

Uncaught DOMException: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node. offline-exporting.js:23

Here's my code:

Highcharts.chart('container', {
series: [
    {
        type: 'treemap',
        layoutAlgorithm: 'squarified',
        colorByPoint: true,
        data: [
            {
                name: 'Apple',
                id: 'Apple',
                value: 75.09627342252769,
            },
            {
                name: 'Banana',
                id: 'Banana',
                value: 9.52872657747232,
            },
            {
                name: 'Watermelon and Grape',
                id: 'Watermelon and Grape',
                value: 4.157502418100004,
            },
            {
                name: 'Pomegranate/Cherry',
                id: 'Pomegranate/Cherry',
                value: 3.5141563985028808,
            },
            {
                name: 'Strawberry',
                id: 'Strawberry',
                value: 2.1298309432692712,
            },
            {
                name: 'Peach/pear',
                id: 'Peach/pear',
                value: 2.078751209050002,
            },
            {
                name: 'Mulberry',
                id: 'Mulberry',
                value: 2.0722854199083227,
            },
            {
                name: 'Sponge Cream and Fruit',
                id: 'Sponge Cream and Fruit',
                value: 1.4224736111695193,
            },
        ],
    },
],
title: {
    text: 'Highcharts Treemap',
},
subtitle: {
    text: 'Test Export',
},
});

Here's the demo online: https://jsfiddle.net/whpLg92u/1/

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