New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

echarts-config

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

echarts-config

talkingdata echart config

latest
Source
npmnpm
Version
0.1.5
Version published
Weekly downloads
1
-92.31%
Maintainers
1
Weekly downloads
 
Created
Source

echarts-config

规范标准echarts初始化配置使用,让业务和公司的charts组件统一标准和色阶

安装

npm install echarts-config --save-dev

使用


//初始化主题色系默认是light浅色系   light|dark
window._CHART_THEMETYPE_ = 'dark'

import { 
    //传入chart借基础类型和要设置的对象
    chartMerge,
    //添加业务通用图表或者初始化覆盖业务组件
    insertChartConfig,
    //重置theme色系改变成自己业务所需要的色系
    resetColorConfig } from 'echarts-config';

具体实例在页面直接饮用参考demo使用

FAQs

Package last updated on 02 Feb 2021

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