You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -76,6 +76,10 @@ The `ref` exposes the following methods:
76
76
- `setSize(width, height)`: Set the size of the chart.
77
77
- `destroy()`: Destroy the chart instance.
78
78
79
+
### Setting dimensions
80
+
81
+
You can set the width and height either through the uPlot `options` or by passing a `style` prop to the `ChartUPlot` component. If you set both, the uPlot `options` will take precedence.
82
+
79
83
## Demo app
80
84
81
85
The `demo` folder contains an example Expo app that demonstrates how to use the library. You can run it by cloning the repository and running:
0 commit comments