@dpdfe/wcharts-vue
TypeScript icon, indicating that this package has built-in type declarations

1.0.23 • Public • Published

引入

import VueWcharts from '@dpd/wcharts-vue';

使用

<VueWcharts
    :options="options"
    :theme_type="theme_type"
    :theme_options="theme_options"
    :opts="opts"
></VueWcharts>

参数介绍

dom --- 图表渲染的 dom 节点。

options --- 同 EChartsOption 的参数,参考文档:https://echarts.apache.org/zh/option.html#title。

theme_type --- 主题的类型,可选参数,wcharts 新增内置 'blue'、'green'、'yellow'、'pink_and_purple'、'green_and_blue'几种风格的主题,也支持配置通过 theme_options 传递的自定义主题类型。

theme_options --- 自定义主题风格的配置,可选参数,同 echarts 中 registerTheme 的 theme 参数,参考文档:https://echarts.apache.org/zh/api.html#echarts.registerTheme。

opts --- 附加参数,可选参数,和 echarts 配置相同,参考文档:https://echarts.apache.org/zh/api.html#echarts。

Readme

Keywords

none

Package Sidebar

Install

npm i @dpdfe/wcharts-vue

Weekly Downloads

1

Version

1.0.23

License

MIT

Unpacked Size

135 kB

Total Files

8

Last publish

Collaborators

  • pearone
  • superhui
  • yuki_xu
  • jjjkkkhhhggg
  • bh20077