It seems that the pivot table integration does not allow to size C3 charts to use the available space. According to the documentation and this example: https://jsfiddle.net/nicolaskruchten/gq6w05j8/ the size of the chart should follow the size of the container element if not explicitly set. In the given example this works fine.
Within Cuba it also seems to do so, but takes the overall <div> of the pivot table as the leading size. In my project, but also in the samples as shown on https://demo.cuba-platform.com/sampler/#! (e.g. the editable pivot table and then select stacked bar chart), this behavior can be seen.
I’ve fiddled around to control the behavior through CSS but was unable to.
I do think this is in issue related to Cuba (as the original pivot table implementation works ok). Is there any fix/workaround to get a properly sized chart that uses the available space?