Skip to content

Commit 667f7d4

Browse files
authored
Migration: update --data-position CSS variable (ChartsCSS#52)
1 parent a1815e6 commit 667f7d4

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/docs/migrate-to-v1.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,9 +338,13 @@ Previously you couldn't control where the data will be displayed. It was fixed a
338338

339339
**New variables:**
340340

341-
* `--data-position`
341+
* `--data-position: start;`
342+
* `--data-position: end;`
343+
* `--data-position: center;`
342344

343-
Furthermore, when you have a very low or a very heigh value on your bar and column charts, the data seems out of position. Version 1.0.0 introduces new utility classes added either to the `<td>` element or to the `<span>` element wrapping the data. The new classes are:
345+
**Edge Cases:**
346+
347+
When you have a very low or a very heigh value on your bar and column charts, the data seems out of position. Version 1.0.0 introduces new utility classes added either to the `<td>` element or to the `<span>` element wrapping the data. The new classes are:
344348

345349
* `inside`
346350
* `outside`

0 commit comments

Comments
 (0)