1. Install the Graphy SDK
@graphysdk/core is a private package, you’ll need to configure your npm auth token.
Create an .npmrc in your repository root (or user-level) with:
.npmrc
2. Create your first graph
There are two main components required to render a Graphy chart:GraphProvider is the state manager for Graphy charts and can be placed anywhere in the React tree. It provides state to the charting components as well as any components used to edit these charts.
Graph is the component used to render the graph itself.
3. Customize your graph
You have fine-grained control over every aspect of your chart. Here are some common customizations:4. Make it editable
By default, graphs are read-only. PassisEditable to the Graph component to allow users to edit titles, add annotations and make other modifications. Use the onChange handler on GraphProvider to persist these changes:
Next steps
- Learn about the data structure and how columns and rows work
- Explore all available graph types
- Discover configuration options to customize your charts
- See all GraphProvider props and Graph props
- Read the complete schema reference