I'm using C3.js and want to limit the zoom-level in a line-chart, so the user won't be able to zoom-in infinitely.
I can't get this done at all. No matter what I do, the extent
in
zoom: { enabled: true, extent: [1, 5] }
doesn't change anything.
I've created an example on CodePen
I'm aware this is, according to the documentation, an experimental feature, but could someone help me with it (if I'm doing something wrong) or tell me that this is a bug/unfinished feature implementation?