Skip to content

Sankey 桑基图

基本用法

vue
<script setup>
    import { ref } from 'vue'

      const data = [
        //...
      ]
      const links = [
        // ...
      ]
</script>
<template>
  <VueEcharts style="width:100%;height:300px;" >
    <Sankey :data="data" />
    <Tooltip trigger="item" triggerOn="mousemove" />
  </VueEcharts>
</template>