From 964302e7cba0f1485bcea4b9d54f9d5604583038 Mon Sep 17 00:00:00 2001 From: Marcus Baw Date: Tue, 17 Oct 2023 16:47:43 +0100 Subject: [PATCH] fix styling heading on developer page --- docs/developer/react-component.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/developer/react-component.md b/docs/developer/react-component.md index 59771b5..cca1356 100644 --- a/docs/developer/react-component.md +++ b/docs/developer/react-component.md @@ -141,6 +141,8 @@ The `Measurement` interface is structured to reflect the JSON `Measurement` obje !!! tip **You simply need to pass JSON from the dGC API directly in to the component asan array of `Measurement` JSON objects. The component 'knows' how to render this correctly. You don't need to parse, restructure, or even understand the JSON returned from the API: just pass it directly to the component inside an array containing one or more `Measurement` objects.** +## Styling + The styling components allow the user to customise elements of the chart. Chart styles control the chart and the tooltips. !!! note "Styling options available through `ChartStyle`" @@ -166,8 +168,6 @@ The styling components allow the user to customise elements of the chart. Chart } ``` -## Styling - Note for the tooltips and infobox text sizes, these are strokeWidths, not point sizes as the text here is SVG. ### Axis Styles