Skip to content
This repository has been archived by the owner on Dec 2, 2020. It is now read-only.

The averageLine value is not recalculated on reloadGraph #207

Open
@dzwilkerson

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...

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions