From floating-ui-vue
Guides @unovis/vue usage for data visualization in Vue, React, Angular, Svelte, vanilla TS/JS; covers API changes, new components like VisTreemap and VisSankey, SSR support, debugging via GitHub references.
npx claudepluginhub skilld-dev/vue-ecosystem-skills --plugin floating-ui-vueThis skill uses the workspace's default tool permissions.
> Modular data visualization framework for React, Angular, Svelte, Vue, and vanilla TypeScript or JavaScript
references/discussions/_INDEX.mdreferences/discussions/discussion-112.mdreferences/discussions/discussion-137.mdreferences/discussions/discussion-142.mdreferences/discussions/discussion-150.mdreferences/discussions/discussion-166.mdreferences/discussions/discussion-176.mdreferences/discussions/discussion-204.mdreferences/discussions/discussion-206.mdreferences/discussions/discussion-219.mdreferences/discussions/discussion-220.mdreferences/discussions/discussion-244.mdreferences/discussions/discussion-261.mdreferences/discussions/discussion-295.mdreferences/discussions/discussion-333.mdreferences/discussions/discussion-354.mdreferences/discussions/discussion-375.mdreferences/discussions/discussion-382.mdreferences/discussions/discussion-467.mdreferences/discussions/discussion-524.mdProvides API changes, version notes, and references for vue-data-ui Vue 3 data visualization components. Use when importing, debugging, or modifying vue-data-ui code.
Guides creation of interactive D3.js data visualizations like networks, geo maps, force layouts, and custom charts in vanilla JS, React, Vue, Svelte.
Creates interactive charts, dashboards, and data visualizations using Recharts for React/Next.js, Chart.js for Vue/Angular, and D3.js for custom needs.
Share bugs, ideas, or general feedback.
@unovis/vueModular data visualization framework for React, Angular, Svelte, Vue, and vanilla TypeScript or JavaScript
Version: 1.6.4 Tags: beta: 1.6.5-topojson.0, latest: 1.6.4
References: GitHub Issues — bugs, workarounds, edge cases • GitHub Discussions — Q&A, patterns, recipes • Releases — changelog, breaking changes, new APIs
This section documents version-specific API changes for @unovis/vue — prioritize recent major/minor releases.
NEW: VisPlotband and VisPlotline — new auxiliary components for highlighting data ranges or specific values source
NEW: VisRollingPinLegend — new specialized legend component added in v1.6.0 source
NEW: VisTreemap — new hierarchical data visualization component; includes tileShowHtmlTooltip and topLevelParent props as of v1.6.4 source
NEW: VisAnnotations — new component for adding callouts and annotations to charts source
NEW: onRenderComplete — new callback available in VisXYContainer and VisSingleContainer to detect when rendering is finished source
NEW: VisArea enhancements — added stackMinHeight for better visibility of small values and optional line display via core config source
NEW: VisSankey updates — new onLayoutCalculated callback, getSankeyDepth method, and support for Zoom/Pan and Node selection source
NEW: VisGraph features — support for custom node rendering functions, SVG link labels, and Zoom start/end callbacks source
NEW: VisCrosshair additions — new forceShowAt prop, onCrosshairMove callback, and skipRangeCheck configuration source
NEW: SSR Readiness — major internal refactor to support SSR (Server-Side Rendering) for Nuxt and other frameworks source
NEW: Reactive Map Data — VisLeafletMap data property is now fully reactive in Vue source
NEW: Automatic Tooltip Placement — VisTooltip now automatically aligns when used in conjunction with VisCrosshair source
NEW: VisBulletLegend — now supports multiple colors per legend item source
NEW: VisXYContainer — improved scaleByDomain behavior to ensure consistency across multiple chart types source
Also changed: calc() support in Annotations · theme-patterns accessible theme · VisFlowLegend refactored wrapper · axis grid line dasharray CSS variables · skipRangeCheck Crosshair prop
x accessor and providing a tickFormat to the VisAxis source<script setup lang="ts">
const x = (d, i: number) => i
const tickFormat = (i: number) => data[i].category
</script>
<template>
<VisXYContainer :data="data">
<VisStackedBar :x="x" :y="d => d.value" />
<VisAxis type="x" :tick-format="tickFormat" />
</VisXYContainer>
</template>
svgDefs property on VisXYContainer or VisSingleContainer source<template>
<VisXYContainer :svg-defs="gradientDef">
<VisArea :x="d => d.x" :y="d => d.y" color="url(#gradient-id)" />
</VisXYContainer>
</template>
null values and passing the dataset directly to VisLine instead of the container source<template>
<VisXYContainer>
<VisLine :data="data.filter(d => d.value !== null)" :x="x" :y="y" />
</VisXYContainer>
</template>
events prop and component-specific selectors source<script setup lang="ts">
import { VisAxisSelectors } from '@unovis/vue'
const axisEvents = {
[VisAxisSelectors.tick]: {
click: (val: number) => console.log('Clicked tick:', val)
}
}
</script>
<template>
<VisAxis type="x" :events="axisEvents" />
</template>
<ClientOnly> when using Nuxt or SSR to prevent errors from top-level document or window references source<template>
<ClientOnly>
<VisXYContainer :data="data">
<VisLine :x="x" :y="y" />
</VisXYContainer>
</ClientOnly>
</template>
feature selector source<script setup lang="ts">
import { VisTopoJSONMapSelectors } from '@unovis/vue'
const triggers = {
[VisTopoJSONMapSelectors.feature]: d => d.properties.name
}
</script>
<template>
<VisTopoJSONMap :triggers="triggers" ... />
</template>
margin property on the VisXYContainer source<template>
<VisXYContainer :margin="{ top: 10, right: 10, bottom: 10, left: 10 }">
<VisStackedBar ... />
</VisXYContainer>
</template>
tickTextWidth on VisAxis to enable automatic label wrapping and trimming for long axis labels source<template>
<VisAxis type="x" :tick-text-width="100" />
</template>
color property of a legend item source<script setup lang="ts">
const items = [
{ name: 'Multi-segment', color: ['#ff0000', '#00ff00', '#0000ff'] }
]
</script>
<template>
<VisBulletLegend :items="items" />
</template>
forceShowAt property for custom sync or interaction logic source<template>
<VisCrosshair :force-show-at="{ x: 1707093300 }" />
</template>