BASE

React Native Graph

React Native Graph

React Native / mobile development · Free

A Skia-based React Native chart component: it embeds an interactive gesture-driven chart in a mobile analytics application.

Also known as: margelo/react-native-graph; react-native-graph; rn-graph; react-native-charts

Resource illustration: React Native Graph

Open resource ↗

What you can use for free

Code and local use under MIT.

Paid features and costs

Computing resources, self-hosting, and external services are paid for separately if used.

Access and limitations

Code and local use under MIT. Computing resources, self-hosting, and external services are paid for separately if used.

Use cases

  • Add an interactive chart to React Native
  • Connect the chart component to gestures and the selected data point on screen

Example workflow

A possible workflow; this is not a report of hands-on testing.

Add an interactive chart to React Native.

Before you start

  • A React Native project and target devices.
  • A design, data, and platform requirements.

Steps

  1. Prepare time points or another chart dataset.
  2. Connect the chart component to gestures and the selected data point on screen.
  3. Build the application and test the workflow on target devices.

Check your result

  • Behavior meets the project's iOS and Android requirements.
  • Check gestures, accessibility, and performance on the target device.

Choosing React Native Graph

Add an interactive chart to React Native

Choose this when

  • Add an interactive chart to React Native
  • Connect the chart component to gestures and the selected data point on screen

Requirements

  • Supply ordered GraphPoint[] data with Date and numeric value; fetch data through your own API or application state.

Things to consider

  • Costs and limits of free use: Computing resources, self-hosting, and external services are paid for separately if used.
  • Terms of use: MIT for the code; dependencies have separate licenses.
  • The x axis does not support categorical strings. Pan/scrubbing and several additional elements require animated=true.

Frequently asked questions

What can you use for free in React Native Graph?

Code and local use under MIT.

What additional costs might arise with React Native Graph?

Computing resources, self-hosting, and external services are paid for separately if used.

What terms of use matter for React Native Graph?

MIT for the code; dependencies have separate licenses.

How do you get started with React Native Graph?

Prepare time points or another chart dataset. Connect the chart component to gestures and the selected data point on screen. Build the application and test the workflow on target devices.

Does React Native Graph fetch price history itself?

No. The README explicitly says the library neither fetches data nor provides usePriceHistory. LineGraph takes your GraphPoint[] array ordered from older to newer dates. Gesture point selection requires animated=true and enablePanGesture; the static renderer targets simpler display.

License

MIT for the code; dependencies have separate licenses.

MIT — permissive license

You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.

License terms

Technologies and topics

  • React Native Graph
  • mobile
  • Development

Sources

Other resources