You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since v.2.0.38, you can also use the "VueDataUi" universal component, just specifying which component you are using. You can of course use the slots provided, if the target component has them.
136
+
You can also use the "VueDataUi" universal component, just specifying which component you are using. You can of course use the slots provided, if the target component has them.
137
137
138
138
```js
139
139
<script setup>
@@ -169,6 +169,23 @@ Note that the following utility components are not supported by the universal Vu
169
169
170
170
Types are available in the 'vue-data-ui.d.ts' file under the types directory of the package.
171
171
172
+
## Vue Data UI version2 -> version3 migration
173
+
174
+
Vue Data UI v3 does not contain breaking changes.
175
+
However, some charts have their padding configs modified, which can lead to excessive padding with a v2 config.
176
+
177
+
### Version 3 features
178
+
179
+
-`config.loading` (default: false) toggle loading state manually, to display a beautiful skeleton loader which uses the same chart component and shares layout features derived from your config. This skeleton loader is also triggered automatically if the provided dataset is undefined.
180
+
181
+
-`config.debug` (default: false) set to true to show warning messages during development, turn off for production.
182
+
183
+
- smart label resizing and auto-rotating features
184
+
185
+
- more charts support responsive mode
186
+
187
+
- config event callbacks
188
+
172
189
## Nuxt
173
190
174
191
[This repo contains a boilerplate implementation of the vue-data-ui package in Nuxt](https://github.com/graphieros/vue-data-ui-nuxt)
@@ -285,7 +302,7 @@ The following charts bear these slots:
285
302
- VueUiSparkStackbar
286
303
- VueUiStackbar
287
304
- VueUiTreemap
288
-
-VueUiVerticalBar
305
+
-VueUiHorizontalBar
289
306
- VueUiWordCloud
290
307
- VueUiXy \*
291
308
- VueUiXyCanvas
@@ -457,7 +474,7 @@ From the dataset you pass into the props, this component will produce the most a
0 commit comments