vue-data-ui 2.2.51 → 2.2.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -567,3 +567,23 @@ It is possible to provide a custom palette in the config prop through config.cus
|
|
|
567
567
|
|
|
568
568
|
If the array of colors provided in customPalette is too small for the dataset, remaining colors will be computed from the default internal palette.
|
|
569
569
|
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
|
+
```
|