Commit Graph

17 Commits

Author SHA1 Message Date
Brandon Presley 4c065a027b Rename Chart -> AppLineChart
Chart is too generic since several types of charts exist
in the react-native-chart-kit.
2024-02-09 12:56:43 +13:00
Brandon Presley 8a88c8e7af Make charts smooth and curvy - 1.169 🚀 2023-11-06 23:08:36 +13:00
Brandon Presley 2428a51a02 Fix ViewWeightGraph - 1.165 🚀 2023-10-26 20:45:50 +13:00
Brandon Presley 1c10e0f632 Use new chart library in ViewGraph 2023-10-26 12:20:15 +13:00
Brandon Presley ff7cd2fe54 Add weight page 2023-10-21 11:57:31 +13:00
Brandon Presley f778426aba Run prettier
Something happened with the deno formatter,
I can't remember what! Hahahahahaahahaha
2023-08-12 15:23:02 +12:00
Brandon Presley 4303fe2cc4 Use deno fmt instead of prettier 2023-06-27 15:16:59 +12:00
Brandon Presley b504de45a2 Fix x axis cutting off for some charts
Closes #119
2022-11-23 21:49:27 +13:00
Brandon Presley 1a53fa324b Remove redundant Color context
Settings already stores the color set by the user.
2022-10-31 21:32:33 +13:00
Brandon Presley bc7aca03e8 Remove semicolons from line endings 2022-10-31 17:22:08 +13:00
Brandon Presley b7f1c2192e Pause converting to typeorm due to odd error
ERROR  TypeError: Cannot read property 'getItem' of undefined

This error is located at:
    in FlatList (created by SetList)
    in RCTView (created by View)
    in View (created by Page)
    in Page (created by SetList)
    in SetList (created by SceneView)
...

I found an open issue on the react-native github which seems
related https://github.com/facebook/react-native/issues/31523
but after following all of their suggestions I still have the
same error. I tried:
- Removing @babel/plugin-proposal-class-properties & @babel/plugin-transform-flow-strip-types
- Adding @babel/plugin-transform-flow-strip-types
2022-10-31 13:20:36 +13:00
Brandon Presley e6dcd4a47e Use hermes engine
https://reactnative.dev/docs/hermes
2022-10-28 18:36:47 +13:00
Brandon Presley 5d5f586f7f Use theme colors for chart axes labels
Closes #89
2022-10-16 17:08:18 +13:00
Brandon Presley 8461f86e88 Wrap color context with useColor custom hook
I find it easier to import hooks by useX instead of
useContext(X). Like how the navigation library is just
useNavigation
2022-10-14 17:24:02 +13:00
Brandon Presley e516cdfdc0 Add ability to customize primary color
Closes #40
2022-09-24 13:57:51 +12:00
Brandon Presley 052d000e12 Make padding & margin consistent everywhere. 2022-09-16 21:07:02 +12:00
Brandon Presley da936c7799 Add picker for best charts 2022-09-02 12:24:28 +12:00