1

Is it possible to change the color of a point (scatter plot) in c3.js?

my code:

var chart = c3.generate({
    ...
    point: {
        r: function(d) {
            return Math.random() * 3;
        },
        focus: {
            expand: {
                enabled: false
            }
        }
    }

});
4

1 に答える 1