Skip to content

Conversation

@TangilHossain
Copy link

This is because date of unixtime starts from 1970. beyond that is neg, that is creating the crash.

Added a function in DateUtils.kt to calculate the months required to go to 1970 from today.
Then set the maxDataOffset to the number of months.
This limits the scrollableChart not to go beyond 1970.

@TangilHossain
Copy link
Author

@iSoron Please review the changes and tell me if any update requires.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant