Skip to content

Commit de6125b

Browse files
committed
Updated readme
1 parent 0ba28c2 commit de6125b

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

README.md

+20
Original file line numberDiff line numberDiff line change
@@ -567,3 +567,23 @@ It is possible to provide a custom palette in the config prop through config.cus
567567

568568
If the array of colors provided in customPalette is too small for the dataset, remaining colors will be computed from the default internal palette.
569569
Accepted color formats: HEX, RGB, HSL, named colors.
570+
571+
# Responsive charts
572+
573+
By default, all charts will scale to the width of their container.
574+
However the folowing charts can be made fully responsive, making them better to use in resizable containers:
575+
576+
- VueUiQuickChart
577+
- VueUiXy
578+
- VueUiDonut
579+
- VueUiNestedDonuts
580+
- VueUiOnion
581+
582+
To activate responsiveness, set the config.responsive attribute to true:
583+
584+
```js
585+
const config = ref({
586+
responsive: true,
587+
// rest of your config
588+
});
589+
```

0 commit comments

Comments
 (0)