Skip to content

Commit d5721e2

Browse files
add information on xlim and ylim for tables
1 parent 1a19353 commit d5721e2

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

README.md

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6675,20 +6675,34 @@ Simply set `data-type="none"` to prevent any kind of visualization for the corre
66756675
`<!-- data-ylabel="Distance in meters" -->`
66766676

66776677
{{6}}
6678-
* __`data-src`__:
6678+
* __`data-xlim`__ & __`data-ylim`__:
6679+
6680+
--{{6}}--
6681+
The limits are automatically determined, but you can also overwrite them with the following command.
6682+
6683+
`<!-- data-xlim="0,12.3" -->`
66796684

66806685
--{{6}}--
6686+
The first value is used as the minimum, the second as the maximum value.
6687+
If you skip a number, then the automatically determined value is used.
6688+
6689+
`<!-- data-ylim=",12" -->`
6690+
6691+
{{7}}
6692+
* __`data-src`__:
6693+
6694+
--{{7}}--
66816695
Currently, this attribute is used to refer to your GeoJSON data if you use the map representation.
66826696
However, this functionality might change in the future to allow for the loading and visualization of data directly, such as CSV files.
66836697
See sections [Fun with Tables - Map](#map)
66846698

66856699
`<!-- data-type="map" data-src="https://..." -->`
66866700

6687-
--{{7}}--
6701+
--{{8}}--
66886702
Be careful when utilizing GeoJSON files from external websites, as this may result in CORS (Cross-Origin Resource Sharing) problems.
66896703
It's better to store these files in your own projects and refer to them directly to avoid such issues.
66906704

6691-
{{7}}
6705+
{{8}}
66926706
https://code.highcharts.com/mapdata/
66936707

66946708

0 commit comments

Comments
 (0)