score:2

Use size chart config to fix this issue as demoed below:

var chart = c3.generate({
    size: {
        width: 600,
        height: 300
    },
    // ...
};

Legend wraps to next line with limited width:- enter image description here

Same Legend don't wrap to next line with sufficient width:- enter image description here


Related Query

More Query from same tag