You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried that, without luck. Looks like this would result in having yMin set to undefined in c3_chart_internal_fn.getYDomain = function (targets, axisId, xDomain) {, but follow the logic beyond that didn't get me any further insight.
Hi. I kinda could mimic range reset with following code. Maybe it can help somehow
// chart is this obtained from oninit callbackchart.config.axis_x_min=undefinedchart.config.axis_y_min=undefinedchart.config.axis_y2_min=undefinedchart.config.axis_x_max=undefinedchart.config.axis_y_max=undefinedchart.config.axis_y2_max=undefinedchart.redraw({withUpdateOrgXDomain: true,withUpdateOrgYDomain: true})
Via the axis range api, the bounds of axis can be specified: http://c3js.org/samples/api_axis_range.html
However, there is no way to set the axis back to the default automatic value. Something like this would be nice:
The text was updated successfully, but these errors were encountered: