Commit Graph

99 Commits

Author SHA1 Message Date
chrispader 15d9fad01e chore: merge main into docs branch 2026-08-24 15:40:22 +02:00
chrispader 22c81227c4 docs: omit worklets installation step 2026-08-24 15:28:13 +02:00
chrispader 843bfcee36 docs: document all graph props 2026-08-24 15:15:17 +02:00
Trần Đình Huy d8d2430d69 fix: handle graph points sharing one pixel (#127) 2026-08-24 14:14:38 +01:00
Trần Đình Huy b7b7ad246c fix: make animated prop optional (#128)
* fix: default LineGraph to static rendering

* Update README.md

---------

Co-authored-by: chrispader <chris@margelo.com>
2026-08-24 14:05:52 +01:00
chrispader 771f431039 chore: release 1.3.0
CI / lint (push) Has been cancelled
CI / build-library (push) Has been cancelled
CI / build-web (push) Has been cancelled
v1.3.0
2026-07-23 16:33:24 +02:00
vasanth-svg c908d5cb18 fix: reset gesture state in onFinalize (selection dot left stuck on cancel) (#126)
The pan gesture only resets `isPanGestureActive` in `onEnd`, but `onEnd`
does not fire when the gesture is cancelled or interrupted — most commonly
when the graph is inside a ScrollView / FlatList and the parent scroll takes
over the pan. When that happens `isActive` stays `true`, leaving the
selection dot / scrub overlay visible after the finger has lifted.

`onFinalize` always runs at the end of a gesture (success or cancel), so
reset the active state there as well.

Co-authored-by: vasanth-svg <vasanth-svg@users.noreply.github.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Co-authored-by: chrispader <chris@margelo.com>
2026-07-23 15:27:21 +01:00
chrispader 7480e16cfa fix: lint 2026-07-23 16:21:25 +02:00
riteshshukla04 56dd8730b6 chore: update-banners
CI / lint (push) Has been cancelled
CI / build-library (push) Has been cancelled
CI / build-web (push) Has been cancelled
2026-04-16 18:10:05 +05:30
Dave Mkpa-Eke dec9d06223 chore: update links to point to correct site (#125) 2026-04-16 09:22:56 +05:30
riteshshukla04 e69492c935 chore: release 1.2.0 v1.2.0 2026-04-15 21:09:39 +05:30
Ritesh Shukla 5f5af559f9 feat: React-native-graphs reboot (#124)
* upgrade-everything

* remove tests
2026-04-15 20:18:45 +05:30
Marc Rousavy 388b3e6bac Lockfiles 2024-03-21 15:15:34 +01:00
Marc Rousavy ac4c291a2a chore: release 1.1.0 v1.1.0 2024-03-12 13:21:33 +01:00
sunrise1002 d38c2051fa feat: Support skia v0.1.233 (#96)
* feat: Support skia v0.1.233

* feat: Support skia v0.1.233
2024-03-11 13:57:48 +01:00
Marc Rousavy 78d180ef5d Update README.md 2023-09-02 01:19:54 +02:00
Marc Rousavy dcabf218c3 chore: Release 1.0.2 2023-06-07 14:38:27 +02:00
Daniel Suchý bee9c414c7 chore: move graph animations to UI thread (#74)
* chore: move graph animations to UI thread

* update REA peer dependency version

* update example app library versions

* update Podfile

* update ts config

* chore: update RN and react

* upgrade react-native and react in example

* update RNGH

* update react-native-static-safe-area-insets

* upgrade project to react-native@0.71.7

* fix: Info.plist

* update Podfile and project structure

* fix: development team

* fix: network error for android app

---------

Co-authored-by: Christoph Pader <christoph@margelo.io>
2023-05-12 12:13:31 +02:00
Marc Rousavy 0cebf2881b chore: release 1.0.1 v1.0.1 2023-02-20 11:47:28 +01:00
Christoph Pader 7f3cd8946e Feat: Improve createGraphPath function and simplify range logic (#62)
* feat: improve createGraphPath function and simplify range logic

* remove unused code
2023-02-20 11:46:30 +01:00
Marc Rousavy 479ce84c03 chore: release 1.0.0 v1.0.0 2023-02-20 11:44:41 +01:00
Christoph Pader 89991f67fb fix: make smoothing mandatory in CreateGraphPath 2023-01-23 17:45:48 +01:00
Christoph Pader 5926e0eca8 docs: add image for range 2023-01-23 17:45:31 +01:00
Christoph Pader cd16d2673f fix: adapt example range after graph data has been modified 2023-01-23 17:45:22 +01:00
Christoph Pader 64345a4a7a add README section for range 2023-01-23 17:44:45 +01:00
Christoph Pader 0d4b228446 Merge branch 'main' into feat/smoothing-prop 2023-01-23 16:54:51 +01:00
Daniel Suchý 278c2a82fe feat: pan gesture timeout configurable by prop (#43)
* feat: pan gesture timeout configurable by prop

* rename panGestureTimout to panGestureDelay

Co-authored-by: Christoph Pader <christoph@margelo.io>
2023-01-23 16:36:23 +01:00
Christoph Pader 83550ca14c Fix: Add axis label padding conditionally (#60)
* fix: only apply padding if top/bottom axis labels are given

* turn example controls section into ScrollView
2023-01-23 16:24:23 +01:00
Thomas Coldwell e327c9d0c8 fix: Remove incorrect delta from pixel factor calculation (#56)
* fix: Remove incorrect delta from pixel factor calculation

* fix: Drawing factor calculation

Co-authored-by: Christoph Pader <christoph@margelo.io>
2023-01-23 15:55:34 +01:00
Christoph Pader ed74ff4f52 Bump react-native-skia and react-native-reanimated libraries (#53)
* chore: upgrade skia and reanimated

* add documentation about hot fix

* fix: comments

* fix: update skia to 0.1.159

* fix: update skia in yarn.lock
2023-01-13 17:59:37 +01:00
ylee2531 7414a37d1f fix: Enable android gesture handler and adjust hold duration for graph movements 2022-12-08 05:31:26 +09:00
ylee2531 0a546d0d4c fix: Add smoothing values as props & Fix inaccurate linear value points 2022-12-06 20:27:24 +09:00
Christoph Pader e0fa6a3f1e fix: Graph inaccuracies with range applied (#52)
* fix: add check for null

* fix: graph inaccuracies with range applied

* fix: add non-null check

* remove log

* fix: indicatorX wrong position
2022-11-21 11:24:17 +01:00
Marc Rousavy fe41b1f4de chore: release 0.3.0 v0.3.0 2022-09-08 14:11:52 +02:00
Gary Tokman db44237e44 feat: Add fill Gradient to graph (#41) 2022-09-08 14:11:20 +02:00
Marc Rousavy be27193bc4 chore: release 0.2.0 v0.2.0 2022-09-08 14:11:08 +02:00
Christoph Pader cce1ed24a4 feat: Indicator and Range (#21)
* feat: implement indicator and range

* memoize range and add null check in example

* split up variables and add comment

* simplify range in example

* further simplify

* Update example/src/screens/GraphPage.tsx

Co-authored-by: Marc Rousavy <marcrousavy@hotmail.com>

* fix: indentation

Co-authored-by: Marc Rousavy <marcrousavy@hotmail.com>
2022-09-08 12:20:21 +02:00
Robin van Wijngaarden 9d66c4484d feat: ability to customize SelectionDot component (#35)
* feat: ability to customize SelectionDot component

* feat: ability to customize SelectionDot component

* fix: pass props directly to view
2022-08-30 14:15:45 +02:00
Kelvin Shoo eb29e4ba49 docs: Add color to examples (#37)
Added a color prop when using Linegraph Component. The reason for updating the documentation is that I encountered an error when I was following it when developing using Expo Go. 
Error: [TypeError: undefined is not an object (evaluating 'color.startsWith')]
Solution: I added a color prop to Linegraph Component but that was not mentioned in the documentation.
2022-08-25 12:41:38 +02:00
Robin van Wijngaarden 51e41a6930 fix: remove duplicate babel.config.js (#33) 2022-07-27 15:31:56 +02:00
Akinn Rosa ecc93b5aab fix: fingerX using last value instead of current (#32) 2022-07-25 13:22:51 +02:00
Akinn Rosa dffaa4bcaf feat: update react-native-skia to 0.1.136 (#31)
* feat: update react-native-skia to 0.1.136

* fix: from type

* fix: pan selectCurve gesture

* fix: from type
2022-07-25 13:22:41 +02:00
Marcin Pawlicki d71ca3a01b fix: static line if values are the same (#29) 2022-07-07 16:24:02 +02:00
Szymon Kapała df0b8b21c4 fix: pathEnd should be equal to 1 initially (#16) 2022-06-13 10:16:40 +02:00
Erik Thorelli 000cd1d9d0 feat: Add a readme for the example app (#12) 2022-05-24 13:50:11 +02:00
Marc Rousavy 69ed3b46ab Update README.md 2022-04-29 19:38:28 +02:00
Marc Rousavy 130d07ecfd Update GetYForX.ts 2022-04-29 19:06:02 +02:00
Marc Rousavy 0c9d5cba10 Update README.md 2022-04-29 18:44:04 +02:00
Marc Rousavy c8b5a12365 Update README.md 2022-04-29 18:42:27 +02:00
Marc Rousavy e6a5a3cc78 Update README.md 2022-04-29 18:42:18 +02:00