This repository has been archived by the owner on Dec 2, 2020. It is now read-only.
Open
Description
The simple fix I used was to set the averageLine.yValue
to zero before calling reloadGraph
so that it would recalculate.
Otherwise when calling reloadGraph
on the same graph but with different data, the prior averageLine.yValue
would be used, which would skip over calling[self calculatePointValueAverage].floatValue;
in the drawLine
call.
Not sure if this is intentional or not...