Skip to content

Commit 3a064c4

Browse files
committed
Update cartesian-chart.md
1 parent b8a72e9 commit 3a064c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/docs/cartesian/cartesian-chart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ The `yAxis` is an optional prop allows you to configure the **Y axes** of the ch
168168
| **`domain` (optional)** | <pre>[number] &#124; [number, number]</pre> | Defines the domain for the Y-axis that can be specified to control the upper and lower bounds of the Y-axis. It defaults to the min and max of the range. |
169169
| **`linePathEffect`** | <pre>`DashPathEffect`</pre> | Currently accepts the `<DashPathEffect />` from `react-native-skia` so one can add dashes to their axis lines. In the future this prop may accept other line path effects as well. |
170170
| **`enableRescaling`** | <pre>boolean</pre> | When `true`, allows the axis ticks to be rescaled during pan/zoom transformations. When `false`, the ticks will remain fixed at their initial values regardless of zoom level. Defaults to `false`. |
171-
| `renderXLabel?` | `(opts: { x: number; y: number; content: string; canFitContent: boolean; index: number }) => React.ReactNode` | Optional render prop to customize axis labels. Can return any Skia component (Text, Image, Paragraph etc). Receives position coordinates, label content, fit status and index. See the example app for more details. |
171+
| `renderYLabel?` | `(opts: { x: number; y: number; content: string; canFitContent: boolean; index: number }) => React.ReactNode` | Optional render prop to customize axis labels. Can return any Skia component (Text, Image, Paragraph etc). Receives position coordinates, label content, fit status and index. See the example app for more details. |
172172

173173
### `frame`
174174

0 commit comments

Comments
 (0)