c3js 缩放功能是否也可以放大 y 值?

Is it possible for the c3js zoom function to zoom into the y values as well?

每当我在我的 c3js 图表上使用放大功能时,只有 x 轴及其值被放大,而 y 值和轴保持不变。有没有办法让 y 轴也能放大?

您可以重置 Y 轴的值。

用法:

zoom: { rescale: true }

参考 http://c3js.org/reference.html#zoom-rescale