Commit Graph

6 Commits

Author SHA1 Message Date
yanas
04988b2deb chore(suite-native): autofix for sort-imports eslint rule 2025-01-30 15:03:34 +01:00
Peter Sanderson
c82455e746 chore(suite): autofix newlines 2024-02-20 14:54:29 +01:00
Petr Knetl
7aa69dc8e2 Feat/graph interactions (#8857)
* chore(suite-native): upgrade react-native-graph to v. 1.0.2

* feat(react-native-graph): graph events added

`react-native-graph` can display graph events/interactions now.

The AnimatedLineGraph component accepts two new props `events` and `EventComponent`.

- `events` is an array of objects representing every individual interaction and it's metadata.
  Each of these objects contains a `date` property that is used to compute the event coordinates in the graph.
- `EventComponent` accepts the coordinates and metadata of each event and represent it in the graph

* refactor(suite-native): graph works with real date

We used to covert graph points `Date` objects to unix epoch time.
This commit makes the graph work with original dates as library intends.

* feat(suite-native): graph implements transaction events

Graph of Account detail displays transaction events.
2023-07-13 11:42:52 +00:00
Daniel Suchý
cb58f84b78 chore(mobile): graph tuning (#7767) 2023-03-07 11:50:33 +00:00
Daniel Suchý
2934f6af0f chore(mobile): upgrade graph lib (#7709) 2023-02-27 10:15:41 +01:00
Petr Knetl
3d9487a676 refactor(suite-native): react-native-graph package fork (#7570)
* refactor(suite-native): react-native-graph package fork

New package @suite-native/react-native-graph created. Content of this package is fork of the https://github.com/margelo/react-native-graph package.

Closes #7553

* fixup! refactor(suite-native): react-native-graph package fork
2023-02-08 08:50:59 +00:00