0

Is it possible to omit the animation at the beginning of the graph generation? I know there is transition { duration: 0 }, but I would like to still have other modification transitions.

Can someone help me, please?

Thanks in advance!

Martin Linha
  • 979
  • 9
  • 21

1 Answers1

1

Got the right answer from C3.js forum:

    var chart = c3.generate({
    data: {
        columns: [
            ['data1', 100, 200, 150, 300, 200],
            ['data2', 400, 500, 250, 700, 300], ]
    },
    transition: {
        duration: 0
    }
});
chart.internal.loadConfig({
    transition: {
        duration: 500
    }
});
Martin Linha
  • 979
  • 9
  • 21