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
/// Performs auto scaling of the axis by recalculating the minimum and maximum y-values based on the entries currently in view.internalfunc autoScale(){
guard let data = _data
else{return}
data.calcMinMaxY(fromX:self.lowestVisibleX, toX:self.highestVisibleX)
_xAxis.calculate(min: data.xMin, max: data.xMax)// calculate axis range (min / max) according to provided data
if _leftAxis.isEnabled
{
_leftAxis.calculate(min: data.getYMin(axis:.left), max: data.getYMax(axis:.left))}
if _rightAxis.isEnabled
{
_rightAxis.calculate(min: data.getYMin(axis:.right), max: data.getYMax(axis:.right))}calculateOffsets()}
When I set
lineChartView.rightAxis.enabled = false and
lineChartView.leftAxis.enabled = false at the same time
then autoScaleMinMaxEnabled = true is not working
I don't know what's happend
The text was updated successfully, but these errors were encountered: