Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulDalek authored May 31, 2024
1 parent 3dcfedd commit 7252a3b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -719,13 +719,13 @@ If you need to set the `height` or `width` of the chart, it can be done in two w

Set it in the `chart` config under:

- [`chart.height`](https://api.highcharts.com/highcharts/chart.height).
- [`chart.width`](https://api.highcharts.com/highcharts/chart.width).
- [`chart.height`](https://api.highcharts.com/highcharts/chart.height)
- [`chart.width`](https://api.highcharts.com/highcharts/chart.width)

Set it in the `exporting` config under:

- [`exporting.sourceHeight`](https://api.highcharts.com/highcharts/exporting.sourceHeight).
- [`exporting.sourceWidth`](https://api.highcharts.com/highcharts/exporting.sourceWidth).
- [`exporting.sourceHeight`](https://api.highcharts.com/highcharts/exporting.sourceHeight)
- [`exporting.sourceWidth`](https://api.highcharts.com/highcharts/exporting.sourceWidth)

The latter is preferred, as it allows you to set separate sizing when exporting and when displaying the chart on your web page.

Expand Down

0 comments on commit 7252a3b

Please sign in to comment.