Skip to content

Commit

Permalink
fix styling heading on developer page
Browse files Browse the repository at this point in the history
  • Loading branch information
pacharanero committed Oct 17, 2023
1 parent 5525667 commit 964302e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/developer/react-component.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`"
Expand All @@ -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
Expand Down

0 comments on commit 964302e

Please sign in to comment.