🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

vue-echarts-tcsl

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-echarts-tcsl

vue-echarts-tcsl

latest
Source
npmnpm
Version
1.1.5
Version published
Maintainers
1
Created
Source

vue-echarts-tcsl

基于echarts4.X的图表组件库 vue-echarts-tcsl

Install

npm install -g vue-echarts-tcsl

Quick Start

一、全部引入

import Vue from 'vue'
import vEchartsTcsl from 'vue-echarts-tcsl';
Vue.use(vEchartsTcsl);

# In the template (all)
<vue-echarts-tcsl></vue-echarts-tcsl>

二、按需引入


import Vue from 'vue'
import Line from 'vue-echarts-tcsl';
# 组件注册
Vue.component(Target.name, Target);

# In the template (module)
# 按照不同类型使用不同类型标签(例:线形图使用dc-chart-template-line)
<dc-chart-template-line></dc-chart-template-line>

Props

nametyperequiredinstruction
chartTypeStringtrue图表类型(按需引入不需要)
chartDataObjecttrue图表数据
titleStringtrue图表标题
specialIdStringtrue图表ID(不可重复)
themeStringtrue图表主题(blue/orange/purple)

Changelog

Detailed changes for each release are documented in the release notes.

Special Thanks

HankWangv5.

ZhangDongliang123.

YueQuanXiaoChe.

YuMay2009.

Keywords

echarts

FAQs

Package last updated on 12 Jul 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts