npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

ts-vue-echarts

v1.0.17

Published

echarts图表二次封装使用

Downloads

37

Readme

介绍

组件库基于vue,主要用于构建大屏(全屏)数据展示页面即数据可视化,具有多种类型组件可供使用: (使用文档

  1. 装饰器 (基于DataV ),详情可以点此链接
  • 边框

    带有不同边框的容器

  • 装饰

    用来点缀页面效果,增加视觉效果

  • 图表

    图表组件基于Charts封装,轻量,易用

  • 其他

    飞线图/水位图/轮播表/...

  1. echarts 图表的二次封装;echarts版本5.3.2, 不兼容4.x版本的写法 (echarts中文官方)(移动端可用)

效果预览地址 (有时会失效)

  • 柱状图

  • 饼状图

  • 折线图

  • 地图

3d地图/2d地图/散点地图/热力图/飞线图/行政图...

  • echarts通用图表 采用echarts的全配置项

用前必看

长期维护,不断添加新组件以丰富组件库,组件主要分为echarts相关和装饰器两大类;

致谢

组件库的开发基于个人学习和兴趣,由于技术水平及经验的限制,组件尚有许多不完善之处,如有BUG可联系,也欢迎提供指正和建议,感谢各位的支持,邮箱: [email protected]

TODO

  • 地图组件的完善
  • 尺寸兼容性
  • 文档详细化
  • 组件压缩优化

安装

使用

由于动态尺寸变化的问题还没有解决,import XXX from 'ts-vue-echarts',调整为import XXXX from 'ts-vue-echarts/src/index'

// 方法一:将自动注册所有组件为全局组件
import {useEchartView, useEchart} from 'ts-vue-echarts/src/index'
Vue.use(useEchartView)
Vue.use(useEchart)

// 方法二:将自动注册所有组件为全局组件
import useVueEchart from 'ts-vue-echarts/src/index'
Vue.use(useVueEchart)

按需引入

按需引入仅支持基于ES moduletree shaking,按需引入示例如下:

import { tsVueBarStyle1 } from 'ts-vue-echarts'
Vue.use(tsVueBarStyle1)